diff options
Diffstat (limited to 'llvm/utils/TableGen/Record.h')
| -rw-r--r-- | llvm/utils/TableGen/Record.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/Record.h b/llvm/utils/TableGen/Record.h index f3a5df23ec5..522b719803c 100644 --- a/llvm/utils/TableGen/Record.h +++ b/llvm/utils/TableGen/Record.h @@ -707,7 +707,7 @@ class CodeInit : public Init { public: explicit CodeInit(const std::string &V) : Value(V) {} - const std::string getValue() const { return Value; } + const std::string &getValue() const { return Value; } virtual Init *convertInitializerTo(RecTy *Ty) { return Ty->convertValue(this); |

