diff options
author | Justin Bogner <mail@justinbogner.com> | 2013-09-27 21:10:54 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2013-09-27 21:10:54 +0000 |
commit | bb971c98ea6c64c4d3fce60e37cde05071f5e8a1 (patch) | |
tree | 2a2b6a0e72b2840b64162156e8a9f4e2f14567cb /clang/docs/InternalsManual.rst | |
parent | 753df2fac47abe007afec885c8762a5e68aca590 (diff) | |
download | bcm5719-llvm-bb971c98ea6c64c4d3fce60e37cde05071f5e8a1.tar.gz bcm5719-llvm-bb971c98ea6c64c4d3fce60e37cde05071f5e8a1.zip |
docs: Document CXXLiteralOperatorName and CXXUsingDirective
llvm-svn: 191560
Diffstat (limited to 'clang/docs/InternalsManual.rst')
-rw-r--r-- | clang/docs/InternalsManual.rst | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/clang/docs/InternalsManual.rst b/clang/docs/InternalsManual.rst index 2e130c30c46..6f5570263fc 100644 --- a/clang/docs/InternalsManual.rst +++ b/clang/docs/InternalsManual.rst @@ -950,8 +950,8 @@ functions, Objective-C methods, C++ constructors, destructors, and operators ``DeclarationName`` is designed to efficiently represent any kind of name. Given a ``DeclarationName`` ``N``, ``N.getNameKind()`` will produce a value -that describes what kind of name ``N`` stores. There are 8 options (all of the -names are inside the ``DeclarationName`` class). +that describes what kind of name ``N`` stores. There are 10 options (all of +the names are inside the ``DeclarationName`` class). ``Identifier`` @@ -995,6 +995,21 @@ names are inside the ``DeclarationName`` class). Use ``N.getCXXOverloadedOperator()`` to retrieve the overloaded operator (a value of type ``OverloadedOperatorKind``). +``CXXLiteralOperatorName`` + + The name is a C++11 user defined literal operator. User defined + Literal operators are named according to the suffix they define, + e.g., "``_foo``" for "``operator "" _foo``". Use + ``N.getCXXLiteralIdentifier()`` to retrieve the corresponding + ``IdentifierInfo*`` pointing to the identifier. + +``CXXUsingDirective`` + + The name is a C++ using directive. Using directives are not really + NamedDecls, in that they all have the same name, but they are + implemented as such in order to store them in DeclContext + effectively. + ``DeclarationName``\ s are cheap to create, copy, and compare. They require only a single pointer's worth of storage in the common cases (identifiers, zero- and one-argument Objective-C selectors) and use dense, uniqued storage |