Support for local RS zero initialization.
Change-Id: I785cfc6ee53abb6c88ab5bdba5e7c8c16b8409de
diff --git a/slang_rs.h b/slang_rs.h
index 025861d..f50077e 100644
--- a/slang_rs.h
+++ b/slang_rs.h
@@ -27,6 +27,10 @@
#include "slang_rs_reflect_utils.h"
+namespace clang {
+ class FunctionDecl;
+}
+
namespace slang {
class RSContext;
class RSExportRecordType;
@@ -77,6 +81,11 @@
public:
static bool IsRSHeaderFile(const char *File);
+ // FIXME: Determine whether a function is in RS header (i.e., one of the RS
+ // built-in APIs) should only need its names (we need a "list" of RS
+ // built-in APIs).
+ static bool IsFunctionInRSHeaderFile(const clang::FunctionDecl *FD,
+ const clang::SourceManager &SourceMgr);
SlangRS();