This revision was automatically updated to reflect the committed changes. Closed by commit rL270493: Make sure TestRedefinitionsInInlines.py actually inlines. (authored by chaoren).
Changed prior to commit: http://reviews.llvm.org/D20540?vs=58153&id=58156#toc Repository: rL LLVM http://reviews.llvm.org/D20540 Files: lldb/trunk/packages/Python/lldbsuite/test/lang/c/inlines/main.c Index: lldb/trunk/packages/Python/lldbsuite/test/lang/c/inlines/main.c =================================================================== --- lldb/trunk/packages/Python/lldbsuite/test/lang/c/inlines/main.c +++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/inlines/main.c @@ -1,7 +1,7 @@ #include <stdio.h> -void test1(int) __attribute__ ((always_inline)); -void test2(int) __attribute__ ((always_inline)); +inline void test1(int) __attribute__ ((always_inline)); +inline void test2(int) __attribute__ ((always_inline)); void test2(int b) { printf("test2(%d)\n", b); //% self.expect("expression b", DATA_TYPES_DISPLAYED_CORRECTLY, substrs = ["42"])
Index: lldb/trunk/packages/Python/lldbsuite/test/lang/c/inlines/main.c =================================================================== --- lldb/trunk/packages/Python/lldbsuite/test/lang/c/inlines/main.c +++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/inlines/main.c @@ -1,7 +1,7 @@ #include <stdio.h> -void test1(int) __attribute__ ((always_inline)); -void test2(int) __attribute__ ((always_inline)); +inline void test1(int) __attribute__ ((always_inline)); +inline void test2(int) __attribute__ ((always_inline)); void test2(int b) { printf("test2(%d)\n", b); //% self.expect("expression b", DATA_TYPES_DISPLAYED_CORRECTLY, substrs = ["42"])
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits