]> granicus.if.org Git - clang/commit
add a new -fdiagnostics-show-category=none/id/name option, giving control
authorChris Lattner <sabre@nondot.org>
Tue, 4 May 2010 21:55:25 +0000 (21:55 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 4 May 2010 21:55:25 +0000 (21:55 +0000)
commit6fbe8398ba1680ffc5daa7395850ff8765b7905b
tree0f90c54b1644a14788dbce898e7850fb9fbe7602
parentc9b889044c8e1e2d6ab194e34e8b74f6998094fa
add a new -fdiagnostics-show-category=none/id/name option, giving control
over choice of:

t.c:3:11: warning: conversion specifies type 'char *' but the argument has type 'int' [-Wformat]
t.c:3:11: warning: conversion specifies type 'char *' but the argument has type 'int' [-Wformat,1]
t.c:3:11: warning: conversion specifies type 'char *' but the argument has type 'int' [-Wformat,Format String]

dox to come.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103056 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/CC1Options.td
include/clang/Driver/Options.td
include/clang/Frontend/DiagnosticOptions.h
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Frontend/TextDiagnosticPrinter.cpp