aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/TableGen/JSONBackend.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/TableGen/JSONBackend.cpp')
-rw-r--r--llvm/lib/TableGen/JSONBackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/TableGen/JSONBackend.cpp b/llvm/lib/TableGen/JSONBackend.cpp
index 131650f..8ddfd9f 100644
--- a/llvm/lib/TableGen/JSONBackend.cpp
+++ b/llvm/lib/TableGen/JSONBackend.cpp
@@ -144,7 +144,7 @@ void JSONEmitter::run(raw_ostream &OS) {
for (const RecordVal &RV : Def.getValues()) {
if (!Def.isTemplateArg(RV.getNameInit())) {
auto Name = RV.getNameInitAsString();
- if (RV.getPrefix())
+ if (RV.isNonconcreteOK())
fields.push_back(Name);
obj[Name] = translateInit(*RV.getValue());
}