aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorBenson Chu <bensonchu457@gmail.com>2020-06-19 17:01:03 -0700
committerEli Friedman <efriedma@quicinc.com>2020-06-19 17:01:03 -0700
commitc310bf8256f83f365921562cebc5e4c9aec8e87e (patch)
treec171ce1dfa99a6f7e6fdff12fdbf9a82222161cf /clang/lib/Frontend/CompilerInvocation.cpp
parentac716c0cc42afc8a179751794da5c661a9ca3f30 (diff)
downloadllvm-c310bf8256f83f365921562cebc5e4c9aec8e87e.zip
llvm-c310bf8256f83f365921562cebc5e4c9aec8e87e.tar.gz
llvm-c310bf8256f83f365921562cebc5e4c9aec8e87e.tar.bz2
[Sema] Comparison of pointers to complete and incomplete types
Clang is missing one of the conditions for C99 6.5.9p2, where comparison between pointers must either both point to incomplete types or both point to complete types. This patch adds an extra check to the clause where two pointers are of compatible types. This only applies to C89/C99; the relevant part of the standard was rewritten for C11. Differential Revision: https://reviews.llvm.org/D79945
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions