]> granicus.if.org Git - clang/commit
[CUDA] Fix CUDA install version parsing.
authorJustin Lebar <jlebar@google.com>
Mon, 15 Aug 2016 20:38:48 +0000 (20:38 +0000)
committerJustin Lebar <jlebar@google.com>
Mon, 15 Aug 2016 20:38:48 +0000 (20:38 +0000)
commita3e26986aead3299af2f90cf4d9024e3abb44b8e
treebb9306a06af2c86b1d2be2947378a451a525a19f
parent54ed545ebfdc2786226f3fd4db4a240d7757ba3b
[CUDA] Fix CUDA install version parsing.

Summary:
getAsInteger returns true on error.  Oops.

No test because the behavior at the moment is identical with or without
this change.

Reviewers: tra

Subscribers: cfe-commits, Prazek

Differential Revision: https://reviews.llvm.org/D23340

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@278733 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains.cpp