reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Edit/Commit.cpp
  251   if (loc.isInvalid())
  255   SourceLocation spellLoc = SourceMgr.getSpellingLoc(loc);
  257   AfterLoc = loc.getLocWithOffset(tokLen);
  259   if (loc.isMacroID())
  260     isAtEndOfMacroExpansion(loc, &loc);
  260     isAtEndOfMacroExpansion(loc, &loc);
  263   loc = SM.getTopMacroCallerLoc(loc);
  263   loc = SM.getTopMacroCallerLoc(loc);
  265   if (loc.isMacroID())
  266     if (!isAtEndOfMacroExpansion(loc, &loc))
  266     if (!isAtEndOfMacroExpansion(loc, &loc))
  269   if (SM.isInSystemHeader(loc))
  272   loc = Lexer::getLocForEndOfToken(loc, 0, SourceMgr, LangOpts);
  272   loc = Lexer::getLocForEndOfToken(loc, 0, SourceMgr, LangOpts);
  273   if (loc.isInvalid())
  276   std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc);
  280   return canInsertInOffset(loc, offs);