mirror of
https://github.com/github/codeql.git
synced 2026-05-04 05:05:12 +02:00
C++: replace getType().getUnspecifiedType()
This commit is contained in:
@@ -6,7 +6,7 @@ import cpp
|
||||
|
||||
from AnalysedString s, string str
|
||||
where
|
||||
if s.(StringLiteral).getType().getUnspecifiedType().(DerivedType).getBaseType() instanceof Wchar_t then (
|
||||
if s.(StringLiteral).getUnspecifiedType().(DerivedType).getBaseType() instanceof Wchar_t then (
|
||||
str = "[?]"
|
||||
) else (
|
||||
str = s.toString()
|
||||
|
||||
Reference in New Issue
Block a user