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

Side by Side Diff: tools/clang/plugins/tests/auto_raw_pointer.txt

Issue 2118653003: clang-plugin: Remove system include from auto_raw_pointer test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « tools/clang/plugins/tests/auto_raw_pointer.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 auto_raw_pointer.cpp:22:3: warning: [chromium-style] auto variable type must not deduce to a raw pointer type. 1 auto_raw_pointer.cpp:20:3: warning: [chromium-style] auto variable type must not deduce to a raw pointer type.
2 auto raw_int_ptr = &integer; 2 auto raw_int_ptr = &integer;
3 ^~~~ 3 ^~~~
4 auto* 4 auto*
5 auto_raw_pointer.cpp:23:3: warning: [chromium-style] auto variable type must not deduce to a raw pointer type. 5 auto_raw_pointer.cpp:21:3: warning: [chromium-style] auto variable type must not deduce to a raw pointer type.
6 const auto const_raw_int_ptr = &integer; 6 const auto const_raw_int_ptr = &integer;
7 ^~~~~~~~~~ 7 ^~~~~~~~~~
8 auto* const 8 auto* const
9 auto_raw_pointer.cpp:24:3: warning: [chromium-style] auto variable type must not deduce to a raw pointer type. 9 auto_raw_pointer.cpp:22:3: warning: [chromium-style] auto variable type must not deduce to a raw pointer type.
10 const auto& const_raw_int_ptr_ref = &integer; 10 const auto& const_raw_int_ptr_ref = &integer;
11 ^~~~~~~~~~~ 11 ^~~~~~~~~~~
12 auto* const 12 auto* const
13 auto_raw_pointer.cpp:29:3: warning: [chromium-style] auto variable type must not deduce to a raw pointer type. 13 auto_raw_pointer.cpp:27:3: warning: [chromium-style] auto variable type must not deduce to a raw pointer type.
14 auto raw_foo_ptr = &foo; 14 auto raw_foo_ptr = &foo;
15 ^~~~ 15 ^~~~
16 auto* 16 auto*
17 auto_raw_pointer.cpp:30:3: warning: [chromium-style] auto variable type must not deduce to a raw pointer type. 17 auto_raw_pointer.cpp:28:3: warning: [chromium-style] auto variable type must not deduce to a raw pointer type.
18 const auto const_raw_foo_ptr = &foo; 18 const auto const_raw_foo_ptr = &foo;
19 ^~~~~~~~~~ 19 ^~~~~~~~~~
20 auto* const 20 auto* const
21 auto_raw_pointer.cpp:31:3: warning: [chromium-style] auto variable type must not deduce to a raw pointer type. 21 auto_raw_pointer.cpp:29:3: warning: [chromium-style] auto variable type must not deduce to a raw pointer type.
22 const auto& const_raw_foo_ptr_ref = &foo; 22 const auto& const_raw_foo_ptr_ref = &foo;
23 ^~~~~~~~~~~ 23 ^~~~~~~~~~~
24 auto* const 24 auto* const
25 auto_raw_pointer.cpp:38:3: warning: [chromium-style] auto variable type must not deduce to a raw pointer type. 25 auto_raw_pointer.cpp:36:3: warning: [chromium-style] auto variable type must not deduce to a raw pointer type.
26 auto double_ptr_auto = &int_ptr; 26 auto double_ptr_auto = &int_ptr;
27 ^~~~ 27 ^~~~
28 auto** 28 auto**
29 auto_raw_pointer.cpp:39:3: warning: [chromium-style] auto variable type must not deduce to a raw pointer type. 29 auto_raw_pointer.cpp:37:3: warning: [chromium-style] auto variable type must not deduce to a raw pointer type.
30 auto* double_ptr_auto_ptr = &int_ptr; 30 auto* double_ptr_auto_ptr = &int_ptr;
31 ^~~~~ 31 ^~~~~
32 auto** 32 auto**
33 auto_raw_pointer.cpp:46:3: warning: [chromium-style] auto variable type must not deduce to a raw pointer type. 33 auto_raw_pointer.cpp:44:3: warning: [chromium-style] auto variable type must not deduce to a raw pointer type.
34 auto auto_awesome = pointer_awesomeness; 34 auto auto_awesome = pointer_awesomeness;
35 ^~~~ 35 ^~~~
36 auto* const* const volatile** const* 36 auto* const* const volatile** const*
37 auto_raw_pointer.cpp:48:3: warning: [chromium-style] auto variable type must not deduce to a raw pointer type. 37 auto_raw_pointer.cpp:46:3: warning: [chromium-style] auto variable type must not deduce to a raw pointer type.
38 auto& int_ptr_ref = int_ptr; 38 auto& int_ptr_ref = int_ptr;
39 ^~~~~ 39 ^~~~~
40 auto*& 40 auto*&
41 auto_raw_pointer.cpp:49:3: warning: [chromium-style] auto variable type must not deduce to a raw pointer type. 41 auto_raw_pointer.cpp:47:3: warning: [chromium-style] auto variable type must not deduce to a raw pointer type.
42 const auto& const_int_ptr_ref = int_ptr; 42 const auto& const_int_ptr_ref = int_ptr;
43 ^~~~~~~~~~~ 43 ^~~~~~~~~~~
44 auto* const 44 auto* const
45 auto_raw_pointer.cpp:50:3: warning: [chromium-style] auto variable type must not deduce to a raw pointer type. 45 auto_raw_pointer.cpp:48:3: warning: [chromium-style] auto variable type must not deduce to a raw pointer type.
46 auto&& int_ptr_rref = std::move(int_ptr); 46 auto&& int_ptr_rref = static_cast<int*&&>(int_ptr);
47 ^~~~~~ 47 ^~~~~~
48 auto*&& 48 auto*&&
49 auto_raw_pointer.cpp:51:3: warning: [chromium-style] auto variable type must not deduce to a raw pointer type. 49 auto_raw_pointer.cpp:49:3: warning: [chromium-style] auto variable type must not deduce to a raw pointer type.
50 const auto&& const_int_ptr_rref = std::move(int_ptr); 50 const auto&& const_int_ptr_rref = static_cast<int*&&>(int_ptr);
51 ^~~~~~~~~~~~ 51 ^~~~~~~~~~~~
52 auto* const 52 auto* const
53 13 warnings generated. 53 13 warnings generated.
OLDNEW
« no previous file with comments | « tools/clang/plugins/tests/auto_raw_pointer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698