mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-12 13:55:57 +03:00
some jit code cleaup and clang-format
This commit is contained in:
parent
80528f80ef
commit
98ed035af7
5 changed files with 22 additions and 22 deletions
|
@ -140,9 +140,7 @@ llvm::JITSymbol JITContext::findSymbol(const std::string &name) {
|
|||
return compileLayer.findSymbol(name, false);
|
||||
}
|
||||
|
||||
void JITContext::clearSymMap() {
|
||||
symMap.clear();
|
||||
}
|
||||
void JITContext::clearSymMap() { symMap.clear(); }
|
||||
|
||||
void JITContext::addSymbol(std::string &&name, void *value) {
|
||||
symMap.emplace(std::make_pair(std::move(name), value));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue