- Aug 10, 2012
-
-
Joerg Sonnenberger authored
llvm-svn: 161659
-
Benjamin Kramer authored
llvm-svn: 161656
-
NAKAMURA Takumi authored
llvm-svn: 161655
-
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
-
Jordan Rose authored
This was triggering -Woverloaded-virtual, but there's really no reason for the cast version to be virtual anyway. It just calls through to the QualType entry point. llvm-svn: 161631
-
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
-
Chandler Carruth authored
of PARALLEL_DIRS are. They apparantly aren't what either Nick, Eric, or I thought. ;] Should let the bots make forward progress. llvm-svn: 161618
-
Anna Zaks authored
llvm-svn: 161617
-
Anna Zaks authored
llvm-svn: 161616
-
Chad Rosier authored
llvm-svn: 161615
-
Chad Rosier authored
llvm-svn: 161614
-
Chandler Carruth authored
rebuilds to serially link each tool, which is really really slow. We still have to build libclang serially first because c-index-test depends on it. llvm-svn: 161612
-
Chandler Carruth authored
build system. Thanks to Nick for pointing at the actual construct which should be used here. llvm-svn: 161609
-
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
llvm-svn: 161602
-
Dmitri Gribenko authored
as their argument. For example, \fn, \function, \typedef, \method, \class etc. llvm-svn: 161601
-
Simon Atanasyan authored
Fix the test case. Now it does not depend on the method used to pass vector arguments to the function. Reviewed by Anton Lokhmotov. llvm-svn: 161597
-
Dmitri Gribenko authored
This also fixes a bug in comment to XML conversion: \result was just an ordinary paragraph, not an alias for \returns. llvm-svn: 161596
-
Chad Rosier authored
llvm-svn: 161595
-
Chad Rosier authored
llvm-svn: 161594
-
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
-
Chandler Carruth authored
out. Unfortunately, the existing makefiles for the extra repo don't specify the correct library dependencies. Fixing that next. If you're following along, you'll get linker errors. llvm-svn: 161549
-