- Aug 10, 2012
-
-
Joerg Sonnenberger authored
llvm-svn: 161659
-
Benjamin Kramer authored
llvm-svn: 161656
-
John McCall authored
things going on here that were problematic: - We were missing the actual access check, or rather, it was suppressed on account of being a redeclaration lookup. - The access check would naturally happen during delay, which isn't appropriate in this case. - We weren't actually emitting dependent diagnostics associated with class templates, which was unfortunate. - Access was being propagated incorrectly for friend method declarations that couldn't be matched at parse-time. llvm-svn: 161652
-
Jordan Rose authored
The old behavior was to re-scan any files (like modules) where we may have directives but won't actually be parsing during the -verify invocation. Now, we keep the old behavior in Debug builds as a sanity check (though modules are a known entity), and expect all legitimate directives to come from comments seen by the preprocessor. This also affects the ARC migration tool, which captures diagnostics in order to filter some out. This change adds an explicit cleanup to CaptureDiagnosticsConsumer in order to let its sub-consumer handle the real end of diagnostics. This was originally split into four patches, but the tests do not run cleanly without all four, so I've combined them into one commit. Patches by Andy Gibbs, with slight modifications from me. llvm-svn: 161650
-
Jordan Rose authored
Patch by Andy Gibbs! llvm-svn: 161649
-
David Blaikie authored
This also provides isConst/Volatile/Restrict on FunctionTypes to coalesce the implementation with other callers (& update those other callers). Patch contributed by Sam Panzer (panzer@google.com). llvm-svn: 161647
-
Chad Rosier authored
llvm-svn: 161642
-
Jordan Rose authored
Both methods need to clear out existing bindings and provide a new default binding. Originally KillStruct always provided UnknownVal as the default, but it's allowed symbolic values for quite some time (for handling returned structs in C). No functionality change. llvm-svn: 161637
-
Jordan Rose authored
This should speed up activities that need to access bindings by cluster, such as invalidation and dead-bindings cleaning. In some cases all we save is the cost of building the region cluster map, but other times we can actually avoid traversing the rest of the store. In casual testing, this produced a speedup of nearly 10% analyzing SQLite, with /less/ memory used. llvm-svn: 161636
-
Jordan Rose authored
This makes it faster to access and invalidate bindings with symbolic offsets by only computing this information once. No intended functionality change. llvm-svn: 161635
-
Eli Friedman authored
llvm-svn: 161630
-
Benjamin Kramer authored
Should fix the failures seen on some linux builders. llvm-svn: 161629
-
- Aug 09, 2012
-
-
Chad Rosier authored
llvm-svn: 161622
-
Jordan Rose authored
An ASTContext's RecordLayoutInfo can only be used to look up offsets of direct base classes, and we need the offset to make non-symbolic bindings in RegionStore. This change makes sure that we have one layer of CXXBaseObjectRegion for each base we are casting through. This was causing crashes on an internal buildbot. llvm-svn: 161621
-
Fariborz Jahanian authored
llvm-svn: 161620
-
Chad Rosier authored
llvm-svn: 161619
-
Anna Zaks authored
llvm-svn: 161617
-
Anna Zaks authored
llvm-svn: 161616
-
Chad Rosier authored
llvm-svn: 161615
-
Chad Rosier authored
llvm-svn: 161614
-
Richard Smith authored
In 'delete []', the '[]' never starts a lambda. Update a FIXME with a standard reference and add a test. llvm-svn: 161604
-
Anna Zaks authored
r161552. As per Jordan's feedback. llvm-svn: 161603
-
Dmitri Gribenko authored
as their argument. For example, \fn, \function, \typedef, \method, \class etc. llvm-svn: 161601
-
Chad Rosier authored
llvm-svn: 161595
-
Fariborz Jahanian authored
definition parsing logic. llvm-svn: 161593
-
Anna Zaks authored
Declaring "const Decl *Decl" is not a good idea. llvm-svn: 161567
-
Anna Zaks authored
Remove Escaped state, which is not really necessary. We can just stop tracking the symbol instead of keeping it around and marking escaped. llvm-svn: 161557
-
Eli Friedman authored
Fix AAPCS ABI. I can't actually test this, but it restores the behavior from before r159168. PR13562. llvm-svn: 161554
-
Anna Zaks authored
This is an initial (unoptimized) version. We split the path when inlining ObjC instance methods. On one branch we always assume that the type information for the given memory region is precise. On the other we assume that we don't have the exact type info. It is important to check since the class could be subclassed and the method can be overridden. If we always inline we can loose coverage. Had to refactor some of the call eval functions. llvm-svn: 161552
-
Dmitri Gribenko authored
llvm-svn: 161551
-
Dmitri Gribenko authored
llvm-svn: 161548
-
Eli Friedman authored
llvm-svn: 161546
-
Eli Friedman authored
llvm-svn: 161544
-
Fariborz Jahanian authored
method/c-funcs defined in objc class implementation. No intended functionality change. llvm-svn: 161540
-
Eli Friedman authored
llvm-svn: 161539
-
Richard Smith authored
llvm-svn: 161537
-
Eli Friedman authored
Handle deprecation diagnostics correctly for C struct fields and Objective-C properties/ivars. <rdar://problem/6642337>. llvm-svn: 161534
-
- Aug 08, 2012
-
-
Eli Friedman authored
Unify the codepaths for emitting deprecation warnings. The test changes are just to account for us emitting notes more consistently. llvm-svn: 161528
-
Anna Zaks authored
llvm-svn: 161527
-
Chad Rosier authored
llvm-svn: 161526
-