summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make all raw_ostreams support the tell() function.Douglas Gregor2009-04-202-0/+45
| | | | llvm-svn: 69583
* Inline GetFirstIvarInRecord into sole caller.Daniel Dunbar2009-04-201-28/+9
| | | | | | - No functionality change. llvm-svn: 69582
* Set a bit in IMAGE_INFO to indicate that we don't contain anyDaniel Dunbar2009-04-202-3/+14
| | | | | | | | @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 Gregor2009-04-203-331/+347
| | | | llvm-svn: 69580
* Lift out GetNamedIvarList.Daniel Dunbar2009-04-201-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 Dunbar2009-04-202-6/+6
| | | | llvm-svn: 69578
* Remove loc::FuncVal.Zhongxing Xu2009-04-206-51/+1
| | | | llvm-svn: 69577
* more stuff.Chris Lattner2009-04-201-5/+48
| | | | llvm-svn: 69576
* Don't crash in the diagnostic printer if we happen to get passed aDaniel Dunbar2009-04-201-0/+13
| | | | | | null string / identifier. llvm-svn: 69575
* Before trying to introduce/eliminate cast/ext/trunc to make indices type asSanjiv Gupta2009-04-201-1/+6
| | | | | | pointer type, make sure that the pointer size is a valid sequential index type. llvm-svn: 69574
* add a bunch of diagnostics options, add one example warning group.Chris Lattner2009-04-201-3/+195
| | | | llvm-svn: 69573
* Don't emit ivar offsets for unnamed bit fields.Daniel Dunbar2009-04-202-5/+11
| | | | | | Also, added assertion that the field matches what would be looked up. llvm-svn: 69572
* Add option groups for -Wimplicit-int and -Wimplicit.Chris Lattner2009-04-202-4/+16
| | | | | | remove special case hack for -Werror-implicit-function-declaration llvm-svn: 69571
* get a CodeTextRegion when visiting FunctionDecl reference.Zhongxing Xu2009-04-207-33/+57
| | | | | | get FunctionDecl with more general utility method. llvm-svn: 69570
* slurp some content from the PTH doc into the user's doc.Chris Lattner2009-04-202-64/+65
| | | | llvm-svn: 69569
* initial skeleton of a user's manual.Chris Lattner2009-04-201-0/+259
| | | | llvm-svn: 69568
* PR3247: Handle a couple of cases where we weren't emitting VLA sizes (and Eli Friedman2009-04-203-2/+22
| | | | | | subsequently crashed). llvm-svn: 69567
* PR3248: Make sure the evaluate the operand of a sizeof when it has a VLA type.Eli Friedman2009-04-202-0/+11
| | | | | | Adapted from patch by Tim Northover. llvm-svn: 69566
* As we now have ValueManager as the new value factory, we do not need factoryZhongxing Xu2009-04-201-1/+1
| | | | | | methods of SVal. llvm-svn: 69565
* Hook up -Wunused-value to the unused expression warning. This is Eli Friedman2009-04-201-1/+2
| | | | | | | | | | useful for macro-heavy codebases that tend to trigger this warning a lot. Note that a make clean is required to get the option working; the dependencies for DiagnosticGroups.inc appear to be broken. llvm-svn: 69564
* Remove non-const form of lookupFieldDeclForIvar.Daniel Dunbar2009-04-205-12/+12
| | | | llvm-svn: 69563
* Comment fixes.Daniel Dunbar2009-04-201-6/+6
| | | | llvm-svn: 69562
* Lift GetClassSizeInfo out of GenerateClass, add a FIXME.Daniel Dunbar2009-04-191-29/+37
| | | | | | - No functionality change. llvm-svn: 69561
* implement "#pragma GCC diagnostic". Besides being a nice feature, thisChris Lattner2009-04-192-2/+92
| | | | | | | | | 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 ofChris Lattner2009-04-193-49/+64
| | | | | | | 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-infoChris Lattner2009-04-191-0/+3
| | | | | | mode, just ignore them as usual. llvm-svn: 69558
* Fix PR4007: clang doesn't know -Werror-foo is the same as -Werror=fooChris Lattner2009-04-192-3/+5
| | | | llvm-svn: 69557
* Warn about uses of #pragma STDC FENV_ACCESS ON, since we don't Chris Lattner2009-04-193-2/+7
| | | | | | | | | | 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 Redl2009-04-194-18/+81
| | | | | | general code. llvm-svn: 69555
* diagnose invalid syntax of STDC pragmas.Chris Lattner2009-04-193-8/+52
| | | | llvm-svn: 69554
* Print an error for uses of __thread on targets which don't support it.Eli Friedman2009-04-194-2/+6
| | | | llvm-svn: 69553
* Add target property for whether thread-local storage is supported. Eli Friedman2009-04-193-3/+16
| | | | | | | | 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 Lattner2009-04-193-10/+14
| | | | llvm-svn: 69551
* stub out STDC #pragmas.Chris Lattner2009-04-192-0/+61
| | | | llvm-svn: 69550
* Forward f[no-]dollars-in-identifiers to clang, when specified.Daniel Dunbar2009-04-192-3/+14
| | | | llvm-svn: 69549
* Bring member pointer operands of the conditional operator to a common type. ↵Sebastian Redl2009-04-192-7/+72
| | | | | | We're getting there ... llvm-svn: 69548
* basic support for -Wunknown-pragmas, more coming.Chris Lattner2009-04-193-3/+10
| | | | llvm-svn: 69547
* 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
OpenPOWER on IntegriCloud