[llvm] r196139 - DebugInfo: Refactor CompileUnit into a Unit baseclass and CompileUnit/TypeUnit derived classes.
Eric Christopher
echristo at gmail.com
Mon Dec 2 14:00:29 PST 2013
Not sure if the following were part of the changes you were already
planning on making but...
> -/// CompileUnit - Compile unit constructor.
> +/// Unit - Compile unit constructor.
s/Compile unit/Unit
> // A pointer to all units in the section.
> - SmallVector<CompileUnit *, 1> CUs;
> + SmallVector<Unit *, 1> CUs;
Probably best not to call the CUs unless they're actually compile
units. Same with Unit *TheCU = *I in the rest of the patch.
-eric
More information about the llvm-commits
mailing list