Searched refs:diagLoc (Results 1 – 7 of 7) sorted by relevance
/external/clang/lib/ARCMigrate/ |
D | ARCMT.cpp | 36 FullSourceLoc diagLoc = I->getLocation(); in clearDiagnostic() local 39 !diagLoc.isBeforeInTranslationUnitThan(range.getBegin()) && in clearDiagnostic() 40 (diagLoc == range.getEnd() || in clearDiagnostic() 41 diagLoc.isBeforeInTranslationUnitThan(range.getEnd()))) { in clearDiagnostic() 65 FullSourceLoc diagLoc = I->getLocation(); in hasDiagnostic() local 68 !diagLoc.isBeforeInTranslationUnitThan(range.getBegin()) && in hasDiagnostic() 69 (diagLoc == range.getEnd() || in hasDiagnostic() 70 diagLoc.isBeforeInTranslationUnitThan(range.getEnd()))) { in hasDiagnostic()
|
/external/llvm-project/clang/lib/ARCMigrate/ |
D | ARCMT.cpp | 37 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()
|
/external/clang/lib/Sema/ |
D | SemaDeclObjC.cpp | 757 SourceLocation diagLoc; in checkTypeParamListConsistency() local 759 diagLoc = newTypeParams->begin()[prevTypeParams->size()]->getLocation(); in checkTypeParamListConsistency() 761 diagLoc = S.getLocForEndOfToken(newTypeParams->back()->getLocEnd()); in checkTypeParamListConsistency() 764 S.Diag(diagLoc, diag::err_objc_type_param_arity_mismatch) in checkTypeParamListConsistency() 796 SourceLocation diagLoc = newTypeParam->getVarianceLoc(); in checkTypeParamListConsistency() local 797 if (diagLoc.isInvalid()) in checkTypeParamListConsistency() 798 diagLoc = newTypeParam->getLocStart(); in checkTypeParamListConsistency() 800 auto diag = S.Diag(diagLoc, in checkTypeParamListConsistency()
|
D | SemaChecking.cpp | 6522 SourceLocation diagLoc; in CheckReturnStackAddr() local 6525 diagLoc = stackE->getLocStart(); in CheckReturnStackAddr() 6532 diagLoc = refVars[0]->getLocStart(); in CheckReturnStackAddr() 6538 S.Diag(diagLoc, diag::warn_ret_stack_addr_ref) << lhsType->isReferenceType() in CheckReturnStackAddr() 6541 S.Diag(diagLoc, diag::err_ret_local_block) << diagRange; in CheckReturnStackAddr() 6543 S.Diag(diagLoc, diag::warn_ret_addr_label) << diagRange; in CheckReturnStackAddr() 6545 S.Diag(diagLoc, diag::warn_ret_local_temp_addr_ref) in CheckReturnStackAddr()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaDeclObjC.cpp | 834 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()
|
/external/clang/lib/Parse/ |
D | ParseObjc.cpp | 2146 SourceLocation diagLoc = Tok.getLocation(); in ParseObjCAtImplementationDeclaration() local 2150 Diag(diagLoc, diag::err_objc_parameterized_implementation) in ParseObjCAtImplementationDeclaration() 2151 << SourceRange(diagLoc, PrevTokLocation); in ParseObjCAtImplementationDeclaration()
|
/external/llvm-project/clang/lib/Parse/ |
D | ParseObjc.cpp | 2127 SourceLocation diagLoc = Tok.getLocation(); in ParseObjCAtImplementationDeclaration() local 2131 Diag(diagLoc, diag::err_objc_parameterized_implementation) in ParseObjCAtImplementationDeclaration() 2132 << SourceRange(diagLoc, PrevTokLocation); in ParseObjCAtImplementationDeclaration()
|