aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRahul Joshi <jurahul@google.com>2020-12-01 11:19:59 -0800
committerRahul Joshi <jurahul@google.com>2020-12-01 13:36:25 -0800
commit6b043ecdb71bb0354cbd64d766cc21b7d20dca84 (patch)
treeaa30c378498db200ad01c41bb6bd38cee0f7d1dd /clang/lib/Frontend/CompilerInvocation.cpp
parent806a76c001233f2c70bf93c73fb955c64c1c080f (diff)
downloadllvm-6b043ecdb71bb0354cbd64d766cc21b7d20dca84.zip
llvm-6b043ecdb71bb0354cbd64d766cc21b7d20dca84.tar.gz
llvm-6b043ecdb71bb0354cbd64d766cc21b7d20dca84.tar.bz2
[MLIR] Fix genTypeInterfaceMethods() to work correctly with InferTypeOpInterface
- Change InferTypeOpInterface::inferResultTypes to use fully qualified types matching the ones generated by genTypeInterfaceMethods, so the redundancy can be detected. - Move genTypeInterfaceMethods() before genOpInterfaceMethods() so that the inferResultTypes method generated by genTypeInterfaceMethods() takes precedence over the declaration that might be generated by genOpInterfaceMethods() - Modified an op in the test dialect to exercise this (the modified op would fail to generate valid C++ code due to duplicate inferResultTypes methods). Differential Revision: https://reviews.llvm.org/D92414
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions