diff options
author | 2015-07-25 23:14:25 +0800 | |
---|---|---|
committer | 2015-07-25 23:53:32 +0800 | |
commit | 78162a2a1343a7caff3d43f457daa87475e6b926 (patch) | |
tree | 5202c4b2c21b80822bf07282df2e25ad336812f9 /tokenizer.cpp | |
parent | 30ea4fc416c533e9ca3c1fb464e08c004946de00 (diff) |
Initial pass with Include What You Use
Diffstat (limited to 'tokenizer.cpp')
-rw-r--r-- | tokenizer.cpp | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/tokenizer.cpp b/tokenizer.cpp index c491bd0e..319eb2d9 100644 --- a/tokenizer.cpp +++ b/tokenizer.cpp @@ -6,22 +6,19 @@ tokenizing multiple strings and disposing of unused string segments. */ -#include "config.h" +#include "config.h" // IWYU pragma: keep -#include <stdlib.h> -#include <stdio.h> #include <wchar.h> #include <wctype.h> -#include <string.h> #include <unistd.h> #include <fcntl.h> +#include <assert.h> +#include <string> -#include "fallback.h" -#include "util.h" - -#include "wutil.h" -#include "tokenizer.h" +#include "fallback.h" // IWYU pragma: keep #include "common.h" +#include "wutil.h" // IWYU pragma: keep - needed for wgettext +#include "tokenizer.h" /* Wow what a hack */ #define TOK_CALL_ERROR(t, e, x) do { tok_call_error((t), (e), (t)->squash_errors ? L"" : (x)); } while (0) |