- Aug 11, 2009
-
-
Fariborz Jahanian authored
copying in copy constructors and used in default constructor's initializer list. llvm-svn: 78700
-
Benjamin Kramer authored
llvm-svn: 78691
-
Douglas Gregor authored
llvm-svn: 78674
-
John McCall authored
FriendFunctionDecl, and create instances as appropriate. The design of FriendFunctionDecl is still somewhat up in the air; you can befriend arbitrary types of functions --- methods, constructors, etc. --- and it's not clear that this representation captures that very well. We'll have a better picture when we start consuming this data in access control. llvm-svn: 78653
-
Douglas Gregor authored
generic tree transformation (also used for recanonicalization) and a small amount of template-instantiation-specific logic. llvm-svn: 78645
-
Argyrios Kyrtzidis authored
llvm-svn: 78644
-
Mike Stump authored
virtual base primaries and improve the layout of classes with virtual bases. WIP. Hey, I've decided I want a change to FileCheck, I need to ensure that the group is together, nothing in between. Can we change it to check the match line is from the line immediately following the last matched line, if the source for the matched line is immediately after the source for the previously matched line? // CHECK: 1 // CHECK: 2 // CHECK: 3 // CHECK: 4 // CHECK: 5 // CHECK: 6 would require 1 2 and 3 to be continuous in the output, and 4 5 and 6 to be continuous. llvm-svn: 78638
-
Fariborz Jahanian authored
llvm-svn: 78624
-
Fariborz Jahanian authored
bunch of FIXMEs for their is-gen. llvm-svn: 78623
-
Nate Begeman authored
Fixes PR4704 problems Addresses Eli's patch feedback re: ugly cast code Updates all postfix operators to remove ParenListExprs. While this is awful, no better solution (say, in the parser) is obvious to me. Better solutions welcome. llvm-svn: 78621
-
- Aug 10, 2009
-
-
Anders Carlsson authored
Add a CastInfo struct that will be used for cast information when constructing cast expressions. Right now it only stores the cast kind, but in the future it might store conversion functions and constructors. llvm-svn: 78599
-
Chris Lattner authored
1. Passing something that isn't a string used to cause: "argument to annotate attribute was not a string literal" make it say "section attribute" instead. 2. Fix the location of the above message to point to the bad argument instead of the section token. 3. Implement rdar://4341926, by diagnosing invalid section specifiers in the frontend rather than letting them slip all the way to the assembler (a QoI win). An example of #3 is that we used to produce something like this: /var/folders/n7/n7Yno9ihEm894640nJdSQU+++TI/-Tmp-//ccFPFGtT.s:2:Expected comma after segment-name /var/folders/n7/n7Yno9ihEm894640nJdSQU+++TI/-Tmp-//ccFPFGtT.s:2:Rest of line ignored. 1st junk character valued 46 (.). Daniel improved clang to use llvm_report_error, so now we got: $ clang t.c -c fatal error: error in backend: Global variable 'x' has an invalid section specifier 'sadf': mach-o section specifier requires a segment and section separated by a comma. with no loc info. Now we get: $ clang t.c -fsyntax-only t.c:4:30: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment and section separated by a comma int x __attribute__((section("sadf"))); ^ which is nice :) llvm-svn: 78586
-
Fariborz Jahanian authored
llvm-svn: 78582
-
Fariborz Jahanian authored
a synthesized copy constructor. llvm-svn: 78580
-
Fariborz Jahanian authored
llvm-svn: 78570
-
Daniel Dunbar authored
--- Reverse-merging r78535 into '.': D test/Sema/altivec-init.c U include/clang/Basic/DiagnosticSemaKinds.td U include/clang/AST/Expr.h U include/clang/AST/StmtNodes.def U include/clang/Parse/Parser.h U include/clang/Parse/Action.h U tools/clang-cc/clang-cc.cpp U lib/Frontend/PrintParserCallbacks.cpp U lib/CodeGen/CGExprScalar.cpp U lib/Sema/SemaInit.cpp U lib/Sema/Sema.h U lib/Sema/SemaExpr.cpp U lib/Sema/SemaTemplateInstantiateExpr.cpp U lib/AST/StmtProfile.cpp U lib/AST/Expr.cpp U lib/AST/StmtPrinter.cpp U lib/Parse/ParseExpr.cpp U lib/Parse/ParseExprCXX.cpp llvm-svn: 78551
-
Ryan Flynn authored
llvm-svn: 78542
-
- Aug 09, 2009
-
-
Ryan Flynn authored
llvm-svn: 78541
-
Anders Carlsson authored
llvm-svn: 78536
-
Nate Begeman authored
In addition to being defined by the AltiVec PIM, this is also the vector initializer syntax used by OpenCL, so that vector literals are compatible with macro arguments. llvm-svn: 78535
-
Benjamin Kramer authored
llvm-svn: 78519
-
Fariborz Jahanian authored
of base/field which have trivial copy constructor. llvm-svn: 78516
-
Anders Carlsson authored
llvm-svn: 78515
-
- Aug 08, 2009
-
-
Anders Carlsson authored
llvm-svn: 78507
-
Anders Carlsson authored
llvm-svn: 78502
-
-
Fariborz Jahanian authored
llvm-svn: 78489
-
Ryan Flynn authored
llvm-svn: 78488
-
Anders Carlsson authored
Introduce a new PragmaPack attribute, and use it for #pragma pack. The PackedAttr now only represents __attribute__((packed)). This is necessary because #pragma pack and __attribute__((packed)) have different semantics. No functionality change yet, but this lays the groundwork for fixing a record layout bug. llvm-svn: 78483
-
Anders Carlsson authored
llvm-svn: 78481
-
Anders Carlsson authored
getFunctionLevelDeclContext needs to get the previous DeclContext if EnterDeclaratorContext has been called. Fixes PR4694. (Doug, please review) llvm-svn: 78480
-
Anders Carlsson authored
llvm-svn: 78478
-
Anders Carlsson authored
llvm-svn: 78474
-
Edward O'Callaghan authored
llvm-svn: 78471
-
Anders Carlsson authored
llvm-svn: 78452
-
Douglas Gregor authored
to allow sharing of nodes. Simplifies some aspects of template instantiation, and fixes both PR3444 and <rdar://problem/6757457>. llvm-svn: 78450
-
Fariborz Jahanian authored
llvm-svn: 78448
-
Fariborz Jahanian authored
non-trivial copy constructors. llvm-svn: 78445
-
Fariborz Jahanian authored
copying non-virtual base classes which have non-trivial constructor. Work in progress. llvm-svn: 78436
-
Anders Carlsson authored
llvm-svn: 78434
-