[cfe-commits] r89100 - /cfe/trunk/lib/Frontend/FrontendOptions.cpp

Nuno Lopes nunoplopes at sapo.pt
Tue Nov 17 07:36:35 PST 2009


Author: nlopes
Date: Tue Nov 17 09:36:35 2009
New Revision: 89100

URL: http://llvm.org/viewvc/llvm-project?rev=89100&view=rev
Log:
recognize .hpp as c++ (needed for ./configure'ing boost)

Modified:
    cfe/trunk/lib/Frontend/FrontendOptions.cpp

Modified: cfe/trunk/lib/Frontend/FrontendOptions.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/FrontendOptions.cpp?rev=89100&r1=89099&r2=89100&view=diff

==============================================================================
--- cfe/trunk/lib/Frontend/FrontendOptions.cpp (original)
+++ cfe/trunk/lib/Frontend/FrontendOptions.cpp Tue Nov 17 09:36:35 2009
@@ -25,7 +25,7 @@
     .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);
 }





More information about the cfe-commits mailing list