| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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 | ||||
| * | move jump scope checking and related code out into its own file, SemaDecl.cpp is | Chris Lattner | 2009-04-19 | 4 | -267/+293 |
| | | | | | | | already too large. llvm-svn: 69505 | ||||
| * | Fix bug in computation of ivar offsets for (adjacent) bitfields. | Daniel Dunbar | 2009-04-19 | 1 | -10/+13 |
| | | | | | | | | | - The confusing IRgen bitfield interface is partly to blame here; fixing the functional error for now, cleanups to the interface to follow. llvm-svn: 69503 | ||||
| * | revert david's patch, which causes a testsuite failure. | Chris Lattner | 2009-04-19 | 1 | -3/+2 |
| | | | | | llvm-svn: 69501 | ||||
| * | rewrite an O(N^2) algorithm to be O(n). | Chris Lattner | 2009-04-19 | 1 | -19/+18 |
| | | | | | llvm-svn: 69500 | ||||
| * | second half of indirect jump checking: make sure that any | Chris Lattner | 2009-04-19 | 1 | -10/+32 |
| | | | | | | | address taken labels are in function scope llvm-svn: 69499 | ||||
| * | First half of jump scope checking for indirect goto. | Chris Lattner | 2009-04-19 | 1 | -7/+21 |
| | | | | | llvm-svn: 69498 | ||||
| * | Add location info for indirect goto. | Chris Lattner | 2009-04-19 | 4 | -3/+5 |
| | | | | | llvm-svn: 69497 | ||||
| * | Reuse ObjcIvarOffsetVariable instead of duplicating code. | Daniel Dunbar | 2009-04-19 | 1 | -22/+9 |
| | | | | | | | - No functionality change (but added a FIXME). llvm-svn: 69496 | ||||
| * | Remove some unnecessary complexity. | Daniel Dunbar | 2009-04-19 | 1 | -11/+5 |
| | | | | | | | - No functionality change. llvm-svn: 69495 | ||||
| * | "This patch fixes message sends to super in class methods for the GNU ↵ | Chris Lattner | 2009-04-18 | 1 | -2/+3 |
| | | | | | | | | | runtime (currently an instance method lookup is being performed)." Patch by David Chisnall! llvm-svn: 69493 | ||||
| * | reimplement DeclStmt handling so that we correctly handle intermixed | Chris Lattner | 2009-04-18 | 1 | -47/+30 |
| | | | | | | | VLA's and statement expressions. llvm-svn: 69491 | ||||

