]> granicus.if.org Git - llvm/commit
[Docs] Add note about legacy PM to Ch4 of tutorial
authorKristina Brooks <notstina@gmail.com>
Tue, 12 Mar 2019 15:44:18 +0000 (15:44 +0000)
committerKristina Brooks <notstina@gmail.com>
Tue, 12 Mar 2019 15:44:18 +0000 (15:44 +0000)
commitf960871b4b5489c4c56b676d77c949c57afdec30
tree9d39ea512564d7e13ed1288cbe7b47cb3f1362a2
parentf3b95a8046bb82cf8fe95ae2b4e2e07bc877c9fc
[Docs] Add note about legacy PM to Ch4 of tutorial

Add a note about legacy FunctionPassManager to the LLVM tutorial.

It seems to confuse some people, worth adding a warning to the tutorial
to elaborate and suggest using `llvm::legacy::FunctionPassManager` for
now. Not a perfect solution but hopefully will avoid confusion
in the meantime.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355930 91177308-0d34-0410-b5e6-96231b3b80d8
docs/tutorial/LangImpl04.rst