summaryrefslogtreecommitdiffstats
path: root/clang/docs/InternalsManual.html
Commit message (Collapse)AuthorAgeFilesLines
...
* update for terminology change.Chris Lattner2009-01-161-2/+2
| | | | llvm-svn: 62310
* Fix a typo.Cedric Venet2009-01-061-1/+1
| | | | llvm-svn: 61815
* document annotation tokens.Chris Lattner2009-01-061-7/+95
| | | | llvm-svn: 61792
* Introduce support for "transparent" DeclContexts, which areDouglas Gregor2009-01-051-0/+301
| | | | | | | | | | | | | | | | | | | | | | DeclContexts whose members are visible from enclosing DeclContexts up to (and including) the innermost enclosing non-transparent DeclContexts. Transparent DeclContexts unify the mechanism to be used for various language features, including C enumerations, anonymous unions, C++0x inline namespaces, and C++ linkage specifications. Please refer to the documentation in the Clang internals manual for more information. Only enumerations and linkage specifications currently use transparent DeclContexts. Still to do: use transparent DeclContexts to implement anonymous unions and GCC's anonymous structs extension, and, later, the C++0x features. We also need to tighten up the DeclContext/ScopedDecl link to ensure that every ScopedDecl is in a single DeclContext, which will ensure that we can then enforce ownership and reduce the memory footprint of DeclContext. llvm-svn: 61735
* Implement the final (hopefully) wrinkle to i-c-e + builtin_constant_p Chris Lattner2008-12-121-1/+2
| | | | | | | processing: it allows arbitrary foldable constants as the operand of ?: when builtin_constant_p is the condition. llvm-svn: 60954
* implement rdar://6091492 - ?: with __builtin_constant_p as the operand is an ↵Chris Lattner2008-12-121-1/+4
| | | | | | i-c-e. llvm-svn: 60934
* Rename Selector::getName() to Selector::getAsString(), and addChris Lattner2008-11-241-0/+14
| | | | | | | | | | | | | a new NamedDecl::getAsString() method. Change uses of Selector::getName() to just pass in a Selector where possible (e.g. to diagnostics) instead of going through an std::string. This also adds new formatters for objcinstance and objcclass as described in the dox. llvm-svn: 59933
* inserting a qualtype adds quotes implicitlyChris Lattner2008-11-231-1/+1
| | | | llvm-svn: 59915
* other minor edits.Chris Lattner2008-11-231-6/+6
| | | | llvm-svn: 59906
* minor cleanups.Chris Lattner2008-11-231-26/+28
| | | | llvm-svn: 59905
* finish up the diagnostics documentation. We don'tChris Lattner2008-11-231-6/+22
| | | | | | | support QualType and DeclarationName yet, so some of it is lies, however, this will be fixed shortly. llvm-svn: 59896
* more updatesChris Lattner2008-11-231-13/+57
| | | | llvm-svn: 59895
* finish documentation of %select.Chris Lattner2008-11-221-3/+16
| | | | llvm-svn: 59892
* Documentation for the plural modifier.Sebastian Redl2008-11-221-2/+31
| | | | llvm-svn: 59885
* start documenting Diagnostics. Sebastian, I'd appreciate it Chris Lattner2008-11-221-3/+210
| | | | | | if you can fill in the section for %plural. llvm-svn: 59883
* 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
* 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
OpenPOWER on IntegriCloud