clang 20.0.0git
Macros
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 RECORD_CONTEXT(CLASS, KIND)
 

Detailed Description

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

Definition in file API.cpp.

Macro Definition Documentation

◆ 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:305

◆ 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:184