- Nov 13, 2010
-
-
Ted Kremenek authored
This API required changing the BFS worklist to use a deque instead of a queue, but that is better for performance reasons anyway. llvm-svn: 118982
-
John McCall authored
instead of copying them all out at the start. Not a significant optimization. llvm-svn: 118967
-
John McCall authored
llvm-svn: 118966
-
Douglas Gregor authored
function templates. Fixes PR8130. llvm-svn: 118944
-
- Nov 12, 2010
-
-
Benjamin Kramer authored
llvm-svn: 118915
-
Bob Wilson authored
llvm-svn: 118901
-
Bob Wilson authored
llvm-svn: 118899
-
Bob Wilson authored
Add support for mangling those types according to ARM's ABI. llvm-svn: 118898
-
Bob Wilson authored
llvm-svn: 118897
-
Benjamin Kramer authored
llvm-svn: 118892
-
John McCall authored
parameters to the Transform*Type functions and instead call out the specific cases where an object type and the unqualified lookup results are important. Fixes an assert and failed compile on a testcase from PR7248. llvm-svn: 118887
-
Douglas Gregor authored
SourceManager::getPresumedLoc(), so that we don't try to make use of an invalid presumed location. Doing so can cause crashes. llvm-svn: 118885
-
Douglas Gregor authored
direct-initialization (rather than copy-initialization) to initialize the temporary, allowing explicit constructors. Fixes PR8342. llvm-svn: 118880
-
Rafael Espindola authored
llvm-svn: 118878
-
Ted Kremenek authored
RegionStore/BasicStore: do not return UndefinedVal for accesses to concrete addresses; instead return UnknownVal. This leads it up to checkers (e.g., DereferenceChecker) to guard against illegal accesses (e.g., null dereferences). Fixes PR 5272 and <rdar://problem/6839683>. llvm-svn: 118852
-
- Nov 11, 2010
-
-
Douglas Gregor authored
produce an invalid location even when given a valid location, if the file system has changed underneath us. Recovery more gracefully. llvm-svn: 118834
-
Rafael Espindola authored
Cosmin Truta for reporting it. llvm-svn: 118826
-
Daniel Dunbar authored
llvm-svn: 118786
-
John McCall authored
uncoerced value. Also, whitelist bool bitfields, which aren't really a truncation. llvm-svn: 118778
-
John McCall authored
rdar://problem/8652606 llvm-svn: 118773
-
Rafael Espindola authored
llvm-svn: 118771
-
Rafael Espindola authored
llvm-svn: 118769
-
John McCall authored
llvm-svn: 118753
-
Douglas Gregor authored
diagnostic-capturing client lives as long as the ASTUnit itself does. Otherwise, we can end up with crashes when we get a diagnostic outside of parsing/code completion. The circumstances under which this happen are really hard to reproduce, because a file needs to change from under us. llvm-svn: 118751
-
Fariborz Jahanian authored
a test change, all for blocks. wip. llvm-svn: 118745
-
John McCall authored
of the enumerators rather than the actual expressible range. This is great when dealing with opaque *values* of that type, but when computing the range of the type for purposes of converting *into* it, it produces warnings in cases we don't care about (e.g. enum_t x = 500;). Divide the logic into these two cases and use the more conservative range for targets. llvm-svn: 118735
-
- Nov 10, 2010
-
-
Bob Wilson authored
NEON vector types need to be mangled in a special way to comply with ARM's ABI, similar to some of the AltiVec-specific vector types. This patch is mostly just renaming a bunch of "AltiVecSpecific" things, since they will no longer be specific to AltiVec. Besides that, it just adds the new "NeonVector" enum. llvm-svn: 118724
-
Douglas Gregor authored
in the order they occur within the class template, delaying out-of-line member template partial specializations until after the class has been fully instantiated. This fixes a regression introduced by r118454 (itself a fix for PR8001). llvm-svn: 118704
-
Fariborz Jahanian authored
other class extensions. // rdar://7629420 llvm-svn: 118689
-
John McCall authored
@property declaration to the autogenerated methods. I'm uncertain whether this should apply to attributes in general, but these are a reasonable core. Implements rdar://problem/8617301 llvm-svn: 118676
-
Ted Kremenek authored
using new/delete and OwningPtrs. After memory profiling Clang, I witnessed periodic leaks of these objects; digging deeper into the code, it was clear that our management of these objects was a mess. The ownership rules were murky at best, and not always followed. Worse, there are plenty of error paths where we could screw up. This patch introduces AttributeList::Factory, which is a factory class that creates AttributeList objects and then blows them away all at once. While conceptually simple, most of the changes in this patch just have to do with migrating over to the new interface. Most of the changes have resulted in some nice simplifications. This new strategy currently holds on to all AttributeList objects during the lifetime of the Parser object. This is easily tunable. If we desire to have more bound the lifetime of AttributeList objects more precisely, we can have the AttributeList::Factory object (in Parser) push/pop its underlying allocator as we enter/leave key methods in the Parser. This means that we get simple memory management while still having the ability to finely control memory use if necessary. Note that because AttributeList objects are now BumpPtrAllocated, we may reduce malloc() traffic in many large files with attributes. This fixes the leak reported in: <rdar://problem/8650003> llvm-svn: 118675
-
Argyrios Kyrtzidis authored
Fixes rdar://8649963. llvm-svn: 118674
-
Rafael Espindola authored
llvm-svn: 118673
-
John McCall authored
Fixes PR7915. llvm-svn: 118670
-
John McCall authored
Recover from the latter and fail early for the former. Fixes PR8022. llvm-svn: 118669
-
Chris Lattner authored
unknown pragmas should just be passed through to the .i file. llvm-svn: 118659
-
John McCall authored
a positive value into a signed bitfield of the exact width of the value. llvm-svn: 118657
-
John McCall authored
bitfield assignment. Implements rdar://problem/7809123 llvm-svn: 118647
-
- Nov 09, 2010
-
-
John McCall authored
own subcategory, -Wconstant-conversion, which is on by default. Tweak the constant folder to give better results in the invalid case of a negative shift amount. Implements rdar://problem/6792488 llvm-svn: 118636
-
Fariborz Jahanian authored
llvm-svn: 118635
-