- Jun 20, 2012
-
-
Jordan Rose authored
Per Anna's comment, this is a better way to handle "to-do list"-type failures. This way we'll know if any of the features get fixed; in an XFAIL file, /all/ the cases have to be fixed before lit would tell us anything. llvm-svn: 158791
-
Argyrios Kyrtzidis authored
-Disable -pedantic-errors when migrating per Jordan's suggestion. -Use llvm_move() per John's suggestion. llvm-svn: 158785
-
Jordan Rose authored
The default global placement new just returns the pointer it is given. Note that other custom 'new' implementations with placement args are not guaranteed to do this. In addition, we need to invalidate placement args, since they may be updated by the allocator function. (Also, right now we don't properly handle the constructor inside a CXXNewExpr, so we need to invalidate the placement args just so that callers know something changed!) This invalidation is not perfect because CallOrObjCMessage doesn't support CXXNewExpr, and all of our invalidation callbacks expect that if there's no CallOrObjCMessage, the invalidation is happening manually (e.g. by a direct assignment) and shouldn't affect checker-specific metadata (like malloc state); hence the malloc test case in new-fail.cpp. But region values are now properly invalidated, at least. The long-term solution to this problem is to rework CallOrObjCMessage into something more general, rather than the morass of branches it is today. <rdar://problem/11679031> llvm-svn: 158784
-
Argyrios Kyrtzidis authored
[NSNumber numberWithDouble:cppb]; warning: converting to boxing syntax requires a cast to something like: [NSNumber numberWithDouble:cppb]; warning: converting to boxing syntax requires casting 'bool' to 'double' This is way better to fully understand the warning. rdar://11705106 llvm-svn: 158783
-
Rafael Espindola authored
llvm-svn: 158782
-
Argyrios Kyrtzidis authored
for "hard" ARC errors, not warnings. rdar://11691437 llvm-svn: 158781
-
Dmitri Gribenko authored
Unbreak GCC build: GCC doesn't like clang::Parser::CommentHandler and class clang::CommentHandler to have same name. llvm-svn: 158780
-
James Dennett authored
\code...\endcode, \file commands and escaing for angle brackets. llvm-svn: 158779
-
James Dennett authored
llvm-svn: 158778
-
Dmitri Gribenko authored
llvm-svn: 158777
-
James Dennett authored
* Escaped # and < characters in Doxygen comments as needed; * Removed a Doxygen comment in HeaderSearch.cpp that was redundant with the corresponding comment in the header file. llvm-svn: 158776
-
James Dennett authored
llvm-svn: 158775
-
James Dennett authored
* Escape < characters in Doxygen comments as needed; * Demote one Doxygen comment to a regular comment to fix a Doxygen warning. llvm-svn: 158774
-
James Dennett authored
* Escaped # characters in Doxygen comments as needed; * Added/fixed \file and \brief markup to add summaries to Doxygen output. llvm-svn: 158773
-
Kaelyn Uhrain authored
Also add a couple of unit tests to check the invalid-PCH error messages to satisfy PR4568 and for the assertion (introduced in r149918 and fixed in r158769) that would cause clang to crash when given an empty PCH. llvm-svn: 158772
-
Dmitri Gribenko authored
* Retain comments in the AST * Serialize/deserialize comments * Find comments attached to a certain Decl * Expose raw comment text and SourceRange via libclang llvm-svn: 158771
-
Nico Weber authored
llvm-svn: 158768
-
Alexis Hunt authored
caused a crash in an obscure case. On the plus side, it caused me to catch another bug by inspection. llvm-svn: 158767
-
Alexis Hunt authored
llvm-svn: 158763
-
DeLesley Hutchins authored
attributes into the ThreadSafetyAttributes group, where the other warnings currently live. llvm-svn: 158761
-
Tanya Lattner authored
Add error checking for the static qualifier which is now allowed in certain situations for OpenCL 1.2. Use the CL version to turn on this feature. Added test case for 1.2 static storage class feature. llvm-svn: 158759
-
Fariborz Jahanian authored
name as an existing ivar since this is common source of error when people remove @synthesize to take advantage of autosynthesis. // rdar://11671080 llvm-svn: 158756
-
Aaron Ballman authored
Reapplying the changes from r158717 as they were rolled back to avoid merge conflicts from a separate problematic patch. llvm-svn: 158750
-
- Jun 19, 2012
-
-
Jakob Stoklund Olesen authored
The original r158700 caused crashes in the gcc test suite, g++.abi/vtable3a.C among others. It also caused failures in the libc++ test suite. llvm-svn: 158749
-
Richard Smith authored
types to actually includes the value, rather than saying <uninitialized>. llvm-svn: 158745
-
David Blaikie authored
llvm-svn: 158744
-
James Dennett authored
llvm-svn: 158741
-
James Dennett authored
llvm-svn: 158740
-
James Dennett authored
also being sufficiently conformant to LLVM's coding standards. llvm-svn: 158739
-
Fariborz Jahanian authored
initializer need be null initialized before initializer takes hold, just like any other initialized retainable object pointer. // rdar://11016025 llvm-svn: 158738
-
Ted Kremenek authored
llvm-svn: 158735
-
Chad Rosier authored
rdar://11684107 llvm-svn: 158734
-
Kaelyn Uhrain authored
llvm-svn: 158733
-
Meador Inge authored
r158085 added some logic to track predefined declarations. The main reason we had predefined declarations in the input was because the __builtin_va_list declarations were injected into the preprocessor input. As of r158592 we explicitly build the __builtin_va_list declarations. Therefore the predefined decl tracking is no longer needed. llvm-svn: 158732
-
Alexis Hunt authored
llvm-svn: 158731
-
Chad Rosier authored
llvm-svn: 158729
-
Chad Rosier authored
filed, but still missing the preprocessed source and associated run script. rdar://11684107 llvm-svn: 158727
-
Aaron Ballman authored
Improves parsing and semantic analysis for MS __declspec attributes. This includes support for the align (which fixes PR12631). llvm-svn: 158717
-
Alexis Hunt authored
I've also removed the duplicate check for PARSED_ATTR since it seems unnecessary, and would have made the code more complicated. llvm-svn: 158716
-
Anna Zaks authored
(Fixes radar://11691035 PR13140) llvm-svn: 158703
-