hanchenye-llvm-project/clang/lib
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
..
AST Selector::getIdentifierInfoForSlot() can return NULL values, a fact 2011-02-18 22:29:55 +00:00
Analysis Change the representation of GNU ?: expressions to use a different expression 2011-02-17 10:25:35 +00:00
Basic Selector::getIdentifierInfoForSlot() can return NULL values, a fact 2011-02-18 22:29:55 +00:00
CodeGen install a TargetLibraryInfo configured with the appropriate 2011-02-18 22:20:38 +00:00
Driver [analyzer] Use the new registration mechanism on the non-path-sensitive-checkers: 2011-02-17 21:39:33 +00:00
Frontend Move CompilerInstance::LLVMContext and LLVMContext ownership to CodeGenAction 2011-02-18 02:25:12 +00:00
FrontendTool Eliminate the internal command-line option for viewing inheritance in C++ classes, since it's only really worked for the trivial cases anyway due to lame pseudo-parsing of the class name. The viewInheritance() function is still available for use in the debugger, where this is far more useful 2011-02-17 19:04:40 +00:00
Headers
Index Give some convenient idiomatic accessors to Stmt::child_range and 2011-02-13 04:07:26 +00:00
Lex Warn for missing terminating " or ' instead of error for gcc compatibility. Fixed rdar://8914293. 2011-02-15 23:45:31 +00:00
Parse fix rdar://9024687, a crash on invalid that we used to silently ignore. 2011-02-18 21:16:39 +00:00
Rewrite Change the representation of GNU ?: expressions to use a different expression 2011-02-17 10:25:35 +00:00
Sema Selector::getIdentifierInfoForSlot() can return NULL values, a fact 2011-02-18 22:29:55 +00:00
Serialization Step #2/N of __label__ support: keep pushing LabelDecl forward, 2011-02-17 20:34:02 +00:00
StaticAnalyzer [analyzer] Fix crash when analyzing C++ code. 2011-02-18 21:24:56 +00:00
CMakeLists.txt [analyzer] Move the files in lib/StaticAnalyzer to lib/StaticAnalyzer/Core. 2011-02-08 22:30:36 +00:00
Makefile Chris Lattner has strong opinions about directory 2010-12-23 19:38:26 +00:00