Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-08-30 | Make preprocessor act in a GCC-compatible fashion when a macro is redefined | Richard Smith | |
within its own argument list. The original definition is used for the immediate expansion, but the new definition is used for any subsequent occurences within the argument list or after the expansion. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162906 91177308-0d34-0410-b5e6-96231b3b80d8 | |||
2011-12-16 | Don't allow #include (and its friends #import, #include_next and | Richard Smith | |
#__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 |