File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 1919#include " llvm/ADT/MapVector.h"
2020#include " llvm/ADT/SmallVectorExtras.h"
2121#include " llvm/ADT/Twine.h"
22- #include " llvm/Support/Debug .h"
22+ #include " llvm/Support/DebugLog .h"
2323#include " llvm/Support/Regex.h"
2424#include < memory>
2525
@@ -104,14 +104,8 @@ void Dialect::addInterface(std::unique_ptr<DialectInterface> interface) {
104104
105105 auto it = registeredInterfaces.try_emplace (interface->getID (),
106106 std::move (interface));
107- (void )it;
108- LLVM_DEBUG ({
109- if (!it.second ) {
110- llvm::dbgs () << " [" DEBUG_TYPE
111- " ] repeated interface registration for dialect "
112- << getNamespace ();
113- }
114- });
107+ if (!it.second )
108+ LDBG () << " repeated interface registration for dialect " << getNamespace ();
115109}
116110
117111// ===----------------------------------------------------------------------===//
You can’t perform that action at this time.
0 commit comments