Skip to content

Commit eabc69b

Browse files
committed
C++: Autoformat
1 parent 5d2b85f commit eabc69b

File tree

1 file changed

+3
-4
lines changed
  • cpp/ql/src/semmle/code/cpp/models/implementations

1 file changed

+3
-4
lines changed

cpp/ql/src/semmle/code/cpp/models/implementations/Getenv.qll

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
/**
22
* Provides an implementation class modeling the POSIX function `getenv`.
33
*/
4+
45
import cpp
56
import semmle.code.cpp.models.interfaces.FlowSource
67

78
/**
89
* The POSIX function `getenv`.
910
*/
1011
class Getenv extends LocalFlowFunction {
11-
Getenv() {
12-
this.hasGlobalName("getenv")
13-
}
12+
Getenv() { this.hasGlobalName("getenv") }
1413

15-
override predicate hasLocalFlowSource (FunctionOutput output, string description) {
14+
override predicate hasLocalFlowSource(FunctionOutput output, string description) {
1615
(
1716
output.isReturnValueDeref() or
1817
output.isReturnValue()

0 commit comments

Comments
 (0)