File tree Expand file tree Collapse file tree 3 files changed +8
-12
lines changed
include/clang/Interpreter Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -127,13 +127,15 @@ namespace Cpp {
127127 : m_Kind(K), m_DestructorCall(C), m_FD(Dtor) {}
128128
129129 // / Checks if the passed arguments are valid for the given function.
130- CPPINTEROP_API bool AreArgumentsValid (void * result, ArgList args, void * self) const ;
130+ CPPINTEROP_API bool AreArgumentsValid (void * result, ArgList args,
131+ void * self) const ;
131132
132133 // / This function is used for debugging, it reports when the function was
133134 // / called.
134- CPPINTEROP_API void ReportInvokeStart (void * result, ArgList args, void * self) const ;
135+ CPPINTEROP_API void ReportInvokeStart (void * result, ArgList args,
136+ void * self) const ;
135137 CPPINTEROP_API void ReportInvokeStart (void * object, unsigned long nary,
136- int withFree) const ;
138+ int withFree) const ;
137139 void ReportInvokeEnd () const ;
138140 public:
139141 Kind getKind () const { return m_Kind; }
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ namespace Cpp {
100100 static clang::ASTContext& getASTContext () { return getSema ().getASTContext (); }
101101
102102#define DEBUG_TYPE " jitcall"
103- CPPINTEROP_API bool JitCall::AreArgumentsValid (void * result, ArgList args,
103+ bool JitCall::AreArgumentsValid (void * result, ArgList args,
104104 void * self) const {
105105 bool Valid = true ;
106106 if (Cpp::IsConstructor (m_FD)) {
@@ -130,7 +130,7 @@ namespace Cpp {
130130 return Valid;
131131 }
132132
133- CPPINTEROP_API void JitCall::ReportInvokeStart (void * result, ArgList args, void * self) const {
133+ void JitCall::ReportInvokeStart (void * result, ArgList args, void * self) const {
134134 std::string Name;
135135 llvm::raw_string_ostream OS (Name);
136136 auto FD = (const FunctionDecl*) m_FD;
@@ -145,7 +145,7 @@ namespace Cpp {
145145 );
146146 }
147147
148- CPPINTEROP_API void JitCall::ReportInvokeStart (void * object, unsigned long nary,
148+ void JitCall::ReportInvokeStart (void * object, unsigned long nary,
149149 int withFree) const {
150150 std::string Name;
151151 llvm::raw_string_ostream OS (Name);
Original file line number Diff line number Diff line change @@ -25,9 +25,6 @@ add_cppinterop_unittest(CppInterOpTests
2525)
2626
2727if (EMSCRIPTEN)
28- target_compile_options (CppInterOpTests
29- PUBLIC "SHELL: -fexceptions"
30- )
3128
3229 target_link_options (CppInterOpTests
3330 PUBLIC "SHELL: -fexceptions"
@@ -74,9 +71,6 @@ target_link_libraries(DynamicLibraryManagerTests
7471)
7572
7673if (EMSCRIPTEN)
77- target_compile_options (DynamicLibraryManagerTests
78- PUBLIC "SHELL: -fexceptions"
79- )
8074
8175 target_link_options (DynamicLibraryManagerTests
8276 PUBLIC "SHELL: -fexceptions"
You can’t perform that action at this time.
0 commit comments