Author: Jan Svoboda Date: 2022-02-15T12:39:43+01:00 New Revision: ef378d76b46091abfa548e698e5d7e03571bd5c1
URL: https://github.com/llvm/llvm-project/commit/ef378d76b46091abfa548e698e5d7e03571bd5c1 DIFF: https://github.com/llvm/llvm-project/commit/ef378d76b46091abfa548e698e5d7e03571bd5c1.diff LOG: [clang][lex] Remove misleading comment The resiliency to `HeaderSearch::Add{,System}SearchPath` is implemented in later patch (D116750). Added: Modified: clang/include/clang/Lex/HeaderSearch.h Removed: ################################################################################ diff --git a/clang/include/clang/Lex/HeaderSearch.h b/clang/include/clang/Lex/HeaderSearch.h index bfe3b07caaa8..2de46d727ece 100644 --- a/clang/include/clang/Lex/HeaderSearch.h +++ b/clang/include/clang/Lex/HeaderSearch.h @@ -167,8 +167,7 @@ namespace detail { template <bool Const, typename T> using Qualified = std::conditional_t<Const, const T, T>; -/// Forward iterator over the search directories of HeaderSearch. -/// Does not get invalidated by \c HeaderSearch::Add{,System}SearchPath. +/// Forward iterator over the search directories of \c HeaderSearch. template <bool IsConst> struct SearchDirIteratorImpl : llvm::iterator_facade_base<SearchDirIteratorImpl<IsConst>, _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits