]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Add comments for Result::FileType values
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 7 Oct 2020 19:07:59 +0000 (21:07 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 7 Oct 2020 19:07:59 +0000 (21:07 +0200)
src/Result.hpp

index e8e6f97a86650a9d06df0be19b2f0782eac28b13..130c32420366213aef89b6ddec7a510d5d225ed9 100644 (file)
@@ -43,12 +43,28 @@ enum class FileType : UnderlyingFileTypeInt {
   // These values are written into the cache result file. This means they must
   // never be changed or removed unless the result file version is incremented.
   // Adding new values is OK.
+
+  // The main output specified with -o or implicitly from the input filename.
   object = 0,
+
+  // Dependency file specified with -MF or implicitly from the output filename.
   dependency = 1,
+
+  // Text sent to standard output.
   stderr_output = 2,
+
+  // Coverage notes file generated by -ftest-coverage.
   coverage = 3,
+
+  // Stack usage file generated by -fstack-usage, i.e. output file but with a
+  // .su extension.
   stackusage = 4,
+
+  // Diagnostics output file specified by --serialize-diagnostics.
   diagnostic = 5,
+
+  // DWARF object file geenrated by -gsplit-dwarf, i.e. output file but with a
+  // .dwo extension.
   dwarf_object = 6,
 };