diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-12-16 22:50:01 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-12-16 22:50:01 +0000 |
commit | eb3ce7c3db7ae0238c3f3cfc61344623a1cc9ff0 (patch) | |
tree | a564422a5c8a8097a135534f19b8c2d6e0761e6b /clang/test/CodeGenCXX/predefined-expr-sizeof.cpp | |
parent | b6c9d56eb5d35e54e2e4d91463845b6ba9ebeac3 (diff) | |
download | bcm5719-llvm-eb3ce7c3db7ae0238c3f3cfc61344623a1cc9ff0.tar.gz bcm5719-llvm-eb3ce7c3db7ae0238c3f3cfc61344623a1cc9ff0.zip |
Don't allow #include (and its friends #import, #include_next and
#__include_macros) in the arguments of a function-style macro. Directives in the
arguments of such macros have undefined behaviour, and GCC does not correctly
support these cases. In some situations, this can lead to better diagnostics.
llvm-svn: 146765
Diffstat (limited to 'clang/test/CodeGenCXX/predefined-expr-sizeof.cpp')
0 files changed, 0 insertions, 0 deletions