Skip to content

Commit f096fcf

Browse files
committed
Revert "Allow checks access to the SourceManager"
This reverts commit 74c85d6. * The change was not necessary. There are other means of accessing The SourceManager
1 parent 98a3801 commit f096fcf

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

ClangTidyDiagnosticConsumer.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,6 @@ class ClangTidyContext {
151151
/// This is called from the \c ClangTidyCheck base class.
152152
void setSourceManager(SourceManager *SourceMgr);
153153

154-
/// \brief Allow checks to access the SourceManager directly
155-
///
156-
SourceManager &getSourceManager() const { return DiagEngine->getSourceManager(); }
157-
158-
159154
/// \brief Should be called when starting to process new translation unit.
160155
void setCurrentFile(StringRef File);
161156

0 commit comments

Comments
 (0)