mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
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:
parent
a0fc005321
commit
a8fa392691
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user