[PATCH] D53866: [Preamble] Fix preamble for circular #includes

Ivan Donchevskii via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 31 11:06:19 PDT 2018


yvvan added a comment.

@ilya-biryukov 
As far as I understand the problem the same thing happens when you are in the header a.h which includes b.h and b.h includes a.h at the same time. So you get this recursion indirectly and very often because that's why include guards are there.


Repository:
  rC Clang

https://reviews.llvm.org/D53866





More information about the cfe-commits mailing list