forked from OSchip/llvm-project
recognize .hpp as c++ (needed for ./configure'ing boost)
llvm-svn: 89100
This commit is contained in:
parent
6f6668cac2
commit
b9ac1dc910
|
@ -25,7 +25,7 @@ FrontendOptions::getInputKindForExtension(llvm::StringRef Extension) {
|
|||
.Case("mii", IK_PreprocessedObjCXX)
|
||||
.Case("C", 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)
|
||||
.Default(IK_C);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue