diff options
Diffstat (limited to 'clang-tools-extra/cpp11-migrate/Core/Transform.h')
-rw-r--r-- | clang-tools-extra/cpp11-migrate/Core/Transform.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang-tools-extra/cpp11-migrate/Core/Transform.h b/clang-tools-extra/cpp11-migrate/Core/Transform.h index 651ee32e65f..1894d4464ce 100644 --- a/clang-tools-extra/cpp11-migrate/Core/Transform.h +++ b/clang-tools-extra/cpp11-migrate/Core/Transform.h @@ -131,6 +131,11 @@ public: DeferredChanges = 0; } + /// \brief Tests if the file containing \a Loc is allowed to be modified by + /// the Migrator. + bool isFileModifiable(const clang::SourceManager &SM, + const clang::SourceLocation &Loc) const; + /// \brief Called before parsing a translation unit for a FrontendAction. /// /// Transform uses this function to apply file overrides and start |