Skip to content

Commit a4ce870

Browse files
committed
[clang][Interp][NFC] Add missing comment
Looks like I lost this last time.
1 parent 36e73e4 commit a4ce870

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

clang/lib/AST/Interp/ByteCodeEmitter.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@
2222
using namespace clang;
2323
using namespace clang::interp;
2424

25+
/// Unevaluated builtins don't get their arguments put on the stack
26+
/// automatically. They instead operate on the AST of their Call
27+
/// Expression.
28+
/// Similar information is available via ASTContext::BuiltinInfo,
29+
/// but that is not correct for our use cases.
2530
static bool isUnevaluatedBuiltin(unsigned BuiltinID) {
2631
return BuiltinID == Builtin::BI__builtin_classify_type;
2732
}

0 commit comments

Comments
 (0)