diff options
Diffstat (limited to 'clang/lib/AST/ByteCode/Function.h')
| -rw-r--r-- | clang/lib/AST/ByteCode/Function.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/AST/ByteCode/Function.h b/clang/lib/AST/ByteCode/Function.h index 640bfa65644f..7fe9aeb11012 100644 --- a/clang/lib/AST/ByteCode/Function.h +++ b/clang/lib/AST/ByteCode/Function.h @@ -222,6 +222,10 @@ public: return ParamOffsets[ParamIndex]; } + PrimType getParamType(unsigned ParamIndex) const { + return ParamTypes[ParamIndex]; + } + private: /// Construct a function representing an actual function. Function(Program &P, FunctionDeclTy Source, unsigned ArgSize, |
