gcc/
* input.h (input_line): Remove.
(input_filename): Likewise.
(in_system_header): Likewise.
* tree.h (EXPR_LOC_OR_HERE): Remove.
---
gcc/input.h | 3 ---
gcc/tree.h | 2 --
2 files changed, 5 deletions(-)
diff --git a/gcc/input.h b/gcc/input.h
index 8fdc7b2..55bd426 100644
--- a/gcc/input.h
+++ b/gcc/input.h
@@ -57,11 +57,8 @@ extern location_t input_location;
((tree) ((IS_ADHOC_LOC (LOC)) ? get_data_from_adhoc_loc (line_table, (LOC)) \
: NULL))
-#define input_line LOCATION_LINE (input_location)
-#define input_filename LOCATION_FILE (input_location)
#define in_system_header_at(LOC) \
((linemap_location_in_system_header_p (line_table, LOC)))
-#define in_system_header (in_system_header_at (input_location))
void dump_line_table_statistics (void);
diff --git a/gcc/tree.h b/gcc/tree.h
index c485c3f..68f9826 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -1044,8 +1044,6 @@ extern void omp_clause_range_check_failed (const_tree,
const char *, int,
!= UNKNOWN_LOCATION)
/* The location to be used in a diagnostic about this expression. Do not
use this macro if the location will be assigned to other expressions. */
-#define EXPR_LOC_OR_HERE(NODE) (EXPR_HAS_LOCATION (NODE) \
- ? (NODE)->exp.locus : input_location)
#define EXPR_LOC_OR_LOC(NODE, LOCUS) (EXPR_HAS_LOCATION (NODE) \
? (NODE)->exp.locus : (LOCUS))
#define EXPR_FILENAME(NODE) LOCATION_FILE (EXPR_CHECK ((NODE))->exp.locus)
--
1.7.11.7