This is an archive of the discontinued LLVM Phabricator instance.

[CUDA] Fix CUDA install version parsing.
ClosedPublic

Authored by jlebar on Aug 9 2016, 5:26 PM.

Details

Summary

getAsInteger returns true on error. Oops.

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

Diff Detail

Repository
rL LLVM

Event Timeline

jlebar updated this revision to Diff 67438.Aug 9 2016, 5:26 PM
jlebar retitled this revision from to [CUDA] Fix CUDA install version parsing..
jlebar updated this object.
jlebar added a reviewer: tra.
jlebar added subscribers: Prazek, cfe-commits.
tra accepted this revision.Aug 10 2016, 9:54 AM
tra edited edge metadata.
This revision is now accepted and ready to land.Aug 10 2016, 9:54 AM
This revision was automatically updated to reflect the committed changes.