File tree Expand file tree Collapse file tree
cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -154,13 +154,6 @@ private predicate ignoreSideEffects(Expr expr) {
154154 * around extractor bugs. Once the relevant extractor bugs are fixed, this predicate can be removed.
155155 */
156156private 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
164157 exists ( ThisExpr thisExpr |
165158 // An instantiation of a member function template is not treated as a `MemberFunction` if it has
166159 // only non-type template arguments.
You can’t perform that action at this time.
0 commit comments