]> granicus.if.org Git - clang/commitdiff
Clarify that QualifiedNameType is sugar-only. This will matter once we can parse...
authorDouglas Gregor <dgregor@apple.com>
Fri, 27 Mar 2009 00:03:43 +0000 (00:03 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 27 Mar 2009 00:03:43 +0000 (00:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67803 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Type.h

index e37b1868717bafdcefcfcb85c6bd335a472d299f..b05f478681f470d65ecfb6b8fa1e1bc0e6d0838f 100644 (file)
@@ -1562,7 +1562,9 @@ protected:
 /// name, e.g., N::M::type.
 ///
 /// This type is used to keep track of a type name as written in the
-/// source code, including any nested-name-specifiers.
+/// source code, including any nested-name-specifiers. The type itself
+/// is always "sugar", used to express what was written in the source
+/// code but containing no additional semantic information.
 class QualifiedNameType : public Type, public llvm::FoldingSetNode {
   /// \brief The nested name specifier containing the qualifier.
   NestedNameSpecifier *NNS;