commit | a3ca4d655974ad66e432a6c78dd08b277a639edf | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Fri Dec 16 22:50:01 2011 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Fri Dec 16 22:50:01 2011 +0000 |
tree | e21110f61d8e1c17f2ee1c640230ffe3b4446725 | |
parent | 37f953f021c67e3b97f1ef38e1ef3cb08bd9d146 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146765 91177308-0d34-0410-b5e6-96231b3b80d8