forked from mobiruby/BridgeSupport
-
Notifications
You must be signed in to change notification settings - Fork 6
/
clang.patch
31 lines (25 loc) · 1.02 KB
/
clang.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Index: include/clang/Sema/Sema.h
===================================================================
--- include/clang/Sema/Sema.h (revision 316442)
+++ include/clang/Sema/Sema.h (working copy)
@@ -1157,7 +1157,7 @@
Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer,
TranslationUnitKind TUKind = TU_Complete,
CodeCompleteConsumer *CompletionConsumer = nullptr);
- ~Sema();
+ virtual ~Sema();
/// \brief Perform initialization that occurs after the parser has been
/// initialized but before it parses anything.
@@ -1267,7 +1267,7 @@
void emitAndClearUnusedLocalTypedefWarnings();
void ActOnStartOfTranslationUnit();
- void ActOnEndOfTranslationUnit();
+ virtual void ActOnEndOfTranslationUnit();
void CheckDelegatingCtorCycles();
@@ -3598,7 +3598,7 @@
return FullExprArg(FE.get());
}
- StmtResult ActOnExprStmt(ExprResult Arg);
+ virtual StmtResult ActOnExprStmt(ExprResult Arg);
StmtResult ActOnExprStmtError();
StmtResult ActOnNullStmt(SourceLocation SemiLoc,