hanchenye-llvm-project/clang/lib/Sema
Ted Kremenek c23c7e6a51 Change uses of:
Type::getAsReferenceType() -> Type::getAs<ReferenceType>()
  Type::getAsRecordType() -> Type::getAs<RecordType>()
  Type::getAsPointerType() -> Type::getAs<PointerType>()
  Type::getAsBlockPointerType() -> Type::getAs<BlockPointerType>()
  Type::getAsLValueReferenceType() -> Type::getAs<LValueReferenceType>()
  Type::getAsRValueReferenceType() -> Type::getAs<RValueReferenceType>()
  Type::getAsMemberPointerType() -> Type::getAs<MemberPointerType>()
  Type::getAsReferenceType() -> Type::getAs<ReferenceType>()
  Type::getAsTagType() -> Type::getAs<TagType>()
  
And remove Type::getAsReferenceType(), etc.

This change is similar to one I made a couple weeks ago, but that was partly
reverted pending some additional design discussion. With Doug's pending smart
pointer changes for Types, it seemed natural to take this approach.

llvm-svn: 77510
2009-07-29 21:53:49 +00:00
..
CMakeLists.txt Rename file in preparation of properly implementing C-style casts in C++. 2009-07-18 15:08:18 +00:00
CXXFieldCollector.h
IdentifierResolver.cpp Lazy deserialization of the declaration chains associated with 2009-04-21 22:25:48 +00:00
IdentifierResolver.h Lazy deserialization of the declaration chains associated with 2009-04-21 22:25:48 +00:00
JumpDiagnostics.cpp enhance the goto checker to reject jumps across __block variable definitions. 2009-07-19 20:17:11 +00:00
Makefile Build system changes to use TableGen to generate the various 2009-03-16 23:06:59 +00:00
ParseAST.cpp Remove an unneeded header. 2009-07-22 01:39:14 +00:00
Sema.cpp Implement the ObjC pseudo built-in types as clang "BuiltinType's". I say pseudo built-in types, since Sema still injects a typedef for recognition (i.e. they aren't truly built-ins from a parser perspective). 2009-07-15 18:40:39 +00:00
Sema.h Refactor base/member initializers, and construct them correctly in cases 2009-07-29 19:44:27 +00:00
SemaAccess.cpp Enhance testing of overriding exception specs for inaccessible base exceptions. 2009-07-18 14:32:15 +00:00
SemaAttr.cpp Remove the ASTContext parameter from the attribute-related methods of Decl. 2009-06-30 02:34:44 +00:00
SemaCXXCast.cpp Change uses of: 2009-07-29 21:53:49 +00:00
SemaCXXScopeSpec.cpp Change uses of: 2009-07-29 21:53:49 +00:00
SemaChecking.cpp Change uses of: 2009-07-29 21:53:49 +00:00
SemaDecl.cpp Change uses of: 2009-07-29 21:53:49 +00:00
SemaDeclAttr.cpp Change uses of: 2009-07-29 21:53:49 +00:00
SemaDeclCXX.cpp Change uses of: 2009-07-29 21:53:49 +00:00
SemaDeclObjC.cpp Make ObjCImplDecl inherit from ObjCContainerDecl. 2009-07-27 19:04:32 +00:00
SemaExpr.cpp Change uses of: 2009-07-29 21:53:49 +00:00
SemaExprCXX.cpp Change uses of: 2009-07-29 21:53:49 +00:00
SemaExprObjC.cpp Remove a bunch of FIXME's related to ObjC type checking. 2009-07-23 01:01:38 +00:00
SemaInherit.cpp Change uses of: 2009-07-29 21:53:49 +00:00
SemaInherit.h Add a member lookup criteria constructor for searching for overridden virtual member functions. Use this instead of regular name lookup when checking for overriding functions so we will see declarations that would otherwise be hidden. Fixes 6902298. 2009-05-30 00:52:53 +00:00
SemaInit.cpp Change uses of: 2009-07-29 21:53:49 +00:00
SemaLookup.cpp Change uses of: 2009-07-29 21:53:49 +00:00
SemaOverload.cpp Change uses of: 2009-07-29 21:53:49 +00:00
SemaOverload.h Fix a crash bug when comparing overload quality of conversion operators with conversion constructors. 2009-04-16 17:51:27 +00:00
SemaStmt.cpp Change uses of: 2009-07-29 21:53:49 +00:00
SemaTemplate.cpp Change uses of: 2009-07-29 21:53:49 +00:00
SemaTemplateDeduction.cpp Change uses of: 2009-07-29 21:53:49 +00:00
SemaTemplateInstantiate.cpp Template instantiation for static data members that are defined out-of-line. 2009-07-24 20:34:43 +00:00
SemaTemplateInstantiateDecl.cpp Use the new statement/expression profiling code to unique dependent 2009-07-29 16:09:57 +00:00
SemaTemplateInstantiateExpr.cpp [llvm up] 2009-07-29 18:26:50 +00:00
SemaTemplateInstantiateStmt.cpp Rework the way we track which declarations are "used" during 2009-06-22 20:57:11 +00:00
SemaType.cpp Change uses of: 2009-07-29 21:53:49 +00:00