---
name: "clang-include-fixer-3.9"
section: "1"
platform: "linux"
package: "clang-3.9"
version: "1:3.9.1-9"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/clang-include-fixer-3.9"
---

# clang-include-fixer-3.9(1)

manual page for clang-include-fixer 3.9

## NAME

clang-include-fixer - manual page for clang-include-fixer 3.9

## DESCRIPTION

ERROR: ld.so: object 'libfakeroot-sysv.so' from LD\_PRELOAD cannot be preloaded (cannot open shared object file): ignored. USAGE: clang-include-fixer \[subcommand\] \[options\] \<source0\> \[... \<sourceN\>\]

OPTIONS:

Generic Options:

**-help**                      - Display available options (**-help-hidden** for more)

**-help-list**                 - Display list of available options (**-help-list-hidden** for more)

**-version**                   - Display the version of this program

Tool options:

**-db**                        - Specify input format

- \=fixed

  \-   Hard-coded mapping

- \=yaml

  \-   Yaml database created by find-all-symbols

**-extra-arg=**\<string\>        - Additional argument to append to the compiler command line

**-extra-arg-before=**\<string\> - Additional argument to prepend to the compiler command line

**-input=**\<string\>            - String to initialize the database

- **-insert-header=**\<string\> - Insert a specific header. This should run with STDIN mode.

  The result is written to stdout. It is currently used for editor integration. Support YAML/JSON format:

- **-insert-header=**"{

  SymbolIdentifier: foo, Range: {Offset: 0, Length: 3}, HeaderInfos: \[ {Headers: "\\"foo\_a.h\\"",

-

  QualifiedName: "a::foo"} \]}"

**-minimize-paths**            - Whether to minimize added include paths

- **-output-headers** - Print the symbol being queried and all its relevant headers in

  JSON format to stdout:

- {

  "SymbolIdentifier": "foo", "Range": {"Offset":0, "Length": 3}, "HeaderInfos": \[ {"Header": "\\"foo\_a.h\\"",

- "QualifiedName": "a::foo"} \]

  }

**-p=**\<string\>                - Build path

**-q**                         - Reduce terminal output

- **-stdin** - Override source file's content (in the overlaying

  virtual file system) with input from \<stdin\> and run the tool on the new content with the compilation options of the source file. This mode is currently used for editor integration.

**-style=**\<string\>            - Fallback style for reformatting after inserting new headers if there is no clang-format config file found.
