llvm-projct часть кода Value.h
Код: Выделить всё
/// Concrete subclass of this.
///
/// An enumeration for keeping track of the concrete subclass of Value that
/// is actually instantiated. Values of this enumeration are kept in the
/// Value classes SubclassID field. They are used for concrete type
/// identification.
enum ValueTy {
#define HANDLE_VALUE(Name) Name##Val,
#include "llvm/IR/Value.def"
// Markers:
#define HANDLE_CONSTANT_MARKER(Marker, Constant) Marker = Constant##Val,
#include "llvm/IR/Value.def"
};
Код: Выделить всё
HANDLE_VALUE(Argument)
HANDLE_VALUE(BasicBlock)

Может быть проанализирован clangd, но я не знаю, как получить всю информацию.
Подробнее здесь: https://stackoverflow.com/questions/792 ... ge-project
Мобильная версия