[all-commits] [llvm/llvm-project] 0ffbbc: Don't take the expression range into account when ...
Richard Smith via All-commits
all-commits at lists.llvm.org
Tue Sep 1 17:42:33 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 0ffbbce78de60f4f4d03d6ef97fe2f3bb4275e08
https://github.com/llvm/llvm-project/commit/0ffbbce78de60f4f4d03d6ef97fe2f3bb4275e08
Author: Richard Smith <richard at metafoo.co.uk>
Date: 2020-09-01 (Tue, 01 Sep 2020)
Changed paths:
M clang/lib/Sema/SemaChecking.cpp
M clang/test/Sema/unary-minus-integer-impcast.c
Log Message:
-----------
Don't take the expression range into account when looking for widening
of a unary - expression.
This fixes an issue where we'd produce bogus diagnostics, and also
should recover ~0.3% compile time.
More information about the All-commits
mailing list