Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaDecl.cpp2495 SourceLocation OldLocation = Old->getLocation(); in getNoteDiagForInvalidRedeclaration() local
2500 if (OldLocation.isInvalid()) in getNoteDiagForInvalidRedeclaration()
2501 OldLocation = New->getLocation(); in getNoteDiagForInvalidRedeclaration()
2504 return std::make_pair(PrevDiag, OldLocation); in getNoteDiagForInvalidRedeclaration()
2600 SourceLocation OldLocation; in MergeFunctionDecl() local
2601 std::tie(PrevDiag, OldLocation) = in MergeFunctionDecl()
2615 Diag(OldLocation, PrevDiag); in MergeFunctionDecl()
2618 Diag(OldLocation, PrevDiag); in MergeFunctionDecl()
2684 Diag(OldLocation, diag::note_previous_declaration); in MergeFunctionDecl()
2696 Diag(OldLocation, diag::note_previous_declaration); in MergeFunctionDecl()
[all …]
DTreeTransform.h176 SourceLocation OldLocation; variable
182 OldLocation = Self.getDerived().getBaseLocation(); in TemporaryBase()
190 Self.getDerived().setBase(OldLocation, OldEntity); in ~TemporaryBase()