summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/RewriteBlocks.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Don't allow defining a block with a non-prototype type. Remove a Eli Friedman2009-06-081-6/+2
| | | | | | | | | | hack which introduces some strange inconsistencies in compatibility for block pointers. Note that unlike an earlier revision proposed on cfe-commits, this patch still allows declaring block pointers without a prototype. llvm-svn: 73041
* Pass an ASTContext into Stmt::printPretty.Eli Friedman2009-05-301-2/+2
| | | | llvm-svn: 72611
* Create a new PrintingPolicy class, which we pass down through the ASTDouglas Gregor2009-05-291-8/+12
| | | | | | | | | printing logic to help customize the output. For now, we use this rather than a special flag to suppress the "struct" when printing "struct X" and to print the Boolean type as "bool" in C++ but "_Bool" in C. llvm-svn: 72590
* Move ASTConsumers.h to include/clang/Frontend, and move the associated Eli Friedman2009-05-181-0/+1158
.cpp files to lib/Frontend. (As proposed on cfe-dev.) llvm-svn: 72060
OpenPOWER on IntegriCloud