Searched refs:AssertLoc (Results 1 – 2 of 2) sorted by relevance
112 SourceLocation AssertLoc = SM.getImmediateMacroCallerLoc(AssertExpansionLoc); in check() local116 if (AssertLoc.isValid() && !AssertLoc.isMacroID() && in check()117 (LastParenLoc = getLastParenLoc(ASTCtx, AssertLoc)).isValid()) { in check()119 FixItHint::CreateReplacement(SourceRange(AssertLoc), "static_assert")); in check()134 diag(AssertLoc, "found assert() that could be replaced by static_assert()") in check()139 SourceLocation AssertLoc) { in getLastParenLoc() argument144 SM.getBufferOrNone(SM.getFileID(AssertLoc)); in getLastParenLoc()148 const char *BufferPos = SM.getCharacterData(AssertLoc); in getLastParenLoc()151 Lexer Lexer(SM.getLocForStartOfFile(SM.getFileID(AssertLoc)), Opts, in getLastParenLoc()
36 SourceLocation AssertLoc);