hanchenye-llvm-project/clang/tools
Argyrios Kyrtzidis b6210dff97 [Preprocessor/Modules] Separate the macro directives kinds into their own MacroDirective's subclasses.
For each macro directive (define, undefine, visibility) have a separate object that gets chained
to the macro directive history. This has several benefits:

-No need to mutate a MacroDirective when there is a undefine/visibility directive. Stuff like
 PPMutationListener become unnecessary.
-No need to keep extra source locations for the undef/visibility locations for the define directive object
 (which is the majority of the directives)
-Much easier to hide/unhide a section in the macro directive history.
-Easier to track the effects of the directives across different submodules.

llvm-svn: 178037
2013-03-26 17:17:01 +00:00
..
arcmt-test these now depend on the bitcode reader too. 2013-01-19 18:28:24 +00:00
c-arcmt-test libclang: Update comment about USEDLIBS in c-*-test/Makefile. 2013-01-22 04:11:33 +00:00
c-index-test [Modules] Resolve top-headers of modules lazily. 2013-03-13 21:13:43 +00:00
clang-check these now depend on the bitcode reader too. 2013-01-19 18:28:24 +00:00
clang-format Add clang-format binary to cfe. 2013-03-20 09:53:23 +00:00
diag-build Add new tool 'diag-build' for showing enabled warnings in a project. 2012-06-18 21:31:37 +00:00
diagtool Nuke SetUpBuildDumpLog. 2013-01-20 01:58:28 +00:00
driver Manually specify the link dependencies. Turns out that all the work on 2013-03-26 03:45:48 +00:00
libclang [Preprocessor/Modules] Separate the macro directives kinds into their own MacroDirective's subclasses. 2013-03-26 17:17:01 +00:00
scan-build [analyzer] scan-build: emit errors on stderr, and exit(1) instead of exit(0). 2013-03-21 23:14:26 +00:00
scan-view Further harden checking that scan-view isn't serving up pages outside 2012-10-12 22:56:38 +00:00
CMakeLists.txt Add clang-format binary to cfe. 2013-03-20 09:53:23 +00:00
Makefile Add clang-format to the corresponding Makefile. 2013-03-22 11:43:51 +00:00