Skip to content

Commit 62fb314

Browse files
committed
C++: Refine comment removing outdate workaround reference
1 parent 785e027 commit 62fb314

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedElement.qll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -752,8 +752,7 @@ newtype TTranslatedElement =
752752
} or
753753
// The initialization of a base class from within a constructor.
754754
TTranslatedConstructorBaseInit(ConstructorBaseInit init) { not ignoreExpr(init) } or
755-
// Workaround for a case where no base constructor is generated but a targetless base
756-
// constructor call is present.
755+
// Case where no base constructor is generated but a targetless base constructor call is present.
757756
TTranslatedConstructorBareInit(ConstructorInit init) {
758757
not ignoreExpr(init) and
759758
not init instanceof ConstructorBaseInit and

cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedInitialization.qll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,8 +1036,6 @@ class TranslatedDestructorBaseDestruction extends TranslatedBaseStructorCall,
10361036

10371037
/**
10381038
* A constructor base init call where no base constructor has been generated.
1039-
*
1040-
* Workaround for an extractor issue.
10411039
*/
10421040
class TranslatedConstructorBareInit extends TranslatedElement, TTranslatedConstructorBareInit {
10431041
ConstructorInit init;

0 commit comments

Comments
 (0)