aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>2019-11-28 15:56:00 -0500
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>2019-11-28 17:02:06 -0500
commit1abd4c94d7575e4cd288e0024c1ec79f17b048a9 (patch)
tree5dc253472fc233c8305bc1accbd9a935a083736d /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parenta7abe6eac061a999e88d651e4857872f5ec52e5d (diff)
downloadllvm-1abd4c94d7575e4cd288e0024c1ec79f17b048a9.zip
llvm-1abd4c94d7575e4cd288e0024c1ec79f17b048a9.tar.gz
llvm-1abd4c94d7575e4cd288e0024c1ec79f17b048a9.tar.bz2
[Clang] Bypass distro detection on non-Linux hosts
Skip distro detection when we're not running on Linux, or when the target triple is not Linux. This saves a few OS calls for each invocation of clang.exe. Differential Revision: https://reviews.llvm.org/D70467
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions