]> granicus.if.org Git - clang/commit
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)
commite8219a655128b98d0573658a139de5d848451fda
treefbf31a548eb9eb74a27ff378c4d7eb101c3685c8
parent42adacbb9bc7b6172bd36f9baa297180c77ab6d7
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165746 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticLexKinds.td
include/clang/Lex/MacroInfo.h
lib/Lex/MacroInfo.cpp
lib/Lex/PPMacroExpansion.cpp
lib/Serialization/ASTReader.cpp
test/Modules/Inputs/macros_left.h
test/Modules/Inputs/macros_right.h
test/Modules/Inputs/macros_top.h
test/Modules/macros.c