- Jan 13, 2011
-
-
Zhongxing Xu authored
since the bindings are purged after they are set up. Need to investigate RemoveDeadBindings algorithm. llvm-svn: 123374
-
Ted Kremenek authored
a struct value to a symbolic index into array. RegionStore can't actually reason about this, so we were getting bogus warnings about loading uninitialized values from the array. The solution is invalidate the entire array when we cannot represent the binding explicitly. Fixes <rdar://problem/8848957> llvm-svn: 123368
-
Ted Kremenek authored
and 'getBasePredecessor()' to 'getPredecessor()'. Also remove a unneeded save-and-restore of node builder's tag field. llvm-svn: 123363
-
Ted Kremenek authored
node builder's 'HasGeneratedNode' field. llvm-svn: 123362
-
Ted Kremenek authored
the node builder's "tag" ivar (which we would like to remove). llvm-svn: 123361
-
John McCall authored
Fixes PR8967. llvm-svn: 123360
-
Chris Lattner authored
llvm-svn: 123359
-
Rafael Espindola authored
llvm-svn: 123354
-
Douglas Gregor authored
llvm-svn: 123349
-
Douglas Gregor authored
matching of variadic template template parameters to template arguments. This paragraph was the subject of ISO C++ committee document N2555: Extending Variadic Template Template Parameters. llvm-svn: 123348
-
Michael J. Spencer authored
llvm-svn: 123344
-
Douglas Gregor authored
bunch of duplicated checks for parameter pack/non-pack mismatches. llvm-svn: 123343
-
- Jan 12, 2011
-
-
Douglas Gregor authored
(static_cast, dynamic_cast, reinterpret_cast, or const_cast) to improve source-location information. Fixes PR8960. llvm-svn: 123336
-
Douglas Gregor authored
llvm-svn: 123332
-
Douglas Gregor authored
llvm-svn: 123320
-
Douglas Gregor authored
another pack expansion type. This can happen when rebuilding types in the current instantiation. Fixes <rdar://problem/8848837> (Clang crashing on libc++ <functional>). llvm-svn: 123316
-
Jay Foad authored
and mark the fields they use as mutable. This allows us to remove a few const_casts. llvm-svn: 123314
-
Zhongxing Xu authored
llvm-svn: 123313
-
John McCall authored
delete the block we began emitting into if it had no predecessors. We never want to do this, because there are several valid cases during statement emission where an existing block has no known predecessors but will acquire some later. The case in my test case doesn't inherently fall into this category, because we could safely emit the case-range code before the statement body, but there are examples with labels that can't be fallen into that would also demonstrate this bug. rdar://problem/8837067 llvm-svn: 123303
-
Daniel Dunbar authored
- See comment for why. llvm-svn: 123296
-
John McCall authored
Slight optimization of getObjCGCAttrKind. llvm-svn: 123295
-
Rafael Espindola authored
llvm-svn: 123293
-
Francois Pichet authored
llvm-svn: 123291
-
Douglas Gregor authored
in ASTContext-allocated memory, copying the provided template arguments. Use this new routine where we can. No functionality change. llvm-svn: 123289
-
- Jan 11, 2011
-
-
Rafael Espindola authored
llvm-svn: 123280
-
Douglas Gregor authored
and function templates that contain variadic templates. This involves three small-ish changes: (1) When transforming a pack expansion, if the transformed argument still contains unexpanded parameter packs, build a pack expansion. This can happen during the substitution that occurs into class template partial specialiation template arguments during partial ordering. (2) When performing template argument deduction where the argument is a pack expansion, match against the pattern of that pack expansion. (3) When performing template argument deduction against a non-pack parameter, or a non-expansion template argument, deduction fails if the argument itself is a pack expansion (C++0x [temp.deduct.type]p22). llvm-svn: 123279
-
Rafael Espindola authored
think it is safe to mark all type infos with unnamed_addr, but I am not sure. llvm-svn: 123275
-
Rafael Espindola authored
llvm-svn: 123272
-
Argyrios Kyrtzidis authored
[analyzer] Introduce ObjCSelfInitChecker, which checks initialization methods to verify that they assign 'self' to the result of an initialization call (e.g. [super init], or [self initWith..]) before using any instance variable or returning 'self'. llvm-svn: 123264
-
Argyrios Kyrtzidis authored
llvm-svn: 123263
-
Argyrios Kyrtzidis authored
the prefix should be ignored. E.g. if ignorePrefix is true, "_init" and "init" selectors will both be result in InitRule, but if ignorePrefix is false, only "init" will return InitRule. llvm-svn: 123262
-
Argyrios Kyrtzidis authored
[analyzer] Add 'isLoad' parameter in Checker::visitLocation() to conveniently distinguish between loads/stores. llvm-svn: 123261
-
Douglas Gregor authored
number of explicit call arguments. This actually fixes an erroneous test for [temp.deduct.partial]p11, where we were considering parameters corresponding to arguments beyond those that were explicitly provided. llvm-svn: 123244
-
Bob Wilson authored
Clang does not wrap the vectors in structs anymore so this isn't needed. llvm-svn: 123241
-
Ted Kremenek authored
llvm-svn: 123240
-
Abramo Bagnara authored
llvm-svn: 123236
-
Francois Pichet authored
In Microsoft mode, force 64 bit hex integer constants to signed type if the LL or i64 suffix is used. This MSVC behavior. For example: void f(long long){ printf("long long"); } void f(unsigned long long) { printf("unsigned long long"); } int main() { f(0xffffffffffffffffLL); } Will print "long long" using MSVC. This patch also fixes 16 compile errors related to overloading issues when parsing the MSVC 2008 C++ standard lib. llvm-svn: 123231
-
Francois Pichet authored
i64 is like LL i32 is like L Also set isMicrosoftInteger to true only if the suffix is well formed. llvm-svn: 123230
-
Francois Pichet authored
llvm-svn: 123228
-
Ted Kremenek authored
to use a node builder. This paves the way for Checkers to interpose (via a "visit" method) at the entrance to blocks. llvm-svn: 123217
-