hanchenye-llvm-project/clang/lib/Basic
Douglas Gregor af2a6ae429 Selector::getIdentifierInfoForSlot() can return NULL values, a fact
that was ignored in a few places (most notably, code
completion). Introduce Selector::getNameForSlot() for the common case
where we only care about the name. Audit all uses of
getIdentifierInfoForSlot(), switching many over to getNameForSlot(),
fixing a few crashers.

Fixed <rdar://problem/8939352>, a code-completion crasher.

llvm-svn: 125977
2011-02-18 22:29:55 +00:00
..
Builtins.cpp In C++, if the user redeclares a builtin function with a type that is 2010-12-21 19:47:46 +00:00
CMakeLists.txt Add CMake dependencies so that LLVM_USED_LIBS order doesn't matter. 2011-02-11 23:46:38 +00:00
ConvertUTF.c
Diagnostic.cpp Teach Diagnostic::setClient() to free the existing, owned 2011-01-31 22:04:05 +00:00
DiagnosticIDs.cpp If any Fix-Its attached to a diagnostic have invalid source locations 2011-02-03 23:41:12 +00:00
FileManager.cpp Uses llvm::sys::path instead of hand-rolled algorithm in FileManager. 2011-02-11 21:25:35 +00:00
FileSystemStatCache.cpp Replace all uses of PathV1::isAbsolute with PathV2::is_{absolute,relative}. 2010-12-17 21:22:22 +00:00
IdentifierTable.cpp Selector::getIdentifierInfoForSlot() can return NULL values, a fact 2011-02-18 22:29:55 +00:00
Makefile Basic: Simplify getClangRepositoryPath and getClangRevision. 2010-09-29 19:15:29 +00:00
SourceLocation.cpp Fix diagnostic pragmas. 2010-12-15 18:44:22 +00:00
SourceManager.cpp Fix a thinko with llvm::Optional, which is clearly the most dangerous class template in the universe 2011-02-16 19:09:24 +00:00
TargetInfo.cpp Implement mcount profiling, enabled via -pg. 2011-02-10 16:52:03 +00:00
Targets.cpp [Heikki Kultala] This patch contains the ABI changes for the TCE target. 2011-02-18 08:44:38 +00:00
TokenKinds.cpp
Version.cpp Basic: Tweak attempt to make version tags work from 'svn export's again, clip 2010-10-11 23:50:34 +00:00