Skip to content

Commit

Permalink
Clean up old list of file extensions (#1203)
Browse files Browse the repository at this point in the history
  • Loading branch information
peckto authored Jun 13, 2023
1 parent cf8375d commit 8b9b1c0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -638,8 +638,6 @@ class CXXLanguageFrontend(language: Language<CXXLanguageFrontend>, ctx: Translat
}

companion object {
@JvmField val CXX_EXTENSIONS = mutableListOf(".c", ".cpp", ".cc")
@JvmField val CXX_HEADER_EXTENSIONS = mutableListOf(".h", ".hpp")
private val LOGGER = LoggerFactory.getLogger(CXXLanguageFrontend::class.java)

private fun explore(node: IASTNode, indent: Int) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,6 @@ open class JavaLanguageFrontend(language: Language<JavaLanguageFrontend>, ctx: T
}

companion object {
@JvmField val JAVA_EXTENSIONS = listOf(".java")
const val THIS = "this"
const val ANNOTATION_MEMBER_VALUE = "value"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ class LLVMIRLanguageFrontend(language: Language<LLVMIRLanguageFrontend>, ctx: Tr
*/
var bindingsCache = mutableMapOf<String, Declaration>()

companion object {
@JvmField var LLVM_EXTENSIONS: List<String> = listOf(".ll")
}

override fun parse(file: File): TranslationUnitDeclaration {
var bench = Benchmark(this.javaClass, "Parsing sourcefile")
// clear the bindings cache, because it is just valid within one module
Expand Down

0 comments on commit 8b9b1c0

Please sign in to comment.