Displaying 4 results from an estimated 4 matches for "switchstmt".
2017 Mar 30
2
[GSoC 2017] Clang-based diff tool project
...t funkyVariable = 1;
> funkyVariable++;
> }
> int main(int argc, const char **argv) {
> if (argc > 2) {
> return 1;
> }
> switch (argc) {
> }
> while (false);
> int funkyVariable = 1;
> funkyVariable++;
> }
> ./clangDiff
> Change: SwitchStmt moved from line 2 to line 5
> Change: IfStmt moved from line 4 to line 2
>
Neat! :)
>
> Here is how it looks https://gist.github.com/Teemperor/b252bae4b2544f57d6bb9580a0e890e4 <https://gist.github.com/Teemperor/b252bae4b2544f57d6bb9580a0e890e4>
>
> Let us know i...
2012 Feb 21
5
[LLVMdev] buildbot failure in LLVM on clang-x86_64-debian-fnt
...) + 272
20 clang 0x00000000008ea0ff
clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*) +
271
21 clang 0x00000000008e66a7
clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) + 39
22 clang 0x00000000008e71ef
clang::CodeGen::CodeGenFunction::EmitSwitchStmt(clang::SwitchStmt
const&) + 1247
23 clang 0x00000000008e9e40
clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt
const&, bool, clang::CodeGen::AggValueSlot) + 272
24 clang 0x00000000008ea0ff
clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt co...
2017 Mar 23
5
[GSoC 2017] Clang-based diff tool project
My original idea was to write a semantic diff tool that just does some simple things up front:
create an MD5 from all top level blocks of the code. Start by just finding matching blocks of code ('{' and '}', '(' and ')') and remember the source locations for these and their MD5 values. Run a normal diff on the code and see what blocks the diffs fall into. Then try
2012 Feb 21
0
[LLVMdev] buildbot failure in LLVM on clang-x86_64-debian-fnt
...0000000008ea0ff
> clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*) +
> 271
> 21 clang 0x00000000008e66a7
> clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) + 39
> 22 clang 0x00000000008e71ef
> clang::CodeGen::CodeGenFunction::EmitSwitchStmt(clang::SwitchStmt
> const&) + 1247
> 23 clang 0x00000000008e9e40
> clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt
> const&, bool, clang::CodeGen::AggValueSlot) + 272
> 24 clang 0x00000000008ea0ff
> clang::CodeGen::CodeGenFunction:...