Give folks a reference to some material on the fundamental design
authorChandler Carruth <chandlerc@gmail.com>
Wed, 13 Nov 2013 01:51:36 +0000 (01:51 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 13 Nov 2013 01:51:36 +0000 (01:51 +0000)
pattern in use here. Addresses review feedback from Sean (thanks!) and
others.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194541 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IR/PassManager.h

index 5800e35705bae17dca8d7089b65ed3527c3ae28e..7e771204b034eec7badf09de48c94eedab0c9051 100644 (file)
 ///   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
+///
 //===----------------------------------------------------------------------===//
 
 #include "llvm/ADT/DenseMap.h"