Skip to content
Commit b57409f2 authored by Alex Lorenz's avatar Alex Lorenz
Browse files

[PR36008] Avoid -Wsign-compare warning for enum constants in

typeof expressions

This commit looks through typeof type at the original expression when diagnosing
-Wsign-compare to avoid an unfriendly diagnostic.

rdar://36588828

Differential Revision: https://reviews.llvm.org/D42561

llvm-svn: 324514
parent 3a775a17
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment