Add a check to prevent users from defining function names starting
witih "rs".

Change-Id: I2801d50b11439b37dd875957683bbf180c8df34a
diff --git a/slang_backend.hpp b/slang_backend.hpp
index 9546b20..f57eed6 100644
--- a/slang_backend.hpp
+++ b/slang_backend.hpp
@@ -13,6 +13,7 @@
 
 #include "clang/AST/ASTConsumer.h"          /* for class clang::ASTConsumer */
 #include "clang/CodeGen/CodeGenOptions.h"   /* for class clang::CodeGenOptions */
+#include "clang/Basic/SourceManager.h"      /* for class clang::SourceManager */
 
 namespace llvm {
 
@@ -46,6 +47,8 @@
     const CodeGenOptions& mCodeGenOpts;
     const TargetOptions& mTargetOpts;
 
+    SourceManager& mSourceMgr;
+
     /* Output stream */
     llvm::raw_ostream* mpOS;
     SlangCompilerOutputTy mOutputType;
@@ -117,7 +120,8 @@
             const TargetOptions& TargetOpts,
             const PragmaList& Pragmas,
             llvm::raw_ostream* OS,
-            SlangCompilerOutputTy OutputType);
+            SlangCompilerOutputTy OutputType,
+            SourceManager& SourceMgr);
 
     /*
      * Initialize - This is called to initialize the consumer, providing the