- Sep 09, 2010
-
-
Ted Kremenek authored
covered by individual case statements. Flow-based analyses may wish to consult this information, and recording this in the AST allows us to obviate reconstructing this information later when we build the CFG. llvm-svn: 113447
-
Douglas Gregor authored
TreeTransform, since we were getting an empty source range where we shouldn't. Sadly, the test case is Boost.Proto, and isn't worth reducing. llvm-svn: 113446
-
Douglas Gregor authored
typeid expressions: - make sure we have a proper source location for the closing ')' - cache the declaration of std::type_info once we've found it llvm-svn: 113441
-
Douglas Gregor authored
pointer type, actually provide a usable block literal expression. llvm-svn: 113431
-
- Sep 08, 2010
-
-
Douglas Gregor authored
llvm-svn: 113416
-
Douglas Gregor authored
function-style cast. Previously, we had a (redundant, incorrect) semantic-checking path for non-class types, which allowed value-initialization of a reference type and then crashed. llvm-svn: 113415
-
Fariborz Jahanian authored
use of 'struct objc_object*' for 'is' (and others) in clang. llvm-svn: 113414
-
Bill Wendling authored
llvm-svn: 113412
-
Fariborz Jahanian authored
Radar 8400356. llvm-svn: 113397
-
Francois Pichet authored
llvm-svn: 113356
-
Francois Pichet authored
llvm-svn: 113354
-
Sebastian Redl authored
Don't give 'global constructor' warnings for function statics, even if they have a direct initializer. Fixes PR8095. llvm-svn: 113344
-
Sebastian Redl authored
Fixes PR8110, and thus PR8109, PR8097, and parts of PR8101, PR8105 and PR8107. Only a few traits have tests for incomplete arrays, since I'm not yet clear what the result for them should be; Howards wants to file a DR to change the standard. llvm-svn: 113326
-
Gabor Greif authored
llvm-svn: 113324
-
Douglas Gregor authored
CXXTemporaryObjectExpr, CXXScalarValueInitExpr, and CXXUnresolvedConstructExpr, getting rid of a bunch of FIXMEs in the process. llvm-svn: 113319
-
- Sep 07, 2010
-
-
Douglas Gregor authored
the TypeSourceInfo for the allocated type. Fixes PR7501. llvm-svn: 113291
-
Fariborz Jahanian authored
instead of asserting in IRGen. Fixes radar 8390459. llvm-svn: 113253
-
Douglas Gregor authored
inline" function outside of GNU89 mode. Fixes <rdar://problem/6880464>. llvm-svn: 113204
-
- Sep 06, 2010
-
-
Eli Friedman authored
llvm-svn: 113124
-
- Sep 04, 2010
-
-
Chris Lattner authored
llvm-svn: 113076
-
Chris Lattner authored
llvm-svn: 113074
-
Douglas Gregor authored
kinds. How shameful that this code was duplicated! llvm-svn: 113033
-
- Sep 03, 2010
-
-
Chandler Carruth authored
llvm-svn: 113019
-
Anders Carlsson authored
llvm-svn: 113018
-
Chandler Carruth authored
but this makes them work even as an extension in C++98. This resolves PR8077. llvm-svn: 113011
-
Douglas Gregor authored
llvm-svn: 112968
-
John McCall authored
restrictions. The note's not really on the right place given its wording, but putting a second note on the call site (or muddying the wording) doesn't appeal. There are corner cases where this can be wrong, but I'm not concerned. llvm-svn: 112950
-
Chris Lattner authored
should probably be removed if it has no purpose, but I just #if'd it out in case it's usefulIdempotentOperationChecker::isTruncationExtensionAssignment should probably be removed if it has no purpose, but I just #if'd it out in case it's useful llvm-svn: 112949
-
John McCall authored
llvm-svn: 112945
-
Dawn Perchik authored
"__attribute((pascal))" or "__pascal" (and "_pascal" under -fborland-extensions). Support still needs to be added to llvm. llvm-svn: 112939
-
Anders Carlsson authored
llvm-svn: 112933
-
Anders Carlsson authored
llvm-svn: 112927
-
Anders Carlsson authored
The rationale behind this is that it is normal for callback functions to have a non-void return type and it should still be possible to mark them noreturn. (JavaScriptCore is a good example of this). llvm-svn: 112918
-
- Sep 02, 2010
-
-
Douglas Gregor authored
well-intentioned but completely unused code. llvm-svn: 112868
-
Ted Kremenek authored
Enhance return-stack-address check (in Sema) to handle fields that themselves are references. (Fixes PR 7999; fix by Chandler Carruth). llvm-svn: 112792
-
- Sep 01, 2010
-
-
Douglas Gregor authored
llvm-svn: 112715
-
Ted Kremenek authored
Split ObjCInterfaceDecl::ReferencedProtocols into two lists: ReferencedProtocols and AllReferencedProtocols. ReferencedProtocols (and thus protocol_begin(), protocol_end()) now only contains the list of protocols that were directly referenced in an @interface declaration. 'all_referenced_protocol_[begin,end]()' now returns the set of protocols that were referenced in both the @interface and class extensions. The latter is needed for semantic analysis/codegen, while the former is needed to maintain the lexical information of the original source. Fixes <rdar://problem/8380046>. llvm-svn: 112691
-
- Aug 31, 2010
-
-
Sebastian Redl authored
Make inline namespace not be transparent after all. The concept simply doesn't fit. Instead, special-case the few places where transparent contexts have the desired behavior for inline namespaces. Fixes a redeclaration issue in inline namespaces. llvm-svn: 112637
-
Fariborz Jahanian authored
This is also pr7726 and wip. No change in functionality at this time. llvm-svn: 112612
-
Douglas Gregor authored
libclang. This includes: - Cursor kind for function templates, with visitation logic - Cursor kinds for template parameters, with visitation logic - Visitation logic for template specialization types, qualified type locations - USR generation for function templates, template specialization types, template parameter types. Also happens to fix PR7804, which I tripped across while testing. llvm-svn: 112604
-