| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | PCH support for declaration statements, and a test for PredefinedExpr | Douglas Gregor | 2009-04-17 | 2 | -1/+35 |
| | | | | | llvm-svn: 69356 | ||||
| * | PCH support for return statements. | Douglas Gregor | 2009-04-17 | 2 | -0/+22 |
| | | | | | | | | Optimize PCH encoding for switch-case statements slightly, by making the switch-case numbering local to a particular statement. llvm-svn: 69355 | ||||
| * | Implement lvalue test for conditional expressions. | Sebastian Redl | 2009-04-17 | 3 | -4/+59 |
| | | | | | | | Add a few commented lines to the test case that point out things that don't work yet. llvm-svn: 69354 | ||||
| * | Added -print-ivar-layout option. No change in functionality | Fariborz Jahanian | 2009-04-17 | 1 | -0/+1 |
| | | | | | | | yet. llvm-svn: 69346 | ||||
| * | Add support for the __has_trivial_destructor type trait. | Anders Carlsson | 2009-04-17 | 5 | -6/+27 |
| | | | | | llvm-svn: 69345 | ||||
| * | Add support for generating (very basic) C++ destructors. These aren't called ↵ | Anders Carlsson | 2009-04-17 | 5 | -40/+143 |
| | | | | | | | by anything yet. llvm-svn: 69343 | ||||
| * | Attributes on block functions were not being set. | Daniel Dunbar | 2009-04-17 | 4 | -8/+16 |
| | | | | | | | | - <rdar://problem/6800351> clang not producing correct large struct return code for Blocks llvm-svn: 69337 | ||||
| * | PCH support for do-while and for loops | Douglas Gregor | 2009-04-17 | 2 | -0/+48 |
| | | | | | llvm-svn: 69334 | ||||
| * | PCH support for while and continue statements | Douglas Gregor | 2009-04-17 | 2 | -0/+40 |
| | | | | | llvm-svn: 69332 | ||||
| * | Fixup semantic analysis for nested blocks, and allow block literal | Mike Stump | 2009-04-17 | 2 | -2/+8 |
| | | | | | | | | expressions that can be of static duration to be returned. Radar 6786551 llvm-svn: 69331 | ||||
| * | Implement basic code generation of constructor calls. We can now compile: | Anders Carlsson | 2009-04-17 | 4 | -0/+71 |
| | | | | | | | | | | | | | struct S { S(int, int); }; void f() { S s(10, 10); } llvm-svn: 69330 | ||||
| * | PCH support for the first batch of statements, including null, | Douglas Gregor | 2009-04-17 | 3 | -3/+235 |
| | | | | | | | compound, case, default, if, switch, and break statements. llvm-svn: 69329 | ||||
| * | Add GetAddrOfCXXConstructor and use it. | Anders Carlsson | 2009-04-16 | 2 | -5/+16 |
| | | | | | llvm-svn: 69328 | ||||
| * | If a class has a non-trivial constructor that doesn't take any arguments, we ↵ | Anders Carlsson | 2009-04-16 | 3 | -11/+26 |
| | | | | | | | | | | | | | | | | | | | will now make an implicit CXXTemporaryObjectExpr. So struct S { S(); }; void f() { S s; } 's' here will implicitly be declared as. S s = S(); llvm-svn: 69326 | ||||
| * | Driver: Allow using clang as a precompiler, even if it is an | Daniel Dunbar | 2009-04-16 | 1 | -0/+6 |
| | | | | | | | unsupported arch. llvm-svn: 69322 | ||||
| * | Clean up the declaration-decoding step in the PCH reader, using the | Douglas Gregor | 2009-04-16 | 1 | -59/+26 |
| | | | | | | | same ueber-easy visitor scheme used for expressions/statements. llvm-svn: 69320 | ||||
| * | Prepare PCH reader and writer for (de-)serialization of statements. No | Douglas Gregor | 2009-04-16 | 2 | -186/+192 |
| | | | | | | | functionality change. llvm-svn: 69319 | ||||
| * | Removed a no longer needed FIXME comment. | Fariborz Jahanian | 2009-04-16 | 1 | -2/+0 |
| | | | | | llvm-svn: 69315 | ||||
| * | Fix <rdar://problem/6765383> clang-6: clang does not appear to support ↵ | Steve Naroff | 2009-04-16 | 2 | -0/+12 |
| | | | | | | | declaring a static Block 'const'. llvm-svn: 69306 | ||||
| * | Category method synbols must be qualified by gategory name to | Fariborz Jahanian | 2009-04-16 | 1 | -0/+6 |
| | | | | | | | match gcc's. llvm-svn: 69305 | ||||
| * | Fix a crash bug when comparing overload quality of conversion operators with ↵ | Sebastian Redl | 2009-04-16 | 8 | -79/+420 |
| | | | | | | | | | | | | conversion constructors. Remove an atrocious amount of trailing whitespace in the overloaded operator mangler. Sorry, couldn't help myself. Change the DeclType parameter of Sema::CheckReferenceInit to be passed by value instead of reference. It wasn't changed anywhere. Let the parser handle C++'s irregular grammar around assignment-expression and conditional-expression. And finally, the reason for all this stuff: implement C++ semantics for the conditional operator. The implementation is complete except for determining lvalueness. llvm-svn: 69299 | ||||
| * | Attempt to fix a read-after-free running test/Sema/designated-initializers.c. | Eli Friedman | 2009-04-16 | 1 | -3/+3 |
| | | | | | | | Douglas, can you check that this is doing the right thing? llvm-svn: 69298 | ||||
| * | When we create an implicit CXXTemporaryObjectExpr we don't need to check ↵ | Anders Carlsson | 2009-04-16 | 1 | -6/+1 |
| | | | | | | | that it's a valid init. Instead, just set it as the VarDecl's initializer. llvm-svn: 69292 | ||||
| * | Ensure that the most recent declaration of a tentative definition wins | Daniel Dunbar | 2009-04-16 | 1 | -3/+5 |
| | | | | | | | when generating a common definition. llvm-svn: 69287 | ||||
| * | Pass -fdiagnostics-show-option to clang-cc by default. | Daniel Dunbar | 2009-04-16 | 1 | -0/+5 |
| | | | | | | | - <rdar://problem/6796848> implement -fdiagnostics-show-option llvm-svn: 69276 | ||||
| * | optimize and comment GetDiagInfo. | Chris Lattner | 2009-04-16 | 1 | -6/+32 |
| | | | | | llvm-svn: 69273 | ||||
| * | merge several scattered tables into StaticDiagInfo. | Chris Lattner | 2009-04-16 | 1 | -144/+19 |
| | | | | | llvm-svn: 69272 | ||||
| * | Implement Diagnostic::getWarningOptionForDiag with information from tblgen, | Chris Lattner | 2009-04-16 | 1 | -10/+19 |
| | | | | | | | this implements -fdiagnostics-show-option in clang-cc. llvm-svn: 69271 | ||||
| * | tblgen is now passing diagnostic group information in the .inc file, ignore ↵ | Chris Lattner | 2009-04-16 | 2 | -4/+5 |
| | | | | | | | it everywhere. llvm-svn: 69269 | ||||
| * | implement framework for -fdiagnostics-show-option, but tblgen isn't | Chris Lattner | 2009-04-16 | 2 | -0/+12 |
| | | | | | | | passing down the right info yet. llvm-svn: 69268 | ||||
| * | Disable the code I added before until I understand what's causing ↵ | Anders Carlsson | 2009-04-16 | 1 | -0/+5 |
| | | | | | | | default2.cpp to fail. llvm-svn: 69267 | ||||
| * | move handling of -pedantic and -pedantic-errors into Diagnostics, | Chris Lattner | 2009-04-16 | 1 | -3/+20 |
| | | | | | | | | out of Warnings.cpp. This simplifies warnings.cpp and makes it more efficient. llvm-svn: 69266 | ||||
| * | arrange for -Wno-error=foo warnings to be immune to -Werror as | Chris Lattner | 2009-04-16 | 1 | -1/+14 |
| | | | | | | | they are supposed to be. llvm-svn: 69265 | ||||
| * | change mappings to distinguish between "unset", "set by the user" and | Chris Lattner | 2009-04-16 | 1 | -7/+23 |
| | | | | | | | "set to the default value". llvm-svn: 69264 | ||||
| * | use getDiagnosticLevel instead of getDiagnosticMapping, which | Chris Lattner | 2009-04-16 | 1 | -2/+2 |
| | | | | | | | is about to become private. llvm-svn: 69262 | ||||
| * | Driver: Forward -W* to clang, it can handle all these itself now. | Daniel Dunbar | 2009-04-16 | 1 | -4/+2 |
| | | | | | | | Remove clang_W_Group and clang_ignored_W_Group. llvm-svn: 69261 | ||||
| * | Eliminate pch::TYPE_ATTR, which is never used | Douglas Gregor | 2009-04-16 | 2 | -6/+0 |
| | | | | | llvm-svn: 69256 | ||||
| * | PCH support for CompoundLiteralExpr. This is the last C expression | Douglas Gregor | 2009-04-16 | 2 | -0/+22 |
| | | | | | | | | that does not require PCH support for statements. Only AddrLabelExpr, StmtExpr, and BlockExpr remain (for C). llvm-svn: 69255 | ||||
| * | PCH support for InitListExpr, DesignatedInitExpr, and ImplicitValueInitExpr. | Douglas Gregor | 2009-04-16 | 3 | -0/+178 |
| | | | | | llvm-svn: 69251 | ||||
| * | Add support for the __has_trivial_constructor type trait. | Anders Carlsson | 2009-04-16 | 5 | -1/+43 |
| | | | | | llvm-svn: 69245 | ||||
| * | PCH support for ShuffleVectorExpr and BlockDeclRefExpr | Douglas Gregor | 2009-04-16 | 3 | -0/+57 |
| | | | | | llvm-svn: 69244 | ||||
| * | PCH support for TypesCompatibleExpr, ChooseExpr, and GNUNullExpr. | Douglas Gregor | 2009-04-15 | 2 | -0/+67 |
| | | | | | llvm-svn: 69242 | ||||
| * | PCH support for ExtVectorElementExpr and VAArgExpr. | Douglas Gregor | 2009-04-15 | 3 | -3/+49 |
| | | | | | llvm-svn: 69240 | ||||
| * | PCH support for CompoundAssignOperator and ConditionalOperator | Douglas Gregor | 2009-04-15 | 2 | -0/+42 |
| | | | | | llvm-svn: 69237 | ||||
| * | PCH support for ImaginaryLiteral and ArraySubscriptExpr | Douglas Gregor | 2009-04-15 | 2 | -2/+41 |
| | | | | | llvm-svn: 69233 | ||||
| * | Fixup codegen for copy/dispose for block literals. Radar 6791245 | Mike Stump | 2009-04-15 | 1 | -4/+10 |
| | | | | | llvm-svn: 69232 | ||||
| * | Defer generation of tentative definitions. | Daniel Dunbar | 2009-04-15 | 2 | -31/+46 |
| | | | | | | | | | | | | | | | - PR3980. - <rdar://problem/6762287> [irgen] crash when generating tentative definition of incomplete structure - This also avoids creating common definitions for things which are later overwritten. - XFAIL'ed external-defs.c, it isn't completing types properly yet. llvm-svn: 69231 | ||||
| * | PCH support for ExtQualType | Douglas Gregor | 2009-04-15 | 1 | -4/+14 |
| | | | | | llvm-svn: 69230 | ||||
| * | Fix decl type merges when they have | Fariborz Jahanian | 2009-04-15 | 1 | -3/+3 |
| | | | | | | | __string/__weak attributes. llvm-svn: 69229 | ||||
| * | Set DebugInfo at the beginning of GenerateBlockFunction(). | Devang Patel | 2009-04-15 | 1 | -0/+5 |
| | | | | | llvm-svn: 69228 | ||||

