Extract checking code to its own check.cxx

Change-Id: I9d5b14c374ce62ac7b970faa30c38a5a76568ed4
This commit is contained in:
Stephan Bergmann
2016-03-08 21:22:34 +01:00
parent 6651aca57b
commit 7024c86b17
4 changed files with 284 additions and 255 deletions

View File

@@ -584,7 +584,7 @@ bool SalBool::isInSpecialMainFile(SourceLocation spellingLocation) const {
}
auto f = compiler.getSourceManager().getFilename(spellingLocation);
return f == SRCDIR "/cppu/qa/test_any.cxx"
|| f == SRCDIR "/cppu/source/uno/data.cxx"; // TODO: the offset checks
|| f == SRCDIR "/cppu/source/uno/check.cxx"; // TODO: the offset checks
}
bool SalBool::rewrite(SourceLocation location) {