- Jan 11, 2010
-
-
Sebastian Redl authored
llvm-svn: 93150
-
Zhongxing Xu authored
The old test case has a little mistake. llvm-svn: 93148
-
Zhongxing Xu authored
This with previous patch fixes a OSAtomic test case. llvm-svn: 93146
-
Chris Lattner authored
llvm-svn: 93141
-
Ted Kremenek authored
value bindings. Along with a small change to OSAtomicChecker, this resolves <rdar://problem/7527292> and resolves some long-standing issues with how values can be bound to the same physical address by not have the same "key". This change is only a beginning; logically RegionStore needs to better handle loads from addresses where the stored value is larger/smaller/different type than the loaded value. We handle these cases in an approximate fashion now (via CastRetrievedVal and help in SimpleSValuator), but it could be made much smarter. llvm-svn: 93137
-
Ted Kremenek authored
(1) Introduce a new 'BindingKey' class to match 'BindingValue'. This gives us the flexibility to change the current key value from 'const MemRegion*' to something more interesting. (2) Rework additions/removals/lookups from the store to use new 'Remove', 'Add', 'Lookup' utility methods. No "real" functionality change; just prep work and abstraction. llvm-svn: 93136
-
Alexis Hunt authored
incompatible with user-defined literals, specifically with the following form: 0x1p+1 The preprocessing-number token extends only as far as the 'p'; the '+' is not included. Previously we could get away with this extension as p was an invalid suffix, but now with user-defined literals, 'p' might well be a valid suffix and we are forced to consider it as such. This patch also adds a warning in non-0x C++ modes telling the user that this extension is incompatible with C++0x that is enabled by default (previously and with other languages, we warn only with a compliance option such as -pedantic). llvm-svn: 93135
-
Douglas Gregor authored
C++ grammatical constructs that show up in top-level (namespace-level) declarations, member declarations, template declarations, statements, expressions, conditions, etc. For example, we now provide a pattern for static_cast<type>(expr) when we can have an expression, or using namespace identifier; when we can have a using directive. Also, improves the results of code completion at the beginning of a top-level declaration. Previously, we would see value names (function names, global variables, etc.); now we see types, namespace names, etc., but no values. llvm-svn: 93134
-
- Jan 10, 2010
-
-
Benjamin Kramer authored
RewriteObjC.cpp(4419) : warning C4804: '>' : unsafe use of type 'bool' in operation llvm-svn: 93124
-
Anton Korobeynikov authored
llvm-svn: 93120
-
Anton Korobeynikov authored
llvm-svn: 93119
-
Anton Korobeynikov authored
1. Add helper class for sema checks for target attributes 2. Add helper class for codegen of target attributes As a proof-of-concept - implement msp430's 'interrupt' attribute. llvm-svn: 93118
-
Anton Korobeynikov authored
llvm-svn: 93117
-
Benjamin Kramer authored
llvm-svn: 93114
-
Chris Lattner authored
nicer than passing around two const char*'s. llvm-svn: 93094
-
Daniel Dunbar authored
llvm-svn: 93088
-
Daniel Dunbar authored
llvm-svn: 93087
-
Daniel Dunbar authored
-weak_reference_mismatches is not present, it is the default. llvm-svn: 93086
-
Chris Lattner authored
llvm-svn: 93084
-
rdar://7520940Chris Lattner authored
import other headers within the same framework with the full framework path, not with a relative include. llvm-svn: 93083
-
- Jan 09, 2010
-
-
Ted Kremenek authored
CallExpr/ObjCMessageExpr can be visited in an "lvalue" context if it returns a struct temporary. Currently the analyzer doesn't reason about struct temporary returned by function calls, but we shouldn't crash here either. llvm-svn: 93081
-
Chris Lattner authored
llvm-svn: 93078
-
Chris Lattner authored
llvm-svn: 93077
-
Chris Lattner authored
llvm-svn: 93076
-
Chris Lattner authored
lvalue to poke, no functionality change. llvm-svn: 93075
-
Chris Lattner authored
llvm-svn: 93074
-
Ted Kremenek authored
llvm-svn: 93071
-
Benjamin Kramer authored
llvm-svn: 93064
-
Benjamin Kramer authored
llvm-svn: 93060
-
Benjamin Kramer authored
llvm-svn: 93058
-
Benjamin Kramer authored
llvm-svn: 93057
-
Benjamin Kramer authored
std::vectors. - MacroBuilder wraps a raw_ostream so it can easily write to any buffer supported by raw_ostream. - MacroBuilder's method take Twines for easy string concatenation (this was done with sprintf and temporary buffers before). - Targets still use std::vector as they don't have access to the builder. llvm-svn: 93051
-
Kovarththanan Rajaratnam authored
llvm-svn: 93049
-
Kovarththanan Rajaratnam authored
llvm-svn: 93048
-
Zhongxing Xu authored
CXXObjectRegion to represent it. In Environment, lookup a literal expression before make up a value for it. llvm-svn: 93047
-
Chris Lattner authored
llvm-svn: 93044
-
- Jan 08, 2010
-
-
Ted Kremenek authored
when the default case is winnowed down to be infeasible. When all cases were ruled out (and the analysis state for the default case would be infeasible) we would still consider the default case possible. This fixes PR 5969. llvm-svn: 93017
-
John McCall authored
not just the viable ones. This is reasonable because the most common use of deleted functions is to exclude some implicit conversion during calls; users therefore will want to figure out why some other options were excluded. Started sorting overload results. Right now it just sorts by location in the translation unit (after putting viable functions first), but we can do better than that. Changed bool OnlyViable parameter to PrintOverloadCandidates to an enum for better self-documentation. llvm-svn: 92990
-
Dan Gohman authored
targethook, which is no longer being used. This fixes PR5971. llvm-svn: 92987
-
Fariborz Jahanian authored
incorrect cast, causing compile error (fixes radar 7342867). llvm-svn: 92986
-