diff options
author | Jonathan Roelofs <jonathan@codesourcery.com> | 2017-09-07 22:01:25 +0000 |
---|---|---|
committer | Jonathan Roelofs <jonathan@codesourcery.com> | 2017-09-07 22:01:25 +0000 |
commit | 6fbb9e017d27cf14154a350d28ba7cb1bdda690a (patch) | |
tree | 38930fb915e488389052af934675a2a07402620c /clang/lib/Sema/SemaChecking.cpp | |
parent | d14d54ba37c232b953744682b8eb0bb9de4ae82b (diff) | |
download | bcm5719-llvm-6fbb9e017d27cf14154a350d28ba7cb1bdda690a.tar.gz bcm5719-llvm-6fbb9e017d27cf14154a350d28ba7cb1bdda690a.zip |
Fix validation of the -mthread-model flag in the Clang driver
The ToolChain class validates the -mthread-model flag in the constructor which
doesn't work correctly since the thread model methods are virtual methods. The
check is moved into Clang::ConstructJob() when constructing the internal
command line.
https://reviews.llvm.org/D37496
Patch by: Ian Tessier!
llvm-svn: 312748
Diffstat (limited to 'clang/lib/Sema/SemaChecking.cpp')
0 files changed, 0 insertions, 0 deletions