Upgrade to clang 5.0

The spurious changes to gen/ will hopefully be fixed by a clang-format
5.x revision.
This commit is contained in:
Nigel Tao committed 2018-03-21 13:08:16 +11:00
1 parent f11e1f97c6
commit abdf46045f
8 files changed
+15 -15

No files matched your search

+2 -2
View File
@@ -23,8 +23,8 @@ import (
)
const (
CcompilersDefault = "clang,gcc"
CcompilersUsage = `comma-separated list of C compilers, e.g. "clang,gcc"`
CcompilersDefault = "clang-5.0,gcc"
CcompilersUsage = `comma-separated list of C compilers, e.g. "clang-5.0,gcc"`
FocusDefault = ""
FocusUsage = `comma-separated list of tests or benchmarks (name prefixes) to focus on, e.g. "wuffs_gif_decode"`
+1 -1
View File
@@ -74,7 +74,7 @@ func Do(args []string) error {
return nil, err
}
stdout := &bytes.Buffer{}
cmd := exec.Command("clang-format", "-style=Chromium")
cmd := exec.Command("clang-format-5.0", "-style=Chromium")
cmd.Stdin = bytes.NewReader(unformatted)
cmd.Stdout = stdout
cmd.Stderr = os.Stderr
+1 -1
View File
@@ -177,7 +177,7 @@ static inline void wuffs_base__image_config__initialize(
#endif // WUFFS_BASE_HEADER_H
// ---------------- Use Declarations
// ---------------- Use Declarations
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -177,7 +177,7 @@ static inline void wuffs_base__image_config__initialize(
#endif // WUFFS_BASE_HEADER_H
// ---------------- Use Declarations
// ---------------- Use Declarations
#ifdef __cplusplus
extern "C" {
+4 -4
View File
@@ -177,16 +177,16 @@ static inline void wuffs_base__image_config__initialize(
#endif // WUFFS_BASE_HEADER_H
// ---------------- Use Declarations
// ---------------- Use Declarations
// ---------------- BEGIN USE "std/deflate"
// ---------------- BEGIN USE "std/deflate"
#ifndef WUFFS_DEFLATE_H
#define WUFFS_DEFLATE_H
// Code generated by wuffs-c. DO NOT EDIT.
// Code generated by wuffs-c. DO NOT EDIT.
// ---------------- Use Declarations
// ---------------- Use Declarations
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -177,7 +177,7 @@ static inline void wuffs_base__image_config__initialize(
#endif // WUFFS_BASE_HEADER_H
// ---------------- Use Declarations
// ---------------- Use Declarations
#ifdef __cplusplus
extern "C" {
+1 -1
View File
@@ -177,7 +177,7 @@ static inline void wuffs_base__image_config__initialize(
#endif // WUFFS_BASE_HEADER_H
// ---------------- Use Declarations
// ---------------- Use Declarations
#ifdef __cplusplus
extern "C" {
+4 -4
View File
@@ -177,16 +177,16 @@ static inline void wuffs_base__image_config__initialize(
#endif // WUFFS_BASE_HEADER_H
// ---------------- Use Declarations
// ---------------- Use Declarations
// ---------------- BEGIN USE "std/deflate"
// ---------------- BEGIN USE "std/deflate"
#ifndef WUFFS_DEFLATE_H
#define WUFFS_DEFLATE_H
// Code generated by wuffs-c. DO NOT EDIT.
// Code generated by wuffs-c. DO NOT EDIT.
// ---------------- Use Declarations
// ---------------- Use Declarations
#ifdef __cplusplus
extern "C" {