[llvm] r194541 - Give folks a reference to some material on the fundamental design

Marshall Clow mclow.lists at gmail.com
Tue Nov 12 18:26:34 PST 2013


On Nov 12, 2013, at 5:51 PM, Chandler Carruth <chandlerc at gmail.com> wrote:

> Author: chandlerc
> Date: Tue Nov 12 19:51:36 2013
> New Revision: 194541
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=194541&view=rev
> Log:
> Give folks a reference to some material on the fundamental design
> pattern in use here. Addresses review feedback from Sean (thanks!) and
> others.
> 
> Modified:
>    llvm/trunk/include/llvm/IR/PassManager.h
> 
> Modified: llvm/trunk/include/llvm/IR/PassManager.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/PassManager.h?rev=194541&r1=194540&r2=194541&view=diff
> ==============================================================================
> --- llvm/trunk/include/llvm/IR/PassManager.h (original)
> +++ llvm/trunk/include/llvm/IR/PassManager.h Tue Nov 12 19:51:36 2013
> @@ -25,6 +25,13 @@
> ///   a Function.
> /// * ModulePassManager must be directly run, runs each pass over the Module.
> ///
> +/// Note that the implementations of the pass managers use concept-based
> +/// polymorphism as outlined in the "Value Semantics and Concept-based
> +/// Polymorphism" talk (or its abbreviated sibling "Inheritance Is The Base
> +/// Class of Evil") by Sean Parent:
> +/// * http://github.com/sean-parent/sean-parent.github.com/wiki/Papers-and-Presentations
> +/// * http://channel9.msdn.com/Events/GoingNative/2013/Inheritance-Is-The-Base-Class-of-Evil
> +///
> //===----------------------------------------------------------------------===//

You might also want to include this link:
	http://www.youtube.com/watch?v=_BpMYeUFXv8
[ Which is Sean's C++Now 2012 keynote ]

-- Marshall

Marshall Clow     Idio Software   <mailto:mclow.lists at gmail.com>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki





More information about the llvm-commits mailing list