|
LLVM 23.0.0git
|
A builder class for creating nodes in NamedValuesSchema. More...
#include "llvm/CAS/NamedValuesSchema.h"
Public Member Functions | |
| Builder (ObjectStore &CAS) | |
| LLVM_ABI void | add (StringRef Name, ObjectRef Ref) |
| Add an entry to the builder. | |
| LLVM_ABI Expected< NamedValuesProxy > | build () |
| Build the node from added entries. | |
A builder class for creating nodes in NamedValuesSchema.
Definition at line 77 of file NamedValuesSchema.h.
|
inline |
Definition at line 79 of file NamedValuesSchema.h.
Add an entry to the builder.
Definition at line 171 of file NamedValuesSchema.cpp.
References llvm::Ref, and llvm::StringSaver::save().
| Expected< NamedValuesProxy > NamedValuesSchema::Builder::build | ( | ) |
Build the node from added entries.
Definition at line 176 of file NamedValuesSchema.cpp.
References llvm::cas::NamedValuesSchema::create().