[clang] 2ca0ea1 - [Driver] Fix formatting as suggested by clang-format (NFC)

Dmitry Antipov via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 25 22:53:33 PDT 2020


Author: Dmitry Antipov
Date: 2020-09-26T08:52:51+03:00
New Revision: 2ca0ea15e5c910ff93874679f0a03c923fe85e5b

URL: https://github.com/llvm/llvm-project/commit/2ca0ea15e5c910ff93874679f0a03c923fe85e5b
DIFF: https://github.com/llvm/llvm-project/commit/2ca0ea15e5c910ff93874679f0a03c923fe85e5b.diff

LOG: [Driver] Fix formatting as suggested by clang-format (NFC)

Added: 
    

Modified: 
    clang/include/clang/Driver/Distro.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Driver/Distro.h b/clang/include/clang/Driver/Distro.h
index 1ebc682d8414..2b5ec9ab8eea 100644
--- a/clang/include/clang/Driver/Distro.h
+++ b/clang/include/clang/Driver/Distro.h
@@ -114,9 +114,7 @@ class Distro {
     return DistroVal == Fedora || (DistroVal >= RHEL5 && DistroVal <= RHEL7);
   }
 
-  bool IsOpenSUSE() const {
-    return DistroVal == OpenSUSE;
-  }
+  bool IsOpenSUSE() const { return DistroVal == OpenSUSE; }
 
   bool IsDebian() const {
     return DistroVal >= DebianLenny && DistroVal <= DebianBullseye;
@@ -126,13 +124,9 @@ class Distro {
     return DistroVal >= UbuntuHardy && DistroVal <= UbuntuGroovy;
   }
 
-  bool IsAlpineLinux() const {
-    return DistroVal == AlpineLinux;
-  }
+  bool IsAlpineLinux() const { return DistroVal == AlpineLinux; }
 
-  bool IsGentoo() const {
-    return DistroVal == Gentoo;
-  }
+  bool IsGentoo() const { return DistroVal == Gentoo; }
 
   /// @}
 };


        


More information about the cfe-commits mailing list