aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRahul Joshi <jurahul@google.com>2020-11-13 13:04:53 -0800
committerRahul Joshi <jurahul@google.com>2020-11-16 16:05:32 -0800
commitb7382ed3fea08da27530a6d6d53f168fc704e4c4 (patch)
tree12e064b297885aa42fe0f78ff5a6f2525defeb23 /clang/lib/Frontend/CompilerInvocation.cpp
parentfbceee2d63bd47f94d4b2b519e28184dddca90e2 (diff)
downloadllvm-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