- Aug 28, 2011
-
-
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
-
John McCall authored
flip these tests around. llvm-svn: 138708
-
Benjamin Kramer authored
llvm-svn: 138707
-
Benjamin Kramer authored
llvm-svn: 138706
-
Benjamin Kramer authored
Before we just left the remaining bytes uninitialized. This is another step in making llvm valgrind-clean again. llvm-svn: 138705
-
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
-
Andrew Trick authored
llvm-svn: 138703
-
Bill Wendling authored
things to disasterously over night, this can be reverted. llvm-svn: 138702
-
Andrew Trick authored
llvm-svn: 138701
-
Bill Wendling authored
llvm-svn: 138700
-
Bill Wendling authored
llvm-svn: 138699
-
Bill Wendling authored
llvm-svn: 138698
-
Bill Wendling authored
llvm-svn: 138697
-
Argyrios Kyrtzidis authored
llvm-svn: 138696
-
Andrew Trick authored
Patch by Xiaoyi Guo! llvm-svn: 138695
-
Jim Ingham authored
never checking them for NULL. Pass a reference instead. llvm-svn: 138694
-
Jim Ingham authored
directly to the one in sys. llvm-svn: 138693
-
Jim Ingham authored
analyzing so it won't get deleted on us if a formatter runs code. llvm-svn: 138692
-
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
-
Johnny Chen authored
llvm-svn: 138678
-
Johnny Chen authored
Update the test case in light of recent change of LLDB-Info.plist to track Apple Generic Version number from the Xcode project file. llvm-svn: 138677
-
Andrew Trick authored
llvm-svn: 138676
-
Owen Anderson authored
Improve encoding support for BLX with immediat eoperands, and fix a BLX decoding bug this uncovered. llvm-svn: 138675
-
Argyrios Kyrtzidis authored
llvm-svn: 138674
-
Owen Anderson authored
llvm-svn: 138673
-