LLVM 22.0.0git
PGOCtxProfReader.cpp File Reference

Go to the source code of this file.

Macros

#define EXPECT_OR_RET(LHS, RHS)
#define RET_ON_ERR(EXPR)

Macro Definition Documentation

◆ EXPECT_OR_RET

#define EXPECT_OR_RET ( LHS,
RHS )
Value:
auto LHS = RHS; \
if (!LHS) \
return LHS.takeError();

Definition at line 28 of file PGOCtxProfReader.cpp.

◆ RET_ON_ERR

#define RET_ON_ERR ( EXPR)
Value:
if (auto Err = (EXPR)) \
return Err;

Definition at line 33 of file PGOCtxProfReader.cpp.

Referenced by llvm::PGOCtxProfileReader::loadProfiles().