[clang-tidy] Fix more false positives for bugprone-string-integer-assignment
authorClement Courbet <courbet@google.com>
Mon, 25 Mar 2019 08:18:00 +0000 (08:18 +0000)
committerClement Courbet <courbet@google.com>
Mon, 25 Mar 2019 08:18:00 +0000 (08:18 +0000)
commitd8e78022c63b9fc9af6260eef667231c929e9cee
treefb78d08f6e2f90a510b152fa8de7e5df5efa060a
parenta17287f08463eec72c31e6e13d7247a8e0ba35ca
[clang-tidy] Fix more false positives for bugprone-string-integer-assignment

Summary:
And add various tests gleaned for our codebase.

See PR27723.

Reviewers: JonasToth, alexfh, xazax.hun

Subscribers: rnkovacs, jdoerfert, cfe-commits

Tags: #clang

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

llvm-svn: 356871
clang-tools-extra/clang-tidy/bugprone/StringIntegerAssignmentCheck.cpp
clang-tools-extra/test/clang-tidy/bugprone-string-integer-assignment.cpp