Skip to content

Commit ca7dc6e

Browse files
committed
Remove dead code (gccxml)
This was a special case for gccxml. We are dropping gccxml support in the next release so this can be removed.
1 parent 692aa51 commit ca7dc6e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pygccxml/declarations/decl_printer.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,6 @@ def instance(self, inst):
107107
def is_builtin_decl(decl):
108108
if not decl.name.startswith('__builtin_'):
109109
return False
110-
# FIXME: This won't probably not work with CastXML.
111-
# It either needs to be removed or improved
112-
return decl.location and decl.location.file_name \
113-
and decl.location.file_name.endswith('gccxml_builtins.h')
114110

115111
@staticmethod
116112
def __nice_decl_name(inst):

0 commit comments

Comments
 (0)