diff --git a/clang/include/clang/Sema/ParsedAttr.h b/clang/include/clang/Sema/ParsedAttr.h --- a/clang/include/clang/Sema/ParsedAttr.h +++ b/clang/include/clang/Sema/ParsedAttr.h @@ -21,6 +21,7 @@ #include "clang/Sema/Ownership.h" #include "llvm/ADT/PointerUnion.h" #include "llvm/ADT/SmallVector.h" +#include "llvm/ADT/StringRef.h" #include "llvm/ADT/TinyPtrVector.h" #include "llvm/Support/Allocator.h" #include "llvm/Support/Registry.h" @@ -63,7 +64,7 @@ /// The syntaxes supported by this attribute and how they're spelled. struct Spelling { AttributeCommonInfo::Syntax Syntax; - const char *NormalizedFullName; + llvm::StringRef NormalizedFullName; }; ArrayRef Spellings;