File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -154,13 +154,6 @@ private predicate ignoreSideEffects(Expr expr) {
154
154
* around extractor bugs. Once the relevant extractor bugs are fixed, this predicate can be removed.
155
155
*/
156
156
private predicate isInvalidFunction ( Function func ) {
157
- exists ( Literal literal |
158
- // Constructor field inits within a compiler-generated copy constructor have a source expression
159
- // that is a `Literal` with no value.
160
- literal = func .( Constructor ) .getAnInitializer ( ) .( ConstructorFieldInit ) .getExpr ( ) and
161
- not exists ( literal .getValue ( ) )
162
- )
163
- or
164
157
exists ( ThisExpr thisExpr |
165
158
// An instantiation of a member function template is not treated as a `MemberFunction` if it has
166
159
// only non-type template arguments.
You can’t perform that action at this time.
0 commit comments