Skip to content

Commit 7144383

Browse files
committed
Swift: fix british spelling of behaviour
1 parent f9df8a6 commit 7144383

File tree

114 files changed

+168
-168
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+168
-168
lines changed

swift/codegen/templates/ql_class.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ module Generated {
6161
/**
6262
* {{>ql_property_doc}} *
6363
* This includes nodes from the "hidden" AST. It can be overridden in subclasses to change the
64-
* behaviour of both the `Immediate` and non-`Immediate` versions.
64+
* behavior of both the `Immediate` and non-`Immediate` versions.
6565
*/
6666
{{type}} getImmediate{{singular}}({{#is_repeated}}int index{{/is_repeated}}) {
6767
{{^ipa}}

swift/ql/lib/codeql/swift/generated/Callable.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module Generated {
1111
* Gets the self parameter of this callable, if it exists.
1212
*
1313
* This includes nodes from the "hidden" AST. It can be overridden in subclasses to change the
14-
* behaviour of both the `Immediate` and non-`Immediate` versions.
14+
* behavior of both the `Immediate` and non-`Immediate` versions.
1515
*/
1616
ParamDecl getImmediateSelfParam() {
1717
result =
@@ -34,7 +34,7 @@ module Generated {
3434
* Gets the `index`th parameter of this callable (0-based).
3535
*
3636
* This includes nodes from the "hidden" AST. It can be overridden in subclasses to change the
37-
* behaviour of both the `Immediate` and non-`Immediate` versions.
37+
* behavior of both the `Immediate` and non-`Immediate` versions.
3838
*/
3939
ParamDecl getImmediateParam(int index) {
4040
result =
@@ -62,7 +62,7 @@ module Generated {
6262
* Gets the body of this callable, if it exists.
6363
*
6464
* This includes nodes from the "hidden" AST. It can be overridden in subclasses to change the
65-
* behaviour of both the `Immediate` and non-`Immediate` versions.
65+
* behavior of both the `Immediate` and non-`Immediate` versions.
6666
*/
6767
BraceStmt getImmediateBody() {
6868
result =

swift/ql/lib/codeql/swift/generated/Locatable.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module Generated {
1010
* Gets the location associated with this element in the code, if it exists.
1111
*
1212
* This includes nodes from the "hidden" AST. It can be overridden in subclasses to change the
13-
* behaviour of both the `Immediate` and non-`Immediate` versions.
13+
* behavior of both the `Immediate` and non-`Immediate` versions.
1414
*/
1515
Location getImmediateLocation() {
1616
result =

swift/ql/lib/codeql/swift/generated/Location.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module Generated {
1010
* Gets the file of this location.
1111
*
1212
* This includes nodes from the "hidden" AST. It can be overridden in subclasses to change the
13-
* behaviour of both the `Immediate` and non-`Immediate` versions.
13+
* behavior of both the `Immediate` and non-`Immediate` versions.
1414
*/
1515
File getImmediateFile() {
1616
result =

swift/ql/lib/codeql/swift/generated/decl/AbstractStorageDecl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module Generated {
1010
* Gets the `index`th accessor declaration of this abstract storage declaration (0-based).
1111
*
1212
* This includes nodes from the "hidden" AST. It can be overridden in subclasses to change the
13-
* behaviour of both the `Immediate` and non-`Immediate` versions.
13+
* behavior of both the `Immediate` and non-`Immediate` versions.
1414
*/
1515
AccessorDecl getImmediateAccessorDecl(int index) {
1616
result =

swift/ql/lib/codeql/swift/generated/decl/Decl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module Generated {
1010
* Gets the module of this declaration.
1111
*
1212
* This includes nodes from the "hidden" AST. It can be overridden in subclasses to change the
13-
* behaviour of both the `Immediate` and non-`Immediate` versions.
13+
* behavior of both the `Immediate` and non-`Immediate` versions.
1414
*/
1515
ModuleDecl getImmediateModule() {
1616
result =

swift/ql/lib/codeql/swift/generated/decl/EnumCaseDecl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module Generated {
1212
* Gets the `index`th element of this enum case declaration (0-based).
1313
*
1414
* This includes nodes from the "hidden" AST. It can be overridden in subclasses to change the
15-
* behaviour of both the `Immediate` and non-`Immediate` versions.
15+
* behavior of both the `Immediate` and non-`Immediate` versions.
1616
*/
1717
EnumElementDecl getImmediateElement(int index) {
1818
result =

swift/ql/lib/codeql/swift/generated/decl/EnumElementDecl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module Generated {
1919
* Gets the `index`th parameter of this enum element declaration (0-based).
2020
*
2121
* This includes nodes from the "hidden" AST. It can be overridden in subclasses to change the
22-
* behaviour of both the `Immediate` and non-`Immediate` versions.
22+
* behavior of both the `Immediate` and non-`Immediate` versions.
2323
*/
2424
ParamDecl getImmediateParam(int index) {
2525
result =

swift/ql/lib/codeql/swift/generated/decl/ExtensionDecl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module Generated {
1414
* Gets the extended type declaration of this extension declaration.
1515
*
1616
* This includes nodes from the "hidden" AST. It can be overridden in subclasses to change the
17-
* behaviour of both the `Immediate` and non-`Immediate` versions.
17+
* behavior of both the `Immediate` and non-`Immediate` versions.
1818
*/
1919
NominalTypeDecl getImmediateExtendedTypeDecl() {
2020
result =

swift/ql/lib/codeql/swift/generated/decl/GenericContext.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module Generated {
1010
* Gets the `index`th generic type parameter of this generic context (0-based).
1111
*
1212
* This includes nodes from the "hidden" AST. It can be overridden in subclasses to change the
13-
* behaviour of both the `Immediate` and non-`Immediate` versions.
13+
* behavior of both the `Immediate` and non-`Immediate` versions.
1414
*/
1515
GenericTypeParamDecl getImmediateGenericTypeParam(int index) {
1616
result =

0 commit comments

Comments
 (0)