Use std::string instead of StringRef in ClangAttrEmitter.cpp; per report on

cfe-dev, fixes an error compiling with MSVC.  Using a StringRef here doesn't
look safe in any case.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111513 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eli Friedman 2010-08-19 06:11:05 +00:00
parent a0fc005321
commit a8fa392691

View File

@ -355,7 +355,7 @@ namespace {
};
class EnumArgument : public Argument {
StringRef type;
std::string type;
std::vector<StringRef> values, enums;
public:
EnumArgument(Record &Arg, StringRef Attr)