diff options
author | Rahul Joshi <jurahul@google.com> | 2020-11-13 13:04:53 -0800 |
---|---|---|
committer | Rahul Joshi <jurahul@google.com> | 2020-11-16 16:05:32 -0800 |
commit | b7382ed3fea08da27530a6d6d53f168fc704e4c4 (patch) | |
tree | 12e064b297885aa42fe0f78ff5a6f2525defeb23 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | fbceee2d63bd47f94d4b2b519e28184dddca90e2 (diff) | |
download | llvm-b7382ed3fea08da27530a6d6d53f168fc704e4c4.zip llvm-b7382ed3fea08da27530a6d6d53f168fc704e4c4.tar.gz llvm-b7382ed3fea08da27530a6d6d53f168fc704e4c4.tar.bz2 |
[MLIR] Extend Symbol verification to reject public symbol declarations.
- Extend the Symbol interface with `isDeclaration` to identify operations that declare
a symbol as opposed to define it.
- Extend verification to disallow public declarations as per the discussion in
https://llvm.discourse.group/t/rfc-symbol-definition-declaration-x-visibility-checks/2140
- Adopt the new interface for `FuncOp` and fix test and code to not have/create public
function declarations.
Differential Revision: https://reviews.llvm.org/D91456
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions