]> granicus.if.org Git - clang/commit
Emulate MSVC's preprocessor macro argument separator behavior by not considering...
authorJoao Matos <ripzonetriton@gmail.com>
Fri, 31 Aug 2012 21:10:54 +0000 (21:10 +0000)
committerJoao Matos <ripzonetriton@gmail.com>
Fri, 31 Aug 2012 21:10:54 +0000 (21:10 +0000)
commit181cd5bdebf0b88e8194c3f58da60f7f5b918b33
treedd6b6f1ec36350a172493d8f59a079796e79b39e
parent7e2e4c33cdd347d0f3faac3e391245d06fa42811
Emulate MSVC's preprocessor macro argument separator behavior by not considering commas from nested macro expansions as argument separators. Fixes parsing of VS 2012 headers.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163022 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Lex/Token.h
lib/Lex/PPMacroExpansion.cpp
lib/Lex/TokenLexer.cpp
test/Preprocessor/microsoft-ext.c [new file with mode: 0644]