diff options
author | Vitaly Buka <vitalybuka@google.com> | 2025-01-06 14:50:57 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-06 14:50:57 -0800 |
commit | 1a435feffcd85c1e7fe30daf1a3995e95860b300 (patch) | |
tree | e3e6a73579f26893ad791fccdb720179d208ee40 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | f9369cc602272796c15de1065a782f812e791df3 (diff) | |
download | llvm-1a435feffcd85c1e7fe30daf1a3995e95860b300.zip llvm-1a435feffcd85c1e7fe30daf1a3995e95860b300.tar.gz llvm-1a435feffcd85c1e7fe30daf1a3995e95860b300.tar.bz2 |
[HLSL] Fix build warning after #116331 (#121852)
After #116331 is always SpellingNotCalculated,
so I assume doing nothing is expected.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index 56c56f5..067ff55 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/lib/CodeGen/CodeGenFunction.cpp @@ -2102,7 +2102,10 @@ void CodeGenFunction::EmitBranchOnBoolExpr( MDHelper.createConstant(BranchHintConstant)}); BrInst->setMetadata("hlsl.controlflow.hint", llvm::MDNode::get(CGM.getLLVMContext(), Vals)); - } break; + break; + } + case HLSLControlFlowHintAttr::SpellingNotCalculated: + break; } } |