summaryrefslogtreecommitdiffstats
path: root/clang/lib/ARCMigrate/Internals.h
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-06-18 00:53:41 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-06-18 00:53:41 +0000
commit90b6a2a6a78273b0df86485c887bb66c3daaaadf (patch)
tree1c061ed10b66cdc3877a25cdaa9a9da3d9298823 /clang/lib/ARCMigrate/Internals.h
parent0f3f9f78f8e8b0e13cef69edf22bc62860f5e9ea (diff)
downloadbcm5719-llvm-90b6a2a6a78273b0df86485c887bb66c3daaaadf.tar.gz
bcm5719-llvm-90b6a2a6a78273b0df86485c887bb66c3daaaadf.zip
[arcmt] Fix the ARC migrator. -arcmt-modify requires running before the initialization of SourceManager
because it is going to modify the input file. llvm-svn: 133323
Diffstat (limited to 'clang/lib/ARCMigrate/Internals.h')
-rw-r--r--clang/lib/ARCMigrate/Internals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/ARCMigrate/Internals.h b/clang/lib/ARCMigrate/Internals.h
index d0d545ec517..4f9b138a06c 100644
--- a/clang/lib/ARCMigrate/Internals.h
+++ b/clang/lib/ARCMigrate/Internals.h
@@ -30,6 +30,8 @@ public:
bool hasDiagnostic(llvm::ArrayRef<unsigned> IDs, SourceRange range) const;
void reportDiagnostics(Diagnostic &diags) const;
+
+ bool hasErrors() const;
};
class TransformActions {
OpenPOWER on IntegriCloud