summaryrefslogtreecommitdiff
path: root/gcc/tree-flow-inline.h
diff options
context:
space:
mode:
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2007-08-10 15:42:54 +0000
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2007-08-10 15:42:54 +0000
commitc27a314d42978b2879aed3b4735ce28283f8a3ad (patch)
treec260421c91e5e33644604cf63e1941f6de00d096 /gcc/tree-flow-inline.h
parent6107a46e07d2968c5b2f0c0274cfd871766b3a13 (diff)
downloadgcc-c27a314d42978b2879aed3b4735ce28283f8a3ad.tar.gz
* tree-flow-inline.h (get_filename): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127339 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-flow-inline.h')
-rw-r--r--gcc/tree-flow-inline.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/tree-flow-inline.h b/gcc/tree-flow-inline.h
index b9c78341cd4..ae55c3f4f6d 100644
--- a/gcc/tree-flow-inline.h
+++ b/gcc/tree-flow-inline.h
@@ -327,24 +327,6 @@ get_lineno (tree expr)
return EXPR_LINENO (expr);
}
-/* Return the file name for EXPR, or return "???" if we have no
- filename information. */
-static inline const char *
-get_filename (tree expr)
-{
- const char *filename;
- if (expr == NULL_TREE)
- return "???";
-
- if (TREE_CODE (expr) == COMPOUND_EXPR)
- expr = TREE_OPERAND (expr, 0);
-
- if (EXPR_HAS_LOCATION (expr) && (filename = EXPR_FILENAME (expr)))
- return filename;
- else
- return "???";
-}
-
/* Return true if T is a noreturn call. */
static inline bool
noreturn_call_p (tree t)