summaryrefslogtreecommitdiffstats
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
commitf53c47ecc26cb88c16678e84f2cf764f1d82e9dc (patch)
treee4268eae02179f4a0c71a56849d0b33079918e13
parentc35c9d87a96ab66fc079e136f4b32390788b0f6a (diff)
downloadbcm5719-llvm-f53c47ecc26cb88c16678e84f2cf764f1d82e9dc.tar.gz
bcm5719-llvm-f53c47ecc26cb88c16678e84f2cf764f1d82e9dc.zip
Clarify that QualifiedNameType is sugar-only. This will matter once we can parse typename-specifiers
llvm-svn: 67803
-rw-r--r--clang/include/clang/AST/Type.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/include/clang/AST/Type.h b/clang/include/clang/AST/Type.h
index e37b1868717..b05f478681f 100644
--- a/clang/include/clang/AST/Type.h
+++ b/clang/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;
OpenPOWER on IntegriCloud