aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-22 22:08:27 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-22 22:08:27 +0000
commit90cb920bfa167ae30cea35fe296533e7779f4ee2 (patch)
tree2609569a03c3692e079086609f4a5a8b10846bf4
parente2814d89025b847ad7363b21e3e053bbae180b54 (diff)
Recognize .hpp as a C++ header.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89630 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Driver/Types.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Driver/Types.cpp b/lib/Driver/Types.cpp
index 750286b66c..3397677227 100644
--- a/lib/Driver/Types.cpp
+++ b/lib/Driver/Types.cpp
@@ -135,6 +135,7 @@ types::ID types::lookupTypeForExtension(const char *Ext) {
.Case("CC", TY_CXX)
.Case("cp", TY_CXX)
.Case("hh", TY_CXXHeader)
+ .Case("hpp", TY_CXXHeader)
.Case("ads", TY_Ada)
.Case("adb", TY_Ada)
.Case("ast", TY_AST)