summaryrefslogtreecommitdiffstats
path: root/clang/docs
Commit message (Collapse)AuthorAgeFilesLines
* Extend DeclarationName to support C++ overloaded operators, e.g.,Douglas Gregor2008-11-181-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | operator+, directly, using the same mechanism as all other special names. Removed the "special" identifiers for the overloaded operators from the identifier table and IdentifierInfo data structure. IdentifierInfo is back to representing only real identifiers. Added a new Action, ActOnOperatorFunctionIdExpr, that builds an expression from an parsed operator-function-id (e.g., "operator +"). ActOnIdentifierExpr used to do this job, but operator-function-ids are no longer represented by IdentifierInfo's. Extended Declarator to store overloaded operator names. Sema::GetNameForDeclarator now knows how to turn the operator name into a DeclarationName for the overloaded operator. Except for (perhaps) consolidating the functionality of ActOnIdentifier, ActOnOperatorFunctionIdExpr, and ActOnConversionFunctionExpr into a common routine that builds an appropriate DeclRefExpr by looking up a DeclarationName, all of the work on normalizing declaration names should be complete with this commit. llvm-svn: 59526
* Updated IdentifierResolver to deal with DeclarationNames. The names ofDouglas Gregor2008-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | | C++ constructors, destructors, and conversion functions now have a FETokenInfo field that IdentifierResolver can access, so that these special names are handled just like ordinary identifiers. A few other Sema routines now use DeclarationNames instead of IdentifierInfo*'s. To validate this design, this code also implements parsing and semantic analysis for id-expressions that name conversion functions, e.g., return operator bool(); The new parser action ActOnConversionFunctionExpr takes the result of parsing "operator type-id" and turning it into an expression, using the IdentifierResolver with the DeclarationName of the conversion function. ActOnDeclarator pushes those conversion function names into scope so that the IdentifierResolver can find them, of course. llvm-svn: 59462
* Introduction the DeclarationName class, as a single, general method ofDouglas Gregor2008-11-171-1/+103
| | | | | | | | representing the names of declarations in the C family of languages. DeclarationName is used in NamedDecl to store the name of the declaration (naturally), and ObjCMethodDecl is now a NamedDecl. llvm-svn: 59441
* Describe how constant folding and i-c-e diagnosing should work. Chris Lattner2008-11-161-0/+115
| | | | | | | Unfortunately, we're not here yet, but eventually Expr::isConstantExpr and friends should go away. llvm-svn: 59427
* Unbreak clang install.Mike Stump2008-08-121-2/+2
| | | | llvm-svn: 54663
* clean up the footer a bit more.Chris Lattner2008-07-261-3/+5
| | | | llvm-svn: 54113
* remove SSIs.Chris Lattner2008-07-261-5/+0
| | | | llvm-svn: 54112
* Add the right path to the lines image.Chris Lattner2008-07-261-1/+1
| | | | llvm-svn: 54111
* Add doxygen supportDaniel Dunbar2008-07-267-0/+2969
| | | | | | - Stolen from LLVM with minor modifications llvm-svn: 54103
* Use same CSS as the rest of the clang website.Ted Kremenek2008-06-111-0/+14
| | | | llvm-svn: 52208
* update documentationChris Lattner2008-03-091-4/+4
| | | | llvm-svn: 48074
* Minor grammar fix.Ted Kremenek2007-10-181-1/+1
| | | | llvm-svn: 43154
* Commented out header with no section body. Will write this eventually.Ted Kremenek2007-10-101-1/+2
| | | | llvm-svn: 42844
* Added some documentation on clang CFGs. It is very rough.Ted Kremenek2007-10-101-0/+178
| | | | llvm-svn: 42843
* Fix spacing issues.Bill Wendling2007-10-061-7/+7
| | | | llvm-svn: 42676
* Fix html problem, patch by Justin HandvilleChris Lattner2007-09-161-1/+1
| | | | llvm-svn: 42011
* Owen pointed out that this made no sense :)Chris Lattner2007-07-311-3/+3
| | | | llvm-svn: 40644
* update nameChris Lattner2007-07-311-1/+1
| | | | llvm-svn: 40637
* Oops, I committed the wrong file before. This expands the description ofChris Lattner2007-07-311-34/+70
| | | | | | type. llvm-svn: 40620
* Add a start at a clang internals manual, documenting someChris Lattner2007-07-311-0/+395
| | | | | | of the more subtle and interesting classes. llvm-svn: 40615
* add documentation skeletonChris Lattner2007-07-241-0/+4
llvm-svn: 40471
OpenPOWER on IntegriCloud