Don't warn about disabled macro expansion if we see the name of a function-like macro...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 12 Dec 2012 02:46:14 +0000 (02:46 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 12 Dec 2012 02:46:14 +0000 (02:46 +0000)
commit181879c293df6a88e8ef054c67c3b32beb5fc92c
treecd5823c206a42527ec3cf8e1d0a88abf1cd4ea83
parent962711ee71599d9f05aac3fb6678408777509e7d
Don't warn about disabled macro expansion if we see the name of a function-like macro which isn't immediately followed by '('. FreeBSD's stdio.h #defines foo(x) to (foo)(x), apparently.

llvm-svn: 169960
clang/lib/Lex/Preprocessor.cpp
clang/test/Preprocessor/warn-disabled-macro-expansion.c