Home
last modified time | relevance | path

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

/netbsd/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DARCMT.cpp37 FullSourceLoc diagLoc = I->getLocation(); in clearDiagnostic() local
40 !diagLoc.isBeforeInTranslationUnitThan(range.getBegin()) && in clearDiagnostic()
41 (diagLoc == range.getEnd() || in clearDiagnostic()
42 diagLoc.isBeforeInTranslationUnitThan(range.getEnd()))) { in clearDiagnostic()
66 FullSourceLoc diagLoc = I->getLocation(); in hasDiagnostic() local
69 !diagLoc.isBeforeInTranslationUnitThan(range.getBegin()) && in hasDiagnostic()
70 (diagLoc == range.getEnd() || in hasDiagnostic()
71 diagLoc.isBeforeInTranslationUnitThan(range.getEnd()))) { in hasDiagnostic()
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaDeclObjC.cpp834 SourceLocation diagLoc; in checkTypeParamListConsistency() local
836 diagLoc = newTypeParams->begin()[prevTypeParams->size()]->getLocation(); in checkTypeParamListConsistency()
838 diagLoc = S.getLocForEndOfToken(newTypeParams->back()->getEndLoc()); in checkTypeParamListConsistency()
841 S.Diag(diagLoc, diag::err_objc_type_param_arity_mismatch) in checkTypeParamListConsistency()
873 SourceLocation diagLoc = newTypeParam->getVarianceLoc(); in checkTypeParamListConsistency() local
874 if (diagLoc.isInvalid()) in checkTypeParamListConsistency()
875 diagLoc = newTypeParam->getBeginLoc(); in checkTypeParamListConsistency()
877 auto diag = S.Diag(diagLoc, in checkTypeParamListConsistency()
/netbsd/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseObjc.cpp2131 SourceLocation diagLoc = Tok.getLocation(); in ParseObjCAtImplementationDeclaration() local
2135 Diag(diagLoc, diag::err_objc_parameterized_implementation) in ParseObjCAtImplementationDeclaration()
2136 << SourceRange(diagLoc, PrevTokLocation); in ParseObjCAtImplementationDeclaration()