[clang] 6c0b9e3 - Remove extra switch from 0323938d

via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 11 07:16:33 PDT 2023


Author: erichkeane
Date: 2023-09-11T07:16:27-07:00
New Revision: 6c0b9e35761738726aded3b399db89eb0a86f82b

URL: https://github.com/llvm/llvm-project/commit/6c0b9e35761738726aded3b399db89eb0a86f82b
DIFF: https://github.com/llvm/llvm-project/commit/6c0b9e35761738726aded3b399db89eb0a86f82b.diff

LOG: Remove extra switch from  0323938d

Added: 
    

Modified: 
    clang/lib/AST/DeclPrinter.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/AST/DeclPrinter.cpp b/clang/lib/AST/DeclPrinter.cpp
index 397911894cc5d0d..748ed3721d23f92 100644
--- a/clang/lib/AST/DeclPrinter.cpp
+++ b/clang/lib/AST/DeclPrinter.cpp
@@ -277,7 +277,6 @@ static bool canPrintOnLeftSide(const Attr *A) {
 }
 
 static bool mustPrintOnLeftSide(attr::Kind kind) {
-  switch (kind) {
 #ifdef CLANG_ATTR_LIST_PrintOnLeft
   switch (kind) {
   CLANG_ATTR_LIST_PrintOnLeft


        


More information about the cfe-commits mailing list