clang 22.0.0git
API.cpp File Reference

This file implements the APIRecord and derived record structs, and the APISet class. More...

#include "clang/ExtractAPI/API.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/ErrorHandling.h"
#include <memory>
#include "clang/ExtractAPI/APIRecords.inc"

Go to the source code of this file.

Macros

#define RECORD_CONTEXT(CLASS, KIND)
#define ABSTRACT_RECORD(CLASS, BASE)
#define CONCRETE_RECORD(CLASS, BASE, KIND)
#define RECORD(CLASS, BASE)
#define RECORD_CONTEXT(CLASS, KIND)
#define ABSTRACT_RECORD(CLASS, BASE)
#define CONCRETE_RECORD(CLASS, BASE, KIND)
#define RECORD(CLASS, BASE)

Detailed Description

This file implements the APIRecord and derived record structs, and the APISet class.

Definition in file API.cpp.

Macro Definition Documentation

◆ ABSTRACT_RECORD [1/2]

#define ABSTRACT_RECORD ( CLASS,
BASE )
Value:
RECORD(CLASS, BASE)
#define RECORD(CLASS, BASE)

◆ ABSTRACT_RECORD [2/2]

#define ABSTRACT_RECORD ( CLASS,
BASE )
Value:
RECORD(CLASS, BASE)

◆ CONCRETE_RECORD [1/2]

#define CONCRETE_RECORD ( CLASS,
BASE,
KIND )
Value:
RECORD(CLASS, BASE)

◆ CONCRETE_RECORD [2/2]

#define CONCRETE_RECORD ( CLASS,
BASE,
KIND )
Value:
RECORD(CLASS, BASE)

◆ RECORD [1/2]

#define RECORD ( CLASS,
BASE )

◆ RECORD [2/2]

#define RECORD ( CLASS,
BASE )

◆ RECORD_CONTEXT [1/2]

#define RECORD_CONTEXT ( CLASS,
KIND )
Value:
case KIND: \
return static_cast<CLASS *>(const_cast<RecordContext *>(Ctx));
Base class used for specific record types that have children records this is analogous to the DeclCon...
Definition API.h:306

◆ RECORD_CONTEXT [2/2]

#define RECORD_CONTEXT ( CLASS,
KIND )
Value:
case KIND: \
return static_cast<CLASS *>(const_cast<APIRecord *>(Record));
llvm::MachO::Record Record
Definition MachO.h:31
The base representation of an API record. Holds common symbol information.
Definition API.h:185