summaryrefslogtreecommitdiff
path: root/gcc/cp/lang-specs.h
diff options
context:
space:
mode:
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>2007-08-06 11:10:19 +0000
committergerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>2007-08-06 11:10:19 +0000
commitd103f41fc8464bd6c7fc93b0e157d1830d505aa3 (patch)
tree40a885ef203ac5e63ceb7fa4aca765ce1cbb70de /gcc/cp/lang-specs.h
parent9cf518560bb1f03a96cd0a887c936482e7f30272 (diff)
downloadgcc-d103f41fc8464bd6c7fc93b0e157d1830d505aa3.tar.gz
PR pch/13676
* doc/invoke.texi: Add .hp, .hxx, .hpp, .h, .HPP, .tcc as c++ header. cp: * lang-specs.h: Add .hp, .hxx, .hpp, .h, .HPP, .tcc as c++ header. * g++spec.c (lang_specific_driver): Check them. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127239 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/lang-specs.h')
-rw-r--r--gcc/cp/lang-specs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/cp/lang-specs.h b/gcc/cp/lang-specs.h
index 7be145d5072..54d69a115fa 100644
--- a/gcc/cp/lang-specs.h
+++ b/gcc/cp/lang-specs.h
@@ -33,6 +33,12 @@ along with GCC; see the file COPYING3. If not see
{".C", "@c++", 0, 0, 0},
{".CPP", "@c++", 0, 0, 0},
{".H", "@c++-header", 0, 0, 0},
+ {".hpp", "@c++-header", 0, 0, 0},
+ {".hp", "@c++-header", 0, 0, 0},
+ {".hxx", "@c++-header", 0, 0, 0},
+ {".h++", "@c++-header", 0, 0, 0},
+ {".HPP", "@c++-header", 0, 0, 0},
+ {".tcc", "@c++-header", 0, 0, 0},
{".hh", "@c++-header", 0, 0, 0},
{"@c++-header",
"%{E|M|MM:cc1plus -E %(cpp_options) %2 %(cpp_debug_options)}\