EnglishFrenchSpanish

OnWorks favicon

iwyu - Online in the Cloud

Run iwyu in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command iwyu that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


include-what-you-use - Analyze #includes in C and C++ source files

DESCRIPTION


USAGE: include-what-you-use [-Xiwyu --iwyu_opt]... <clang opts> <source file> Here are the
<iwyu_opts> you can specify (e.g. -Xiwyu --verbose=3):

--check_also=<glob>: tells iwyu to print iwyu-violation info

for all files matching the given glob pattern (in addition to the default of
reporting for the input .cc file and its associated .h files). This flag may be
specified multiple times to specify multiple glob patterns.

--cwd=<dir>: tells iwyu what the current working directory is.

--howtodebug[=<filename>]: with no arg, prints instructions on

how to run iwyu under gdb for the input file, and exits. With an arg, prints only
when input file matches the arg.

--mapping_file=<filename>: gives iwyu a mapping file.

--no_default_mappings: do not add iwyu's default mappings.

--pch_in_code: mark the first include in a translation unit as a

precompiled header.
Use --pch_in_code to prevent IWYU from

removing necessary PCH includes.
Though Clang forces PCHs

to be listed as prefix headers, the PCH-in-code pattern can be used with GCC and is
standard practice on MSVC (e.g. stdafx.h).

--prefix_header_includes=<value>: tells iwyu what to do with

in-source includes and forward declarations involving prefix headers. Prefix
header is a file included via command-line option -include. If prefix header makes
include or forward declaration obsolete, presence of such include can be controlled
with the following values

add: new lines are added

keep: new lines aren't added, existing are kept intact

remove: new lines aren't added, existing are removed

Default value is 'add'.

--transitive_includes_only: do not suggest that a file add

foo.h unless foo.h is already visible in the file's transitive includes.

--max_line_length: maximum line length for includes.

Note that this only affects comments and alignment thereof, the maximum line length
can still be exceeded with long file names (default: 80). --verbose=<level>: the
higher the level, the more output.

In addition to IWYU-specific options you can specify the following options without -Xiwyu
prefix:

--help: prints this help and exits.

--version: prints version and exits.

Use iwyu online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • 2
    usm
    usm
    Usm is a unified slackware package
    manager that handles automatic
    dependency resolution. It unifies
    various package repositories including
    slackware, slacky, p...
    Download usm
  • 3
    Chart.js
    Chart.js
    Chart.js is a Javascript library that
    allows designers and developers to draw
    all kinds of charts using the HTML5
    canvas element. Chart js offers a great
    array ...
    Download Chart.js
  • 4
    iReport-Designer for JasperReports
    iReport-Designer for JasperReports
    NOTE: iReport/Jaspersoft Studio Support
    Announcement: As of version 5.5.0,
    Jaspersoft Studio will be the official
    design client for JasperReports. iReport
    will...
    Download iReport-Designer for JasperReports
  • 5
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 6
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • More »

Linux commands

Ad