projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be4f48d
)
Use `this->` to access inherited member from dependent type (Fix GCC7 build,...
author
Mehdi Amini
<aminim@google.com>
Mon, 1 Apr 2019 18:28:27 +0000
(11:28 -0700)
committer
Mehdi Amini
<joker.eph@gmail.com>
Mon, 1 Apr 2019 18:29:18 +0000
(11:29 -0700)
--
PiperOrigin-RevId:
241364505
mlir/include/mlir/IR/Types.h
patch
|
blob
|
history
diff --git
a/mlir/include/mlir/IR/Types.h
b/mlir/include/mlir/IR/Types.h
index
f44f86e
..
6cf5fbb
100644
(file)
--- a/
mlir/include/mlir/IR/Types.h
+++ b/
mlir/include/mlir/IR/Types.h
@@
-170,7
+170,7
@@
public:
}
/// Utility for easy access to the storage instance.
- ImplType *getImpl() const { return static_cast<ImplType *>(type); }
+ ImplType *getImpl() const { return static_cast<ImplType *>(t
his->t
ype); }
};
using ImplType = TypeStorage;