A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://clang.llvm.org/doxygen/classclang_1_1DeclFilterCCC.html below:

clang: clang::DeclFilterCCC< C > Class Template Reference

Simple template class for restricting typo correction candidates to ones having a single Decl* of the given type. More...

template<class

C

>

class clang::DeclFilterCCC< C >

Simple template class for restricting typo correction candidates to ones having a single Decl* of the given type.

Definition at line 366 of file TypoCorrection.h.

Simple predicate used by the default RankCandidate to determine whether to return an edit distance of 0 or InvalidDistance.

This can be overridden by validators that only need to determine if a candidate is viable, without ranking potentially viable candidates. Only ValidateCandidate or RankCandidate need to be overridden by a callback wishing to check the viability of correction candidates. The default predicate always returns true if the candidate is not a type name or keyword, true for types if WantTypeSpecifiers is true, and true for keywords if WantTypeSpecifiers, WantExpressionKeywords, WantCXXNamedCasts, WantRemainingKeywords, or WantObjCSuper is true.

Reimplemented from clang::CorrectionCandidateCallback.

Definition at line 372 of file TypoCorrection.h.

References clang::C, and clang::TypoCorrection::getCorrectionDeclAs().


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4