]> granicus.if.org Git - clang/commit
[libTooling] Introduce new library of source-code builders.
authorYitzhak Mandelbaum <yitzhakm@google.com>
Mon, 23 Sep 2019 12:40:10 +0000 (12:40 +0000)
committerYitzhak Mandelbaum <yitzhakm@google.com>
Mon, 23 Sep 2019 12:40:10 +0000 (12:40 +0000)
commitac9b961a2f4e425a07e38eacfec47437ff813c31
treeff0725b531bdd1d4a93ac92b8dd2b4fce89da44b
parent133ef3bf8b4d2854899d829e8ed53289dd03224a
[libTooling] Introduce new library of source-code builders.

Summary:
Introduces facilities for easily building source-code strings, including
idiomatic use of parentheses and the address-of, dereference and member-access
operators (dot and arrow) and queries about need for parentheses.

Reviewers: gribozavr

Subscribers: mgorny, cfe-commits, ilya-biryukov

Tags: #clang

Differential Revision: https://reviews.llvm.org/D67632

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372595 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Tooling/Refactoring/SourceCodeBuilders.h [new file with mode: 0644]
lib/Tooling/Refactoring/CMakeLists.txt
lib/Tooling/Refactoring/SourceCodeBuilders.cpp [new file with mode: 0644]
unittests/Tooling/CMakeLists.txt
unittests/Tooling/SourceCodeBuildersTest.cpp [new file with mode: 0644]