OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:diagtool
(Results
1 - 17
of
17
) sorted by null
/external/clang/tools/diagtool/
CMakeLists.txt
5
add_clang_executable(
diagtool
7
DiagTool
.cpp
14
target_link_libraries(
diagtool
DiagTool.h
1
//===-
DiagTool
.h - Classes for defining
diagtool
tools -------------------===//
10
// This file implements the boilerplate for defining
diagtool
tools.
23
namespace
diagtool
{
namespace
25
class
DiagTool
{
29
DiagTool
(llvm::StringRef toolCmd, llvm::StringRef toolDesc);
30
virtual ~
DiagTool
();
44
DiagTool
*getTool(llvm::StringRef toolCmd);
45
void registerTool(
DiagTool
*tool);
51
template <typename
DIAGTOOL
>
[
all
...]
DiagTool.cpp
1
//===-
DiagTool
.cpp - Classes for defining
diagtool
tools -------------------===//
10
// This file implements the boilerplate for defining
diagtool
tools.
14
#include "
DiagTool
.h"
19
using namespace
diagtool
;
21
DiagTool
::
DiagTool
(llvm::StringRef toolCmd,
25
DiagTool
::~
DiagTool
() {}
27
typedef llvm::StringMap<
DiagTool
*> ToolMap
66
namespace
diagtool
{
namespace
[
all
...]
diagtool_main.cpp
10
// This file implements the main function for
diagtool
.
14
#include "
DiagTool
.h"
16
using namespace
diagtool
;
20
if (
DiagTool
*tool = diagTools->getTool(argv[1]))
23
llvm::errs() << "usage:
diagtool
<command> [<args>]\n\n";
Makefile
1
##===- tools/
diagtool
/Makefile -----------------------------*- Makefile -*-===##
11
TOOLNAME =
diagtool
DiagnosticNames.cpp
15
using namespace
diagtool
;
23
llvm::ArrayRef<DiagnosticRecord>
diagtool
::getBuiltinDiagnosticsByName() {
52
const DiagnosticRecord &
diagtool
::getDiagnosticForID(short DiagID) {
95
llvm::ArrayRef<GroupRecord>
diagtool
::getDiagnosticGroups() {
ListWarnings.cpp
1
//===- ListWarnings.h -
diagtool
tool for printing warning flags ----------===//
10
// This file provides a
diagtool
tool that displays warning flags for
15
#include "
DiagTool
.h"
28
using namespace
diagtool
;
ShowEnabledWarnings.cpp
1
//===- ShowEnabledWarnings -
diagtool
tool for printing enabled flags -----===//
10
#include "
DiagTool
.h"
24
using namespace
diagtool
;
40
llvm::errs() << "Usage:
diagtool
show-enabled [<flags>] <single-input.c>\n";
68
Args.push_back("
diagtool
");
DiagnosticNames.h
17
namespace
diagtool
{
namespace
116
} // end namespace
diagtool
TreeView.cpp
1
//===- TreeView.cpp -
diagtool
tool for printing warning flags ------------===//
10
#include "
DiagTool
.h"
24
using namespace
diagtool
;
143
llvm::errs() << "Usage:
diagtool
tree [--flags-only] [<diagnostic-group>]\n";
/external/clang/test/Misc/
warning-flags-enabled.c
1
// RUN:
diagtool
show-enabled %s | FileCheck %s
11
// RUN:
diagtool
show-enabled -Wno-everything %s | count 0
14
// RUN:
diagtool
show-enabled -Wno-everything -Wobjc-root-class %s | FileCheck -check-prefix CHECK-WARN %s
15
// RUN:
diagtool
show-enabled -Wno-everything -Werror=objc-root-class %s | FileCheck -check-prefix CHECK-ERROR %s
16
// RUN:
diagtool
show-enabled -Wno-everything -Wfatal-errors=objc-root-class %s | FileCheck -check-prefix CHECK-FATAL %s
22
// RUN:
diagtool
show-enabled --no-levels -Wno-everything -Wobjc-root-class %s | FileCheck -check-prefix CHECK-NO-LEVELS %s
30
// RUN:
diagtool
show-enabled --no-levels -Wno-conversion -Wenum-conversion %s | FileCheck --check-prefix CHECK-ENUM-CONVERSION %s
31
// RUN:
diagtool
show-enabled --no-levels %s | FileCheck --check-prefix CHECK-ENUM-CONVERSION %s
32
// RUN:
diagtool
show-enabled --no-levels -Wno-conversion %s | FileCheck --check-prefix CHECK-NO-ENUM-CONVERSION %s
38
// RUN:
diagtool
show-enabled --no-levels -Wno-parentheses -Wshift-op-parentheses %s | FileCheck --check-prefix CHE (…)
[
all
...]
warning-flags-tree.c
1
// RUN:
diagtool
tree | FileCheck -strict-whitespace %s
2
// RUN:
diagtool
tree -Weverything | FileCheck -strict-whitespace %s
3
// RUN:
diagtool
tree everything | FileCheck -strict-whitespace %s
5
// These three ways of running
diagtool
tree are the same:
30
// RUN: not
diagtool
tree -Wthis-is-not-a-valid-flag
33
// RUN:
diagtool
tree -Wgnu | FileCheck -strict-whitespace -check-prefix CHECK-GNU %s
43
// RUN:
diagtool
tree --flags-only -Wgnu | FileCheck -check-prefix CHECK-FLAGS-ONLY %s
warning-flags.c
1
RUN:
diagtool
list-warnings > %t 2>&1
/external/clang/tools/diag-build/
diag-build.sh
5
# diag-build acts as a wrapper for '
diagtool
show-enabled', in the same way
17
echo '
diagtool
must be in your PATH'
58
diagtool
=$(which
diagtool
)
59
if [[ -z "$
diagtool
" ]]; then
60
if [[ -x $(dirname $0)/
diagtool
]]; then
61
diagtool
=$(dirname $0)/
diagtool
63
echo 'Error: could not find
diagtool
.' 1>&2
104
sed $EXTENDED_SED_FLAG "s:($escCC|$escCXX):${
diagtool
//:/\\:} show-enabled:g
[
all
...]
/external/clang/tools/
CMakeLists.txt
3
add_clang_subdirectory(
diagtool
)
Makefile
15
PARALLEL_DIRS := clang-format driver
diagtool
/external/clang/test/
CMakeLists.txt
30
c-index-test
diagtool
Completed in 96 milliseconds