aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2020-01-08 09:40:08 +0100
committerRaphael Isemann <teemperor@gmail.com>2020-01-08 12:05:51 +0100
commit518597c1737646ea1f087c1fa43109f689adf7a6 (patch)
treece2f24fdad78c8ae1ca5115477553cee8a755bd5 /llvm/lib/CodeGen/MachineScheduler.cpp
parentdfeb8730e24c5a4493e9092907b7ff083fae43a5 (diff)
downloadllvm-518597c1737646ea1f087c1fa43109f689adf7a6.zip
llvm-518597c1737646ea1f087c1fa43109f689adf7a6.tar.gz
llvm-518597c1737646ea1f087c1fa43109f689adf7a6.tar.bz2
[lldb] Remove default llvm::Triple argument from ClangASTContext constructor
Creating an ASTContext with an unknown triple is rarely a good idea (as usually all our ASTs have a valid triple that is either from the host or the target) and the default argument makes it far to easy to implicitly create such an AST. Let's remove it and force people to pass a triple. The only place where we don't pass a triple is a DWARFASTParserClangTests where we now just pass the host triple instead (the test doesn't depend on any triple so this shouldn't change anything).
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions