| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
precise error message on the modified test case (and prevents duplicate diagnostics when we purge at block granularity).
llvm-svn: 140840
|
| |
|
|
|
|
| |
remove -analyzer-purge=none. (Small refactor as well: move the work of constructing AnalysisManager from the callers to the class itself.)
llvm-svn: 140838
|
| |
|
|
|
|
| |
and handle asm comments using semicolons correctly. (The comments are actually surprisingly tricky.)
llvm-svn: 140837
|
| |
|
|
| |
llvm-svn: 140831
|
| |
|
|
| |
llvm-svn: 140829
|
| |
|
|
|
|
| |
for static const float members is used in C++11 mode.
llvm-svn: 140828
|
| |
|
|
|
|
| |
as a GNU extension. Don't extend the scope of this extension to all literal types in C++0x mode.
llvm-svn: 140820
|
| |
|
|
|
|
|
| |
attributes from the enumeration type.
// rdar://10201690
llvm-svn: 140818
|
| |
|
|
|
|
| |
constant expression.
llvm-svn: 140812
|
| |
|
|
| |
llvm-svn: 140809
|
| |
|
|
| |
llvm-svn: 140802
|
| |
|
|
|
|
| |
We had an extension which allowed const static class members of floating-point type to have in-class initializers, 'as a C++0x extension'. However, C++0x does not allow this. The extension has been kept, and extended to all literal types in C++0x mode (with a fixit to add the 'constexpr' specifier).
llvm-svn: 140801
|
| |
|
|
|
|
|
| |
attributes from the enumeration type.
// rdar://10201690
llvm-svn: 140800
|
| |
|
|
| |
llvm-svn: 140797
|
| |
|
|
|
|
|
| |
support for the C++0x draft [[align]] attribute and add the C1X
standard header file stdalign.h
llvm-svn: 140796
|
| |
|
|
| |
llvm-svn: 140795
|
| |
|
|
|
|
| |
attribute-specifiers
llvm-svn: 140794
|
| |
|
|
|
|
| |
end of a decl-specifier-seq
llvm-svn: 140793
|
| |
|
|
| |
llvm-svn: 140782
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
pointer to the annotated struct type can be used as an
Objective-C object pointer. If an argument is given, the
type is actually "toll-free bridged" to the specific type
named there, rather than just to 'id'.
For now, we cannot rely on all types being so annotated,
and we'll always have to have exceptions for things like
CFTypeRef (aka const void*), but this is clearly a good
foundation for improving toolage in this area.
llvm-svn: 140779
|
| |
|
|
|
|
| |
annotation to Objective-C object types. Fixes <rdar://problem/10142685>.
llvm-svn: 140778
|
| |
|
|
|
|
| |
Fixes <rdar://problem/9473155>.
llvm-svn: 140777
|
| |
|
|
| |
llvm-svn: 140775
|
| |
|
|
|
|
| |
is done, and add a note that the new setDiagnosticGroup{...} methods only operate on the current diagnostic state.
llvm-svn: 140771
|
| |
|
|
|
|
|
|
| |
be straighter line code, use the new DiagnosticMappingInfo flags, and eliminate the odd MAP_WARNING_NO_WERROR and friend mappings.
- This fixes a host of obscure bugs with regards to how warning mapping options composed with one another, and I believe makes the code substantially easier to read and reason about.
llvm-svn: 140770
|
| |
|
|
|
|
|
|
| |
"no-warning-as-error", "no-error-as-fatal", and "show-in-system-header", and update DiagnosticsEngine::setDiagnosticGroup{WarningAsError,ErrorAsFatal} and GetDefaultDiagMappingInfo to set them appropriately.
- No actual functionality change for now, we still also use the diag::Mapping::{MAP_WARNING_NO_ERROR,MAP_ERROR_NO_FATAL,MAP_WARNING_SHOW_IN_SYSTEM_HEADER} for a little while longer.
llvm-svn: 140768
|
| |
|
|
|
|
|
| |
that in DiagnosticEngine instead of the convoluted calling into DiagnosticIDs
which then calls back into the DiagnosticsEngine.
llvm-svn: 140766
|
| |
|
|
|
|
| |
- Also, spell const_iterator as const_iterator.
llvm-svn: 140765
|
| |
|
|
| |
llvm-svn: 140764
|
| |
|
|
|
|
| |
and eliminate setDiagnosticMappingInternal.
llvm-svn: 140763
|
| |
|
|
|
|
|
| |
storing mappings with that instead of straying some magic constants about the
source.
llvm-svn: 140760
|
| |
|
|
|
|
| |
worth methodizing.
llvm-svn: 140759
|
| |
|
|
|
|
| |
killed the sole client.
llvm-svn: 140756
|
| |
|
|
|
|
|
|
| |
TextDiagnosticPrinter to use that instead of extracting the current mapping via getDiagnosticLevel, which fixes one class of corner cases w.r.t. printing the "-Werror" diagnostic option marker.
- The TextDiagnosticPrinter code is still fragile as it is just "reverse engineering" what the diagnostic engine is doing. Not my current priority to fix though.
llvm-svn: 140752
|
| |
|
|
| |
llvm-svn: 140749
|
| |
|
|
| |
llvm-svn: 140748
|
| |
|
|
|
|
|
|
|
| |
DiagnosticsEngine::setDiagnosticGroup{ErrorAsFatal,WarningAsError} methods which
more accurately model the correct API -- no internal change to the diagnostics
engine yet though.
- Also, stop honoring -Werror=everything (etc.) as a valid (but oddly behaved) option.
llvm-svn: 140747
|
| |
|
|
|
|
| |
from sources.
llvm-svn: 140746
|
| |
|
|
|
|
|
|
|
| |
we have the ability to create a new, distict diagnostic consumer when
we go off and build a module. This avoids the currently horribleness
where the same diagnostic consumer sees diagnostics for multiple
translation units (and multiple SourceManagers!) causing all sorts of havok.
llvm-svn: 140743
|
| |
|
|
|
|
|
| |
"show-in-system-header" bits, which is part of teasing them apart from the
diagnostic mapping kind.
llvm-svn: 140742
|
| |
|
|
|
|
| |
correspond to.
llvm-svn: 140740
|
| |
|
|
|
|
| |
exist anymore.
llvm-svn: 140739
|
| |
|
|
| |
llvm-svn: 140738
|
| |
|
|
|
|
|
| |
point in the code. Ensures that we don't miss any places and the
check is reasonably cheap.
llvm-svn: 140737
|
| |
|
|
| |
llvm-svn: 140736
|
| |
|
|
|
|
|
| |
strings.
rdar://9696709
llvm-svn: 140732
|
| |
|
|
|
|
|
|
| |
some arguments types are ns_consumed and some otherwise
matching types are not. This is objc side of
// rdar://10187884
llvm-svn: 140729
|
| |
|
|
| |
llvm-svn: 140725
|
| |
|
|
|
|
|
|
| |
some arguments types are ns_consumed and some otherwise
matching types are not. This fixes the objc++ side only *auch*.
// rdar://10187884
llvm-svn: 140717
|
| |
|
|
| |
llvm-svn: 140716
|