mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
C++: Remove unused class UndefinedIdentifier
This commit is contained in:
@@ -27,15 +27,3 @@ class CannotOpenFile extends CompilerError {
|
||||
result = this.getMessage().regexpCapture("cannot open source file '([^']+)'", 1)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* An undefined identifier error.
|
||||
* Currently unused.
|
||||
*/
|
||||
class UndefinedIdentifier extends CompilerError {
|
||||
UndefinedIdentifier() { this.hasTag("undefined_identifier") }
|
||||
|
||||
string getIdentifier() {
|
||||
result = this.getMessage().regexpCapture("identifier '([^']+)' is undefined", 1)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user