aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaInit.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Sema/SemaInit.h')
-rw-r--r--lib/Sema/SemaInit.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Sema/SemaInit.h b/lib/Sema/SemaInit.h
index c42badd3f8..1987ad0734 100644
--- a/lib/Sema/SemaInit.h
+++ b/lib/Sema/SemaInit.h
@@ -195,7 +195,11 @@ public:
/// \brief Retrieve the name of the entity being initialized.
DeclarationName getName() const;
-
+
+ /// \brief Retrieve the variable, parameter, or field being
+ /// initialized.
+ DeclaratorDecl *getDecl() const;
+
/// \brief Determine the location of the 'return' keyword when initializing
/// the result of a function call.
SourceLocation getReturnLoc() const {