llvm-project/clang/tools/clang-format
mydeveloperday 79f8c20e2c 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
2019-12-06 17:36:56 +00:00
..
fuzzer Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CMakeLists.txt [clang-format] [RELAND] Remove the dependency on frontend 2019-11-06 17:33:37 +00:00
ClangFormat.cpp [clang-format] refactor the use of the SMDiagnostics in replacement warnings 2019-11-13 20:55:44 +00:00
clang-format-bbedit.applescript
clang-format-diff.py [clang-format] [PR36858] Add missing .hh and .cs extensions from python support utilities 2019-09-24 14:00:06 +00:00
clang-format-sublime.py [ClangFormat] Editor integrations inherit default style from clang-format binary 2019-05-17 07:22:55 +00:00
clang-format-test.el [Format] Fix clang-format.el unit tests after commit f349cc37cc 2019-11-11 17:55:38 +01:00
clang-format.el clang-format: Add a fallback style to Emacs mode 2019-11-06 09:50:54 +00:00
clang-format.py update string comparison in clang-format.py 2019-12-06 17:36:56 +00:00
git-clang-format [clang-format] [PR36858] Add missing .hh and .cs extensions from python support utilities 2019-09-24 14:00:06 +00:00