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.

llvm-svn: 111513
This commit is contained in:
Eli Friedman 2010-08-19 06:11:05 +00:00
parent 4202c34539
commit 33087a7fe4
1 changed files with 1 additions and 1 deletions

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)