[PATCH] D124687: [Tooling/DependencyScanning & Preprocessor] Refactor dependency scanning to record and use pre-lexed preprocessor directive tokens, instead of minimized sources

Jan Svoboda via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 5 03:57:46 PDT 2022


jansvoboda11 added inline comments.


================
Comment at: clang/include/clang/Lex/PreprocessorOptions.h:213
+  std::function<Optional<ArrayRef<dependency_directives_scan::Directive>>(
+      FileEntryRef)>
+      DependencyDirectivesForFile;
----------------
You'll need to `#include "clang/Basic/FileEntry.h"`. Build with modules fails otherwise.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124687/new/

https://reviews.llvm.org/D124687



More information about the cfe-commits mailing list