hanchenye-llvm-project/clang/lib/Sema
Chris Lattner 86d7d91366 Rename NamedDecl::getIdentifierName() to ::getNameAsCString() and make it
assert if the name is not an identifier.  Update callers to do the right
thing and avoid this method in unsafe cases.  This also fixes an objc
warning that was missing a space, and migrates a couple more to taking
IdentifierInfo and QualTypes instead of std::strings.

llvm-svn: 59936
2008-11-24 03:54:41 +00:00
..
CMakeLists.txt Fix cmake build, patch from Jjgod Jiang. 2008-11-11 08:29:24 +00:00
CXXFieldCollector.h Update some comments. 2008-07-01 11:22:40 +00:00
IdentifierResolver.cpp Updated IdentifierResolver to deal with DeclarationNames. The names of 2008-11-17 20:34:05 +00:00
IdentifierResolver.h Updated IdentifierResolver to deal with DeclarationNames. The names of 2008-11-17 20:34:05 +00:00
Makefile rename libclangSEMA to libclangSema 2008-09-07 17:09:06 +00:00
ParseAST.cpp Comment fix, ParseAST does not take ownership of the consumer. 2008-10-27 22:01:05 +00:00
Sema.cpp Rename Selector::getName() to Selector::getAsString(), and add 2008-11-24 03:33:13 +00:00
Sema.h Rename NamedDecl::getIdentifierName() to ::getNameAsCString() and make it 2008-11-24 03:54:41 +00:00
SemaCXXScopeSpec.cpp stop calling II::getName() unnecesarily in sema 2008-11-19 08:23:25 +00:00
SemaChecking.cpp Convert IdentifierInfo's to be printed the same as DeclarationNames 2008-11-23 21:45:46 +00:00
SemaDecl.cpp Make all the 'redefinition' diagnostics more consistent, and make the 2008-11-23 23:12:31 +00:00
SemaDeclAttr.cpp Convert IdentifierInfo's to be printed the same as DeclarationNames 2008-11-23 21:45:46 +00:00
SemaDeclCXX.cpp Make all the 'redefinition' diagnostics more consistent, and make the 2008-11-23 23:12:31 +00:00
SemaDeclObjC.cpp Rename NamedDecl::getIdentifierName() to ::getNameAsCString() and make it 2008-11-24 03:54:41 +00:00
SemaExpr.cpp Convert IdentifierInfo's to be printed the same as DeclarationNames 2008-11-23 21:45:46 +00:00
SemaExprCXX.cpp Implementation of new and delete parsing and sema. 2008-11-21 19:14:01 +00:00
SemaExprObjC.cpp Rename Selector::getName() to Selector::getAsString(), and add 2008-11-24 03:33:13 +00:00
SemaInherit.cpp start converting Sema over to using its canonical Diag method. 2008-11-18 22:52:51 +00:00
SemaInherit.h Implement semantic checking of static_cast and dynamic_cast. 2008-10-31 14:43:28 +00:00
SemaInit.cpp remove the last old-fashioned Diag method. Transition complete! 2008-11-20 06:38:18 +00:00
SemaNamedCast.cpp remove another old-school Diag method. 2008-11-20 06:06:08 +00:00
SemaOverload.cpp Implement a %plural modifier for complex plural forms in diagnostics. Use it in the overload diagnostics. 2008-11-22 13:44:36 +00:00
SemaOverload.h Implement the rest of C++ [over.call.object], which permits the object 2008-11-19 22:57:39 +00:00
SemaStmt.cpp Make all the 'redefinition' diagnostics more consistent, and make the 2008-11-23 23:12:31 +00:00
SemaType.cpp Implementation of new and delete parsing and sema. 2008-11-21 19:14:01 +00:00
SemaUtil.h Make a major restructuring of the clang tree: introduce a top-level 2008-03-15 23:59:48 +00:00