| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | If defined, use TMPDIR environment variable as location for temporary files. | Daniel Dunbar | 2009-04-20 | 1 | -1/+6 |
| | | | | | llvm-svn: 69609 | ||||
| * | clean up anonymous bitfield diagnostics, PR4017 | Chris Lattner | 2009-04-20 | 1 | -9/+21 |
| | | | | | llvm-svn: 69608 | ||||
| * | Introduce the notion of a SemaConsumer, which is an ASTConsumer that | Douglas Gregor | 2009-04-20 | 2 | -1/+9 |
| | | | | | | | | | | also gets access to the Sema object performing semantic analysis. This will be used by the PCH writer to serialize Sema state. No functionality change. llvm-svn: 69595 | ||||
| * | Add pch reader/writer support for ObjCMethodDecl. | Steve Naroff | 2009-04-20 | 4 | -9/+67 |
| | | | | | | | Test will be enabled with ObjCInterfaceDecl is added. llvm-svn: 69594 | ||||
| * | Some cleanup and bug-fixing for address-of checking. This causes a couple of | Eli Friedman | 2009-04-20 | 1 | -49/+24 |
| | | | | | | | | | minor accepts-invalid regressions, but we weren't really rejecting them for the right reason. We really need a more general solution to detect all the cases of the promotion of arrays with a register storage class. llvm-svn: 69586 | ||||
| * | Inline GetFirstIvarInRecord into sole caller. | Daniel Dunbar | 2009-04-20 | 1 | -28/+9 |
| | | | | | | | - No functionality change. llvm-svn: 69582 | ||||
| * | Set a bit in IMAGE_INFO to indicate that we don't contain any | Daniel Dunbar | 2009-04-20 | 1 | -3/+12 |
| | | | | | | | | | @synthesized ivars for superclasses. - <rdar://problem/6806371> [clang] Mark code without miscompiled @synthesized properties llvm-svn: 69581 | ||||
| * | Move the on-disk hash table code into its own header. No functionality change. | Douglas Gregor | 2009-04-20 | 1 | -171/+2 |
| | | | | | llvm-svn: 69580 | ||||
| * | Lift out GetNamedIvarList. | Daniel Dunbar | 2009-04-20 | 1 | -30/+40 |
| | | | | | | | | | | Drop uses of GetFirstInvarInRecord, instead we lookup the ivars we know are in the record. - This is somewhat less efficient, but I need to detangle this code first... llvm-svn: 69579 | ||||
| * | Make FieldDecl parameter to getObjCEncodingForType... const. | Daniel Dunbar | 2009-04-20 | 1 | -4/+4 |
| | | | | | llvm-svn: 69578 | ||||
| * | Remove loc::FuncVal. | Zhongxing Xu | 2009-04-20 | 5 | -23/+0 |
| | | | | | llvm-svn: 69577 | ||||
| * | Don't crash in the diagnostic printer if we happen to get passed a | Daniel Dunbar | 2009-04-20 | 1 | -0/+13 |
| | | | | | | | null string / identifier. llvm-svn: 69575 | ||||
| * | Don't emit ivar offsets for unnamed bit fields. | Daniel Dunbar | 2009-04-20 | 1 | -5/+8 |
| | | | | | | | Also, added assertion that the field matches what would be looked up. llvm-svn: 69572 | ||||
| * | get a CodeTextRegion when visiting FunctionDecl reference. | Zhongxing Xu | 2009-04-20 | 5 | -32/+44 |
| | | | | | | | get FunctionDecl with more general utility method. llvm-svn: 69570 | ||||
| * | PR3247: Handle a couple of cases where we weren't emitting VLA sizes (and | Eli Friedman | 2009-04-20 | 2 | -1/+9 |
| | | | | | | | subsequently crashed). llvm-svn: 69567 | ||||
| * | PR3248: Make sure the evaluate the operand of a sizeof when it has a VLA type. | Eli Friedman | 2009-04-20 | 1 | -0/+4 |
| | | | | | | | Adapted from patch by Tim Northover. llvm-svn: 69566 | ||||
| * | As we now have ValueManager as the new value factory, we do not need factory | Zhongxing Xu | 2009-04-20 | 1 | -1/+1 |
| | | | | | | | methods of SVal. llvm-svn: 69565 | ||||
| * | Remove non-const form of lookupFieldDeclForIvar. | Daniel Dunbar | 2009-04-20 | 4 | -7/+11 |
| | | | | | llvm-svn: 69563 | ||||
| * | Comment fixes. | Daniel Dunbar | 2009-04-20 | 1 | -6/+6 |
| | | | | | llvm-svn: 69562 | ||||
| * | Lift GetClassSizeInfo out of GenerateClass, add a FIXME. | Daniel Dunbar | 2009-04-19 | 1 | -29/+37 |
| | | | | | | | - No functionality change. llvm-svn: 69561 | ||||
| * | implement "#pragma GCC diagnostic". Besides being a nice feature, this | Chris Lattner | 2009-04-19 | 1 | -2/+79 |
| | | | | | | | | | | will let us test for multiple different warning modes in the same file in regression tests. This implements rdar://2362963, a 10-year old feature request :) llvm-svn: 69560 | ||||
| * | move group twiddling options into Diagnostic.cpp instead of | Chris Lattner | 2009-04-19 | 1 | -0/+58 |
| | | | | | | | | Warnings.cpp. Warnings.cpp now doesn't need to #include tblgen produced output directly. llvm-svn: 69559 | ||||
| * | don't crash on invalid ranges in -fprint-source-range-info | Chris Lattner | 2009-04-19 | 1 | -0/+3 |
| | | | | | | | mode, just ignore them as usual. llvm-svn: 69558 | ||||
| * | Warn about uses of #pragma STDC FENV_ACCESS ON, since we don't | Chris Lattner | 2009-04-19 | 1 | -1/+2 |
| | | | | | | | | | | | support it. I don't know what evaluation method we use for complex arithmetic, so I don't know whether/if we should warn about use of CX_LIMITED_RANGE. This concludes my planned hacking on STDC pragmas, flame away :) llvm-svn: 69556 | ||||
| * | Conditional operator C++ checking complete. What issues remain are in more ↵ | Sebastian Redl | 2009-04-19 | 2 | -12/+69 |
| | | | | | | | general code. llvm-svn: 69555 | ||||
| * | diagnose invalid syntax of STDC pragmas. | Chris Lattner | 2009-04-19 | 1 | -3/+40 |
| | | | | | llvm-svn: 69554 | ||||
| * | Print an error for uses of __thread on targets which don't support it. | Eli Friedman | 2009-04-19 | 1 | -0/+2 |
| | | | | | llvm-svn: 69553 | ||||
| * | Add target property for whether thread-local storage is supported. | Eli Friedman | 2009-04-19 | 2 | -3/+10 |
| | | | | | | | | | Let me know if I messed up for some target. Note that for Windows, we should be able to support it (MSVC supports "__declspec(thread)"), but I'm pretty sure LLVM doesn't know how to generate the correct code. llvm-svn: 69552 | ||||
| * | reject invalid stuff in the STDC namespace. | Chris Lattner | 2009-04-19 | 1 | -8/+8 |
| | | | | | llvm-svn: 69551 | ||||
| * | stub out STDC #pragmas. | Chris Lattner | 2009-04-19 | 1 | -0/+44 |
| | | | | | llvm-svn: 69550 | ||||
| * | Forward f[no-]dollars-in-identifiers to clang, when specified. | Daniel Dunbar | 2009-04-19 | 1 | -2/+12 |
| | | | | | llvm-svn: 69549 | ||||
| * | Bring member pointer operands of the conditional operator to a common type. ↵ | Sebastian Redl | 2009-04-19 | 1 | -2/+55 |
| | | | | | | | We're getting there ... llvm-svn: 69548 | ||||
| * | basic support for -Wunknown-pragmas, more coming. | Chris Lattner | 2009-04-19 | 1 | -1/+4 |
| | | | | | llvm-svn: 69547 | ||||
| * | Forward -fno-diagnostics-fixit-info to clang-cc. | Daniel Dunbar | 2009-04-19 | 1 | -0/+5 |
| | | | | | llvm-svn: 69546 | ||||
| * | PR3853: Add CodeGen support for __thread. | Eli Friedman | 2009-04-19 | 2 | -11/+6 |
| | | | | | llvm-svn: 69545 | ||||
| * | move token paste poisoning diagnostics to after the instantiation loc | Chris Lattner | 2009-04-19 | 1 | -11/+16 |
| | | | | | | | | for a token is set, this makes the diagnostic "expanded from stack" work for this diagnostic. Add a testcase for PR3918. llvm-svn: 69544 | ||||
| * | Add more thorough/correct checking for invalid __thread specifiers. | Eli Friedman | 2009-04-19 | 2 | -19/+30 |
| | | | | | llvm-svn: 69542 | ||||
| * | Silence gcc warning. | Eli Friedman | 2009-04-19 | 1 | -1/+1 |
| | | | | | llvm-svn: 69541 | ||||
| * | Fix PR3918: Invalid use of __VA_ARGS__ not diagnosed, | Chris Lattner | 2009-04-19 | 1 | -2/+13 |
| | | | | | | | | by rejecting invalid poisoned tokens in the token pasting path. llvm-svn: 69536 | ||||
| * | Another piece of the conditional operator puzzle. We'll want to use ↵ | Sebastian Redl | 2009-04-19 | 2 | -13/+94 |
| | | | | | | | FindCompositePointerType in some other places, too. llvm-svn: 69534 | ||||
| * | Fix PR4006, incorrect handling of __VA_ARGS__ when it was the first token | Chris Lattner | 2009-04-19 | 1 | -9/+9 |
| | | | | | | | | in a function-like macro body. This has the added bonus of moving some function-like macro specific code out of the object-like macro codepath. llvm-svn: 69530 | ||||
| * | actually just do this on all x86 targets, it won't hurt | Chris Lattner | 2009-04-19 | 1 | -10/+5 |
| | | | | | | | non-glibc ones. llvm-svn: 69528 | ||||
| * | Define __NO_MATH_INLINES on linux/x86 so that we don't get inline | Chris Lattner | 2009-04-19 | 1 | -0/+10 |
| | | | | | | | | | | | functions in glibc header files that use FP Stack inline asm which the backend can't deal with (PR879). This "fixes" PR3970 for linux. Other affected systems should do similar things. Maybe this should just go to the general i386/x86-64 sections? llvm-svn: 69527 | ||||
| * | implement compiler support for -fno-diagnostics-fixit-info, | Chris Lattner | 2009-04-19 | 1 | -3/+2 |
| | | | | | | | rdar://6805442 llvm-svn: 69525 | ||||
| * | silence a warning, it isn't clear what the right answer is here, | Chris Lattner | 2009-04-19 | 1 | -1/+1 |
| | | | | | | | will talk to steve. llvm-svn: 69519 | ||||
| * | silence a warning, I need to talk to Devang about this code. | Chris Lattner | 2009-04-19 | 1 | -1/+1 |
| | | | | | llvm-svn: 69517 | ||||
| * | Fix rdar://6804402 - crash on objc implementations declared with | Chris Lattner | 2009-04-19 | 2 | -10/+23 |
| | | | | | | | | @class but no implementation. This was broken in all 3 runtime impls. llvm-svn: 69512 | ||||
| * | rearrange #include order. | Chris Lattner | 2009-04-19 | 1 | -2/+2 |
| | | | | | llvm-svn: 69511 | ||||
| * | run the jump checker on blocks, even though they don't have gotos, | Chris Lattner | 2009-04-19 | 2 | -1/+13 |
| | | | | | | | they do allow switches. llvm-svn: 69510 | ||||
| * | add a new Sema::CurFunctionNeedsScopeChecking bool that is used to avoid | Chris Lattner | 2009-04-19 | 4 | -9/+26 |
| | | | | | | | | calling into the jump checker when a function or method is known to contain no VLAs or @try blocks. llvm-svn: 69509 | ||||

