- Oct 01, 2011
-
-
Chandler Carruth authored
run it. llvm-svn: 140925
-
Chandler Carruth authored
llvm-svn: 140920
-
Chandler Carruth authored
left a FIXME to go track down more distros and see if 'lib' is ever the 64-bit half. This should hopefully appease the build bots. llvm-svn: 140915
-
Chandler Carruth authored
llvm-svn: 140913
-
John McCall authored
calls, or calls to audited functions without an explicit return attribute, to be casted without a bridge cast. Tie this mechanism in with the existing exceptions to the cast restrictions. State those restrictions more correctly and generalize. llvm-svn: 140912
-
John McCall authored
to take a FunctionDecl* instead of an llvm::StringRef. Eventually we might push more logic in there, like using slightly different conventions for C++ methods. Also, fix a bug where 'copy' and 'create' were being caught in non-camel-cased strings. We want copyFoo and CopyFoo and XCopy but not Xcopy or xcopy. llvm-svn: 140911
-
Chandler Carruth authored
invocations on Linux. llvm-svn: 140909
-
- Sep 30, 2011
-
-
Daniel Dunbar authored
llvm-svn: 140889
-
Fariborz Jahanian authored
a reference type, since inner reference is much like an inner pointer. // rdar://10139365 llvm-svn: 140880
-
Eli Friedman authored
llvm-svn: 140871
-
Fariborz Jahanian authored
pointer to this struct must go through the none ivar writer barrier. llvm-svn: 140867
-
Argyrios Kyrtzidis authored
Patch by Paolo Capriotti! llvm-svn: 140864
-
Sebastian Redl authored
Fix a bug in the token caching for inline constructors in C++11, and improve error recovery in both dialects. This should fix the GCC test suite failures as well. llvm-svn: 140847
-
John McCall authored
CoreFoundation object-transfer properties audited, and add a #pragma to cause them to be automatically applied to functions in a particular span of code. This has to be implemented largely in the preprocessor because of the requirement that the region be entirely contained in a single file; that's hard to impose from the parser without registering for a ton of callbacks. llvm-svn: 140846
-
Ted Kremenek authored
Fix crash when analyzing C++ code involving constant enums and switch statements (<rdar://problem/10202899>). llvm-svn: 140844
-
Anna Zaks authored
[analyzer] Fix a bug in RetainReleaseChecker diagnostics. It gives more precise error message on the modified test case (and prevents duplicate diagnostics when we purge at block granularity). llvm-svn: 140840
-
Anna Zaks authored
[analyzer] Add -analyzer-purge option which can take on multiple values, remove -analyzer-purge=none. (Small refactor as well: move the work of constructing AnalysisManager from the callers to the class itself.) llvm-svn: 140838
-
Eli Friedman authored
Some fixes for MS-style asm parsing: specifically, add some error checking, and handle asm comments using semicolons correctly. (The comments are actually surprisingly tricky.) llvm-svn: 140837
-
Richard Smith authored
llvm-svn: 140831
-
Richard Smith authored
Suggest adding 'constexpr' if the GNU extension for in-class initializers for static const float members is used in C++11 mode. llvm-svn: 140828
-
Richard Smith authored
Mark the ExtWarn for in-class initialization of static const float members as a GNU extension. Don't extend the scope of this extension to all literal types in C++0x mode. llvm-svn: 140820
-
- Sep 29, 2011
-
-
Eli Friedman authored
llvm-svn: 140812
-
Richard Smith authored
llvm-svn: 140809
-
Richard Smith authored
llvm-svn: 140802
-
Richard Smith authored
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
-
Fariborz Jahanian authored
attributes from the enumeration type. // rdar://10201690 llvm-svn: 140800
-
Peter Collingbourne authored
support for the C++0x draft [[align]] attribute and add the C1X standard header file stdalign.h llvm-svn: 140796
-
Peter Collingbourne authored
llvm-svn: 140795
-
Peter Collingbourne authored
attribute-specifiers llvm-svn: 140794
-
Peter Collingbourne authored
end of a decl-specifier-seq llvm-svn: 140793
-
John McCall authored
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
-
Ted Kremenek authored
Like IBOutletCollection, it only makes sense to apply the IBOutlet annotation to Objective-C object types. Fixes <rdar://problem/10142685>. llvm-svn: 140778
-
Ted Kremenek authored
Do not warn about empty format strings when there are no data arguments. Fixes <rdar://problem/9473155>. llvm-svn: 140777
-
Daniel Dunbar authored
Basic/Diagnostics: Rewrite DiagnosticIDs::getDiagnosticLevel completely to 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
-
Daniel Dunbar authored
llvm-svn: 140764
-
Daniel Dunbar authored
Basic/Diagnostics: Add an isDefaultMappingAsError method, and switch 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
-
Douglas Gregor authored
from sources. llvm-svn: 140746
-
Chad Rosier authored
strings. rdar://9696709 llvm-svn: 140732
-
- Sep 28, 2011
-
-
Fariborz Jahanian authored
some arguments types are ns_consumed and some otherwise matching types are not. This is objc side of // rdar://10187884 llvm-svn: 140729
-
Fariborz Jahanian authored
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
-