From 838fcc318ac7aded49c6001a8599fcbcbf376621 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Fri, 26 Mar 2010 20:14:36 +0000 Subject: Switch semantic analysis of the conditional operator from using CheckReferenceInit to using the new initialization sequence code. llvm-svn: 99647 --- clang/lib/Sema/SemaInit.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'clang/lib/Sema/SemaInit.h') 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. /// -- cgit v1.2.3