[flang-commits] [flang] 80bdf9c - Revert "[fir] Update clang-tidy for the Optimizer directory"

Valentin Clement via flang-commits flang-commits at lists.llvm.org
Wed Oct 13 00:30:18 PDT 2021


Author: Valentin Clement
Date: 2021-10-13T09:29:54+02:00
New Revision: 80bdf9c180adcfc5b26b2b68c82ab39551b013fa

URL: https://github.com/llvm/llvm-project/commit/80bdf9c180adcfc5b26b2b68c82ab39551b013fa
DIFF: https://github.com/llvm/llvm-project/commit/80bdf9c180adcfc5b26b2b68c82ab39551b013fa.diff

LOG: Revert "[fir] Update clang-tidy for the Optimizer directory"

This reverts commit edec659f480f02642461cebd422ab35152cdfd23.

Added: 
    

Modified: 
    flang/include/flang/Optimizer/.clang-tidy
    flang/lib/Optimizer/.clang-tidy

Removed: 
    


################################################################################
diff  --git a/flang/include/flang/Optimizer/.clang-tidy b/flang/include/flang/Optimizer/.clang-tidy
index 9cc942b8870a2..9a0c8a6d4cbfb 100644
--- a/flang/include/flang/Optimizer/.clang-tidy
+++ b/flang/include/flang/Optimizer/.clang-tidy
@@ -1,19 +1,9 @@
 Checks: '-readability-braces-around-statements,readability-identifier-naming,llvm-include-order,clang-diagnostic-*'
 InheritParentConfig: true
 CheckOptions:
-  - key:             readability-identifier-naming.ClassCase
-    value:           CamelCase
-  - key:             readability-identifier-naming.EnumCase
-    value:           CamelCase
-  - key:             readability-identifier-naming.FunctionCase
-    value:           camelBack
   - key:             readability-identifier-naming.MemberCase
     value:           camelBack
   - key:             readability-identifier-naming.ParameterCase
     value:           camelBack
-  - key:             readability-identifier-naming.UnionCase
-    value:           CamelCase
   - key:             readability-identifier-naming.VariableCase
     value:           camelBack
-  - key:             readability-identifier-naming.IgnoreMainLikeFunctions
-    value:           1

diff  --git a/flang/lib/Optimizer/.clang-tidy b/flang/lib/Optimizer/.clang-tidy
index 9cc942b8870a2..9a0c8a6d4cbfb 100644
--- a/flang/lib/Optimizer/.clang-tidy
+++ b/flang/lib/Optimizer/.clang-tidy
@@ -1,19 +1,9 @@
 Checks: '-readability-braces-around-statements,readability-identifier-naming,llvm-include-order,clang-diagnostic-*'
 InheritParentConfig: true
 CheckOptions:
-  - key:             readability-identifier-naming.ClassCase
-    value:           CamelCase
-  - key:             readability-identifier-naming.EnumCase
-    value:           CamelCase
-  - key:             readability-identifier-naming.FunctionCase
-    value:           camelBack
   - key:             readability-identifier-naming.MemberCase
     value:           camelBack
   - key:             readability-identifier-naming.ParameterCase
     value:           camelBack
-  - key:             readability-identifier-naming.UnionCase
-    value:           CamelCase
   - key:             readability-identifier-naming.VariableCase
     value:           camelBack
-  - key:             readability-identifier-naming.IgnoreMainLikeFunctions
-    value:           1


        


More information about the flang-commits mailing list