aboutsummaryrefslogtreecommitdiff
path: root/lib/Rewrite/Frontend/RewriteModernObjC.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2013-02-07 00:21:12 +0000
committerDouglas Gregor <dgregor@apple.com>2013-02-07 00:21:12 +0000
commit2a06085281d1b6aee628f85e8676eec04542cbc9 (patch)
tree555fd6e3a34befb20718444336bf6667927a6261 /lib/Rewrite/Frontend/RewriteModernObjC.cpp
parent712f5b3bef988e8d3dd38fdf2264e7cc1a3f6bf9 (diff)
Introduce -fmodules-ignore-macro=NNN to ignore a macro when building/loading modules.
The use of this flag enables a modules optimization where a given set of macros can be labeled as "ignored" by the modules system. Definitions of those macros will be completely ignored when building the module hash and will be stripped when actually building modules. The overall effect is that this flag can be used to drastically reduce the number of Eventually, we'll want modules to tell us what set of macros they respond to (the "configuration macros"), and anything not in that set will be excluded. However, that requires a lot of per-module information that must be accurate, whereas this option can be used more readily. Fixes the rest of <rdar://problem/13165109>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174560 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Rewrite/Frontend/RewriteModernObjC.cpp')
0 files changed, 0 insertions, 0 deletions