[llvm-bugs] [Bug 45874] New: Man page, home page, etc. should mention ALL clang commands, such as clang++

via llvm-bugs llvm-bugs at lists.llvm.org
Mon May 11 02:46:18 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=45874

            Bug ID: 45874
           Summary: Man page, home page, etc. should mention ALL clang
                    commands, such as clang++
           Product: Documentation
           Version: 9.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: General docs
          Assignee: unassignedbugs at nondot.org
          Reporter: fsheeran at gmail.com
                CC: llvm-bugs at lists.llvm.org

As a seasoned programmer whose used gcc/g++ since like 1.37 I decided to try
clang for the first time.  After reading the manpage in detail (searching for
++), the home page, and even the Wiki page, it was clear that clang supported
C++... and yet trying to compile or link C++ with clang wasn't finding the C++
Standard Library.

Problem simple enough: the command for C++ is clang++.

But that's not mentioned ANYWHERE that I could find even in a good 20-30
minutes of reading.

For the man page, it'd suffice to simply add clang++ to the SYNOPSIS section
under clang.  (Probably should add the ObjC and ObjC++ commands too... whatever
they are...)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200511/cf5b896b/attachment.html>


More information about the llvm-bugs mailing list