[PATCH] D140875: [clangd] prototype: Implement unused include warnings with include-cleaner library.
    Kadir Cetinkaya via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Thu Jan 19 04:44:04 PST 2023
    
    
  
kadircet accepted this revision.
kadircet added a comment.
This revision is now accepted and ready to land.
thanks!
================
Comment at: clang-tools-extra/clangd/ParsedAST.h:111
 
+  const include_cleaner::PragmaIncludes *getPragmaIncludes() const;
+
----------------
can you add a comment saying `might be null if AST is built without a preamble`?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140875/new/
https://reviews.llvm.org/D140875
    
    
More information about the cfe-commits
mailing list