Fix ArrayRef doc thinking it's defined in APInt.h

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 3 16:38:22 PDT 2018


Taylor Hansen via llvm-commits <llvm-commits at lists.llvm.org> writes:
> Fixes bug #36978 where the documentation for ArrayRef was saying it was
> defined in APInt.h.

If we're going to solve this using a workaround like this we should
probably do it more comprehensively.

Let's discuss this further on https://llvm.org/pr36978

> Index: include/llvm/ADT/APInt.h
> ===================================================================
> --- include/llvm/ADT/APInt.h	(revision 329011)
> +++ include/llvm/ADT/APInt.h	(working copy)
> @@ -29,8 +29,10 @@
>  class hash_code;
>  class raw_ostream;
>
> +/// \cond
>  template <typename T> class SmallVectorImpl;
>  template <typename T> class ArrayRef;
> +/// \endcond
>
>  class APInt;
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits


More information about the llvm-commits mailing list