Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: test/Preprocessor/init.c

Issue 184973004: Prep for merging 3.4: Undo changes from 3.3 branch (Closed) Base URL: http://git.chromium.org/native_client/pnacl-clang.git@master
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/Lexer/has_feature_cxx0x.cpp ('k') | test/SemaCXX/cxx11-inheriting-ctors.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // RUN: %clang_cc1 -E -dM -x assembler-with-cpp < /dev/null | FileCheck -check-p refix ASM %s 1 // RUN: %clang_cc1 -E -dM -x assembler-with-cpp < /dev/null | FileCheck -check-p refix ASM %s
2 // 2 //
3 // ASM:#define __ASSEMBLER__ 1 3 // ASM:#define __ASSEMBLER__ 1
4 // 4 //
5 // 5 //
6 // RUN: %clang_cc1 -fblocks -E -dM < /dev/null | FileCheck -check-prefix BLOCKS %s 6 // RUN: %clang_cc1 -fblocks -E -dM < /dev/null | FileCheck -check-prefix BLOCKS %s
7 // 7 //
8 // BLOCKS:#define __BLOCKS__ 1 8 // BLOCKS:#define __BLOCKS__ 1
9 // BLOCKS:#define __block __attribute__((__blocks__(byref))) 9 // BLOCKS:#define __block __attribute__((__blocks__(byref)))
10 // 10 //
11 // 11 //
12 // RUN: %clang_cc1 -x c++ -std=c++1y -E -dM < /dev/null | FileCheck -check-prefi x CXX1Y %s
13 //
14 // CXX1Y:#define __GNUG__
15 // CXX1Y:#define __GXX_EXPERIMENTAL_CXX0X__ 1
16 // CXX1Y:#define __GXX_RTTI 1
17 // CXX1Y:#define __GXX_WEAK__ 1
18 // CXX1Y:#define __cplusplus 201305L
19 // CXX1Y:#define __private_extern__ extern
20 //
21 //
22 // RUN: %clang_cc1 -x c++ -std=c++11 -E -dM < /dev/null | FileCheck -check-prefi x CXX11 %s 12 // RUN: %clang_cc1 -x c++ -std=c++11 -E -dM < /dev/null | FileCheck -check-prefi x CXX11 %s
23 // 13 //
24 // CXX11:#define __GNUG__ 14 // CXX11:#define __GNUG__
25 // CXX11:#define __GXX_EXPERIMENTAL_CXX0X__ 1 15 // CXX11:#define __GXX_EXPERIMENTAL_CXX0X__ 1
26 // CXX11:#define __GXX_RTTI 1 16 // CXX11:#define __GXX_RTTI 1
27 // CXX11:#define __GXX_WEAK__ 1 17 // CXX11:#define __GXX_WEAK__ 1
28 // CXX11:#define __cplusplus 201103L 18 // CXX11:#define __cplusplus 201103L
29 // CXX11:#define __private_extern__ extern 19 // CXX11:#define __private_extern__ extern
30 // 20 //
31 // 21 //
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // COMMON:#define __clang_minor__ {{[0-9]+}} 60 // COMMON:#define __clang_minor__ {{[0-9]+}}
71 // COMMON:#define __clang_patchlevel__ {{[0-9]+}} 61 // COMMON:#define __clang_patchlevel__ {{[0-9]+}}
72 // COMMON:#define __clang_version__ 62 // COMMON:#define __clang_version__
73 // COMMON:#define __llvm__ 1 63 // COMMON:#define __llvm__ 1
74 // 64 //
75 // 65 //
76 // RUN: %clang_cc1 -ffreestanding -E -dM < /dev/null | FileCheck -check-prefix F REESTANDING %s 66 // RUN: %clang_cc1 -ffreestanding -E -dM < /dev/null | FileCheck -check-prefix F REESTANDING %s
77 // FREESTANDING:#define __STDC_HOSTED__ 0 67 // FREESTANDING:#define __STDC_HOSTED__ 0
78 // 68 //
79 // 69 //
80 // RUN: %clang_cc1 -x c++ -std=gnu++1y -E -dM < /dev/null | FileCheck -check-pre fix GXX1Y %s
81 //
82 // GXX1Y:#define __GNUG__
83 // GXX1Y:#define __GXX_WEAK__ 1
84 // GXX1Y:#define __cplusplus 201305L
85 // GXX1Y:#define __private_extern__ extern
86 //
87 //
88 // RUN: %clang_cc1 -x c++ -std=gnu++11 -E -dM < /dev/null | FileCheck -check-pre fix GXX11 %s 70 // RUN: %clang_cc1 -x c++ -std=gnu++11 -E -dM < /dev/null | FileCheck -check-pre fix GXX11 %s
89 // 71 //
90 // GXX11:#define __GNUG__ 72 // GXX11:#define __GNUG__
91 // GXX11:#define __GXX_WEAK__ 1 73 // GXX11:#define __GXX_WEAK__ 1
92 // GXX11:#define __cplusplus 201103L 74 // GXX11:#define __cplusplus 201103L
93 // GXX11:#define __private_extern__ extern 75 // GXX11:#define __private_extern__ extern
94 // 76 //
95 // 77 //
96 // RUN: %clang_cc1 -x c++ -std=gnu++98 -E -dM < /dev/null | FileCheck -check-pre fix GXX98 %s 78 // RUN: %clang_cc1 -x c++ -std=gnu++98 -E -dM < /dev/null | FileCheck -check-pre fix GXX98 %s
97 // 79 //
(...skipping 2593 matching lines...) Expand 10 before | Expand all | Expand 10 after
2691 // RUN: %clang_cc1 -x c++ -triple i686-pc-linux-gnu -fobjc-runtime=gcc -E -dM < /dev/null | FileCheck -check-prefix GNUSOURCE %s 2673 // RUN: %clang_cc1 -x c++ -triple i686-pc-linux-gnu -fobjc-runtime=gcc -E -dM < /dev/null | FileCheck -check-prefix GNUSOURCE %s
2692 // GNUSOURCE:#define _GNU_SOURCE 1 2674 // GNUSOURCE:#define _GNU_SOURCE 1
2693 // 2675 //
2694 // RUN: %clang_cc1 -x c++ -std=c++98 -fno-rtti -E -dM < /dev/null | FileCheck -c heck-prefix NORTTI %s 2676 // RUN: %clang_cc1 -x c++ -std=c++98 -fno-rtti -E -dM < /dev/null | FileCheck -c heck-prefix NORTTI %s
2695 // NORTTI: __GXX_ABI_VERSION 2677 // NORTTI: __GXX_ABI_VERSION
2696 // NORTTI-NOT:#define __GXX_RTTI 2678 // NORTTI-NOT:#define __GXX_RTTI
2697 // NORTTI: __STDC__ 2679 // NORTTI: __STDC__
2698 // 2680 //
2699 // RUN: %clang_cc1 -triple arm-linux-androideabi -E -dM < /dev/null | FileCheck -check-prefix ANDROID %s 2681 // RUN: %clang_cc1 -triple arm-linux-androideabi -E -dM < /dev/null | FileCheck -check-prefix ANDROID %s
2700 // ANDROID: __ANDROID__ 1 2682 // ANDROID: __ANDROID__ 1
OLDNEW
« no previous file with comments | « test/Lexer/has_feature_cxx0x.cpp ('k') | test/SemaCXX/cxx11-inheriting-ctors.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698