[cfe-commits] r146841 - in /cfe/trunk: include/clang/Serialization/ lib/Sema/ lib/Serialization/ test/Modules/ test/Modules/Inputs/ test/PCH/

Argyrios Kyrtzidis kyrtzidis at apple.com
Mon Dec 19 11:54:56 PST 2011


On Dec 17, 2011, at 3:38 PM, Douglas Gregor wrote:

> 
> +  /// \brief The list of redeclaration chains that still need to be 
> +  /// reconstructed.
> +  ///
> +  /// Each element is the global declaration ID of the first declaration in
> +  /// the chain. Elements in this vector should be unique; use 
> +  /// PendingDeclChainsKnown to ensure uniqueness.
> +  llvm::SmallVector<serialization::DeclID, 16> PendingDeclChains;
> +
> +  /// \brief Keeps track of the elements added to PendingDeclChains.
> +  llvm::SmallSet<serialization::DeclID, 16> PendingDeclChainsKnown;

You could use llvm::SetVector here.





More information about the cfe-commits mailing list