diff options
author | Sven Verdoolaege <skimo@kotnet.org> | 2011-10-13 16:26:02 +0200 |
---|---|---|
committer | Sven Verdoolaege <skimo@kotnet.org> | 2011-10-13 16:26:05 +0200 |
commit | 87c94064e8e1ac42eadc63bc375a905d5d0a0355 (patch) | |
tree | 85346f3957ff53de72183ca4e181df27d108b742 /interface | |
parent | 7a86dd8e531eb2affd78767385592869dc6bcbc0 (diff) | |
download | isl-87c94064e8e1ac42eadc63bc375a905d5d0a0355.tar.gz isl-87c94064e8e1ac42eadc63bc375a905d5d0a0355.tar.bz2 isl-87c94064e8e1ac42eadc63bc375a905d5d0a0355.zip |
interface/extract_interface.cc: adjust to rename of Diagnostic in clang
Reported-by: Tobias Grosser <tobias@grosser.es>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
Diffstat (limited to 'interface')
-rw-r--r-- | interface/extract_interface.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/extract_interface.cc b/interface/extract_interface.cc index 4f8723be..7b25a771 100644 --- a/interface/extract_interface.cc +++ b/interface/extract_interface.cc @@ -135,7 +135,7 @@ int main(int argc, char *argv[]) DiagnosticOptions DO; Clang->createDiagnostics(0, NULL, new TextDiagnosticPrinter(llvm::errs(), DO)); - Diagnostic &Diags = Clang->getDiagnostics(); + DiagnosticsEngine &Diags = Clang->getDiagnostics(); Diags.setSuppressSystemWarnings(true); Clang->createFileManager(); Clang->createSourceManager(Clang->getFileManager()); |