diff options
author | Volodymyr Sapsai <vsapsai@apple.com> | 2022-07-08 13:10:31 -0700 |
---|---|---|
committer | Volodymyr Sapsai <vsapsai@apple.com> | 2022-11-17 18:31:32 -0800 |
commit | a65d5309d5b73527efcbdec49a3ba9bba0fd873d (patch) | |
tree | 5cb02a9ebdeeb2b6a4b06ecf53feb8a8a05e59b4 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | 7059a6c32cfad8f272fad47265e3890cd7a1a7e1 (diff) | |
download | llvm-a65d5309d5b73527efcbdec49a3ba9bba0fd873d.zip llvm-a65d5309d5b73527efcbdec49a3ba9bba0fd873d.tar.gz llvm-a65d5309d5b73527efcbdec49a3ba9bba0fd873d.tar.bz2 |
[ODRHash] Detect duplicate `ObjCProtocolDecl` ODR mismatches during parsing.
When during parsing we encountered a duplicate `ObjCProtocolDecl`, we
were always emitting an error. With this change we accept
* when a previous `ObjCProtocolDecl` is in a hidden [sub]module;
* parsed `ObjCProtocolDecl` is the same as the previous one.
And in case of mismatches we provide more detailed error messages.
rdar://93069080
Differential Revision: https://reviews.llvm.org/D130327
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions