recognize .hpp as c++ (needed for ./configure'ing boost)

llvm-svn: 89100
This commit is contained in:
Nuno Lopes 2009-11-17 15:36:35 +00:00
parent 6f6668cac2
commit b9ac1dc910
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ FrontendOptions::getInputKindForExtension(llvm::StringRef Extension) {
.Case("mii", IK_PreprocessedObjCXX) .Case("mii", IK_PreprocessedObjCXX)
.Case("C", IK_CXX) .Case("C", IK_CXX)
.Cases("C", "cc", "cp", IK_CXX) .Cases("C", "cc", "cp", IK_CXX)
.Cases("cpp", "CPP", "c++", "cxx", IK_CXX) .Cases("cpp", "CPP", "c++", "cxx", "hpp", IK_CXX)
.Case("cl", IK_OpenCL) .Case("cl", IK_OpenCL)
.Default(IK_C); .Default(IK_C);
} }