codeql
codeql copied to clipboard
Could not resolve type BarrierGuard
trafficstars
I use codeql and vscode, when "import semmle.code.cpp.dataflow.DataFlow". There many error
Error in transitively-imported module: D:\codeql\codeql-repo\cpp\ql\lib\semmle\code\cpp\dataflow\internal\DataFlowImpl.qll:98,39-51: Could not resolve type BarrierGuard
Error in transitively-imported module: D:\codeql\codeql-repo\cpp\ql\lib\semmle\code\cpp\dataflow\internal\DataFlowImpl.qll:106,39-51: Could not resolve type BarrierGuard
Error in transitively-imported module: D:\codeql\codeql-repo\cpp\ql\lib\semmle\code\cpp\dataflow\internal\DataFlowImpl.qll:353,12-24: Could not resolve type BarrierGuard
Error in transitively-imported module: D:\codeql\codeql-repo\cpp\ql\lib\semmle\code\cpp\dataflow\internal\DataFlowImpl.qll:360,12-24: Could not resolve type BarrierGuard
Error in transitively-imported module: D:\codeql\codeql-repo\cpp\ql\lib\semmle\code\cpp\dataflow\internal\DataFlowUtil.qll:867,20-21: unexpected input '<' expecting one of: '=', '{'
Error in transitively-imported module: D:\codeql\codeql-repo\cpp\ql\lib\semmle\code\cpp\dataflow\internal\DataFlowUtil.qll:876,1-2: unexpected input '}' expecting one of: 'and', 'implies', 'in', 'instanceof', 'or', '<', '<=', '=', '>', '>=', '-', ',', '!=', '/', '.', ')', '*', '%', '+'
Error in transitively-imported module: D:\codeql\codeql-repo\cpp\ql\lib\semmle\code\cpp\dataflow\internal\DataFlowUtil.qll:872,7-18: Could not resolve predicate guardChecks/3
Error in transitively-imported module: D:\codeql\codeql-repo\cpp\ql\lib\semmle\code\cpp\dataflow\internal\DataFlowImplLocal.qll:98,39-51: Could not resolve type BarrierGuard
Error in transitively-imported module: D:\codeql\codeql-repo\cpp\ql\lib\semmle\code\cpp\dataflow\internal\DataFlowImplLocal.qll:106,39-51: Could not resolve type BarrierGuard
Error in transitively-imported module: D:\codeql\codeql-repo\cpp\ql\lib\semmle\code\cpp\dataflow\internal\DataFlowImplLocal.qll:353,12-24: Could not resolve type BarrierGuard
Error in transitively-imported module: D:\codeql\codeql-repo\cpp\ql\lib\semmle\code\cpp\dataflow\internal\DataFlowImplLocal.qll:360,12-24: Could not resolve type BarrierGuard
Thank you for your report. I will need some more information:
- What version of the codeql cli are you using in your workspace?
- What is the full file contents of the ql file you are editing?
- What is the directory structure of your workspace? (You can attach a screenshot of vscode's file explorer)
- Have you made any changes to your codeql repo checkout?
This issue is stale because it has been open 14 days with no activity. Comment or remove the Stale label in order to avoid having this issue closed in 7 days.
This issue was closed because it has been inactive for 7 days.