From 74dd95face3fc7904fa9b566cd819d3de0eeb881 Mon Sep 17 00:00:00 2001 From: Fraser Cormack Date: Mon, 11 Apr 2022 18:29:29 +0100 Subject: [PATCH] [TableGen][NFC] Fix copy/paste error in comment --- llvm/include/llvm/TableGen/Record.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/include/llvm/TableGen/Record.h b/llvm/include/llvm/TableGen/Record.h index cc7ad2d..f17fa5a 100644 --- a/llvm/include/llvm/TableGen/Record.h +++ b/llvm/include/llvm/TableGen/Record.h @@ -1716,8 +1716,8 @@ public: StringRef getValueAsString(StringRef FieldName) const; /// This method looks up the specified field and returns - /// its value as a string, throwing an exception if the field if the value is - /// not a string and llvm::Optional() if the field does not exist. + /// its value as a string, throwing an exception if the value is not a string + /// and llvm::Optional() if the field does not exist. llvm::Optional getValueAsOptionalString(StringRef FieldName) const; /// This method looks up the specified field and returns -- 2.7.4