summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParsePragma.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Add parser support for #pragma weak.Eli Friedman2009-06-051-1/+56
| | | | llvm-svn: 72907
* Implement '#pragma unused'.Ted Kremenek2009-03-231-2/+78
| | | | llvm-svn: 67569
* move library-specific diagnostic headers into library private dirs. ReduceChris Lattner2009-01-291-1/+1
| | | | | | redundant #includes. Patch by Anders Johnsen! llvm-svn: 63271
* Split the single monolithic DiagnosticKinds.def file into oneChris Lattner2009-01-271-1/+1
| | | | | | | | | .def file for each library. This means that adding a diagnostic to sema doesn't require all the other libraries to be rebuilt. Patch by Anders Johnsen! llvm-svn: 63111
* Modify the move emulation according to the excellent design of Howard ↵Sebastian Redl2008-12-101-1/+1
| | | | | | Hinnant. Makes for much nicer syntax when smart pointers are used consistently. Also, start converting internal argument passing of Parser to smart pointers. llvm-svn: 60809
* Kick out the proof-of-concept ASTOwner and replace it with ASTOwningResultSebastian Redl2008-12-091-2/+1
| | | | llvm-svn: 60791
* Consistently use smart pointers for stmt and expr nodes in parser local ↵Sebastian Redl2008-12-091-10/+6
| | | | | | variables. llvm-svn: 60761
* Use RAII objects to ensure proper destruction of expression and statement ↵Sebastian Redl2008-11-251-1/+6
| | | | | | AST nodes in the parser in most cases, even on error. llvm-svn: 60057
* Convert IdentifierInfo's to be printed the same as DeclarationNames Chris Lattner2008-11-231-5/+5
| | | | | | | | | | | | | | | | | | | | | with implicit quotes around them. This has a bunch of follow-on effects and requires tweaking to a whole lot of code. This causes a regression in two tests (xfailed) by causing it to emit things like: Line 10: duplicate interface declaration for category 'MyClass1' ('Category1') instead of: Line 10: duplicate interface declaration for category 'MyClass1(Category1)' I will fix this in a follow-up commit. As part of this, I had to start switching stuff to use ->getDeclName() instead of Decl::getName() for consistency. This is good, but I was planning to do this as an independent patch. There will be several follow-on patches to clean up some of the mess, but this patch is already too big. llvm-svn: 59917
* remove uses of IdentifierInfo::getName()Chris Lattner2008-11-191-4/+2
| | | | llvm-svn: 59607
* Remove the last of the old-style Preprocessor::Diag methods.Chris Lattner2008-11-181-4/+4
| | | | llvm-svn: 59554
* Add Parser support for #pragma packDaniel Dunbar2008-10-041-0/+108
- Uses Action::ActOnPragmaPack - Test case is XFAIL pending verifier fixes. llvm-svn: 57066
OpenPOWER on IntegriCloud