- Aug 30, 2011
-
-
Fariborz Jahanian authored
group decls. llvm-svn: 138772
-
- Aug 29, 2011
-
-
Eli Friedman authored
llvm-svn: 138769
-
Anna Zaks authored
[analyzer] MacOSKeychainAPIChecker: Simplify getSymbolForRegion by using existing API. Thanks Jordy. llvm-svn: 138765
-
Anna Zaks authored
Fix: Bug 10798 - [analyzer] Crash when analyzing ICU. (A slight improvement on the previous commit.) llvm-svn: 138762
-
Anna Zaks authored
Patch by Jean-Daniel Dupas. Thanks for spotting and fixing! llvm-svn: 138757
-
Eli Friedman authored
llvm-svn: 138753
-
Fariborz Jahanian authored
No change in functionality. llvm-svn: 138742
-
Douglas Gregor authored
features, so clients can check for the availability of these features even before we get around to implementing them. llvm-svn: 138741
-
Caitlin Sadowski authored
This patch is by DeLesley Hutchins. llvm-svn: 138738
-
Matt Beaumont-Gay authored
llvm-svn: 138736
-
Jeffrey Yasskin authored
qualification of a type doesn't affect whether a conversion is a narrowing conversion. This doesn't work in template cases because SubstTemplateTypeParmType gets in the way. llvm-svn: 138735
-
Nico Weber authored
This matches gcc's logic. Second half of PR10661. llvm-svn: 138730
-
- Aug 28, 2011
-
-
Jordy Rose authored
llvm-svn: 138729
-
Jordy Rose authored
[analyzer] Introduce a new callback for checkers, printState, to be used for debug-printing the contents of a ProgramState. Unlike the other callbacks, this one is a simple virtual method, since it is only to be used for debugging. This new callback replaces the old ProgramState::Printer interface, and allows us to move the printing of refcount bindings from CFRefCount to RetainReleaseChecker. llvm-svn: 138728
-
Nico Weber authored
llvm-svn: 138721
-
Jordy Rose authored
[analyzer] Remove the ProgramState argument from ExprEngine::evalBind; we were ignoring it anyway. No functionality change. llvm-svn: 138720
-
Jordy Rose authored
llvm-svn: 138719
-
Jordy Rose authored
This is a common path for function and C++ method calls, Objective-C messages and property accesses, and C++ construct-exprs. As support, add message receiver accessors to ObjCMessage and CallOrObjCMessage. llvm-svn: 138718
-
Jordy Rose authored
[analyzer] Change the check::RegionChanges callback to include the regions explicitly requested for invalidation. Also, allow CallOrObjCMessage to wrap a CXXConstructExpr as well. Finally, this allows us to remove the clunky whitelisting system from CFRefCount/RetainReleaseChecker. Slight regression due to CXXNewExprs not yet being handled in post-statement callbacks (PR forthcoming). llvm-svn: 138716
-
John McCall authored
to varargs functions in unevaluated contexts. AFAICT, there is no standards justification for this, but it matches what other compilers do and therefore preserves compatibility with certain template metaprogramming idioms. Should fix self-host. llvm-svn: 138715
-
- Aug 27, 2011
-
-
Fariborz Jahanian authored
to class implementation where it is supposed to be implemented. // rdar://10009982. llvm-svn: 138714
-
Ted Kremenek authored
[analyzer] Rename current PathDiagnosticClient::HandlePathDiagnostic() to HandlePathDiagnosticImpl(), and slot in new HandlePathDiagnostic() for potentially handling concurrent access to PathDiagnosticClients (in the future). llvm-svn: 138713
-
Ted Kremenek authored
[analyzer] Pull body of loop in AnalysisConsumer::HandleDeclContext() into its own method. No real functionality change. llvm-svn: 138712
-
Ted Kremenek authored
[analyzer] Add test case for handling of __bridge_transfer that previously resulted in a 'stack address' warning (that was fixed in r138616). Fixes <rdar://problem/10018376>. llvm-svn: 138710
-
Fariborz Jahanian authored
, such as list of forward @class decls, in a DeclGroup node. Deal with its consequence throught clang. This is in preparation for more Sema work ahead. // rdar://8843851. Feel free to reverse if it breaks something important and I am unavailable. llvm-svn: 138709
-
Benjamin Kramer authored
llvm-svn: 138707
-
Douglas Gregor authored
__import__ within the preprocessor, since the prior one foolishly assumed that Preprocessor::Lex() was re-entrant. We now handle __import__ at the top level (only), after macro expansion. This should fix the buildbot failures. llvm-svn: 138704
-
Argyrios Kyrtzidis authored
llvm-svn: 138696
-
John McCall authored
of default argument promotion and needs to happen unconditionally. This is particularly semantically important in C++0x. llvm-svn: 138691
-
Benjamin Kramer authored
llvm-svn: 138689
-
Douglas Gregor authored
llvm-svn: 138688
-
Douglas Gregor authored
pointer variable. Patch by David Blaikie! llvm-svn: 138687
-
Ted Kremenek authored
Control 'invalid conversion specifier' warnings under a subflag (-Wformat-invalid-specifier) of -Wformat. Fixes <rdar://problem/10031930>. llvm-svn: 138686
-
Douglas Gregor authored
llvm-svn: 138684
-
Douglas Gregor authored
llvm-svn: 138683
-
Douglas Gregor authored
llvm-svn: 138681
-
Douglas Gregor authored
Try to unbreak the build on systems where uint64_t isn't something that StringRef::getAsInteger can handle as its second argument llvm-svn: 138680
-
Douglas Gregor authored
loads the named module. The syntax itself is intentionally hideous and will be replaced at some later point with something more palatable. For now, we're focusing on the semantics: - Module imports are handled first by the preprocessor (to get macro definitions) and then the same tokens are also handled by the parser (to get declarations). If both happen (as in normal compilation), the second one is redundant, because we currently have no way to hide macros or declarations when loading a module. Chris gets credit for this mad-but-workable scheme. - The Preprocessor now holds on to a reference to a module loader, which is responsible for loading named modules. CompilerInstance is the only important module loader: it now knows how to create and wire up an AST reader on demand to actually perform the module load. - We search for modules in the include path, using the module name with the suffix ".pcm" (precompiled module) for the file name. This is a temporary hack; we hope to improve the situation in the future. llvm-svn: 138679
-
Argyrios Kyrtzidis authored
llvm-svn: 138674
-
Andrew Trick authored
These tests have been failing since the beginning of buildbot time: crash-recovery-code-complete.c crash-recovery-reparse.c crash-recovery.c llvm-svn: 138672
-