Skip to content

Commit 79eed76

Browse files
authored
[clang][bytecode][NFC] Remove incorrect comment (llvm#139571)
We don't create function frames for builtin functions anymore.
1 parent 03934d0 commit 79eed76

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

clang/lib/AST/ByteCode/InterpFrame.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,7 @@ static bool shouldSkipInBacktrace(const Function *F) {
133133
}
134134

135135
void InterpFrame::describe(llvm::raw_ostream &OS) const {
136-
// We create frames for builtin functions as well, but we can't reliably
137-
// diagnose them. The 'in call to' diagnostics for them add no value to the
138-
// user _and_ it doesn't generally work since the argument types don't always
139-
// match the function prototype. Just ignore them.
140-
// Similarly, for lambda static invokers, we would just print __invoke().
136+
// For lambda static invokers, we would just print __invoke().
141137
if (const auto *F = getFunction(); F && shouldSkipInBacktrace(F))
142138
return;
143139

0 commit comments

Comments
 (0)