[cfe-commits] r87089 - /cfe/trunk/tools/clang-cc/clang-cc.cpp
Daniel Dunbar
daniel at zuster.org
Thu Nov 12 21:52:19 PST 2009
Author: ddunbar
Date: Thu Nov 12 23:52:19 2009
New Revision: 87089
URL: http://llvm.org/viewvc/llvm-project?rev=87089&view=rev
Log:
Add a FIXME.
Modified:
cfe/trunk/tools/clang-cc/clang-cc.cpp
Modified: cfe/trunk/tools/clang-cc/clang-cc.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-cc/clang-cc.cpp?rev=87089&r1=87088&r2=87089&view=diff
==============================================================================
--- cfe/trunk/tools/clang-cc/clang-cc.cpp (original)
+++ cfe/trunk/tools/clang-cc/clang-cc.cpp Thu Nov 12 23:52:19 2009
@@ -794,6 +794,10 @@
// Initialize frontend options.
InitializeFrontendOptions(Opts.getFrontendOpts());
+ // FIXME: The target information in frontend options should be split out into
+ // TargetOptions, and the target options in codegen options should move there
+ // as well. Then we could properly initialize in layering order.
+
// Initialize base triple. If a -triple option has been specified, use
// that triple. Otherwise, default to the host triple.
llvm::Triple Triple(Opts.getFrontendOpts().TargetTriple);
More information about the cfe-commits
mailing list