Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e25c578

Browse files
C++: Use #if 0 instead of comment to exclude broken test case.
1 parent 2e752f4 commit e25c578

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • cpp/ql/test/library-tests/ir/ir

cpp/ql/test/library-tests/ir/ir/ir.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,8 +1032,7 @@ void Lambda(int x, const String& s) {
10321032
lambda_inits(6);
10331033
}
10341034

1035-
/*
1036-
Explicit capture of `this` requires possible extractor fixes.
1035+
#if 0 // Explicit capture of `this` requires possible extractor fixes.
10371036

10381037
struct LambdaContainer {
10391038
int x;
@@ -1047,6 +1046,7 @@ struct LambdaContainer {
10471046
lambda_explicit_this_bycopy(3);
10481047
}
10491048
};
1050-
*/
1049+
1050+
#endif
10511051

10521052
// semmle-extractor-options: -std=c++17

0 commit comments

Comments
 (0)