aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/CommandLineTest.cpp
diff options
context:
space:
mode:
authormydeveloperday <mydeveloperday@gmail.com>2019-12-06 17:36:56 +0000
committerpaulhoad <mydeveloperday@gmail.com>2019-12-06 17:36:56 +0000
commit79f8c20e2cb634c1b8e42f01b42fc5ab2a512d60 (patch)
treefde6360d84434567f07ca64663a68e3d3ed52042 /llvm/unittests/Support/CommandLineTest.cpp
parentb8e03ff50389d83dabf800203f689e227697c996 (diff)
downloadllvm-79f8c20e2cb634c1b8e42f01b42fc5ab2a512d60.zip
llvm-79f8c20e2cb634c1b8e42f01b42fc5ab2a512d60.tar.gz
llvm-79f8c20e2cb634c1b8e42f01b42fc5ab2a512d60.tar.bz2
update string comparison in clang-format.py
Summary: Python 3.8 introduces a SyntaxWarning about string comparisons with 'is'. This commit updates the string comparison in clang-format.py that is done with 'is not' to '!='. This should not break compatibility with older python versions (tested 3.4.9, 2.7.17, 2.7.5, 3.8.0). Reviewers: MyDeveloperDay, klimek, llvm-commits, cfe-commits Reviewed By: MyDeveloperDay, klimek Patch By: pseyfert Tags: #clang-format, #clang Differential Revision: https://reviews.llvm.org/D70664
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions