Home
last modified time | relevance | path

Searched refs:KeepStack (Results 1 – 1 of 1) sorted by relevance

/llvm-project/clang-tools-extra/include-cleaner/lib/
H A DRecord.cpp263 if (!InMainFile || KeepStack.empty()) in checkForKeep()
265 KeepPragma &Top = KeepStack.back(); in checkForKeep()
273 KeepStack.pop_back(); // Pop immediately for single-line keep pragma. in checkForKeep()
311 KeepStack.push_back({CommentLine, false}); in HandleComment()
313 KeepStack.push_back({CommentLine, true}); in HandleComment()
314 } else if (Pragma->starts_with("end_keep") && !KeepStack.empty()) { in HandleComment()
315 assert(KeepStack.back().Block); in HandleComment()
316 KeepStack.pop_back(); in HandleComment()
398 std::vector<KeepPragma> KeepStack; member in clang::include_cleaner::PragmaIncludes::RecordPragma