Skip to content

Commit

Permalink
[clang][Interp][NFC] Add missing comment
Browse files Browse the repository at this point in the history
Looks like I lost this last time.
  • Loading branch information
tbaederr committed Feb 16, 2024
1 parent 36e73e4 commit a4ce870
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions clang/lib/AST/Interp/ByteCodeEmitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
using namespace clang;
using namespace clang::interp;

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

0 comments on commit a4ce870

Please sign in to comment.