clang 20.0.0git
Functions
Function.cpp File Reference
#include "Function.h"
#include "Program.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclCXX.h"
#include "clang/Basic/Builtins.h"

Go to the source code of this file.

Functions

static bool isUnevaluatedBuiltin (unsigned BuiltinID)
 Unevaluated builtins don't get their arguments put on the stack automatically.
 

Function Documentation

◆ isUnevaluatedBuiltin()

static bool isUnevaluatedBuiltin ( unsigned  BuiltinID)
static

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.

Definition at line 60 of file Function.cpp.