summaryrefslogtreecommitdiffstats
path: root/clang/Driver/PrintParserCallbacks.cpp
Commit message (Collapse)AuthorAgeFilesLines
* rename PreDefinedExpr -> PredefinedExprChris Lattner2008-08-101-1/+1
| | | | llvm-svn: 54605
* Move AsmLabel into Declarator instead of just a parameter toDaniel Dunbar2008-08-051-2/+2
| | | | | | ActOnDeclarator. llvm-svn: 54353
* Add more Parser/Sema support for GCC asm-label extension.Daniel Dunbar2008-08-051-2/+2
| | | | | | | | | | | | | - ActOnDeclarator now takes an additional parameter which is the AsmLabel if used. Its unfortunate that this bubbles up this high, but we cannot just lump it in as an attribute without mistakenly *accepting* it as an attribute. - The actual asm-label itself is, however, encoded as an AsmLabelAttr on the FunctionDecl. - Slightly improved parser error recovery on malformed asm-labels. - CodeGen support still missing... llvm-svn: 54339
* Add more output to clang -parse-print-callbacksDaniel Dunbar2008-08-011-7/+521
| | | | | | | - Just added prints for all the action functions. Ideally this would be extended to print all the information for the actions. llvm-svn: 54259
* Change uses of std::cerr/std::cout to llvm::Lcerr/llvm::cout, and removeTed Kremenek2008-01-141-6/+6
| | | | | | | | #include<iostream>. Patch provided by Sam Bishop. llvm-svn: 45962
* Don't attribute in file headers anymore. See llvmdev for theChris Lattner2007-12-291-2/+2
| | | | | | discussion of this change. llvm-svn: 45410
* Implement ObjC built-in types in MinimalAction.Steve Naroff2007-10-311-2/+5
| | | | | | This fixes the recent regression with selector-1.m and -parse-noop. llvm-svn: 43575
* Fix a latent bug in MinimalActions (created by a recent name change).Steve Naroff2007-10-101-5/+5
| | | | llvm-svn: 42829
* move IdentifierTable.h from liblex to libbasic.Chris Lattner2007-10-071-1/+0
| | | | llvm-svn: 42730
* Start converting Action methods from Parse-prefix to ActOn-prefix.Steve Naroff2007-09-151-4/+4
| | | | | | The previous naming scheme was confusing, since it resulted in both the Parser and Action modules having methods with the same name. In addition, the Action module never does any parsing... llvm-svn: 41986
* Fix the following bug submitted by Ted Kremenek:Steve Naroff2007-09-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | void func() { int xx = xx; // incorrectly diagnosed 'xx' as an undeclared identifier. } This smallish bug resulted in a largish fix. Here are some highlights: - Needed to make sure ParseDeclarator is called *before* parsing any initializer. Removed the "Init" argument to ParseDeclarator. - Added AddInitializerToDecl() to the Action & Sema classes. In Sema, this hook is responsible for validating the initializer and installing it into the respective decl. - Moved several semantic checks from ParseDeclarator() to FinalizeDeclaratorGroup(). Previously, this hook was only responsible for reversing a list. Now it plays a much larger semantic role. All of the above changes ended up simplifying ParseDeclarator(), which is goodness... llvm-svn: 41877
* Finally bite the bullet and make the major change: split the clang namespaceChris Lattner2007-06-151-3/+1
| | | | | | | | | | | | | out of the llvm namespace. This makes the clang namespace be a sibling of llvm instead of being a child. The good thing about this is that it makes many things unambiguous. The bad things is that many things in the llvm namespace (notably data structures like smallvector) now require an llvm:: qualifier. IMO, libsystem and libsupport should be split out of llvm into their own namespace in the future, which will fix this issue. llvm-svn: 39659
* Rename SemaDeclSpec.{h|cpp} back to DeclSpec.{h|cpp} now that the distinctionChris Lattner2006-11-111-1/+1
| | | | | | between sema and parse is clear. llvm-svn: 39167
* rename SemaDecl.cpp/h to SemaDeclSpec.cpp/hChris Lattner2006-11-081-1/+1
| | | | llvm-svn: 39149
* eliminate EmptyAction, merging it into MinimalAction instead.Chris Lattner2006-11-051-3/+3
| | | | llvm-svn: 39134
* start factoring actions into two flavors: minimal and semantic actions.Chris Lattner2006-11-051-1/+1
| | | | llvm-svn: 39133
* rename a bunch of files for better consistencyChris Lattner2006-11-051-1/+1
| | | | llvm-svn: 39126
* Changes through out the parser and actions/ast interface to return top-levelChris Lattner2006-10-161-5/+5
| | | | | | | | | | | | | | | | | | declarations through the asm streamer. For a testcase like: int G; int H, I, *J; int func() {} 'clang -parse-print-ast' prints: Read top-level decl: G Read top-level decl: H Read top-level decl: I Read top-level decl: J Read top-level decl: func llvm-svn: 38992
* Start adding support for printing out parser callbacks and adding ast buildingChris Lattner2006-08-171-0/+57
llvm-svn: 38933
OpenPOWER on IntegriCloud