[cfe-commits] r67803 - /cfe/trunk/include/clang/AST/Type.h
Douglas Gregor
dgregor at apple.com
Thu Mar 26 17:03:44 PDT 2009
Author: dgregor
Date: Thu Mar 26 19:03:43 2009
New Revision: 67803
URL: http://llvm.org/viewvc/llvm-project?rev=67803&view=rev
Log:
Clarify that QualifiedNameType is sugar-only. This will matter once we can parse typename-specifiers
Modified:
cfe/trunk/include/clang/AST/Type.h
Modified: cfe/trunk/include/clang/AST/Type.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Type.h?rev=67803&r1=67802&r2=67803&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Type.h (original)
+++ cfe/trunk/include/clang/AST/Type.h Thu Mar 26 19:03:43 2009
@@ -1562,7 +1562,9 @@
/// 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;
More information about the cfe-commits
mailing list