[PATCH] D46602: [clang-tidy] Store checks profiling info as YAML files

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 16 09:50:24 PDT 2018


alexfh added a comment.

A couple of comments from a cursory look. I'll try to look closer later this week.



================
Comment at: clang-tidy/ClangTidyDiagnosticConsumer.h:173
+  /// \brief Control storage of profile date.
+  void setStoreProfile(StringRef ProfilePrefix);
+  llvm::Optional<ClangTidyProfiling::StorageParams> getStoreProfile() const;
----------------
The name is misleading. I'd suggest using a name that unambiguously states that we're setting a prefix for profiling output files. Some ideas: setProfilePathPrefix, setStoredProfilePathPrefix, setProfileStorePathPrefix, setProfileResultsPathPrefix.


================
Comment at: clang-tidy/ClangTidyDiagnosticConsumer.h:174
+  void setStoreProfile(StringRef ProfilePrefix);
+  llvm::Optional<ClangTidyProfiling::StorageParams> getStoreProfile() const;
+
----------------
getProfileStorageParams?


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D46602





More information about the cfe-commits mailing list