Move 'snippet' queries to 'snippets' folders

This commit is contained in:
Arthur Baars
2019-07-25 15:38:25 +02:00
parent 30860daac4
commit bdce7d07c1
151 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
/**
* @name Throw exception of type
* @description Finds places where we throw `parse_error` or one of its sub-types
* @tags base
* class
* throw
* exception
*/
import cpp
from ThrowExpr throw
where throw.getType().(Class).getABaseClass*().getName() = "parse_error"
select throw