diff options
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-03-27 01:25:34 +0000 |
|---|---|---|
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-03-27 01:25:34 +0000 |
| commit | 3a9c42c423b98b4857478c6200b5f81717f7b252 (patch) | |
| tree | 239041f1deeb157f333bca1bbd0597b56fed0e9c /clang/lib/AST/StmtPrinter.cpp | |
| parent | 2e2ff1373ed91d5b7f4421086dc842ae4cb60080 (diff) | |
| download | bcm5719-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

