Flutter Engine
 
Loading...
Searching...
No Matches
comments_util.h
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef FLUTTER_TOOLS_LICENSES_CPP_SRC_COMMENTS_UTIL_H_
6#define FLUTTER_TOOLS_LICENSES_CPP_SRC_COMMENTS_UTIL_H_
7
8#include <string>
9
10/// @brief Helper functions for the generated comments lexer.
12 public:
13 static void AddTrimLine(std::string* buffer, const char* text, size_t length);
14 static void AddCTrimLine(std::string* buffer,
15 const char* text,
16 size_t length);
17 static void AddCEndTrimLine(std::string* buffer,
18 const char* text,
19 size_t length);
20};
21
22#endif // FLUTTER_TOOLS_LICENSES_CPP_SRC_COMMENTS_UTIL_H_
Helper functions for the generated comments lexer.
static void AddCEndTrimLine(std::string *buffer, const char *text, size_t length)
static void AddCTrimLine(std::string *buffer, const char *text, size_t length)
static void AddTrimLine(std::string *buffer, const char *text, size_t length)
size_t length
std::u16string text