This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] UppercaseLiteralSuffixCheck: bugfix: ignore implicit code
AbandonedPublic

Authored by lebedev.ri on Oct 25 2018, 11:53 AM.

Details

Summary

The previous, clearly broken output:

/tmp/test.cpp:13:15: warning: integer literal has suffix 'le', which is not uppercase [hicpp-uppercase-literal-suffix]
for (auto i : table) {
              ^  ~~
                 LE

I'm so so sad that i'm only now discovering this brokenness.

Diff Detail