summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtPrinter.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-03-27 01:25:34 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-03-27 01:25:34 +0000
commit3a9c42c423b98b4857478c6200b5f81717f7b252 (patch)
tree239041f1deeb157f333bca1bbd0597b56fed0e9c /clang/lib/AST/StmtPrinter.cpp
parent2e2ff1373ed91d5b7f4421086dc842ae4cb60080 (diff)
downloadbcm5719-llvm-3a9c42c423b98b4857478c6200b5f81717f7b252.tar.gz
bcm5719-llvm-3a9c42c423b98b4857478c6200b5f81717f7b252.zip
[modules] Before marking the module imported macros as ambiguous, check if this is a case where
the system macro uses a not identical definition compared to a macro from the clang headers. For example (these come from different modules): \#define LONG_MAX __LONG_MAX__ (clang's limits.h) \#define LONG_MAX 0x7fffffffffffffffL (system's limits.h) in which case don't mark them ambiguous to avoid the "ambiguous macro expansion" warning. llvm-svn: 178109
Diffstat (limited to 'clang/lib/AST/StmtPrinter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud