diff options
| author | River Riddle <riverriddle@google.com> | 2019-12-18 09:28:48 -0800 |
|---|---|---|
| committer | A. Unique TensorFlower <gardener@tensorflow.org> | 2019-12-18 09:29:20 -0800 |
| commit | 4562e389a43caa2e30ebf277c12743edafe6a0ac (patch) | |
| tree | 1901855666adba9be9576e864877fe191e197085 /mlir/lib/IR/AsmPrinter.cpp | |
| parent | 24ab8362f2099ed42f2e05f09fb9323ad0c5ab27 (diff) | |
| download | bcm5719-llvm-4562e389a43caa2e30ebf277c12743edafe6a0ac.tar.gz bcm5719-llvm-4562e389a43caa2e30ebf277c12743edafe6a0ac.zip | |
NFC: Remove unnecessary 'llvm::' prefix from uses of llvm symbols declared in `mlir` namespace.
Aside from being cleaner, this also makes the codebase more consistent.
PiperOrigin-RevId: 286206974
Diffstat (limited to 'mlir/lib/IR/AsmPrinter.cpp')
| -rw-r--r-- | mlir/lib/IR/AsmPrinter.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mlir/lib/IR/AsmPrinter.cpp b/mlir/lib/IR/AsmPrinter.cpp index 0ea447ed324..e1903d560b1 100644 --- a/mlir/lib/IR/AsmPrinter.cpp +++ b/mlir/lib/IR/AsmPrinter.cpp @@ -437,9 +437,9 @@ public: void printLocation(LocationAttr loc); void printAffineMap(AffineMap map); - void printAffineExpr( - AffineExpr expr, - llvm::function_ref<void(unsigned, bool)> printValueName = nullptr); + void + printAffineExpr(AffineExpr expr, + function_ref<void(unsigned, bool)> printValueName = nullptr); void printAffineConstraint(AffineExpr expr, bool isEq); void printIntegerSet(IntegerSet set); @@ -463,7 +463,7 @@ protected: }; void printAffineExprInternal( AffineExpr expr, BindingStrength enclosingTightness, - llvm::function_ref<void(unsigned, bool)> printValueName = nullptr); + function_ref<void(unsigned, bool)> printValueName = nullptr); /// The output stream for the printer. raw_ostream &os; @@ -1175,13 +1175,13 @@ void ModulePrinter::printDialectType(Type type) { //===----------------------------------------------------------------------===// void ModulePrinter::printAffineExpr( - AffineExpr expr, llvm::function_ref<void(unsigned, bool)> printValueName) { + AffineExpr expr, function_ref<void(unsigned, bool)> printValueName) { printAffineExprInternal(expr, BindingStrength::Weak, printValueName); } void ModulePrinter::printAffineExprInternal( AffineExpr expr, BindingStrength enclosingTightness, - llvm::function_ref<void(unsigned, bool)> printValueName) { + function_ref<void(unsigned, bool)> printValueName) { const char *binopSpelling = nullptr; switch (expr.getKind()) { case AffineExprKind::SymbolId: { |

