]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
style: Use uppercase literal suffixes
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 15 Aug 2021 20:06:29 +0000 (22:06 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 16 Aug 2021 18:12:04 +0000 (20:12 +0200)
src/core/Sloppiness.hpp

index a1aa9564d6aa58959ecf36937ccc242418e4b260..917526bf40061e2b70cca8edb7c7a0fae7875f16 100644 (file)
 namespace core {
 
 enum class Sloppy : uint32_t {
-  none = 0u,
+  none = 0U,
 
-  include_file_mtime = 1u << 0,
-  include_file_ctime = 1u << 1,
-  time_macros = 1u << 2,
-  pch_defines = 1u << 3,
+  include_file_mtime = 1U << 0,
+  include_file_ctime = 1U << 1,
+  time_macros = 1U << 2,
+  pch_defines = 1U << 3,
   // Allow us to match files based on their stats (size, mtime, ctime), without
   // looking at their contents.
-  file_stat_matches = 1u << 4,
+  file_stat_matches = 1U << 4,
   // Allow us to not include any system headers in the manifest include files,
   // similar to -MM versus -M for dependencies.
-  system_headers = 1u << 5,
+  system_headers = 1U << 5,
   // Allow us to ignore ctimes when comparing file stats, so we can fake mtimes
   // if we want to (it is much harder to fake ctimes, requires changing clock)
-  file_stat_matches_ctime = 1u << 6,
+  file_stat_matches_ctime = 1U << 6,
   // Allow us to not include the -index-store-path option in the manifest hash.
-  clang_index_store = 1u << 7,
+  clang_index_store = 1U << 7,
   // Ignore locale settings.
-  locale = 1u << 8,
+  locale = 1U << 8,
   // Allow caching even if -fmodules is used.
-  modules = 1u << 9,
+  modules = 1U << 9,
   // Ignore virtual file system (VFS) overlay file.
-  ivfsoverlay = 1u << 10,
+  ivfsoverlay = 1U << 10,
 };
 
 class Sloppiness