summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaLambda.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-01-16 16:19:38 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-01-16 16:19:38 +0000
commitf40f67af436c33a0c76ead87d23f77d186abd8e4 (patch)
treea62048082072c03f59205860a5363b72b4fbd9fa /clang/lib/Sema/SemaLambda.cpp
parenta1dc93a5bd96017b060d1b138443135ff8231a44 (diff)
downloadbcm5719-llvm-f40f67af436c33a0c76ead87d23f77d186abd8e4.tar.gz
bcm5719-llvm-f40f67af436c33a0c76ead87d23f77d186abd8e4.zip
[PCH/Modules] Change how macro [re]definitions are de/serialized.
Previously we would serialize the macro redefinitions as a list, part of the identifier, and try to chain them together across modules individually without having the info that they were already chained at definition time. Change this by serializing the macro redefinition chain and then try to synthesize the chain parts across modules. This allows us to correctly pinpoint when 2 different definitions are ambiguous because they came from unrelated modules. Fixes bogus "ambiguous expansion of macro" warning when a macro in a PCH is redefined without undef'ing it first. rdar://13016031 llvm-svn: 172620
Diffstat (limited to 'clang/lib/Sema/SemaLambda.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud