]> granicus.if.org Git - clang/commit
Don't crash when code-completing after "#include <". It would be far
authorDouglas Gregor <dgregor@apple.com>
Thu, 9 Dec 2010 23:35:36 +0000 (23:35 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 9 Dec 2010 23:35:36 +0000 (23:35 +0000)
commit25bb03bc0f2561e830d866d5905b20c5475d6762
tree828d79e191dd9d8ecf2141763a19fc1c97ec99ac
parentbfe5788a00b44cf77cb2bd33e1fa0c35eb02e3f9
Don't crash when code-completing after "#include <". It would be far
better to actually produce a decent set of completions by checking the
system include paths, but not today. Fixes PR8744.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121431 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/PPDirectives.cpp
test/CodeCompletion/ordinary-name.c