Lines Matching full:magic
1 // RUN: %check_clang_tidy %s readability-magic-numbers %t \
3 // RUN: [{key: readability-magic-numbers.IgnoredIntegerValues, value: "0;1;2;10;100;"}, \
4 // RUN: {key: readability-magic-numbers.IgnoredFloatingPointValues, value: "3.14;2.71828;9.81;100…
5 // RUN: {key: readability-magic-numbers.IgnoreBitFieldsWidths, value: 0}, \
6 // RUN: {key: readability-magic-numbers.IgnorePowersOf2IntegerValues, value: 1}]}' \
15 …GES: :[[@LINE-1]]:20: warning: 5 is a magic number; consider replacing it with a named constant [r…
23 …GES: :[[@LINE-1]]:21: warning: 6 is a magic number; consider replacing it with a named constant [r… in BuggyFunction()
26 …GES: :[[@LINE-1]]:20: warning: 7 is a magic number; consider replacing it with a named constant [r… in BuggyFunction()
29 …ES: :[[@LINE-1]]:18: warning: 15 is a magic number; consider replacing it with a named constant [r… in BuggyFunction()
32 …ES: :[[@LINE-1]]:25: warning: 22 is a magic number; consider replacing it with a named constant [r… in BuggyFunction()
35 …GES: :[[@LINE-1]]:22: warning: 3 is a magic number; consider replacing it with a named constant [r… in BuggyFunction()
39 …ES: :[[@LINE-1]]:20: warning: 66 is a magic number; consider replacing it with a named constant [r… in BuggyFunction()
45 …GES: :[[@LINE-1]]:73: warning: 6 is a magic number; consider replacing it with a named constant [r…
51 …GES: :[[@LINE-1]]:19: warning: 9 is a magic number; consider replacing it with a named constant [r…
63 …GES: :[[@LINE-1]]:21: warning: 3 is a magic number; consider replacing it with a named constant [r…
64 …GES: :[[@LINE-2]]:24: warning: 5 is a magic number; consider replacing it with a named constant [r…
67 …E-1]]:25: warning: 3.1415926535f is a magic number; consider replacing it with a named constant [r…
69 …INE-1]]:27: warning: 6.283185307 is a magic number; consider replacing it with a named constant [r…
72 …S: :[[@LINE-1]]:23: warning: 0.5 is a magic number; consider replacing it with a named constant [r…
73 …[[@LINE-2]]:28: warning: 0x1.2p4 is a magic number; consider replacing it with a named constant [r…
80 …GES: :[[@LINE-1]]:11: warning: 3 is a magic number; consider replacing it with a named constant [r… in getAnswer()
85 …GES: :[[@LINE-1]]:23: warning: 5 is a magic number; consider replacing it with a named constant [r…
87 …GES: :[[@LINE-1]]:23: warning: 7 is a magic number; consider replacing it with a named constant [r…
89 …GES: :[[@LINE-1]]:18: warning: 6 is a magic number; consider replacing it with a named constant [r…
93 …ES: :[[@LINE-1]]:23: warning: 13 is a magic number; consider replacing it with a named constant [r…
96 …GES: :[[@LINE-1]]:25: warning: 3 is a magic number; consider replacing it with a named constant [r…
186 // Simulate the macro magic in Google Test internal headers.