| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Don't put msgrefs in used globals (in particular, we don't want | Daniel Dunbar | 2009-04-17 | 1 | -1/+0 |
| | | | | | | | no-dead-strip set on them). llvm-svn: 69388 | ||||
| * | Appropriately set file name and directory name in debug info compile units. | Devang Patel | 2009-04-17 | 2 | -27/+31 |
| | | | | | llvm-svn: 69387 | ||||
| * | PCH support for inline assembly statements. | Douglas Gregor | 2009-04-17 | 3 | -3/+95 |
| | | | | | | | | This completes support for all of C (+ extensions). We can (again) build a PCH file for Carbon.h. llvm-svn: 69385 | ||||
| * | refactor htmldiags to be created up front like the other diag clients. | Chris Lattner | 2009-04-17 | 1 | -15/+8 |
| | | | | | llvm-svn: 69379 | ||||
| * | PCH tests for va_arg expressions. Verified that the blocks test does create ↵ | Douglas Gregor | 2009-04-17 | 1 | -2/+0 |
| | | | | | | | a BlockDeclRefExpr llvm-svn: 69376 | ||||
| * | fix a crash on invalid by making ActOnDeclarator create decl with | Chris Lattner | 2009-04-17 | 1 | -0/+3 |
| | | | | | | | | a dummy *function* type when it is recovering and knows it needs a function. rdar://6802350 - clang crash on invalid input llvm-svn: 69374 | ||||
| * | PCH support for blocks | Douglas Gregor | 2009-04-17 | 2 | -1/+22 |
| | | | | | llvm-svn: 69373 | ||||
| * | PCH support for GNU statement expressions | Douglas Gregor | 2009-04-17 | 2 | -0/+22 |
| | | | | | llvm-svn: 69370 | ||||
| * | PCH support for indirect gotos and address-of-label expressions. | Douglas Gregor | 2009-04-17 | 2 | -0/+70 |
| | | | | | llvm-svn: 69369 | ||||
| * | PCH support for labels and goto. | Douglas Gregor | 2009-04-17 | 2 | -1/+95 |
| | | | | | llvm-svn: 69364 | ||||
| * | fix misspelt attribute. | Chris Lattner | 2009-04-17 | 1 | -2/+2 |
| | | | | | llvm-svn: 69362 | ||||
| * | Fix rdar://6800926 - crash compiling non-fragile _Bool bitfield ivar, | Chris Lattner | 2009-04-17 | 1 | -5/+5 |
| | | | | | | | | the functional change here is changing ConvertType -> ConvertTypeForMem so that we handle i1 fields properly as memory. llvm-svn: 69361 | ||||
| * | tidy some code. | Chris Lattner | 2009-04-17 | 1 | -5/+2 |
| | | | | | llvm-svn: 69360 | ||||
| * | 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 | ||||

