Skip to content

Commit 7373667

Browse files
committed
CPP: Bits and bobs.
1 parent ab823f4 commit 7373667

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cpp/ql/src/semmle/code/cpp/Class.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ class Class extends UserType {
616616
override predicate isDeeplyConstBelow() { any() } // No subparts
617617

618618
/**
619-
* The alignment of this type in bytes (on the machine where facts were
619+
* Gets the alignment of this type in bytes (on the machine where facts were
620620
* extracted).
621621
*/
622622
override int getAlignment() { usertypesize(underlyingElement(this),_,result) }
@@ -640,8 +640,8 @@ class Class extends UserType {
640640
}
641641

642642
/**
643-
* Holds if or not this class/struct is polymorphic (has a virtual
644-
* function, or inherits one).
643+
* Holds if this class/struct is polymorphic (has a virtual function, or
644+
* inherits one).
645645
*/
646646
predicate isPolymorphic() {
647647
exists(MemberFunction f | f.getDeclaringType() = getABaseClass*() and f.isVirtual())

0 commit comments

Comments
 (0)