зеркало из https://github.com/mozilla/gecko-dev.git
Bug 918923 - Part 1: Fix the include-what-you-use pragmas in the string headers; r=bsmedberg
This commit is contained in:
Родитель
6104493dbf
Коммит
769424ae11
|
@ -1,6 +1,7 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
// IWYU pragma: private, include "nsString.h"
|
||||
|
||||
/**
|
||||
* @file nsStringGlue.h
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
// IWYU pragma: private, include "nsStringGlue.h"
|
||||
// IWYU pragma: private, include "nsString.h"
|
||||
|
||||
#ifndef nsAString_h___
|
||||
#define nsAString_h___
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
// IWYU pragma: private, include "nsStringGlue.h"
|
||||
// IWYU pragma: private, include "nsString.h"
|
||||
|
||||
#ifndef nsReadableUtils_h___
|
||||
#define nsReadableUtils_h___
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
// IWYU pragma: private, include "nsStringGlue.h"
|
||||
|
||||
#ifndef nsString_h___
|
||||
#define nsString_h___
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
// IWYU pragma: private, include "nsStringGlue.h"
|
||||
// IWYU pragma: private, include "nsString.h"
|
||||
|
||||
/**
|
||||
* nsTDependentSubstring_CharT
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
// IWYU pragma: private, include "nsStringGlue.h"
|
||||
// IWYU pragma: private, include "nsString.h"
|
||||
|
||||
/**
|
||||
* This is the canonical null-terminated string class. All subclasses
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
// IWYU pragma: private, include "nsStringGlue.h"
|
||||
// IWYU pragma: private, include "nsString.h"
|
||||
|
||||
#include "mozilla/MemoryReporting.h"
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
// IWYU pragma: private, include "nsStringGlue.h"
|
||||
// IWYU pragma: private, include "nsString.h"
|
||||
|
||||
/**
|
||||
* nsTSubstringTuple_CharT
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
// IWYU pragma: private, include "nsStringGlue.h"
|
||||
// IWYU pragma: private, include "nsString.h"
|
||||
|
||||
#define CharT char
|
||||
#define CharT_is_char 1
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
// IWYU pragma: private, include "nsStringGlue.h"
|
||||
// IWYU pragma: private, include "nsString.h"
|
||||
|
||||
#define CharT PRUnichar
|
||||
#define CharT_is_PRUnichar 1
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
// IWYU pragma: private, include "nsStringGlue.h"
|
||||
// IWYU pragma: private, include "nsString.h"
|
||||
|
||||
#undef CharT
|
||||
#undef CharT_is_PRUnichar
|
||||
|
|
Загрузка…
Ссылка в новой задаче