Add support to encode function's template parameters.
[oota-llvm.git] / include / llvm / Analysis / DebugInfo.h
index 951fd3cf1f69f5a54cb750496dfa2708e0fe4030..276ac451c1f67d6dd4b02dc99f719afd2e4c9c53 100644 (file)
@@ -511,6 +511,7 @@ namespace llvm {
     bool describes(const Function *F);
 
     Function *getFunction() const { return getFunctionField(16); }
+    DIArray getTemplateParams() const { return getFieldAs<DIArray>(17); }
   };
 
   /// DIGlobalVariable - This is a wrapper for a global variable.