Skip to content

Commit 2429e22

Browse files
authored
Merge pull request #3548 from dbartol/github/codeql-c-analysis-team/69
C++: Fix duplicate result types
2 parents dea7be0 + df834ac commit 2429e22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/semmle/code/cpp/ir/internal/CppType.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ CppType getTypeForPRValueOrUnknown(Type type) {
362362
/**
363363
* Gets the `CppType` that represents a glvalue of type `type`.
364364
*/
365-
CppType getTypeForGLValue(Type type) { result.hasType(type, true) }
365+
CppGLValueAddressType getTypeForGLValue(Type type) { result.hasType(type, true) }
366366

367367
/**
368368
* Gets the `CppType` that represents a prvalue of type `int`.

0 commit comments

Comments
 (0)