Diagnose the expansion of ambiguous macro definitions. This can happen
authorDouglas Gregor <dgregor@apple.com>
Thu, 11 Oct 2012 21:07:39 +0000 (21:07 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 11 Oct 2012 21:07:39 +0000 (21:07 +0000)
commit5968b1b71f880582dd9cc57e8f3669ba100ee9f9
tree442be3212befcc1c9b2698a4ab424dff6566bce0
parentc9822ebc97035714de8eb3076625e5eab7dd01a6
Diagnose the expansion of ambiguous macro definitions. This can happen
only with modules, when two disjoint modules #define the same
identifier to different token sequences.

llvm-svn: 165746
clang/include/clang/Basic/DiagnosticGroups.td
clang/include/clang/Basic/DiagnosticLexKinds.td
clang/include/clang/Lex/MacroInfo.h
clang/lib/Lex/MacroInfo.cpp
clang/lib/Lex/PPMacroExpansion.cpp
clang/lib/Serialization/ASTReader.cpp
clang/test/Modules/Inputs/macros_left.h
clang/test/Modules/Inputs/macros_right.h
clang/test/Modules/Inputs/macros_top.h
clang/test/Modules/macros.c