summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaInit.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-03-26 20:14:36 +0000
committerDouglas Gregor <dgregor@apple.com>2010-03-26 20:14:36 +0000
commit838fcc318ac7aded49c6001a8599fcbcbf376621 (patch)
treecdbbf32fdb9b189ba3ee8aaabd4b2998539faa9f /clang/lib/Sema/SemaInit.h
parent108abc67261ab36cfd7104efed73a25d6bb57736 (diff)
downloadbcm5719-llvm-838fcc318ac7aded49c6001a8599fcbcbf376621.tar.gz
bcm5719-llvm-838fcc318ac7aded49c6001a8599fcbcbf376621.zip
Switch semantic analysis of the conditional operator from using
CheckReferenceInit to using the new initialization sequence code. llvm-svn: 99647
Diffstat (limited to 'clang/lib/Sema/SemaInit.h')
-rw-r--r--clang/lib/Sema/SemaInit.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaInit.h b/clang/lib/Sema/SemaInit.h
index 18a0938f7c0..d57679ab757 100644
--- a/clang/lib/Sema/SemaInit.h
+++ b/clang/lib/Sema/SemaInit.h
@@ -599,6 +599,13 @@ public:
step_iterator step_begin() const { return Steps.begin(); }
step_iterator step_end() const { return Steps.end(); }
+ /// \brief Determine whether this initialization is a direct reference
+ /// binding (C++ [dcl.init.ref]).
+ bool isDirectReferenceBinding() const;
+
+ /// \brief Determine whether this initialization failed due to an ambiguity.
+ bool isAmbiguous() const;
+
/// \brief Add a new step in the initialization that resolves the address
/// of an overloaded function to a specific function declaration.
///
OpenPOWER on IntegriCloud