Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(403)

Side by Side Diff: include/clang/Driver/ToolChain.h

Issue 1547623002: Clang toolchain driver for PNaCl (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-clang.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | lib/Basic/Targets.cpp » ('j') | lib/Driver/ToolChains.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===--- ToolChain.h - Collections of tools for one platform ----*- C++ -*-===// 1 //===--- ToolChain.h - Collections of tools for one platform ----*- C++ -*-===//
2 // 2 //
3 // The LLVM Compiler Infrastructure 3 // The LLVM Compiler Infrastructure
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 9
10 #ifndef LLVM_CLANG_DRIVER_TOOLCHAIN_H 10 #ifndef LLVM_CLANG_DRIVER_TOOLCHAIN_H
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 virtual void AddCCKextLibArgs(const llvm::opt::ArgList &Args, 338 virtual void AddCCKextLibArgs(const llvm::opt::ArgList &Args,
339 llvm::opt::ArgStringList &CmdArgs) const; 339 llvm::opt::ArgStringList &CmdArgs) const;
340 340
341 /// AddFastMathRuntimeIfAvailable - If a runtime library exists that sets 341 /// AddFastMathRuntimeIfAvailable - If a runtime library exists that sets
342 /// global flags for unsafe floating point math, add it and return true. 342 /// global flags for unsafe floating point math, add it and return true.
343 /// 343 ///
344 /// This checks for presence of the -Ofast, -ffast-math or -funsafe-math flags . 344 /// This checks for presence of the -Ofast, -ffast-math or -funsafe-math flags .
345 virtual bool 345 virtual bool
346 AddFastMathRuntimeIfAvailable(const llvm::opt::ArgList &Args, 346 AddFastMathRuntimeIfAvailable(const llvm::opt::ArgList &Args,
347 llvm::opt::ArgStringList &CmdArgs) const; 347 llvm::opt::ArgStringList &CmdArgs) const;
348
349 /// isVirtualTarget - Whether the toolchain has a coresponding backend target.
350 virtual bool isVirtualTarget() const { return false; }
Derek Schuff 2016/02/02 23:19:11 This should probably have a different name because
Petr Hosek 2016/02/03 22:49:26 Done.
348 }; 351 };
349 352
350 } // end namespace driver 353 } // end namespace driver
351 } // end namespace clang 354 } // end namespace clang
352 355
353 #endif 356 #endif
OLDNEW
« no previous file with comments | « no previous file | lib/Basic/Targets.cpp » ('j') | lib/Driver/ToolChains.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698