]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Add “clang-format off/on” comments for old Clang-Format versions
authorJoel Rosdahl <joel@rosdahl.net>
Tue, 16 Jun 2020 19:45:57 +0000 (21:45 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 17 Jun 2020 07:16:37 +0000 (09:16 +0200)
src/Fd.hpp

index 72583ac32a48b71c3c85ffc19f4e9d051b1569df..19567b522391a0628f0bd37301f8414afb56d45f 100644 (file)
@@ -69,8 +69,10 @@ Fd::get() const
   return m_fd;
 }
 
+// clang-format off
 inline int
 Fd::operator*() const
+// clang-format on
 {
   assert(m_fd != -1);
   return m_fd;