aboutsummaryrefslogtreecommitdiffstats
path: root/slang_rs_check_ast.cpp
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2014-04-10 15:49:08 -0700
committerTim Murray <timmurray@google.com>2014-04-25 20:26:10 +0000
commitee4016d1247d3fbe50822de279d3da273d8aef4c (patch)
tree4e3ecc54070d38d679bd701da6d5a66995b3a23a /slang_rs_check_ast.cpp
parent2fded9d7407e1c6ded9b82c07e1d0ffbf21d5931 (diff)
downloadandroid_frameworks_compile_slang-ee4016d1247d3fbe50822de279d3da273d8aef4c.tar.gz
android_frameworks_compile_slang-ee4016d1247d3fbe50822de279d3da273d8aef4c.tar.bz2
android_frameworks_compile_slang-ee4016d1247d3fbe50822de279d3da273d8aef4c.zip
Update Slang for Clang/LLVM 3.5a.
Change-Id: Icd59efa1197098076555c505c31939866e504a83
Diffstat (limited to 'slang_rs_check_ast.cpp')
-rw-r--r--slang_rs_check_ast.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/slang_rs_check_ast.cpp b/slang_rs_check_ast.cpp
index 15859e3..b5cb024 100644
--- a/slang_rs_check_ast.cpp
+++ b/slang_rs_check_ast.cpp
@@ -152,7 +152,7 @@ void RSCheckAST::ValidateFunctionDecl(clang::FunctionDecl *FD) {
// Validate parameters for Filterscript.
size_t numParams = FD->getNumParams();
- clang::QualType resultType = FD->getResultType().getCanonicalType();
+ clang::QualType resultType = FD->getReturnType().getCanonicalType();
// We use FD as our NamedDecl in the case of a bad return type.
if (!RSExportType::ValidateType(Context, C, resultType, FD,