search for: returnstmt

Displaying 14 results from an estimated 14 matches for "returnstmt".

2016 Mar 15
2
[cfe-dev] GSoC AST->XML project still open?
2019 Oct 30
2
pointer arithmetic with address space attribute not working
...s/ work/llvm-project/llvm/build/install/bin/clang-10+0x1b42b86) #11 0x0000000001b3a245 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/data/users/yhs/work/llvm-project/llvm/build/install/bin/cla ng-10+0x1b3a245) #12 0x00000000019226c8 clang::CodeGen::CodeGenFunction::EmitReturnStmt(clang::ReturnStmt const&) (/data/users/yhs/work/llvm-project/llvm/build/install/bin/cla ng-10+0x19226c8) For pointer arithmetic failure, the clang tries to create a regular pointer and failed since non-None address space is specified in the type. Is this a bug? Or this is the expected behavio...
2007 Dec 22
0
[LLVMdev] random warnings
On Dec 20, 2007, at 3:56 PM, Mike Stump wrote: > They looked real enough to me: Fixed, thanks. -Chris > > > /Volumes/mrs5/net/llvm/llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp: In > function ‘bool<unnamed>::isFPS16Immediate(llvm::ConstantFPSDNode*, > short int&)’: > /Volumes/mrs5/net/llvm/llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp: > 148: warning:
2007 Dec 20
2
[LLVMdev] random warnings
They looked real enough to me: /Volumes/mrs5/net/llvm/llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp: In function ‘bool<unnamed>::isFPS16Immediate(llvm::ConstantFPSDNode*, short int&)’: /Volumes/mrs5/net/llvm/llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp: 148: warning: dereferencing type-punned pointer will break strict- aliasing rules
2019 Oct 31
2
pointer arithmetic with address space attribute not working
...s/ work/llvm-project/llvm/build/install/bin/clang-10+0x1b42b86) #11 0x0000000001b3a245 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/data/users/yhs/work/llvm-project/llvm/build/install/bin/cla ng-10+0x1b3a245) #12 0x00000000019226c8 clang::CodeGen::CodeGenFunction::EmitReturnStmt(clang::ReturnStmt const&) (/data/users/yhs/work/llvm-project/llvm/build/install/bin/cla ng-10+0x19226c8) For pointer arithmetic failure, the clang tries to create a regular pointer and failed since non-None address space is specified in the type. Is this a bug? Or this is the expected behavio...
2012 Jul 03
2
[LLVMdev] error with cmake build of llvm
...bdirectory(clang-check)) Starting from c-index-test, it outputs undefined reference to all clang functions. make ... [ 97%] Built target libclang [ 97%] Built target libclang_static Linking CXX executable ../../../../bin/c-index-test ../../../../lib/libclang.so.3.2: undefined reference to `clang::ReturnStmt::getRetValue()' ../../../../lib/libclang.so.3.2: undefined reference to `clang::NestedNameSpecifierLocBuilder::MakeGlobal(clang::ASTContext&, clang::SourceLocation)' ../../../../lib/libclang.so.3.2: undefined reference to `clang::NestedNameSpecifierLocBuilder::Extend(clang::ASTContext&a...
2016 Apr 14
2
Little explanation of this behaviour
I tried to emit IR for a function that returns the sum between an signed char and a double in C++, just to see how Clang handles type implicit casting. Can you explain me why Clang converted the char type into a 32-bit integer type before casting it to a floating point? Can a sitofp i8 %3 to double be done or is it wrong? define i32 @_Z5sumad(i8 signext %x, double %y) #0 { %1 = alloca i8,
2012 Apr 23
4
[LLVMdev] gdb + clang/llvm
...0x0000000000ba386d 12 clang 0x0000000000ba2c91 13 clang 0x0000000000b9496d 14 clang 0x0000000000ba1a40 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) + 176 15 clang 0x0000000000c03875 clang::CodeGen::CodeGenFunction::EmitReturnStmt(clang::ReturnStmt const&) + 683 16 clang 0x0000000000c01084 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) + 742 17 clang 0x0000000000c014ff clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlo...
2012 Apr 23
0
[LLVMdev] gdb + clang/llvm
...6d > 12 clang 0x0000000000ba2c91 > 13 clang 0x0000000000b9496d > 14 clang 0x0000000000ba1a40 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) + 176 > 15 clang 0x0000000000c03875 clang::CodeGen::CodeGenFunction::EmitReturnStmt(clang::ReturnStmt const&) + 683 > 16 clang 0x0000000000c01084 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) + 742 > 17 clang 0x0000000000c014ff clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::A...
2019 Oct 31
2
pointer arithmetic with address space attribute not working
...d/install/bin/clang-10+0x1b42b86) > #11 0x0000000001b3a245 > clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, > bool) (/data/users/yhs/work/llvm-project/llvm/build/install/bin/cla > ng-10+0x1b3a245) > #12 0x00000000019226c8 > clang::CodeGen::CodeGenFunction::EmitReturnStmt(clang::ReturnStmt > const&) (/data/users/yhs/work/llvm-project/llvm/build/install/bin/cla > ng-10+0x19226c8) > > For pointer arithmetic failure, the clang tries to create a regular > pointer and failed since non-None address space is specified in the > type. > > Is this...
2012 Apr 23
1
[LLVMdev] gdb + clang/llvm
...91 > > 13 clang 0x0000000000b9496d > > 14 clang 0x0000000000ba1a40 > > clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr > > const*, bool) + 176 > > 15 clang 0x0000000000c03875 > > clang::CodeGen::CodeGenFunction::EmitReturnStmt(clang::ReturnStmt > > const&) + 683 > > 16 clang 0x0000000000c01084 > > clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) + > > 742 > > 17 clang 0x0000000000c014ff > > clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang...
2020 Sep 27
4
[clang-tidy] where are "clang-diagnostic" checkers
Hi, all, I build clang-tidy by "ninja clang-tidy", but when I run below command, I get no checks. Where is the clang-diagnostic* checkers? Thanks in advance. > $ /Users/zyg/Documents/workspace/llvm-project/llvm/cmake-build-debug/bin/clang-tidy --checks="-*,clang-diagnostic-*" --list-checks No checks enabled.
2012 Apr 23
0
[LLVMdev] gdb + clang/llvm
On Apr 20, 2012, at 6:35 PM, Roland Leißa <leissa at cs.uni-saarland.de> wrote: > ok, I now have a problem in the code generator. > Let's say I want to set a breakpoint somewhere in > clang/lib/CodeGen/CGExprScalar.cpp > > What do I have to do in order to trigger breakpoints, see backtraces and so on? You set a breakpoint and ask to see a backtrace? -eric
2012 Apr 21
2
[LLVMdev] gdb + clang/llvm
ok, I now have a problem in the code generator. Let's say I want to set a breakpoint somewhere in clang/lib/CodeGen/CGExprScalar.cpp What do I have to do in order to trigger breakpoints, see backtraces and so on? -- Roland ----- Original Message ----- > From: "Eric Christopher" <echristo at apple.com> > To: "Roland Leißa" <leissa at cs.uni-saarland.de>