Adapt to upstream Clang/LLVM changes.
Change-Id: Ib81ad97246dbee060341e2690fb7f27e9e0298f4
diff --git a/slang_rs_object_ref_count.cpp b/slang_rs_object_ref_count.cpp
index f880307..b5996eb 100644
--- a/slang_rs_object_ref_count.cpp
+++ b/slang_rs_object_ref_count.cpp
@@ -402,6 +402,7 @@
clang::Expr *RefRSClearObjectFD =
clang::DeclRefExpr::Create(C,
clang::NestedNameSpecifierLoc(),
+ clang::SourceLocation(),
ClearObjectFD,
ClearObjectFD->getLocation(),
ClearObjectFDType,
@@ -513,6 +514,7 @@
clang::DeclRefExpr *RefrsIntIter =
clang::DeclRefExpr::Create(C,
clang::NestedNameSpecifierLoc(),
+ clang::SourceLocation(),
IIVD,
Loc,
C.IntTy,
@@ -707,6 +709,7 @@
RefRSStruct,
false,
clang::NestedNameSpecifierLoc(),
+ clang::SourceLocation(),
FD,
FoundDecl,
clang::DeclarationNameInfo(),
@@ -739,6 +742,7 @@
RefRSStruct,
false,
clang::NestedNameSpecifierLoc(),
+ clang::SourceLocation(),
FD,
FoundDecl,
clang::DeclarationNameInfo(),
@@ -790,6 +794,7 @@
clang::Expr *RefRSSetObjectFD =
clang::DeclRefExpr::Create(C,
clang::NestedNameSpecifierLoc(),
+ clang::SourceLocation(),
SetObjectFD,
Loc,
SetObjectFDType,
@@ -1031,6 +1036,7 @@
LHS,
false,
clang::NestedNameSpecifierLoc(),
+ clang::SourceLocation(),
FD,
FoundDecl,
clang::DeclarationNameInfo(),
@@ -1044,6 +1050,7 @@
RHS,
false,
clang::NestedNameSpecifierLoc(),
+ clang::SourceLocation(),
FD,
FoundDecl,
clang::DeclarationNameInfo(),
@@ -1150,6 +1157,7 @@
clang::DeclRefExpr *RefRSVar =
clang::DeclRefExpr::Create(C,
clang::NestedNameSpecifierLoc(),
+ clang::SourceLocation(),
VD,
Loc,
T->getCanonicalTypeInternal(),
@@ -1177,6 +1185,7 @@
clang::Expr *RefRSSetObjectFD =
clang::DeclRefExpr::Create(C,
clang::NestedNameSpecifierLoc(),
+ clang::SourceLocation(),
SetObjectFD,
Loc,
SetObjectFDType,
@@ -1195,6 +1204,7 @@
clang::DeclRefExpr *RefRSVar =
clang::DeclRefExpr::Create(C,
clang::NestedNameSpecifierLoc(),
+ clang::SourceLocation(),
VD,
Loc,
T->getCanonicalTypeInternal(),
@@ -1258,6 +1268,7 @@
clang::DeclRefExpr *RefRSVar =
clang::DeclRefExpr::Create(C,
clang::NestedNameSpecifierLoc(),
+ clang::SourceLocation(),
VD,
Loc,
T->getCanonicalTypeInternal(),