Skip to content

Commit bbb2847

Browse files
authored
Merge pull request #8323 from erik-krogh/acronyms
Enforcing consistent casing of acronyms
2 parents 5c04516 + 1e36561 commit bbb2847

File tree

439 files changed

+3841
-2449
lines changed

Some content is hidden

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

439 files changed

+3841
-2449
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
category: deprecated
3+
---
4+
* Many classes/predicates/modules that had upper-case acronyms have been renamed to follow our style-guide.
5+
The old name still exists as a deprecated alias.

cpp/ql/lib/semmle/code/cpp/Print.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ private import PrintAST
88
private predicate shouldPrintDeclaration(Declaration decl) {
99
not decl instanceof Function
1010
or
11-
not exists(PrintASTConfiguration c)
11+
not exists(PrintAstConfiguration c)
1212
or
13-
exists(PrintASTConfiguration config | config.shouldPrintFunction(decl))
13+
exists(PrintAstConfiguration config | config.shouldPrintFunction(decl))
1414
}
1515

1616
/**

cpp/ql/lib/semmle/code/cpp/PrintAST.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import PrintAST
1212
* Temporarily tweak this class or make a copy to control which functions are
1313
* printed.
1414
*/
15-
class Cfg extends PrintASTConfiguration {
15+
class Cfg extends PrintAstConfiguration {
1616
/**
1717
* TWEAK THIS PREDICATE AS NEEDED.
1818
* Holds if the AST for `func` should be printed.

0 commit comments

Comments
 (0)