Searched full:pedantic (Results 1 – 25 of 726) sorted by relevance
12345678910>>...30
5 // RUN: %clang -### -pedantic -no-pedantic %s 2>&1 | FileCheck -check-prefix=NO_PEDANTIC -check-pre…6 // RUN: %clang -### -pedantic -Wno-pedantic %s 2>&1 | FileCheck -check-prefix=PEDANTIC -check-prefi…7 // NO_PEDANTIC-NOT: -pedantic8 // RUN: %clang -### -pedantic -pedantic -no-pedantic -pedantic %s 2>&1 | FileCheck -check-prefix=PE…9 // RUN: %clang -### -pedantic -pedantic -no-pedantic -Wpedantic %s 2>&1 | FileCheck -check-prefix=N…10 // PEDANTIC: -pedantic
3 @test pedantic.vm11 #set( $pedantic = "pedantic")13 This is a test of the new #if($pedantic)$pedantic#end mode.15 There are a few things you can do in #if($foobar) GOOGLE! #else$pedantic#end mode.24 #if ($pedantic)25 $pedantic32 pedantic40 #if ($pedantic)41 $pedantic48 pedantic[all …]
74 local pedantic-errors = <warnings>pedantic80 : : : $(pedantic-errors) ;82 <exception-handling>off $(pedantic-errors) : lightweight_test_test_no_except ;84 : : : $(pedantic-errors) ;86 : : : $(pedantic-errors) ;88 : : : $(pedantic-errors) ;90 : : : $(pedantic-errors) ;92 : : : $(pedantic-errors) ;94 : : : $(pedantic-errors) ;96 : : : $(pedantic-errors) ;[all …]
3 This is a test of the new pedantic mode.5 There are a few things you can do in pedantic mode.14 pedantic20 pedantic28 pedantic35 pedantic42 pedantic48 pedantic
15 // This should stay a warning with -pedantic.16 // RUN: %clang_cc1 %s -pedantic 2>&1 | grep "warning:"18 // This should emit an error with -pedantic-errors.19 // RUN: not %clang_cc1 %s -pedantic-errors 2>&1 | grep "error:"21 // This should emit a warning, because -Wfoo overrides -pedantic*.22 // RUN: %clang_cc1 %s -pedantic-errors -Wextra-tokens 2>&1 | grep "warning:"24 // This should emit nothing, because -Wno-extra-tokens overrides -pedantic*25 // RUN: %clang_cc1 %s -pedantic-errors -Wno-extra-tokens 2>&1 | not grep diagnostic
103 gcc -g -Wall -pedantic -Wcast-qual -O2 -c -o awkgram.tab.o awkgram.tab.c104 gcc -g -Wall -pedantic -Wcast-qual -O2 -c -o b.o b.c105 gcc -g -Wall -pedantic -Wcast-qual -O2 -c -o main.o main.c106 gcc -g -Wall -pedantic -Wcast-qual -O2 -c -o parse.o parse.c107 gcc -g -Wall -pedantic -Wcast-qual -O2 maketab.c -o maketab109 gcc -g -Wall -pedantic -Wcast-qual -O2 -c -o proctab.o proctab.c110 gcc -g -Wall -pedantic -Wcast-qual -O2 -c -o tran.o tran.c111 gcc -g -Wall -pedantic -Wcast-qual -O2 -c -o lib.o lib.c112 gcc -g -Wall -pedantic -Wcast-qual -O2 -c -o run.o run.c113 gcc -g -Wall -pedantic -Wcast-qual -O2 -c -o lex.o lex.c[all …]
1 // RUN: %clang_cc1 -pedantic-errors -std=c++98 -emit-pch %s -o %t2 // RUN: %clang_cc1 -pedantic-errors -std=c++98 -include-pch %t -verify %s4 // RUN: %clang_cc1 -pedantic-errors -std=c++11 -emit-pch %s -o %t-cxx115 // RUN: %clang_cc1 -pedantic-errors -std=c++11 -include-pch %t-cxx11 -verify %s7 // RUN: %clang_cc1 -pedantic-errors -std=c++98 -emit-pch %s -o %t -fmodules8 // RUN: %clang_cc1 -pedantic-errors -std=c++98 -include-pch %t -verify %s -fmodules
2 // RUN: %clang_cc1 -pedantic -std=c++1y -include %s -include %s -verify %s5 // RUN: %clang_cc1 -pedantic -std=c++1y -emit-pch %s -o %t.a6 // RUN: %clang_cc1 -pedantic -std=c++1y -include-pch %t.a -emit-pch %s -o %t.b7 // RUN: %clang_cc1 -pedantic -std=c++1y -include-pch %t.b -verify %s
1 // RUN: %clang_cc1 -pedantic-errors -std=c++11 -emit-pch %s -o %t.12 // RUN: %clang_cc1 -pedantic-errors -std=c++11 -include-pch %t.1 -emit-pch %s -o %t.23 // RUN: %clang_cc1 -pedantic-errors -std=c++11 -include-pch %t.2 -verify %s4 // RUN: %clang_cc1 -pedantic-errors -std=c++11 -include-pch %t.2 -emit-llvm-only %s
92 # AM_CFLAGS = -Wall -W -pedantic -std=c1193 # AM_CFLAGS = -Wall -W -pedantic -std=c11 --analyze94 # AM_CFLAGS = -Wall -W -pedantic -std=c++1195 # AM_CFLAGS = -Wall -W -pedantic -std=c++1496 # AM_CFLAGS = -Wall -W -pedantic -std=c++1z97 # AM_CFLAGS = -Wall -W -pedantic -std=c++2098 # AM_CFLAGS = -Wall -W -pedantic -std=c++23
20 // RUN: c-index-test -code-completion-at=%s:5:1 -pedantic %s 2> %t.err | FileCheck %s23 // RUN: c-index-test -code-completion-at=%s:8:6 -pedantic %s 2> %t.err25 // RUN: c-index-test -code-completion-at=%s:10:28 -pedantic %s 2> %t.err27 // RUN: c-index-test -code-completion-at=%s:11:17 -pedantic %s 2> %t.err29 // RUN: c-index-test -code-completion-at=%s:18:10 -pedantic %s 2> %t.err
63 # AM_CFLAGS = -Wall -W -pedantic -std=c1164 # AM_CFLAGS = -Wall -W -pedantic -std=c11 --analyze65 # AM_CFLAGS = -Wall -W -pedantic -std=c++9866 # AM_CFLAGS = -Wall -W -pedantic -std=c++1167 # AM_CFLAGS = -Wall -W -pedantic -std=c++1468 # AM_CFLAGS = -Wall -W -pedantic -std=c++1z69 # AM_CFLAGS = -Wall -W -pedantic -std=c++2070 # AM_CFLAGS = -Wall -W -pedantic -std=c++23
3 target_compile_options(${target} PRIVATE $<$<CXX_COMPILER_ID:GNU>:-Wall -Wextra -pedantic>)4 target_compile_options(${target} PRIVATE $<$<CXX_COMPILER_ID:Clang>:-Wall -Wextra -pedantic>)8 target_compile_options(${target} PRIVATE $<$<C_COMPILER_ID:GNU>:-Wall -Wextra -pedantic>)9 target_compile_options(${target} PRIVATE $<$<C_COMPILER_ID:Clang>:-Wall -Wextra -pedantic>)
2 RUN: %clang_cc1 -std=c90 -pedantic -fixit %t3 RUN: %clang_cc1 -pedantic -x c -std=c90 -Werror %t7 -pedantic -Werror -std=c90.13 compile cleanly with -Werror -pedantic. */
1 // RUN: %clang_cc1 -fsyntax-only -pedantic -verify %s3 // RUN: not %clang_cc1 -pedantic -fixit -x c %t4 // RUN: %clang_cc1 -pedantic -Werror -Wno-invalid-noreturn -x c %t9 compile cleanly with -Werror -pedantic. */
3 // RUN: not %clang_cc1 -pedantic -Wall -fixit -x objective-c %t4 // RUN: %clang_cc1 -fsyntax-only -pedantic -Wall -Werror -x objective-c %t8 // RUN: not %clang_cc1 -pedantic -Wall -fixit -x objective-c++ %t9 // RUN: %clang_cc1 -fsyntax-only -pedantic -Wall -Werror -x objective-c++ %t
1 // RUN: %clang_cc1 -std=c++98 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors2 // RUN: %clang_cc1 -std=c++11 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors3 // RUN: %clang_cc1 -std=c++14 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors4 // RUN: %clang_cc1 -std=c++1z %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
1 …-std=c++98 -triple x86_64-unknown-unknown %s -verify -fexceptions -fcxx-exceptions -pedantic-errors2 …-std=c++11 -triple x86_64-unknown-unknown %s -verify -fexceptions -fcxx-exceptions -pedantic-errors3 …-std=c++14 -triple x86_64-unknown-unknown %s -verify -fexceptions -fcxx-exceptions -pedantic-errors4 …-std=c++1z -triple x86_64-unknown-unknown %s -verify -fexceptions -fcxx-exceptions -pedantic-errors
1 // RUN: %clang_cc1 -std=c++98 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors -DNOEXCEPT=…2 // RUN: %clang_cc1 -std=c++11 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors -DNOEXCEPT=…3 // RUN: %clang_cc1 -std=c++14 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors -DNOEXCEPT=…4 // RUN: %clang_cc1 -std=c++1z %s -verify -fexceptions -fcxx-exceptions -pedantic-errors -DNOEXCEPT=…
2 // RUN: %clang_cc1 -fsyntax-only -pedantic -verify %s3 // RUN: %clang_cc1 -fsyntax-only -x c++ -std=c++03 -pedantic -verify %s7 // In C++11 mode, this is allowed, so don't warn in pedantic mode.9 // RUN: %clang_cc1 -fsyntax-only -x c++ -std=c++11 -Werror -pedantic %s
1 /* RUN: %clang_cc1 -x c -std=c89 -fsyntax-only -verify -pedantic-errors -Wno-empty-translation-…2 …* RUN: %clang_cc1 -x c -std=c99 -fsyntax-only -verify -pedantic-errors -Wno-empty-translation-…3 …* RUN: %clang_cc1 -x c++ -std=c++98 -fsyntax-only -verify -pedantic-errors -Wno-empty-translation-…4 …* RUN: %clang_cc1 -x c++ -std=c++11 -fsyntax-only -verify -Wc++98-compat-pedantic -Wno-empty-trans…
1 // RUN: %clang_cc1 -verify %s -pedantic-errors2 // RUN: %clang_cc1 -verify %s -pedantic-errors -DINLINE3 // RUN: %clang_cc1 -verify %s -pedantic-errors -DSTATIC4 // RUN: %clang_cc1 -verify %s -pedantic-errors -std=c++11 -DCONSTEXPR
54 // -pedantic, -Werror is not compatible with -Wall -Werror57 // RUN: -Werror -pedantic61 // -pedantic-errors is less strict that -pedantic, -Werror64 // RUN: -pedantic-errors70 // RUN: -pedantic-errors -Wsystem-headers