]> granicus.if.org Git - clang/commit
No longer crashing with an assert when __has_include or __has_include_next is used...
authorAaron Ballman <aaron@aaronballman.com>
Wed, 16 Jan 2013 19:32:21 +0000 (19:32 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Wed, 16 Jan 2013 19:32:21 +0000 (19:32 +0000)
commit31672b1745195d709b641f1c0f44e203742fa73b
tree12fbebdd3494a696805c698f0b60668fd5038e2c
parentf0e00046711280d494f3ef2d85ae67a442b97406
No longer crashing with an assert when __has_include or __has_include_next is used outside of a preprocessor directive.  This fixes PR14837.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172639 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticLexKinds.td
include/clang/Lex/Preprocessor.h
lib/Lex/PPDirectives.cpp
lib/Lex/PPMacroExpansion.cpp
lib/Lex/Preprocessor.cpp
test/Preprocessor/has_include.c