Remove support for Clang < 3.4

Change-Id: I81e97c5f720535b33dd3ce72d01151765e4e93a0
This commit is contained in:
Stephan Bergmann
2016-06-29 09:15:05 +02:00
parent 94809ea0d4
commit 733198de1b
34 changed files with 25 additions and 127 deletions

View File

@@ -11,7 +11,6 @@
#include <cstdlib>
#include <set>
#include "compat.hxx"
#include "plugin.hxx"
namespace {
@@ -209,7 +208,7 @@ bool Nullptr::isInLokIncludeFile(SourceLocation spellingLocation) const {
}
bool Nullptr::isFromCIncludeFile(SourceLocation spellingLocation) const {
return !compat::isInMainFile(compiler.getSourceManager(), spellingLocation)
return !compiler.getSourceManager().isInMainFile(spellingLocation)
&& (StringRef(
compiler.getSourceManager().getPresumedLoc(spellingLocation)
.getFilename())