[clang-tools-extra] [clangd] Implement simple folding of preprocessor branches (rebased) (PR #121449)
Nathan Ridge via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 16 18:32:09 PST 2025
================
@@ -124,6 +124,9 @@ llvm::raw_ostream &operator<<(llvm::raw_ostream &,
/// The choices are stored in Conditional::Taken nodes.
void chooseConditionalBranches(DirectiveTree &, const TokenStream &Code);
+std::vector<Token::Range> pairDirectiveRanges(const DirectiveTree &Tree,
----------------
HighCommander4 wrote:
Please add a documentation comment similar to other function declarations in this header
https://github.com/llvm/llvm-project/pull/121449
More information about the cfe-commits
mailing list