diff options
author | John McCall <rjmccall@apple.com> | 2012-02-17 03:32:35 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2012-02-17 03:32:35 +0000 |
commit | c833deaa09f835bd2f4e8bbfcf6ecff1dbce8981 (patch) | |
tree | 6eb936197802f34bb1a75014923055f5cc3cc80c /clang/include | |
parent | 1e25a97ae2613cac034633d0e591b33af8e3c33f (diff) | |
download | bcm5719-llvm-c833deaa09f835bd2f4e8bbfcf6ecff1dbce8981.tar.gz bcm5719-llvm-c833deaa09f835bd2f4e8bbfcf6ecff1dbce8981.zip |
Block expressions always have a prototyped function type; expose this
in the AST accessor and micro-optimize it very slightly.
llvm-svn: 150787
Diffstat (limited to 'clang/include')
-rw-r--r-- | clang/include/clang/AST/Expr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/AST/Expr.h b/clang/include/clang/AST/Expr.h index 8a80803f01c..0f325bdcc91 100644 --- a/clang/include/clang/AST/Expr.h +++ b/clang/include/clang/AST/Expr.h @@ -4233,7 +4233,7 @@ public: } /// getFunctionType - Return the underlying function type for this block. - const FunctionType *getFunctionType() const; + const FunctionProtoType *getFunctionType() const; static bool classof(const Stmt *T) { return T->getStmtClass() == BlockExprClass; |