llvm-project/clang/unittests
mydeveloperday c81dd3d159 [clang-format] Handle shifts within conditions
In some situation shifts can be treated as a template, and is thus formatted as one. So, by doing a couple extra checks to assure that the condition doesn't contain a template, and is in fact a bit shift should solve this problem.

This is a fix for [[ https://bugs.llvm.org/show_bug.cgi?id=46969 | bug 46969 ]]

Reviewed By: MyDeveloperDay

Patch By: Saldivarcher

Differential Revision: https://reviews.llvm.org/D86581
2020-09-08 16:40:04 +01:00
..
AST Revert "[clang] Prevent that Decl::dump on a CXXRecordDecl deserialises further declarations." 2020-09-07 14:50:13 +02:00
ASTMatchers [clang] Add a matcher for template template parameters. 2020-08-11 16:01:36 +01:00
Analysis Assignment and Inc/Dec operators wouldn't register as a mutation when Implicit Paren Casts were present 2020-06-09 19:45:57 +01:00
Basic [ADT] Move FixedPoint.h from Clang to LLVM. 2020-08-20 10:29:45 +02:00
CodeGen [AIX] Static init frontend recovery and backend support 2020-08-10 10:10:49 -04:00
CrossTU [clang][NFC] Add a missing 'override' 2020-07-17 17:35:59 -07:00
DirectoryWatcher
Driver Reland: [clang driver] Move default module cache from system temporary directory 2020-06-27 05:35:15 -04:00
Format [clang-format] Handle shifts within conditions 2020-09-08 16:40:04 +01:00
Frontend Correctly set CompilingPCH in PrecompilePreambleAction. 2020-08-10 17:49:23 +02:00
Index [clang] Do not consider the template arguments of bases to be bases themselves 2020-09-01 19:18:03 -04:00
Lex
Rename
Rewrite
Sema
Serialization
StaticAnalyzer [analyzer] Fix out-of-tree only clang build by not relaying on private header 2020-07-31 10:28:14 +02:00
Tooling [SyntaxTree] Fix crash on functions with default arguments. 2020-09-08 09:49:30 +00:00
libclang [libclang] Add CXRewriter to libclang API 2020-09-04 14:17:03 -07:00
CMakeLists.txt Use INTERFACE_COMPILE_OPTIONS to disable -Wsuggest-override for any target that links to gtest 2020-07-27 08:37:01 -07:00