Hi Sunil,
On Fri, 24 Dec 2021 at 14:51, Sunil Kumar via cfe-users
wrote:
>
> Hi,
> I tried many times to install clang-13 in ubuntu-16.04. I followed the steps
> mentioned below.
>
> git clone https://github.com/llvm/llvm-project.git
> git checkout llvmorg-13.0.0
> cd llvm-project
> mkdir build
Hi John,
On Wed, 26 Aug 2020 at 10:33, John Emmas via cfe-users
wrote:
>
> BTW - I often see Clang described as "llvm" or "cfe" and I've often
> wondered what they stand for ??
Folr LLVM : https://lmgtfy.com/?q=LLVM&pp=1
CFE stands for "C Front-End", a C family (C, C++, Objective C/C++,
etc.) l
Hi John,
On Tue, 25 Aug 2020 at 17:47, John Emmas via cfe-users
wrote:
>
> Sorry about the confusing subject line!! I use Visual Studio 2019 on
> Windows 10 and I've just installed something called WSL (Windows
> Subsystem for Linux) which allows it to build apps for Linux. A big
> part of this
Hi all,
If I run `clang++ -std=c++17 -Xclang -ast-dump` on the following code:
struct B {};
struct D1 : B {};
struct D2 : public B {};
the output is
|-CXXRecordDecl 0x8000bdd48 col:8 referenced struct B
definition
| |-DefinitionData pass_in_registers empty aggregate standard_layout
trivially
Hi Ankush,
On Mon, Mar 11, 2019 at 8:23 PM Ankush Sharma wrote:
> During the linking stage for an “.so” file creation, an error message is
> being flagged by clang.
>
> ld: error: dummy.so: write: Function not implemented
What was the command line that was used to invoke the linker?
What filesyst
Hi Milan,
On Sat, Sep 1, 2018 at 1:11 AM, Milan Andric via cfe-users wrote:
(snip)
>
> Test program:
>
> ```test.cpp
> #include
> int main()
> {
> std::optional o1;
> }
> ```
>
> Error I am having below. I tried with a few different flags but always with
> the same failure.
>
> ```
> $ clang+
On 5/16/18, Andrea Arteaga via cfe-users wrote:
> Thanks for your reply, John.
>
> I fully understand your points, I actually had the same concern that a
> reference-to-rvalue warning would be issued for perfectly reasonable and
> intended code.
For example,
vector ints{1,2,3,4,5};
auto i = ints
Hi Vinay,
On Tue, May 8, 2018 at 2:41 PM, Vinay Kumar via cfe-users
wrote:
(snip)
> My query is how to confirm(command to check) if my executable is created
> using ld.lld linker or ld.gold/some other linker? What is the default linker
> 'clang++' uses(command to cross-check) on mac os?
>
If you
Hi Mikhail,
On Thu, Jun 22, 2017 at 11:44 PM, Mikhail Artemyev via cfe-users
wrote:
> Hi All,
>
> I am currently trying to beatify a reasonably large code base, and I am
> quite surprised about how clang-format breaks long lines where there is a
> '->' operator.
>
> Example:
> % cat test.cpp
> in
Hi,
Deducing template parameters for constructors is a C++17 feature. You
need to pass the -std=c++1z flag to the compiler.
On Thu, Mar 30, 2017 at 3:48 AM, 312988...@qq.com via cfe-users
wrote:
> Hi, all,
>
> Below cannot be compiled with clang 5.0 (SVN r298093) on Visual Studio 2017.
>
> #inc
On Wed, Jul 13, 2016 at 9:30 AM, folkert wrote:
>> > When iterating through the AST I encounter BinaryOperator-s, part of an
>> > IfStmt.
>> > My question now is: how can I find which operator it is? E.g. ==, >=,
>> > etc.
>> > I'm using libclang.
>> >
>>
>> You can call BinaryOperator::getOpcode,
Hi Folkert,
On Tue, Jul 12, 2016 at 1:46 PM, folkert via cfe-users wrote:
> Hi,
>
> When iterating through the AST I encounter BinaryOperator-s, part of an
> IfStmt.
> My question now is: how can I find which operator it is? E.g. ==, >=,
> etc.
> I'm using libclang.
>
You can call BinaryOperator
Hi Jeffrey,
On Mon, Jun 6, 2016 at 12:16 PM, Jeffrey Walton via cfe-users
wrote:
> I'm having trouble determining feature availability at compile time.
> We don't use Autotools and friends; rather, we use the preprocessor.
>
> I've been through the release notes from 2.8 through 3.5 (form: ), and
Hi Jeffrey,
Have you tried checking for __clang__ ?
On Sun, Mar 13, 2016 at 4:17 AM, Jeffrey Walton via cfe-users
wrote:
> We took a bug report for LLVM Visual Studio Toolset on Windows. It
> appears LLVM defines _MSC_VER but it cannot consume the same programs
> that Microsoft's compilers can.
14 matches
Mail list logo