Skip to content

Commit 2568411

Browse files
committed
clang-wrapper.cc: add more "section separators"
Change-Id: I8f2509d92320b2161c35f1f3fe572080e9bf36af TN: V916-015
1 parent a0b05e8 commit 2568411

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/gnatcov/clang-wrapper.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,8 @@ clang_CXRewriter_insertTextAfterToken (CXRewriter Rew, CXSourceLocation Loc,
472472
R.InsertTextAfterToken (clang::cxloc::translateSourceLocation (Loc), Insert);
473473
}
474474

475+
/* Wrappers around source location analysis functions. */
476+
475477
extern "C" unsigned
476478
clang_isMacroLocation (CXSourceLocation Loc)
477479
{
@@ -550,6 +552,8 @@ clang_getCursorTU (CXCursor C)
550552
return cxcursor::getCursorTU (C);
551553
}
552554

555+
/* Debug helpers. */
556+
553557
extern "C" void
554558
clang_printLocation (CXTranslationUnit TU, CXSourceLocation Loc)
555559
{

0 commit comments

Comments
 (0)