Skip to content
Permalink
Browse files

dtool: Include what you use

  • Loading branch information
CFSworks committed Jan 21, 2020
1 parent 508444d commit 0f486820be0060c4ee757ccd72f30a891da5039d
Showing with 548 additions and 283 deletions.
  1. +4 −1 dtool/src/cppparser/cppArrayType.cxx
  2. +2 −0 dtool/src/cppparser/cppArrayType.h
  3. +9 −1 dtool/src/cppparser/cppBison.yxx
  4. +2 −0 dtool/src/cppparser/cppClassTemplateParameter.cxx
  5. +2 −0 dtool/src/cppparser/cppClassTemplateParameter.h
  6. +2 −0 dtool/src/cppparser/cppClosureType.cxx
  7. +6 −0 dtool/src/cppparser/cppClosureType.h
  8. +4 −0 dtool/src/cppparser/cppConstType.cxx
  9. +3 −0 dtool/src/cppparser/cppConstType.h
  10. +1 −3 dtool/src/cppparser/cppDeclaration.h
  11. +5 −1 dtool/src/cppparser/cppEnumType.cxx
  12. +5 −1 dtool/src/cppparser/cppEnumType.h
  13. +6 −3 dtool/src/cppparser/cppExpression.cxx
  14. +5 −2 dtool/src/cppparser/cppExpression.h
  15. +3 −0 dtool/src/cppparser/cppExpressionParser.cxx
  16. +3 −1 dtool/src/cppparser/cppExtensionType.cxx
  17. +3 −1 dtool/src/cppparser/cppExtensionType.h
  18. +3 −0 dtool/src/cppparser/cppFunctionGroup.cxx
  19. +4 −0 dtool/src/cppparser/cppFunctionGroup.h
  20. +2 −0 dtool/src/cppparser/cppFunctionType.cxx
  21. +2 −0 dtool/src/cppparser/cppFunctionType.h
  22. +3 −1 dtool/src/cppparser/cppIdentifier.cxx
  23. +0 −1 dtool/src/cppparser/cppIdentifier.h
  24. +4 −3 dtool/src/cppparser/cppInstance.cxx
  25. +5 −1 dtool/src/cppparser/cppInstance.h
  26. +2 −0 dtool/src/cppparser/cppInstanceIdentifier.cxx
  27. +0 −1 dtool/src/cppparser/cppInstanceIdentifier.h
  28. +2 −0 dtool/src/cppparser/cppMakeProperty.cxx
  29. +5 −1 dtool/src/cppparser/cppMakeProperty.h
  30. +3 −0 dtool/src/cppparser/cppMakeSeq.cxx
  31. +5 −2 dtool/src/cppparser/cppMakeSeq.h
  32. +0 −1 dtool/src/cppparser/cppManifest.h
  33. +0 −1 dtool/src/cppparser/cppNameComponent.h
  34. +1 −0 dtool/src/cppparser/cppNamespace.h
  35. +4 −0 dtool/src/cppparser/cppParameterList.cxx
  36. +4 −2 dtool/src/cppparser/cppParser.cxx
  37. +2 −1 dtool/src/cppparser/cppParser.h
  38. +2 −0 dtool/src/cppparser/cppPointerType.cxx
  39. +3 −0 dtool/src/cppparser/cppPointerType.h
  40. +2 −0 dtool/src/cppparser/cppPreprocessor.cxx
  41. +2 −1 dtool/src/cppparser/cppReferenceType.cxx
  42. +3 −0 dtool/src/cppparser/cppReferenceType.h
  43. +1 −2 dtool/src/cppparser/cppScope.cxx
  44. +1 −3 dtool/src/cppparser/cppScope.h
  45. +2 −0 dtool/src/cppparser/cppSimpleType.cxx
  46. +3 −0 dtool/src/cppparser/cppSimpleType.h
  47. +11 −4 dtool/src/cppparser/cppStructType.cxx
  48. +8 −2 dtool/src/cppparser/cppStructType.h
  49. +2 −2 dtool/src/cppparser/cppTBDType.cxx
  50. +2 −0 dtool/src/cppparser/cppTBDType.h
  51. +3 −1 dtool/src/cppparser/cppTemplateParameterList.cxx
  52. +5 −0 dtool/src/cppparser/cppTemplateScope.cxx
  53. +9 −0 dtool/src/cppparser/cppTemplateScope.h
  54. +3 −1 dtool/src/cppparser/cppToken.cxx
  55. +1 −0 dtool/src/cppparser/cppToken.h
  56. +1 −2 dtool/src/cppparser/cppType.cxx
  57. +4 −0 dtool/src/cppparser/cppType.h
  58. +2 −0 dtool/src/cppparser/cppTypeDeclaration.cxx
  59. +4 −0 dtool/src/cppparser/cppTypeDeclaration.h
  60. +3 −0 dtool/src/cppparser/cppTypeParser.cxx
  61. +14 −0 dtool/src/cppparser/cppTypeProxy.h
  62. +3 −0 dtool/src/cppparser/cppTypedefType.cxx
  63. +9 −0 dtool/src/cppparser/cppTypedefType.h
  64. +1 −0 dtool/src/cppparser/cppUsing.h
  65. +0 −1 dtool/src/dtoolbase/atomicAdjustDummyImpl.cxx
  66. +0 −2 dtool/src/dtoolbase/atomicAdjustDummyImpl.h
  67. +3 −4 dtool/src/dtoolbase/atomicAdjustI386Impl.h
  68. +1 −1 dtool/src/dtoolbase/atomicAdjustPosixImpl.cxx
  69. +0 −2 dtool/src/dtoolbase/atomicAdjustPosixImpl.h
  70. +0 −2 dtool/src/dtoolbase/atomicAdjustWin32Impl.cxx
  71. +2 −1 dtool/src/dtoolbase/deletedBufferChain.cxx
  72. +1 −3 dtool/src/dtoolbase/deletedBufferChain.h
  73. +0 −5 dtool/src/dtoolbase/lookup3.c
  74. +0 −1 dtool/src/dtoolbase/lookup3.h
  75. +1 −4 dtool/src/dtoolbase/memoryHook.cxx
  76. +0 −1 dtool/src/dtoolbase/memoryHook.h
  77. +0 −1 dtool/src/dtoolbase/mutexDummyImpl.cxx
  78. +0 −1 dtool/src/dtoolbase/mutexDummyImpl.h
  79. +1 −1 dtool/src/dtoolbase/mutexPosixImpl.cxx
  80. +1 −3 dtool/src/dtoolbase/mutexPosixImpl.h
  81. +1 −1 dtool/src/dtoolbase/mutexSpinlockImpl.cxx
  82. +1 −1 dtool/src/dtoolbase/mutexWin32Impl.cxx
  83. +0 −4 dtool/src/dtoolbase/pdtoa.cxx
  84. +2 −0 dtool/src/dtoolbase/pstrtod.cxx
  85. +1 −0 dtool/src/dtoolbase/typeHandle.cxx
  86. +0 −2 dtool/src/dtoolbase/typeRegistry.cxx
  87. +0 −3 dtool/src/dtoolbase/typeRegistryNode.cxx
  88. +1 −2 dtool/src/dtoolbase/typeRegistryNode.h
  89. +0 −3 dtool/src/dtoolutil/config_dtoolutil.h
  90. +1 −1 dtool/src/dtoolutil/dSearchPath.cxx
  91. +3 −1 dtool/src/dtoolutil/executionEnvironment.cxx
  92. +0 −7 dtool/src/dtoolutil/filename.cxx
  93. +1 −2 dtool/src/dtoolutil/filename.h
  94. +3 −0 dtool/src/dtoolutil/globPattern.cxx
  95. +2 −0 dtool/src/dtoolutil/lineStreamBuf.cxx
  96. +0 −2 dtool/src/dtoolutil/lineStreamBuf.h
  97. +4 −5 dtool/src/dtoolutil/pandaFileStreamBuf.cxx
  98. +2 −0 dtool/src/dtoolutil/pandaSystem.cxx
  99. +3 −0 dtool/src/dtoolutil/pandaSystem.h
  100. +2 −0 dtool/src/dtoolutil/pfstream.h
  101. +0 −1 dtool/src/dtoolutil/pfstreamBuf.cxx
  102. +0 −1 dtool/src/dtoolutil/pfstreamBuf.h
  103. +0 −1 dtool/src/dtoolutil/stringDecoder.cxx
  104. +1 −1 dtool/src/dtoolutil/string_utils.h
  105. +1 −1 dtool/src/dtoolutil/textEncoder.cxx
  106. +6 −2 dtool/src/interrogate/functionRemap.cxx
  107. +0 −4 dtool/src/interrogate/functionRemap.h
  108. +5 −0 dtool/src/interrogate/functionWriterPtrFromPython.cxx
  109. +2 −0 dtool/src/interrogate/functionWriterPtrFromPython.h
  110. +8 −4 dtool/src/interrogate/functionWriterPtrToPython.cxx
  111. +2 −0 dtool/src/interrogate/functionWriterPtrToPython.h
  112. +10 −5 dtool/src/interrogate/interfaceMaker.cxx
  113. +0 −3 dtool/src/interrogate/interfaceMaker.h
  114. +4 −5 dtool/src/interrogate/interfaceMakerC.cxx
  115. +4 −0 dtool/src/interrogate/interfaceMakerC.h
  116. +1 −2 dtool/src/interrogate/interfaceMakerPython.h
  117. +15 −7 dtool/src/interrogate/interfaceMakerPythonNative.cxx
  118. +10 −3 dtool/src/interrogate/interfaceMakerPythonNative.h
  119. +9 −3 dtool/src/interrogate/interfaceMakerPythonObj.cxx
  120. +3 −4 dtool/src/interrogate/interfaceMakerPythonObj.h
  121. +8 −8 dtool/src/interrogate/interfaceMakerPythonSimple.cxx
  122. +2 −0 dtool/src/interrogate/interfaceMakerPythonSimple.h
  123. +15 −4 dtool/src/interrogate/interrogateBuilder.cxx
  124. +0 −5 dtool/src/interrogate/interrogateBuilder.h
  125. +5 −0 dtool/src/interrogate/parameterRemapBasicStringPtrToString.cxx
  126. +2 −0 dtool/src/interrogate/parameterRemapBasicStringPtrToString.h
  127. +3 −0 dtool/src/interrogate/parameterRemapBasicStringRefToString.cxx
  128. +2 −0 dtool/src/interrogate/parameterRemapBasicStringRefToString.h
  129. +3 −0 dtool/src/interrogate/parameterRemapBasicStringToString.cxx
  130. +2 −0 dtool/src/interrogate/parameterRemapBasicStringToString.h
  131. +2 −0 dtool/src/interrogate/parameterRemapCharStarToString.h
  132. +3 −5 dtool/src/interrogate/parameterRemapConcreteToPointer.cxx
  133. +3 −0 dtool/src/interrogate/parameterRemapConcreteToPointer.h
  134. +1 −2 dtool/src/interrogate/parameterRemapConstToNonConst.cxx
  135. +2 −0 dtool/src/interrogate/parameterRemapConstToNonConst.h
  136. +3 −0 dtool/src/interrogate/parameterRemapEnumToInt.cxx
  137. +2 −0 dtool/src/interrogate/parameterRemapEnumToInt.h
  138. +1 −4 dtool/src/interrogate/parameterRemapHandleToInt.cxx
  139. +2 −0 dtool/src/interrogate/parameterRemapHandleToInt.h
  140. +2 −1 dtool/src/interrogate/parameterRemapPTToPointer.cxx
  141. +0 −1 dtool/src/interrogate/parameterRemapPTToPointer.h
  142. +1 −6 dtool/src/interrogate/parameterRemapReferenceToConcrete.cxx
  143. +2 −0 dtool/src/interrogate/parameterRemapReferenceToConcrete.h
  144. +1 −6 dtool/src/interrogate/parameterRemapReferenceToPointer.cxx
  145. +2 −0 dtool/src/interrogate/parameterRemapReferenceToPointer.h
  146. +1 −5 dtool/src/interrogate/parameterRemapThis.cxx
  147. +3 −0 dtool/src/interrogate/parameterRemapToString.cxx
  148. +2 −0 dtool/src/interrogate/parameterRemapToString.h
  149. +2 −2 dtool/src/interrogate/parameterRemapUnchanged.h
  150. +1 −0 dtool/src/interrogate/parse_file.cxx
  151. +9 −2 dtool/src/interrogate/typeManager.cxx
  152. +0 −10 dtool/src/interrogate/typeManager.h
  153. +1 −1 dtool/src/interrogatedb/config_interrogatedb.cxx
  154. +0 −3 dtool/src/interrogatedb/interrogateComponent.h
  155. +7 −0 dtool/src/interrogatedb/interrogateDatabase.cxx
  156. +2 −1 dtool/src/interrogatedb/interrogateDatabase.h
  157. +2 −0 dtool/src/interrogatedb/interrogateElement.h
  158. +1 −1 dtool/src/interrogatedb/interrogateFunction.cxx
  159. +2 −0 dtool/src/interrogatedb/interrogateFunction.h
  160. +0 −2 dtool/src/interrogatedb/interrogateFunctionWrapper.cxx
  161. +2 −0 dtool/src/interrogatedb/interrogateFunctionWrapper.h
  162. +2 −0 dtool/src/interrogatedb/interrogateMakeSeq.h
  163. +2 −0 dtool/src/interrogatedb/interrogateManifest.h
  164. +1 −3 dtool/src/interrogatedb/interrogateType.cxx
  165. +2 −0 dtool/src/interrogatedb/interrogateType.h
  166. +10 −1 dtool/src/interrogatedb/interrogate_interface.cxx
  167. +0 −2 dtool/src/interrogatedb/interrogate_request.cxx
  168. +5 −1 dtool/src/prc/configDeclaration.cxx
  169. +1 −3 dtool/src/prc/configDeclaration.h
  170. +0 −1 dtool/src/prc/configFlags.h
  171. +1 −0 dtool/src/prc/configPage.cxx
  172. +7 −7 dtool/src/prc/configPageManager.cxx
  173. +2 −0 dtool/src/prc/configPageManager.h
  174. +3 −1 dtool/src/prc/configVariable.h
  175. +2 −2 dtool/src/prc/configVariableBase.h
  176. +3 −0 dtool/src/prc/configVariableBool.h
  177. +4 −4 dtool/src/prc/configVariableCore.cxx
  178. +3 −0 dtool/src/prc/configVariableDouble.h
  179. +3 −0 dtool/src/prc/configVariableEnum.h
  180. +2 −1 dtool/src/prc/configVariableFilename.cxx
  181. +4 −0 dtool/src/prc/configVariableFilename.h
  182. +3 −0 dtool/src/prc/configVariableInt.h
  183. +3 −1 dtool/src/prc/configVariableInt64.h
  184. +3 −0 dtool/src/prc/configVariableList.h
  185. +3 −1 dtool/src/prc/configVariableManager.cxx
  186. +2 −1 dtool/src/prc/configVariableSearchPath.cxx
  187. +5 −0 dtool/src/prc/configVariableSearchPath.h
  188. +3 −0 dtool/src/prc/configVariableString.h
  189. +1 −2 dtool/src/prc/config_prc.cxx
  190. +3 −0 dtool/src/prc/encryptStreamBuf.cxx
  191. +0 −3 dtool/src/prc/nativeNumericData.h
  192. +4 −3 dtool/src/prc/notify.cxx
  193. +3 −5 dtool/src/prc/notifyCategory.cxx
  194. +3 −2 dtool/src/prc/notifyCategory.h
  195. +1 −0 dtool/src/prc/prcKeyRegistry.cxx
  196. +0 −2 dtool/src/prc/reversedNumericData.h
  197. +3 −0 dtool/src/prc/streamReader.cxx
  198. +4 −3 dtool/src/prc/streamReader.h
  199. +4 −3 dtool/src/prc/streamWriter.h
  200. +0 −1 panda/src/chan/animPreloadTable.h
  201. +1 −0 panda/src/chan/partSubset.h
@@ -12,8 +12,11 @@
*/

#include "cppArrayType.h"

#include "cppExpression.h"
#include "cppPointerType.h"
#include "cppFile.h"

#include <map>

/**
*
@@ -16,9 +16,11 @@

#include "dtoolbase.h"

#include "cppDeclaration.h"
#include "cppType.h"

class CPPExpression;
class CPPScope;

/**
*
@@ -6,8 +6,13 @@

%{

#include "dtoolbase.h"

#include "cppBisonDefs.h"
#include "cppDeclaration.h"
#include "cppPreprocessor.h"
#include "cppParser.h"
#include "cppType.h"
#include "cppClosureType.h"
#include "cppExpression.h"
#include "cppSimpleType.h"
@@ -16,12 +21,13 @@
#include "cppEnumType.h"
#include "cppFunctionType.h"
#include "cppTBDType.h"
#include "cppToken.h"
#include "cppMakeProperty.h"
#include "cppMakeSeq.h"
#include "cppNameComponent.h"
#include "cppParameterList.h"
#include "cppInstance.h"
#include "cppClassTemplateParameter.h"
#include "cppTemplateParameterList.h"
#include "cppInstanceIdentifier.h"
#include "cppTypedefType.h"
#include "cppTypeDeclaration.h"
@@ -32,6 +38,8 @@
#include "cppNamespace.h"
#include "cppUsing.h"

#include <vector>

using std::stringstream;
using std::string;

@@ -12,6 +12,8 @@
*/

#include "cppClassTemplateParameter.h"

#include "cppFile.h"
#include "cppIdentifier.h"

/**
@@ -16,9 +16,11 @@

#include "dtoolbase.h"

#include "cppDeclaration.h"
#include "cppType.h"

class CPPIdentifier;
class CPPScope;

/**
*
@@ -12,6 +12,8 @@
*/

#include "cppClosureType.h"

#include "cppType.h"
#include "cppParameterList.h"
#include "cppExpression.h"

@@ -16,8 +16,14 @@

#include "dtoolbase.h"

#include "cppDeclaration.h"
#include "cppFunctionType.h"

#include <vector>

class CPPExpression;
class CPPScope;

/**
* The type of a lambda expression. This is like a function, but with
* additional captures defined.
@@ -13,6 +13,10 @@

#include "cppConstType.h"

#include "cppFile.h"

#include <map>

/**
*
*/
@@ -16,8 +16,11 @@

#include "dtoolbase.h"

#include "cppDeclaration.h"
#include "cppType.h"

class CPPScope;

/**
*
*/
@@ -18,13 +18,11 @@

#include "cppVisibility.h"
#include "cppFile.h"
#include "cppCommentBlock.h"

#include <string>
#include <vector>
#include <map>
#include <set>

class CPPCommentBlock;
class CPPInstance;
class CPPTemplateParameterList;
class CPPTypedefType;
@@ -12,12 +12,16 @@
*/

#include "cppEnumType.h"
#include "cppTypedefType.h"

#include "cppCommentBlock.h"
#include "cppExpression.h"
#include "cppSimpleType.h"
#include "cppConstType.h"
#include "cppScope.h"
#include "cppParser.h"
#include "cppPreprocessor.h"
#include "cppType.h"
#include "cppInstance.h"
#include "cppIdentifier.h"
#include "indent.h"

@@ -17,14 +17,18 @@
#include "dtoolbase.h"

#include "cppBisonDefs.h"
#include "cppDeclaration.h"
#include "cppExtensionType.h"

#include <vector>

class CPPFile;
class CPPExpression;
class CPPIdentifier;
class CPPInstance;
class CPPPreprocessor;
class CPPScope;

class CPPType;

/**
*
@@ -12,25 +12,28 @@
*/

#include "cppExpression.h"
#include "cppToken.h"

#include "cppFile.h"
#include "cppIdentifier.h"
#include "cppType.h"
#include "cppSimpleType.h"
#include "cppPointerType.h"
#include "cppExtensionType.h"
#include "cppEnumType.h"
#include "cppConstType.h"
#include "cppArrayType.h"
#include "cppPreprocessor.h"
#include "cppInstance.h"
#include "cppFunctionGroup.h"
#include "cppFunctionType.h"
#include "cppClosureType.h"
#include "cppReferenceType.h"
#include "cppStructType.h"
#include "cppBison.h"
#include "cppVisibility.h"
#include "pdtoa.h"

#include <assert.h>
#include <ctype.h>
#include <vector>

using std::cerr;
using std::string;
@@ -18,10 +18,13 @@

#include "cppDeclaration.h"

class CPPClosureType;
class CPPFunctionGroup;
class CPPIdentifier;
class CPPType;
class CPPInstance;
class CPPPreprocessor;
class CPPFunctionGroup;
class CPPScope;
class CPPType;

/**
*
@@ -12,6 +12,9 @@
*/

#include "cppExpressionParser.h"

#include "cppBisonDefs.h"
#include "cppDeclaration.h"
#include "cppExpression.h"

/**
@@ -12,10 +12,12 @@
*/

#include "cppExtensionType.h"

#include "cppTypedefType.h"
#include "cppIdentifier.h"
#include "cppParser.h"
#include "indent.h"

#include <map>

/**
*
@@ -16,9 +16,11 @@

#include "dtoolbase.h"

#include "cppDeclaration.h"
#include "cppType.h"
#include "cppInstance.h"

class CPPExpression;
class CPPFile;
class CPPScope;
class CPPIdentifier;

@@ -12,8 +12,11 @@
*/

#include "cppFunctionGroup.h"

#include "cppFile.h"
#include "cppFunctionType.h"
#include "cppInstance.h"
#include "cppType.h"
#include "indent.h"

/**
@@ -18,7 +18,11 @@

#include "cppDeclaration.h"

#include <vector>

class CPPInstance;
class CPPScope;
class CPPType;

/**
* This class is simply a container for one or more CPPInstances for functions
@@ -12,6 +12,8 @@
*/

#include "cppFunctionType.h"

#include "cppFile.h"
#include "cppParameterList.h"
#include "cppSimpleType.h"
#include "cppInstance.h"
@@ -16,10 +16,12 @@

#include "dtoolbase.h"

#include "cppDeclaration.h"
#include "cppType.h"

class CPPParameterList;
class CPPIdentifier;
class CPPScope;

/**
*
@@ -12,10 +12,12 @@
*/

#include "cppIdentifier.h"

#include "cppFunctionGroup.h"
#include "cppScope.h"
#include "cppTemplateScope.h"
#include "cppPreprocessor.h"
#include "cppTemplateParameterList.h"
#include "cppType.h"
#include "cppTBDType.h"
#include "cppStructType.h"

@@ -27,7 +27,6 @@
class CPPScope;
class CPPType;
class CPPPreprocessor;
class CPPTemplateParameterList;

/**
*
@@ -12,20 +12,21 @@
*/

#include "cppInstance.h"

#include "cppFile.h"
#include "cppInstanceIdentifier.h"
#include "cppIdentifier.h"
#include "cppScope.h"
#include "cppTemplateScope.h"
#include "cppType.h"
#include "cppFunctionType.h"
#include "cppSimpleType.h"
#include "cppExpression.h"
#include "cppPreprocessor.h"
#include "cppParameterList.h"
#include "cppReferenceType.h"
#include "cppConstType.h"
#include "indent.h"

#include <algorithm>

using std::string;

/**
@@ -17,12 +17,16 @@
#include "dtoolbase.h"

#include "cppDeclaration.h"
#include "cppType.h"
#include "cppTemplateParameterList.h"

#include <map>

class CPPFile;
class CPPInstanceIdentifier;
class CPPIdentifier;
class CPPParameterList;
class CPPPreprocessor;
class CPPType;
class CPPScope;
class CPPExpression;

@@ -12,6 +12,8 @@
*/

#include "cppInstanceIdentifier.h"

#include "cppType.h"
#include "cppPointerType.h"
#include "cppReferenceType.h"
#include "cppArrayType.h"
@@ -17,7 +17,6 @@
#include "dtoolbase.h"

#include <vector>
#include <string>

class CPPIdentifier;
class CPPParameterList;

0 comments on commit 0f48682

Please sign in to comment.
You can’t perform that action at this time.