- Jul 17, 2009
-
-
Ted Kremenek authored
Replaced Type::getAsLValueReferenceType(), Type::getAsRValueReferenceType(), Type::getAsMemberPointerType(), Type::getAsTagType(), and Type::getAsRecordType() with their Type::getAs<XXX> equivalents. llvm-svn: 76139
-
Argyrios Kyrtzidis authored
llvm-svn: 76138
-
Argyrios Kyrtzidis authored
llvm-svn: 76136
-
Mike Stump authored
llvm-svn: 76133
-
Ted Kremenek authored
llvm-svn: 76132
-
Daniel Dunbar authored
llvm-svn: 76112
-
Fariborz Jahanian authored
in 32bit abi. llvm-svn: 76109
-
- Jul 16, 2009
-
-
Anton Korobeynikov authored
llvm-svn: 76099
-
Ted Kremenek authored
This method is intended to eventually replace the individual Type::getAsXXXType<> methods. The motivation behind this change is twofold: 1) Reduce redundant implementations of Type::getAsXXXType() methods. Most of them are basically copy-and-paste. 2) By centralizing the implementation of the getAs<Type> logic we can more smoothly move over to Doug Gregor's proposed canonical type smart pointer scheme. Along with this patch: a) Removed 'Type::getAsPointerType()'; now clients use getAs<PointerType>. b) Removed 'Type::getAsBlockPointerTypE()'; now clients use getAs<BlockPointerType>. llvm-svn: 76098
-
Ted Kremenek authored
llvm-svn: 76092
-
Owen Anderson authored
llvm-svn: 76090
-
Fariborz Jahanian authored
nonfragile abi, instead of crashing. llvm-svn: 76088
-
Chris Lattner authored
instead of doing it manually (which might end up getting auto-renamed), fixing a FIXME. rdar://7065446 llvm-svn: 76079
-
Steve Naroff authored
llvm-svn: 76078
-
Steve Naroff authored
Convert all clients to use the new predicate on Type. llvm-svn: 76076
-
Chris Lattner authored
some target hooks. llvm-svn: 75895
-
Ted Kremenek authored
llvm-svn: 75885
-
Ted Kremenek authored
ValueManager::makeArrayIndex()/convertArrayIndex() methods. This handles yet another crash case when reasoning about array indices of different bitwidth and signedness. llvm-svn: 75884
-
Ted Kremenek authored
(1) Moved the SValuator object from GRExprEngine to ValueManager. This allows ValueManager to use the SValuator when creating SVals. (2) Added ValueManager::makeArrayIndex() and ValueManager::convertToArrayIndex(), two SVal creation methods that will help RegionStoreManager always have a consistent set of SVals with the same integer size and type when reasoning about array indices. llvm-svn: 75882
-
Fariborz Jahanian authored
Patch by Ryan Flynn llvm-svn: 75879
-
Zhongxing Xu authored
llvm-svn: 75873
-
Steve Naroff authored
This is fallout from the recent ObjCObjectPointerType rework. I'll work on fixing this tomorrow. llvm-svn: 75870
-
Owen Anderson authored
llvm-svn: 75869
-
Ted Kremenek authored
llvm-svn: 75865
-
Fariborz Jahanian authored
llvm-svn: 75861
-
Ted Kremenek authored
Objective-C pointers to using ObjCObjectPointerType. Now the checking for 'attribute ((nonnull))' in Sema doesn't emit an error when trying to apply that attribute to a parameter that is an Objective-C pointer (this is a regression). To prevent this regression from occuring in the future, the 'nonnull.c' test was moved to test/SemaObjC and renamed 'nonnull.m'. I also enhanced the tests to show that function calls involved a NULL Objective-C pointer constant does not trigger a warning. This is consistent with GCC, but should likely be fixed. llvm-svn: 75856
-
Fariborz Jahanian authored
a test failure, until figuring out what caused the failure. llvm-svn: 75855
-
Fariborz Jahanian authored
base/members. llvm-svn: 75849
-
rdar://problem/7062158Ted Kremenek authored
Fix <rdar://problem/7062158> by having BasicStoreManager model values for 'static' global variables. llvm-svn: 75844
-
- Jul 15, 2009
-
-
Ted Kremenek authored
llvm-svn: 75832
-
Daniel Dunbar authored
llvm-svn: 75821
-
Argyrios Kyrtzidis authored
llvm-svn: 75814
-
Steve Naroff authored
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). This removes the static data/methods on ObjCObjectPointerType while preserving the nice API (no need to fiddle with ASTContext:-). This patch also adds Type::isObjCBuiltinType(). This should be the last fairly large patch related to recrafting the ObjC type system. The follow-on patches should be fairly small. llvm-svn: 75808
-
Dan Gohman authored
Force flag to control whether the case of opening an existing file is considered an error. llvm-svn: 75802
-
Daniel Dunbar authored
llvm-svn: 75764
-
Zhongxing Xu authored
llvm-svn: 75761
-
Zhongxing Xu authored
llvm-svn: 75750
-
Ted Kremenek authored
llvm-svn: 75748
-
Zhongxing Xu authored
llvm-svn: 75745
-
Zhongxing Xu authored
llvm-svn: 75740
-