]> granicus.if.org Git - clang/commit
[Modules] Fix crash in Preprocessor::getLastMacroWithSpelling().
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 4 Mar 2015 16:03:07 +0000 (16:03 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 4 Mar 2015 16:03:07 +0000 (16:03 +0000)
commit7a4bb7efcd280e94475501186889242e5ca16d36
treeca6241de795079c41fb23fe48f2d90ce2a93f1dc
parent64637f8309271ddef12518da168530a543e9d897
[Modules] Fix crash in Preprocessor::getLastMacroWithSpelling().

Macro names that got undefined inside a module may not have their MacroInfo set.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@231251 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/Preprocessor.cpp
test/Modules/Inputs/Module.framework/Headers/Module.h
test/Modules/crashes.m [new file with mode: 0644]