Remove support for Clang < 3.4
Change-Id: I81e97c5f720535b33dd3ce72d01151765e4e93a0
This commit is contained in:
@@ -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())
|
||||
|
Reference in New Issue
Block a user