[LLVMbugs] [Bug 183] NEW: All Public Headers Should Use: #include <llvm/...>

bugzilla-daemon at zion.cs.uiuc.edu bugzilla-daemon at zion.cs.uiuc.edu
Sun Dec 14 19:34:49 PST 2003


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=183

           Summary: All Public Headers Should Use: #include <llvm/...>
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Support Libraries
        AssignedTo: sabre at nondot.org
        ReportedBy: rspencer at x10sys.com
                CC: gaeke+bugs at uiuc.edu


To ensure that LLVM's public header files do not conflict with other packages,
all directories in the $(LLVMSRCDIR)/include directory should be placed under
the llvm directory. This will, for example, require:

#include <Support/Statistic.h>

to be included as:

#include <llvm/Support/Statistic.h>

This is considered beneficial as it avoids conflicts with any package named
"Support" and makes it clear on the #include line what package is being
included. The same issue exists for the include/Config directory: it needs to go
to include/llvm/Config.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list