summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
* Forward -fno-diagnostics-fixit-info to clang-cc.Daniel Dunbar2009-04-192-0/+7
| | | | llvm-svn: 69546
* PR3853: Add CodeGen support for __thread.Eli Friedman2009-04-193-11/+16
| | | | llvm-svn: 69545
* move token paste poisoning diagnostics to after the instantiation locChris Lattner2009-04-192-11/+29
| | | | | | | for a token is set, this makes the diagnostic "expanded from stack" work for this diagnostic. Add a testcase for PR3918. llvm-svn: 69544
* Tests for __thread specifier.Eli Friedman2009-04-191-0/+21
| | | | llvm-svn: 69543
* Add more thorough/correct checking for invalid __thread specifiers.Eli Friedman2009-04-194-20/+39
| | | | llvm-svn: 69542
* Silence gcc warning.Eli Friedman2009-04-191-1/+1
| | | | llvm-svn: 69541
* pick a smaller header, one that we control to test this.Chris Lattner2009-04-191-1/+1
| | | | llvm-svn: 69540
* rename test for consistency with other pragma test.Chris Lattner2009-04-191-0/+0
| | | | llvm-svn: 69539
* merge pragma poison tests into one file with -verify mode.Chris Lattner2009-04-194-21/+18
| | | | llvm-svn: 69538
* merge two testsChris Lattner2009-04-192-17/+18
| | | | llvm-svn: 69537
* Fix PR3918: Invalid use of __VA_ARGS__ not diagnosed,Chris Lattner2009-04-191-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 Redl2009-04-193-18/+99
| | | | | | FindCompositePointerType in some other places, too. llvm-svn: 69534
* convert to -verify mode.Chris Lattner2009-04-191-2/+2
| | | | llvm-svn: 69532
* Fix PR4006, incorrect handling of __VA_ARGS__ when it was the first tokenChris Lattner2009-04-192-9/+15
| | | | | | | 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 hurtChris Lattner2009-04-191-10/+5
| | | | | | non-glibc ones. llvm-svn: 69528
* Define __NO_MATH_INLINES on linux/x86 so that we don't get inlineChris Lattner2009-04-191-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 Lattner2009-04-193-7/+16
| | | | | | rdar://6805442 llvm-svn: 69525
* invalid directives can occur in #if 0 code, just pass themChris Lattner2009-04-191-1/+4
| | | | | | | through like other directives PTH doesn't care about. This should fix rdar://6804029 llvm-svn: 69524
* make PTH not crash on a null directive (# on its own line)Chris Lattner2009-04-191-2/+4
| | | | llvm-svn: 69523
* use isNot instead of !isChris Lattner2009-04-191-3/+4
| | | | llvm-svn: 69522
* fix -fdollars-in-identifiers to have a default that is overriden Chris Lattner2009-04-191-4/+5
| | | | | | by the command line option if present. llvm-svn: 69521
* fix rdar://6804322 by wiring up -fdollars-in-identifiersChris Lattner2009-04-192-8/+21
| | | | | | with assembler-with-cpp mode. llvm-svn: 69520
* silence a warning, it isn't clear what the right answer is here,Chris Lattner2009-04-191-1/+1
| | | | | | will talk to steve. llvm-svn: 69519
* convert to -verify mode.Chris Lattner2009-04-191-12/+11
| | | | llvm-svn: 69518
* silence a warning, I need to talk to Devang about this code.Chris Lattner2009-04-191-1/+1
| | | | llvm-svn: 69517
* Fix rdar://6804402 - crash on objc implementations declared withChris Lattner2009-04-193-11/+36
| | | | | | | @class but no implementation. This was broken in all 3 runtime impls. llvm-svn: 69512
* rearrange #include order.Chris Lattner2009-04-191-2/+2
| | | | llvm-svn: 69511
* run the jump checker on blocks, even though they don't have gotos,Chris Lattner2009-04-193-2/+27
| | | | | | they do allow switches. llvm-svn: 69510
* add a new Sema::CurFunctionNeedsScopeChecking bool that is used to avoid Chris Lattner2009-04-195-18/+28
| | | | | | | calling into the jump checker when a function or method is known to contain no VLAs or @try blocks. llvm-svn: 69509
* test that vlas are checked in an objc method context.Chris Lattner2009-04-191-0/+16
| | | | llvm-svn: 69508
* apparently gotos aren't allowed at all in blocks. Stub out a testcase for ↵Chris Lattner2009-04-191-0/+24
| | | | | | when/if they are. llvm-svn: 69507
* more testcases of variably modified types.Chris Lattner2009-04-191-1/+15
| | | | llvm-svn: 69506
* move jump scope checking and related code out into its own file, SemaDecl.cpp isChris Lattner2009-04-195-267/+297
| | | | | | already too large. llvm-svn: 69505
* Some more tweaks to driver documentation.Daniel Dunbar2009-04-191-22/+29
| | | | llvm-svn: 69504
* Fix bug in computation of ivar offsets for (adjacent) bitfields.Daniel Dunbar2009-04-192-10/+36
| | | | | | | | - 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
* minor typographical fixesChris Lattner2009-04-191-5/+5
| | | | llvm-svn: 69502
* revert david's patch, which causes a testsuite failure.Chris Lattner2009-04-191-3/+2
| | | | llvm-svn: 69501
* rewrite an O(N^2) algorithm to be O(n).Chris Lattner2009-04-191-19/+18
| | | | llvm-svn: 69500
* second half of indirect jump checking: make sure that any Chris Lattner2009-04-193-13/+41
| | | | | | address taken labels are in function scope llvm-svn: 69499
* First half of jump scope checking for indirect goto.Chris Lattner2009-04-193-7/+49
| | | | llvm-svn: 69498
* Add location info for indirect goto.Chris Lattner2009-04-195-8/+14
| | | | llvm-svn: 69497
* Reuse ObjcIvarOffsetVariable instead of duplicating code.Daniel Dunbar2009-04-191-22/+9
| | | | | | - No functionality change (but added a FIXME). llvm-svn: 69496
* Remove some unnecessary complexity.Daniel Dunbar2009-04-191-11/+5
| | | | | | - No functionality change. llvm-svn: 69495
* "This patch fixes message sends to super in class methods for the GNU ↵Chris Lattner2009-04-181-2/+3
| | | | | | | | runtime (currently an instance method lookup is being performed)." Patch by David Chisnall! llvm-svn: 69493
* add some testcases that we do not correctly handle.Chris Lattner2009-04-181-2/+19
| | | | llvm-svn: 69492
* reimplement DeclStmt handling so that we correctly handle intermixed Chris Lattner2009-04-182-47/+59
| | | | | | VLA's and statement expressions. llvm-svn: 69491
* rearrange.Chris Lattner2009-04-181-6/+10
| | | | llvm-svn: 69490
* add testcases for some more scary/horrible things that work.Chris Lattner2009-04-181-2/+15
| | | | llvm-svn: 69488
* the scope checker does work with objc methods, add testcase.Chris Lattner2009-04-182-7/+15
| | | | llvm-svn: 69487
* I didn't understand how @catches were chained. Now that I get it, fixChris Lattner2009-04-182-13/+12
| | | | | | | the scope checker to not think @catches are nested in each other, eliminating some bogus notes. llvm-svn: 69486
OpenPOWER on IntegriCloud