- Aug 31, 2011
-
-
Chandler Carruth authored
of the function in question when applicable (that is, not for blocks). Patch by Joerg Sonnenberger with some stylistic tweaks by me. When discussing this weth Joerg, streaming the decl directly into the diagnostic didn't work because we have a pointer-to-const, and the overload doesn't accept such. In order to make my style tweaks to the patch, I first changed the overload to accept a pointer-to-const, and then changed the diagnostic printing layer to also use a pointer-to-const, cleaning up a gross line of code along the way. llvm-svn: 138854
-
Eli Friedman authored
Change err_pp_file_not_found back to an Error; when it's a Warning, we suppress it in system headers. And it is not a good idea to suppress it in system headers. (This was originally changed in r134996 to implement -MG.) Fixes <rdar://10041960>. And also brings down the number of warnings without a flag by one :) llvm-svn: 138842
-
Douglas Gregor authored
collision between C99 hexfloats and C++0x user-defined literals by giving C99 hexfloats precedence. Also, warning about user-defined literals that conflict with hexfloats and those that have names that are reserved by the implementation. Fixes <rdar://problem/9940194>. llvm-svn: 138839
-
Jeffrey Yasskin authored
aren't considered narrowing conversions. llvm-svn: 138838
-
- Aug 30, 2011
-
-
Douglas Gregor authored
sure that all of the CXXConversionDecls go into the same bucket. Otherwise, name lookup might not find them all. Fixes <rdar://problem/10041960>. llvm-svn: 138824
-
Sebastian Redl authored
This makes the code duplication of implicit special member handling even worse, but the cleanup will have to come later. For now, this works. Follow-up with tests for explicit defaulting and enabling the __has_feature flag to come. llvm-svn: 138821
-
Argyrios Kyrtzidis authored
Remove -setClassInterface -setNextClassCategory -insertNextClassCategory and combine them in the Create function. llvm-svn: 138817
-
Argyrios Kyrtzidis authored
Empty lookups can occur in the DeclContext map when we are chaining PCHs, where the empty lookup indicates that we already looked in ExternalASTSource. llvm-svn: 138816
-
Argyrios Kyrtzidis authored
llvm-svn: 138815
-
Argyrios Kyrtzidis authored
llvm-svn: 138813
-
Fariborz Jahanian authored
objective-c containers due to recent changes to objc decl contexts. // rdar://10041908 llvm-svn: 138803
-
Jordy Rose authored
Remove obsolete ObjCInferRelatedReturnType from LangOptions...the correct option is ObjCInferRelatedResultType. llvm-svn: 138793
-
John McCall authored
apparent general rule. Just special-case it as appropriate. PR10789. llvm-svn: 138792
-
John McCall authored
Doing this happens to disrupt the pattern that ARC was looking for for move optimizations, so we need to fix that simultaneously. llvm-svn: 138789
-
Douglas Gregor authored
llvm-svn: 138788
-
Douglas Gregor authored
llvm-svn: 138787
-
Douglas Gregor authored
from Anders Waldenborg! llvm-svn: 138786
-
Douglas Gregor authored
llvm-svn: 138785
-
John McCall authored
Johannes Schaub for talking me around to sense. llvm-svn: 138784
-
Caitlin Sadowski authored
llvm-svn: 138783
-
Nico Weber authored
llvm-svn: 138776
-
Ivan Krasin authored
- wrong alignment for double (it was 4, but 8 is desired), - added checks for _REENTRANT define, - fixed the issue that defines were not tested (because the check for inside #ifdef). llvm-svn: 138775
-
Caitlin Sadowski authored
Thread safety: added basic handling for pt_guarded_by/var and guarded_by/var annotations. We identify situations where we are accessing (reading or writing) guarded variables, and report an error if the appropriate locks are not held. llvm-svn: 138774
-
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
-