Catch incorrectly included .inline.hpp files

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 9
    • Component/s: hotspot
    • None
    • gc

      To minimize include dependencies we have a rule on our style guide page stating that .inline.hpp files should not be included in .hpp files:

      https://wiki.openjdk.java.net/display/HotSpot/StyleGuide
      * .inline.hpp files should only be included in .cpp or .inline.hpp files.

      I propose that we use the include list in precompiled.hpp, some preprocessor checks, and a way to "tag" specific .inline.hpp to check for "incorrect" includes of these .inline.hpp checks.

            Assignee:
            Stefan Karlsson
            Reporter:
            Stefan Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: