From b9ac1dc910b51b05364338ca5a0e4de0c24238d5 Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Tue, 17 Nov 2009 15:36:35 +0000 Subject: [PATCH] recognize .hpp as c++ (needed for ./configure'ing boost) llvm-svn: 89100 --- clang/lib/Frontend/FrontendOptions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/Frontend/FrontendOptions.cpp b/clang/lib/Frontend/FrontendOptions.cpp index 96549de3bd6f..bd916386056b 100644 --- a/clang/lib/Frontend/FrontendOptions.cpp +++ b/clang/lib/Frontend/FrontendOptions.cpp @@ -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); }