[llvm] r286645 - NFC ProgrammersManual fix

Piotr Padlewski via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 11 14:12:15 PST 2016


Author: prazek
Date: Fri Nov 11 16:12:15 2016
New Revision: 286645

URL: http://llvm.org/viewvc/llvm-project?rev=286645&view=rev
Log:
NFC ProgrammersManual fix

Modified:
    llvm/trunk/docs/ProgrammersManual.rst

Modified: llvm/trunk/docs/ProgrammersManual.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/ProgrammersManual.rst?rev=286645&r1=286644&r2=286645&view=diff
==============================================================================
--- llvm/trunk/docs/ProgrammersManual.rst (original)
+++ llvm/trunk/docs/ProgrammersManual.rst Fri Nov 11 16:12:15 2016
@@ -149,7 +149,7 @@ rarely have to include this file directl
 
   .. code-block:: c++
 
-    if (AllocationInst *AI = dyn_cast<AllocationInst>(Val)) {
+    if (auto *AI = dyn_cast<AllocationInst>(Val)) {
       // ...
     }
 




More information about the llvm-commits mailing list