forked from OSchip/llvm-project
parent
82639853c0
commit
6226f941b0
|
@ -194,11 +194,8 @@ installations.</span> Only add new types if it is absolutely necessary.</p>
|
|||
|
||||
<ol>
|
||||
|
||||
<li><tt>llvm/include/llvm/Type.def</tt>:
|
||||
add enum for the type</li>
|
||||
|
||||
<li><tt>llvm/include/llvm/Type.h</tt>:
|
||||
add ID number for the new type; add static <tt>Type*</tt> for this type</li>
|
||||
add enum for the new type; add static <tt>Type*</tt> for this type</li>
|
||||
|
||||
<li><tt>llvm/lib/VMCore/Type.cpp</tt>:
|
||||
add mapping from <tt>TypeID</tt> => <tt>Type*</tt>;
|
||||
|
@ -222,11 +219,8 @@ installations.</span> Only add new types if it is absolutely necessary.</p>
|
|||
<div class="doc_text">
|
||||
|
||||
<ol>
|
||||
<li><tt>llvm/include/llvm/Type.def</tt>:
|
||||
add enum for the type</li>
|
||||
|
||||
<li><tt>llvm/include/llvm/Type.h</tt>:
|
||||
add ID number for the new type; add a forward declaration of the type
|
||||
add enum for the new type; add a forward declaration of the type
|
||||
also</li>
|
||||
|
||||
<li><tt>llvm/include/llvm/DerivedType.h</tt>:
|
||||
|
|
Loading…
Reference in New Issue