Skip to content

Commit bdabe79

Browse files
committed
Export LookupConstructors
1 parent a816f36 commit bdabe79

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

include/clang/Interpreter/CppInterOp.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,19 @@ namespace Cpp {
416416
CPPINTEROP_API bool ExistsFunctionTemplate(const std::string& name,
417417
TCppScope_t parent = nullptr);
418418

419+
/// Sets a list of all the constructor for a scope/class that is
420+
/// supplied as a parameter.
421+
///\param[in] name - This string is used as a constraint, that clients can use
422+
/// to ensure the constructors match the name that they provide
423+
///\param[in] parent - Pointer to the scope/class for which the constructors
424+
/// are being looked up
425+
/// to be retrieved
426+
///\param[out] funcs - vector of handles to all constructors found under the
427+
/// given scope
428+
CPPINTEROP_API void LookupConstructors(const std::string& name,
429+
TCppScope_t parent,
430+
std::vector<TCppFunction_t>& funcs);
431+
419432
/// Sets a list of all the Templated Methods that are in the Class that is
420433
/// supplied as a parameter.
421434
///\returns true if the lookup succeeded, and false if there are no candidates

0 commit comments

Comments
 (0)