[clang] [clang][Interp] Add an EvaluationResult class (PR #71315)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 16 00:30:07 PST 2024


================
@@ -183,11 +178,7 @@ int32_t ByteCodeEmitter::getOffset(LabelTy Label) {
   return 0ull;
 }
 
-bool ByteCodeEmitter::bail(const SourceLocation &Loc) {
-  if (!BailLocation)
-    BailLocation = Loc;
-  return false;
-}
+bool ByteCodeEmitter::bail(const SourceLocation &Loc) { return false; }
----------------
tbaederr wrote:

Hm, probably. There is _some_ utility to it, i.e. I can set a debugger breakpoint on it, but if it just returns false, that doesn't work anyway.

https://github.com/llvm/llvm-project/pull/71315


More information about the cfe-commits mailing list