aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-03-27 00:03:43 +0000
committerDouglas Gregor <dgregor@apple.com>2009-03-27 00:03:43 +0000
commit119057adf21237d53dcd490cec9700dca2465e3e (patch)
treefd4b694353ae0a940170cdf8c62d6d4278a003ed
parent47e60ac311d03a5813da70dd894b503d1c5c7c95 (diff)
Clarify that QualifiedNameType is sugar-only. This will matter once we can parse typename-specifiers
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67803 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/AST/Type.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h
index e37b186871..b05f478681 100644
--- a/include/clang/AST/Type.h
+++ b/include/clang/AST/Type.h
@@ -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;