[PATCH] D96912: [flang][fir][NFC] clang-tidy change. Add include.

Eric Schweitz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 17 15:38:15 PST 2021


schweitz created this revision.
schweitz added reviewers: jeanPerier, svedanayagam, clementval, sscalpone.
schweitz added a project: Flang.
Herald added a subscriber: jdoerfert.
schweitz requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D96912

Files:
  flang/include/flang/Optimizer/Dialect/FIROps.h


Index: flang/include/flang/Optimizer/Dialect/FIROps.h
===================================================================
--- flang/include/flang/Optimizer/Dialect/FIROps.h
+++ flang/include/flang/Optimizer/Dialect/FIROps.h
@@ -6,13 +6,15 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef OPTIMIZER_DIALECT_FIROPS_H
-#define OPTIMIZER_DIALECT_FIROPS_H
+#ifndef FORTRAN_OPTIMIZER_DIALECT_FIROPS_H
+#define FORTRAN_OPTIMIZER_DIALECT_FIROPS_H
 
 #include "flang/Optimizer/Dialect/FIRType.h"
 #include "mlir/Dialect/StandardOps/IR/Ops.h"
 #include "mlir/Interfaces/LoopLikeInterface.h"
 #include "mlir/Interfaces/SideEffectInterfaces.h"
+#include "flang/Optimizer/Dialect/FIRType.h"
+
 
 using namespace mlir;
 
@@ -48,4 +50,4 @@
 #include "flang/Optimizer/Dialect/FIROps.h.inc"
 
 
-#endif // OPTIMIZER_DIALECT_FIROPS_H
+#endif // FORTRAN_OPTIMIZER_DIALECT_FIROPS_H


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96912.324448.patch
Type: text/x-patch
Size: 913 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210217/1c634cf8/attachment.bin>


More information about the llvm-commits mailing list