[
  {
    "path": ".clang-format",
    "content": "---\nLanguage:        Cpp\n# BasedOnStyle:  Google\nAccessModifierOffset: -1\nAlignAfterOpenBracket: Align\nAlignConsecutiveAssignments: false\nAlignConsecutiveDeclarations: false\nAlignEscapedNewlines: Right\nAlignOperands:   true\nAlignTrailingComments: true\nAllowAllParametersOfDeclarationOnNextLine: true\nAllowShortBlocksOnASingleLine: false\nAllowShortCaseLabelsOnASingleLine: false\nAllowShortFunctionsOnASingleLine: Inline\nAllowShortIfStatementsOnASingleLine: true\nAllowShortLoopsOnASingleLine: true\nAlwaysBreakAfterDefinitionReturnType: None\nAlwaysBreakAfterReturnType: None\nAlwaysBreakBeforeMultilineStrings: false\nAlwaysBreakTemplateDeclarations: true\nBinPackArguments: false\nBinPackParameters: false\nBraceWrapping:\n  AfterClass:      false\n  AfterControlStatement: false\n  AfterEnum:       false\n  AfterFunction:   false\n  AfterNamespace:  false\n  AfterObjCDeclaration: false\n  AfterStruct:     false\n  AfterUnion:      false\n  AfterExternBlock: false\n  BeforeCatch:     false\n  BeforeElse:      false\n  IndentBraces:    false\n  SplitEmptyFunction: true\n  SplitEmptyRecord: true\n  SplitEmptyNamespace: true\nBreakBeforeBinaryOperators: None\nBreakBeforeBraces: Attach\nBreakBeforeInheritanceComma: false\nBreakBeforeTernaryOperators: true\nBreakConstructorInitializersBeforeComma: false\nBreakConstructorInitializers: BeforeColon\nBreakAfterJavaFieldAnnotations: false\nBreakStringLiterals: true\nColumnLimit:      80\nCommentPragmas:  '^ IWYU pragma:'\nCompactNamespaces: false\nConstructorInitializerAllOnOneLineOrOnePerLine: true\nConstructorInitializerIndentWidth: 4\nContinuationIndentWidth: 4\nCpp11BracedListStyle: true\nDerivePointerAlignment: false\nDisableFormat:   false\nExperimentalAutoDetectBinPacking: false\nFixNamespaceComments: true\nForEachMacros:\n  - foreach\n  - Q_FOREACH\n  - BOOST_FOREACH\nIncludeBlocks:   Preserve\nIncludeCategories:\n  - Regex:           '^<ext/.*\\.h>'\n    Priority:        2\n  - Regex:           '^<.*\\.h>'\n    Priority:        1\n  - Regex:           '^<.*'\n    Priority:        2\n  - Regex:           '.*'\n    Priority:        3\nIncludeIsMainRegex: '([-_](test|unittest))?$'\nIndentCaseLabels: true\nIndentPPDirectives: None\nIndentWidth:     2\nIndentWrappedFunctionNames: false\nJavaScriptQuotes: Leave\nJavaScriptWrapImports: true\nKeepEmptyLinesAtTheStartOfBlocks: false\nMacroBlockBegin: ''\nMacroBlockEnd:   ''\nMaxEmptyLinesToKeep: 1\nNamespaceIndentation: None\nObjCBlockIndentWidth: 2\nObjCSpaceAfterProperty: false\nObjCSpaceBeforeProtocolList: false\nPenaltyBreakAssignment: 2\nPenaltyBreakBeforeFirstCallParameter: 1\nPenaltyBreakComment: 300\nPenaltyBreakFirstLessLess: 120\nPenaltyBreakString: 1000\nPenaltyExcessCharacter: 1000000\nPenaltyReturnTypeOnItsOwnLine: 200\nPointerAlignment: Left\nReflowComments:  true\nSortIncludes:    true\nSortUsingDeclarations: true\nSpaceAfterCStyleCast: false\nSpaceAfterTemplateKeyword: true\nSpaceBeforeAssignmentOperators: true\nSpaceBeforeParens: ControlStatements\nSpaceInEmptyParentheses: false\nSpacesBeforeTrailingComments: 2\nSpacesInAngles:  false\nSpacesInContainerLiterals: true\nSpacesInCStyleCastParentheses: false\nSpacesInParentheses: false\nSpacesInSquareBrackets: false\nStandard:        Auto\nTabWidth:        8\nUseTab:          Never\n"
  },
  {
    "path": ".cpplint",
    "content": "set noparent\nfilter=-build/include_alpha,-build/include_subdir,-build/include_what_you_use,-legal/copyright,-readability/nolint\nlinelength=80\n"
  },
  {
    "path": ".editorconfig",
    "content": "root = true\n\n[*]\ncharset = utf-8\nend_of_line = lf\nindent_size = 2\nindent_style = space\ninsert_final_newline = true\ntrim_trailing_whitespace = true\n\n[vcbuild.bat]\nend_of_line = crlf\n\n[Makefile]\nindent_size = 8\nindent_style = tab\n\n[{deps}/**]\ncharset = unset\nend_of_line = unset\nindent_size = unset\nindent_style = unset\ntrim_trailing_whitespace = unset\n"
  },
  {
    "path": ".eslintrc",
    "content": "{\n  \"extends\": [\n    \"eslint-config-egg\"\n  ]\n}\n"
  },
  {
    "path": ".gitignore",
    "content": "# Logs\nlogs\n*.log\n\n# Runtime data\npids\n*.pid\n*.seed\n\n# Directory for instrumented libs generated by jscoverage/JSCover\nlib-cov\n\n# Coverage directory used by tools like istanbul\ncoverage\n\n# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)\n.grunt\n\n# Compiled binary addons (http://nodejs.org/api/addons.html)\nbuild/Release\n\n# Dependency directory\n# Commenting this out is preferred by some people, see\n# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-\nnode_modules\n\n# Users Environment Variables\n.lock-wscript\n\n*.swp\n*.jpg\n*.png\n*.html\n\n.build\nsrc/.ycm_*\n\n.idea\nbuild\n.ropeproject\n\n.DS_Store\n*.bak\npackage-lock.json\ncompile_commands.json\n.cache\n.vscode\n"
  },
  {
    "path": ".gitmodules",
    "content": "[submodule \"deps/byakuren\"]\npath = deps/byakuren\nurl = https://github.com/XadillaX/byakuren.git\n"
  },
  {
    "path": "CPPLINT.cfg",
    "content": "set noparent\nfilter=-build/include_alpha,-build/include_subdir,-build/include_what_you_use,-legal/copyright,-readability/nolint\nlinelength=80\n"
  },
  {
    "path": "LICENSE",
    "content": "The MIT License (MIT)\n\nCopyright (c) 2022 ZHU, Kaidi\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n"
  },
  {
    "path": "README.md",
    "content": "<p align=\"center\">\n  <img src=\"https://github.com/XadillaX/thmclrx/raw/master/logo.svg\" alt=\"Thmclrx\" />\n</p>\n\n<p align=\"center\">\n  <a href=\"https://github.com/sponsors/XadillaX\"><img src=\"https://github.com/XadillaX/vscode-language-viml/raw/master/assets/github_sponsor_btn.png\" /></a>\n</p>\n\n<p align=\"center\">\n  <a href=\"https://www.npmjs.org/package/thmclrx\">\n    <img src=\"http://img.shields.io/npm/v/thmclrx.svg\" />\n  </a>\n\n  <a href=\"https://www.npmjs.org/package/thmclrx\">\n    <img src=\"http://img.shields.io/npm/dm/thmclrx.svg\" />\n  </a>\n</p>\n\n<p align=\"center\">\n  A theme color extractor module for Node.js with ❤ and built on the top of <a href=\"https://github.com/XadillaX/byakuren\">Byakuren</a>.\n</p>\n\n## Algorithm\n\n- Minimum Differ Algorithm\n- Octree Algorithm\n- Mixed Algorithm\n\n## Installation\n\n```shell\n$ npm install --save thmclrx\n```\n\n## API\n\nThere only three API in Node.js now.\n\n### octree\n\n`octree` is to get the theme colors in an octree. The colors are unsertain but fidelity.\n\nThe function is like below:\n\n```javascript\nvar thmclrx = require(\"thmclrx\");\nthmclrx.octree(file, [maxColors], [callback], [frameNumber]);\n```\n\n+ `file`: it could be a local filename, remote url or even an image buffer.\n+ `maxColors`: count of max theme colors you want to extract. Defaults to 256;\n+ `callback`: it should be like `function(err, colors) {}`. Defaults to an empty function;\n+ `frameNumber`: the frame you want to extract. Usually used in `gif`. Defaults to 0.\n\n### minDiff\n\n`minDiff` is to get theme colors in minimum differ algorithm by passing a palette. The result theme colors are certainlly in your palette.\n\n```javascript\nvar thmclrx = require(\"thmclrx\");\nthmclrx.minDiff(file, [palette], [callback], [frameNumber]);\n```\n\n+ `file`: it could be a local filename, remote url or even an image buffer.\n+ `palette`: palette is an array that in the struct of `[ { r: .., g: .., b: .., }, { r: .., g: .., b: .. } ]`. Default palette refers [here](https://github.com/XadillaX/thmclrx/blob/master/lib/default_palette.js).\n+ `callback`: it should be like `function(err, colors) {}`. Defaults to an empty function;\n+ `frameNumber`: the frame you want to extract. Usually used in `gif`. Defaults to 0.\n\n### mixed\n\nUsing `mixed` get the basic fidelity theme colors and then using `minDiff` to standardize the fidelity theme colors to a certain palette.\n\n```javascript\nvar thmclrx = require(\"thmclrx\");\nthmclrx.mixed(file, [firstStepMaxColors], [palette], [callback], [frameNumber]);\n```\n\n+ `file`: same as the two functions above.\n+ `firstStepMaxColors`: same as the `maxColors` in `octreeGet`. Defaults to 256.\n+ `palette`: same as the `palette` in `mindiffGet`. Same default value.\n+ `callback`: same as the two functions above.\n+ `frameNumber`: same as the two functions above.\n\n## C++ API\n\nIf you want to use C++ API directly, you can refer to this.\n\n### getByOctree\n\nThis function is called in `octree` in Node.js API.\n\n```javascript\nvar thmclrx = require(\"thmclrx\").cpp;\nvar colors = thmclrx.getByOctree(pixels, [maxColor]);\n```\n\n+ `pixels`: this is an array in the struct of `[ { r: .., g: .., b: .., }, { r: .., g: .., b: .. } ]`.\n+ `maxColor`: same as the `maxColors` in `octreeGet` of Node.js API. Defaults to 256.\n+ `@return`: this function will return the theme colors.\n\n### getByMinDiff\n\nThis function is called in `minDiff` in Node.js API.\n\n```javascript\nvar thmclrx = require(\"thmclrx\").cpp;\nvar colors = thmclrx.getByMinDiff(pixels, [palette]);\n```\n\n+ `pixels`: this may be same as the `pixels` in `octreeGet` of C++ API. Otherwise, it may be the result of `octreeGet` of C++ API.\n+ `palette`: same as the `palette` in `mindiffGet` of Node.js API. Same default value.\n+ `@return`: this function will return the theme colors.\n\n### getByMixed\n\nThis function is called in `mixed` in Node.js API.\n\n```javascript\nvar thmclrx = require(\"thmclrx\").cpp;\nvar colors = thmclrx.getByMixed(pixels, maxColors, palette);\n```\n\n+ `pixels`: this may be same as the `pixels` in `octreeGet` of C++ API. Otherwise, it may be the result of `octreeGet` of C++ API.\n+ `maxColors`: same as the `maxColors` in `octreeGet` of Node.js API.\n+ `palette`: same as the `palette` in `mindiffGet` of Node.js API.\n+ `@return`: this function will return the theme colors.\n\n## Migrate From 0.x To 1.x\n\nthmclrx 0.x has three APIs which map three APIs in 1.x.\n\n+ octreeGet\n+ mindiffGet\n+ mixGet\n\nIn 1.x, these three APIs still exist but deprecated. They are exactly shallow points of `octree` / `minDiff` and `mixed`.\n\nYou may do nothing but we recommend you to rename the functions you called.\n\nBut if you're using native APIs (C++ APIs), you should read the [new document](#c-api).\n\n## Contribute\n\nIssues and PRs are welcomed!\n\n「雖然我覺得不怎麼可能有人會關注我」\n"
  },
  {
    "path": "binding.gyp",
    "content": "{\n    \"targets\": [\n        {\n            \"target_name\": \"xmempool\",\n            \"type\": \"static_library\",\n            \"sources\": [\n                \"./deps/byakuren/third-party/xmempool/xmempool.c\"\n            ],\n            \"cflags\": [\n                \"-std=c99\"\n            ]\n        },\n        {\n            \"target_name\": \"byakuren\",\n            \"type\": \"static_library\",\n            \"dependencies\": [\n                \"xmempool\"\n            ],\n            \"sources\": [\n                \"./deps/byakuren/byakuren.c\",\n                \"./deps/byakuren/bkr_common.c\",\n                \"./deps/byakuren/const/palette.c\",\n                \"./deps/byakuren/lib/mindiff.c\",\n                \"./deps/byakuren/lib/mix.c\",\n                \"./deps/byakuren/lib/octree.c\"\n            ],\n            \"cflags\": [\n                \"-std=c99\"\n            ]\n        },\n        {\n            \"target_name\": \"thmclrx\",\n            \"dependencies\": [\n                \"byakuren\"\n            ],\n            \"sources\": [\n                \"./src/thmclrx.cc\",\n                \"./src/common.cc\"\n            ],\n            \"include_dirs\": [\n                \"<!(node -e \\\"require('nan')\\\")\",\n                \"deps\",\n                \"deps/byakuren/third-party\"\n            ]\n        }\n    ]\n}\n"
  },
  {
    "path": "deps/cpplint/.flake8",
    "content": "[flake8]\nignore =\n    # indentation is not a multiple of four,\n    E111,E114,\n    # visually indented line with same indent as next logical line,\n    E129,\n    # expected 2 blank lines, found 1\n    E302,E305,\n    # closing bracket does not match indentation of opening bracket's line\n    E123,\n    # multiple spaces before operator\n    E221,\n    # line break before binary operator\n    W503,\n    # line break after binary operator\n    W504,\n    # multiple statements on one line\n    E701,\n    # continuation line under-indented for hanging indent\n    E121,\n    # closing bracket does not match visual indentation\n    E124,\n    # continuation line with same indent as next logical line\n    E125,\n    # continuation line over-indented for visual indent\n    E127,\n    # continuation line under-indented for visual indent\n    E128,\n    # unexpected indentation\n    E116,\n    # too many blank lines\n    E303,\n    # missing whitespace around arithmetic operator\n    E226,\n    # test for membership should be 'not in'\n    E713,\nmax-line-length=120\n"
  },
  {
    "path": "deps/cpplint/.gitignore",
    "content": "### Python ###\n# Byte-compiled / optimized / DLL files\n__pycache__/\n*.py[cod]\n*$py.class\n\n# C extensions\n*.so\n\n# Distribution / packaging\n.Python\nbuild/\ndevelop-eggs/\ndist/\ndownloads/\neggs/\n.eggs/\nlib/\nlib64/\nparts/\nsdist/\nvar/\nwheels/\n*.egg-info/\n.installed.cfg\n*.egg\nMANIFEST\n\n# PyInstaller\n#  Usually these files are written by a python script from a template\n#  before PyInstaller builds the exe, so as to inject date/other infos into it.\n*.manifest\n*.spec\n\n# Installer logs\npip-log.txt\npip-delete-this-directory.txt\n\n# Unit test / coverage reports\nhtmlcov/\n.tox/\n.nox/\n.coverage\n.coverage.*\n.cache\nnosetests.xml\ncoverage.xml\n*.cover\n.hypothesis/\n.pytest_cache/\n\n# Translations\n*.mo\n*.pot\n\n# Django stuff:\n*.log\nlocal_settings.py\ndb.sqlite3\n\n# Flask stuff:\ninstance/\n.webassets-cache\n\n# Scrapy stuff:\n.scrapy\n\n# Sphinx documentation\ndocs/_build/\n\n# PyBuilder\ntarget/\n\n# Jupyter Notebook\n.ipynb_checkpoints\n\n# IPython\nprofile_default/\nipython_config.py\n\n# pyenv\n.python-version\n\n# celery beat schedule file\ncelerybeat-schedule\n\n# SageMath parsed files\n*.sage.py\n\n# Environments\n.env\n.venv\nenv/\nvenv/\nENV/\nenv.bak/\nvenv.bak/\n\n# Spyder project settings\n.spyderproject\n.spyproject\n\n# Rope project settings\n.ropeproject\n\n# mkdocs documentation\n/site\n\n# mypy\n.mypy_cache/\n.dmypy.json\ndmypy.json\n\n### Python Patch ###\n.venv/\n\n### Python.VirtualEnv Stack ###\n# Virtualenv\n# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/\n[Bb]in\n[Ii]nclude\n[Ll]ib\n[Ll]ib64\n[Ll]ocal\n[Ss]cripts\npyvenv.cfg\npip-selfcheck.json\n"
  },
  {
    "path": "deps/cpplint/.pylintrc",
    "content": "[BASIC]\ninclude-naming-hint=yes\nmethod-rgx=[A-Z_][A-Za-z0-9]{2,49}$\nfunction-rgx=[A-Z_][A-Za-z0-9]{2,49}$|main|unicode_escape_decode\nconst-rgx=[a-zA-Z_][A-Za-z0-9_]{2,49}$\nvariable-rgx=[a-z_][a-z0-9_]{0,49}$\nargument-rgx=[a-z_][a-z0-9_]{0,49}$\nclass-rgx=[A-Z_][a-zA-Z0-9]+$|basestring|unicode|long|xrange\n\n[MESSAGES CONTROL]\ndisable=\n  global-statement,\n  multiple-statements,\n  missing-docstring,\n  no-else-return,\n  no-self-use,\n  consider-merging-isinstance,\n  bad-continuation,\n  fixme,\n  bad-option-value,\n  anomalous-unicode-escape-in-string,\n  unused-argument,\n  useless-object-inheritance,\n  consider-using-dict-comprehension,\n  consider-using-in,\n  unnecessary-pass\n\n[REPORTS]\noutput-format=colorized\nreports=no\nscore=no\n\n[FORMAT]\nindent-string='  '\nindent-after-paren=4\nmax-module-lines=10000\n\n[DESIGN]\nmax-locals=25\nmax-line-length=100\nmax-attributes=10\nmax-branches=30\nmax-args=20\nmax-statements=75\nmax-returns=10\nmin-public-methods=0\nmax-bool-expr=10\n"
  },
  {
    "path": "deps/cpplint/.style.yapf",
    "content": "[style]\nbased_on_style = chromium\ndedent_closing_brackets = True\ncoalesce_brackets = True\ncontinuation_indent_width = 2\n"
  },
  {
    "path": "deps/cpplint/.travis.yml",
    "content": "language: python\n\npython:\n  - \"3.8\"\n  - \"3.7\"\n  - \"3.6\"\n  - \"3.5\"\n  - \"2.7\"\n  - \"pypy\"\n  - \"pypy3\"\n\ninstall:\n  - pip install --upgrade pip\n  - pip install --upgrade setuptools\n  - pip install -e .[dev]\n  - pip install tox-travis\n\nscript:\n  - tox\n"
  },
  {
    "path": "deps/cpplint/CONTRIBUTING.rst",
    "content": "Contributing guide\n==================\n\nThanks for your interest in contributing to cpplint.\n\nAny kinds of contributions are welcome: Bug reports, Documentation, Patches.\n\nHowever cpplint is a bit special as a project because it aims to closely follow what Google does in the upstream repository.\nThat means Google remains the source of all major requirements and functionality of cpplint, where as this fork adds extensions to cpplint run on more environments and in more companies.\nThe difference between this cpplint and Google should remain so small that anyone can at a glance see there is no added change that could be regarded as a security vulnerability.\n\nHere are some tips to make best use of your time:\n\n1. Feature suggestions should initially be opened at the `upstream repository <https://github.com/google/styleguide>`_, but feel free to open an issue here to and link to the upstream issue.\n\n2. Consider the goals and non-goals of this project:\n\nGoals:\n\n* Provides cpplint as a PyPI package for multiple python versions\n* Add a few features and fixes aimed at usages outside Google\n\nNon-Goals:\n\n* Become an independent fork adding major features\n* Fix python style issues in cpplint\n\n\nDevelopment\n-----------\n\nFor many tasks, it is okay to just develop using a single installed python version. But if you need to test/debug the project in multiple python versions, you need to install those versions::\n\n1. (Optional) Install multiple python versions\n\n   1. (Optional) Install [pyenv](https://github.com/pyenv/pyenv-installer) to manage python versions\n   2. (Optional) Using pyenv, install the python versions used in testing::\n\n        pyenv install 2.7.16\n        pyenv install 3.6.8\n\nIt may be okay to run and test python against locally installed libraries, but if you need to have a consistent build, it is recommended to manage your environment using virtualenv: [virtualenv](https://virtualenv.pypa.io/en/latest/ ), [virtualenvwrapper](https://pypi.org/project/virtualenvwrapper/ ):\n\n1. (Optional) Setup a local virtual environment with all necessary tools and libraries::\n\n      mkvirtualenv cpplint [-p /usr/bin/python3]\n      pip install .[dev]\n\nAlternatively you can locally install patches like this::\n\n    pip install -e .[dev]\n    # for usage without virtualenv, add --user\n\nYou can setup your local environment for developing patches for cpplint like this:\n\n.. code-block:: bash\n\n    # run a single test\n    pytest --no-cov cpplint_unittest.py -k testExclude\n    # run a single CLI integration test\n    pytest --no-cov cpplint_clitest.py -k testSillySample\n    # run all tests\n    ./setup.py test\n    ./setup.py lint\n    ./setup.py style\n    ./setup.py ci # all the above\n    tox    # all of the above in all python environments\n\nReleasing\n---------\n\nThe release process first prepares the documentation, then publishes to testpypi to verify, then releases to real pypi. Testpypi acts like real pypi, so broken releases cannot be deleted. For a typical bugfixing release, no special issue on testpypi is expected (but it's still good practice).\n\nTo release a new version:\n\n.. code-block:: bash\n\n    # prepare files for release\n    vi cpplint.py # increment the version\n    vi changelog.rst # log changes\n    git add cpplint.py changelog.rst\n    git commit -m \"Releasing x.y.z\"\n    # test-release (on env by mkvirtualenv -p /usr/bin/python3)\n    pip install --upgrade setuptools wheel twine\n    rm -rf dist\n    # Test release, requires account on testpypi\n    python3 setup.py sdist bdist_wheel\n    twine upload --repository testpypi dist/*\n    # ... Check website and downloads from https://test.pypi.org/project/cpplint/\n    # Actual release\n    twine upload dist/*\n    git tag x.y.z\n    git push\n    git push --tags\n\n\nCatching up with Upstream\n-------------------------\n\nFor maintainers, it is a regular duty to look at what cpplint changes were merged upstream, to include them in this fork.\n\nCheckout here and upstream google:\n\n.. code-block:: bash\n\n    git clone git@github.com:cpplint/cpplint.git\n    cd cpplint\n    git remote add google https://github.com/google/styleguide\n\nTo incorporate google's changes:\n\n.. code-block:: bash\n\n    git fetch google gh-pages\n\n    ## Merge workflow (clean, no new commits)\n    git checkout master -b updates\n    git merge google/gh-pages # this will have a lot of conflicts\n    # ... solve conflicts\n    git merge -- continue\n    \n    ## Rebase workflow (dirty, creates new commits)\n    git checkout -b updates FETCH_HEAD\n    git rebase master # this will have a lot of conflicts, most of which can be solved with the next command (run repeatedly)\n    # solve conflicts with files deleted in our fork (this is idempotent and safe to be called. when cpplint.py has conflicts, it will do nothing)\n    git status | grep 'new file:' | awk '{print $3}' | xargs -r git rm --cached ; git status | grep 'deleted by us' | awk '{print $4}' | xargs -r git rm\n    git status --untracked-files=no | grep 'nothing to commit' && git rebase --skip\n\n    git push -u origin updates\n    # check travis\n    git push origin --delete updates\n\n    git rebase updates master\n    git branch -D updates\n    git push\n\nSetup fetching of pull requests in .git/config:\n\n.. code-block:: bash\n\n    [remote \"origin\"]\n    \turl = git@github.com:cpplint/cpplint.git\n    \tfetch = +refs/heads/*:refs/remotes/origin/*\n    # following line should be new, fetches PRs from cpplint\n    \tfetch = +refs/pull/*/head:refs/remotes/origin/pr/*\n    [remote \"google\"]\n    \turl = https://github.com/google/styleguide\n    \tfetch = +refs/heads/*:refs/remotes/google/*\n    # following line should be new, fetches PRs from google/styleguides\n    \tfetch = +refs/pull/*/head:refs/remotes/google/pr/*\n\n\nTo compare this for with upstream (after git fetch):\n\n.. code-block:: bash\n\n    git diff google/gh-pages:cpplint/cpplint.py master:cpplint.py\n    git diff google/gh-pages:cpplint/cpplint_unittest.py master:cpplint_unittest.py\n"
  },
  {
    "path": "deps/cpplint/LICENSE",
    "content": "cpplint.py and its corresponding unit tests are Copyright (C) 2009 Google Inc.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n\n   * Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n   * Redistributions in binary form must reproduce the above\ncopyright notice, this list of conditions and the following disclaimer\nin the documentation and/or other materials provided with the\ndistribution.\n   * Neither the name of Google Inc. nor the names of its\ncontributors may be used to endorse or promote products derived from\nthis software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\nLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\nA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\nOWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\nDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\nTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n"
  },
  {
    "path": "deps/cpplint/MANIFEST.in",
    "content": "# MANIFEST.in file required to deliver test files with source tar\ninclude *.py\ninclude LICENSE\ninclude test-requirements\ninclude dev-requirements\n\n# all samples for clitest\ngraft samples\n\nglobal-exclude .tox\nglobal-exclude *~\nglobal-exclude __pycache__\nglobal-exclude .coverage\nglobal-exclude *.py[co]\nglobal-exclude *.db\nglobal-exclude .git*\nglobal-exclude *.orig\n"
  },
  {
    "path": "deps/cpplint/README.rst",
    "content": "cpplint - static code checker for C++\n=====================================\n\n.. image:: https://travis-ci.org/cpplint/cpplint.svg?branch=master\n    :target: https://travis-ci.org/cpplint/cpplint\n\n.. image:: https://img.shields.io/pypi/v/cpplint.svg\n    :target: https://pypi.python.org/pypi/cpplint\n\n.. image:: https://img.shields.io/pypi/pyversions/cpplint.svg\n    :target: https://pypi.python.org/pypi/cpplint\n\n.. image:: https://img.shields.io/pypi/status/cpplint.svg\n    :target: https://pypi.python.org/pypi/cpplint\n\n.. image:: https://img.shields.io/pypi/l/cpplint.svg\n    :target: https://pypi.python.org/pypi/cpplint\n\n.. image:: https://img.shields.io/pypi/dd/cpplint.svg\n    :target: https://pypi.python.org/pypi/cpplint\n\n.. image:: https://img.shields.io/pypi/dw/cpplint.svg\n    :target: https://pypi.python.org/pypi/cpplint\n\n.. image:: https://img.shields.io/pypi/dm/cpplint.svg\n    :target: https://pypi.python.org/pypi/cpplint\n\nCpplint is a command-line tool to check C/C++ files for style issues following `Google's C++ style guide <http://google.github.io/styleguide/cppguide.html>`_.\nCpplint is developed and maintained by Google Inc. at `google/styleguide <https://github.com/google/styleguide>`_, also see the `wikipedia entry <http://en.wikipedia.org/wiki/Cpplint>`_\n\nWhile Google maintains cpplint, Google is not (very) responsive to issues and pull requests, this fork aims to be (somewhat) more open to add fixes to cpplint to enable fixes, when those fixes make cpplint usable in wider contexts.\nAlso see discussion here https://github.com/google/styleguide/pull/528.\n\n\nInstallation\n============\n\n\nTo install cpplint from PyPI, run:\n\n.. code-block:: bash\n\n    $ pip install cpplint\n\nThen run it with:\n\n.. code-block:: bash\n\n    $ cpplint [OPTIONS] files\n\nFor full usage instructions, run:\n\n.. code-block:: bash\n\n    $ cpplint --help\n\nChanges\n-------\n\nThe modifications in this fork are minor fixes and cosmetic changes, such as:\n\n* python 3 compatibility\n* more default file extensions\n* customizable file extensions with the --extensions argument\n* continuous integration on travis\n* support for recursive file discovery via the --recursive argument\n* support for excluding files via --exclude\n* JUnit XML output format\n* Overriding repository root auto-detection via --repository\n* Support ``#pragma once`` as an alternative to header include guards\n* ... and a few more (most of which are open PRs on upstream)\n\n\nAcknowledgements\n----------------\n\nThanks to Google Inc. for open-sourcing their in-house tool.\nThanks to maintainers of the fork\n\n* `tkruse <https://github.com/tkruse>`_  \n* `mattyclarkson <https://github.com/mattyclarkson>`_\n* `theandrewdavis <https://github.com/theandrewdavis>`_\n"
  },
  {
    "path": "deps/cpplint/changelog.rst",
    "content": "Changelog\n=========\n\n1.5.4 (2020-08-18)\n-----\n\n* Fix google#166, Allow space before C++11 attributes\n\n1.5.3 (2020-07-20)\n-----\n\n* Fix #156: sed/gsed output parameter rejected\n* Fix #156: sed/gsed output without other stdout information\n* improvements to regression tests\n\n1.5.2 (2020-06-24)\n-----\n\n* Fix #83, output formats \"sed\" and \"gsed\" to auto-fix some issues\n* Fix #92, new category \"build/namespaces_headers\" for unnamed namespaces in header file\n* Sort list of files before processing\n* Fix #144 Falso positive for indent when using QT macros \"signals\" and \"slots\"\n* Fix #76 Parsing of class decorators that also use digits\n* Fix #139 Add message \"Relative paths like . and .. are not allowed\"\n\n1.5.1 (2020-06-05)\n-----\n\n* Revert #43 behavior change for include order from 1.5.0, and hide it behind command-line-flag `--includeorder=standardcfirst`.\n  It turns out there is no easy objective way to tell c system headers from certain c++ library headers, and Google cpplint intentionally classifies some C++ header includes as C system header for simplicity.\n* Libraries considered as C system headers using --includeorder=standardcfirst now also includes linux-specifc headers (glibc-devel, glibc-kernheaders, linux-libc-dev).\n\n\n1.5.0 (2020-05-31)\n-----\n\n* Fix #43 false positives in header include order by checking includes against a list of c headers.\n  Since this interprets certain include lines different than before, output about header include order changes.\n\n1.4.6 (2020-05-31)\n-----\n\n* Fix #135: allow 'if constexpr' in readability/braces.\n* Fix runtime warning: Close files after reading contents\n\n1.4.5 (2020-01-13)\n-----\n\n* Avoid false positive for [build/include_what_you_use] in case of `foo.set<type>` and `foo->set<type>` usage.\n* Avoid false positive for [build/include_what_you_use] in case of `map` is user defined function\n* Escape backslashes in pydoc strings to get rid of DeprecationWarning.\n* Fix false positive \"should include its header\" for 3rd party headers\n* Add support for c++17 tuple destructuring\n* fix #123: Inconsistent behavior of --headers and --extensions\n* Fix #114: --exclude not working recursively\n* fix #112, identifying of copy constructors should allow combinations of volatile and const\n\n1.4.4 (2019-02-25)\n-----\n\nAnother cleanup release\n\n* NOBUG: fix unit/cli tests for source release\n* NOBUG: reduce diff to upstream by intentionally using deprecated functions where upstream uses them\n* add `--version` command (https://github.com/cpplint/cpplint/issues/27)\n\n1.4.3 (2019-02-18)\n-----\n\n* Revert \"Fix the `build/endif_comment` check\", same as reverted in upstream\n\n1.4.2 (2019-02-17)\n-----\n\n* Cleanup release, fixes further issues with tests and source distribution\n\n1.4.1 (2019-02-17)\n-----\n\n* Cleanup release, only adds test support files to source dist\n\n1.4.0 (2019-02-17)\n-----\n\n* Incorporate cpplint updates from google (e5d807c6a0d,  2018-05-03)\n  * Fix the `build/endif_comment` check (https://github.com/google/styleguide/pull/169)\n  * Teach the explicit constructor check about constexpr (#56)\n  * Changed vs7 output format (#57)\n  * Remove presubmit check for DISALLOW_* macros (#54)\n  * add `--quiet` flag as in upstream (https://github.com/google/styleguide/pull/293)\n  * support `--root` argument to run in different folder (https://github.com/google/styleguide/pull/291)\n  * Fix 16bit Unicode issue (https://github.com/google/styleguide/issues/337)\n\n1.3.0 (2016-07-12)\n-----\n\n* Incorporate cpplint updates from google (6d3a7d8a2, 2016-07-14)\n* Add --headers flag to choose which extensions are header files.\n* Add regression testsing.\n\n1.2.2 (2016-04-07)\n-----\n\n* Fixes bug causing RValue detection with namespaces to fail.\n\n1.2.1 (2016-03-19)\n-----\n\n* Fixes error in setup.py.\n\n1.2.0 (2016-03-19)\n-----\n\n* Adds `.cu` and `.cuh` as supported file extensions by default.\n* Moves the warning \"Include the directory when naming .h files\" from the `build/include` category to the `build/include_subdir` category.\n\n1.1.0 (2016-02-24)\n-----\n\n* Adds quiet option to suppress non error-related output.\n\n1.0.1 (2016-02-12)\n-----\n\n* Updates PyPi README.\n\n1.0.0 (2016-02-03)\n-----\n\n* Fixes a --repository flag bug.\n\n0.0.9 (2016-01-23)\n-----\n\n* Adds the --exclude flag to exclude files from being linted.\n\n0.0.8 (2016-01-18)\n-----\n\n* Adds the --repository flag to set the location of the project root for header guard calculations.\n* Adds support for ``#pragma once`` as an alternative to header include guards.\n\n0.0.7 (2016-01-07)\n-----\n\n* Fixes a Windows include guard bug.\n* Adds escaping and more detail to JUnit XML output.\n\n0.0.6 (2015-12-15)\n-----\n\n* Adds the --recursive flag.\n* Adds JUnit XML output.\n\n0.0.5 (2015-01-04)\n-----\n\n* Maintenance release, undoes earlier project folder structure changes to remain as true to upstream as possible.\n\n0.0.4 (2015-01-04)\n-----\n\n* Merged with upstream revision r141 (2014-12-04)\n* This includes many new checks, see commit messages for details\n* This also reverts some renaming of files, to stay close to the original project\n\n\n0.0.3 (2012-11-24)\n-----\n\n* python 3 compatibility\n\n0.0.2 (2012-11-06)\n-----\n\n* fixed and extended allowed extensions\n\n0.0.1 (2012-10-13)\n-----\n\n* import from googlecode, added setup.py\n* imported revision r83 (2012-05-11)\n"
  },
  {
    "path": "deps/cpplint/cpplint.py",
    "content": "#!/usr/bin/env python\n#\n# Copyright (c) 2009 Google Inc. All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are\n# met:\n#\n#    * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n#    * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n#    * Neither the name of Google Inc. nor the names of its\n# contributors may be used to endorse or promote products derived from\n# this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n\"\"\"Does google-lint on c++ files.\n\nThe goal of this script is to identify places in the code that *may*\nbe in non-compliance with google style.  It does not attempt to fix\nup these problems -- the point is to educate.  It does also not\nattempt to find all problems, or to ensure that everything it does\nfind is legitimately a problem.\n\nIn particular, we can get very confused by /* and // inside strings!\nWe do a small hack, which is to ignore //'s with \"'s after them on the\nsame line, but it is far from perfect (in either direction).\n\"\"\"\n\nimport codecs\nimport copy\nimport getopt\nimport glob\nimport itertools\nimport math  # for log\nimport os\nimport re\nimport sre_compile\nimport string\nimport sys\nimport sysconfig\nimport unicodedata\nimport xml.etree.ElementTree\n\n# if empty, use defaults\n_valid_extensions = set([])\n\n__VERSION__ = '1.5.4'\n\ntry:\n  xrange          # Python 2\nexcept NameError:\n  #  -- pylint: disable=redefined-builtin\n  xrange = range  # Python 3\n\n\n_USAGE = \"\"\"\nSyntax: cpplint.py [--verbose=#] [--output=emacs|eclipse|vs7|junit|sed|gsed]\n                   [--filter=-x,+y,...]\n                   [--counting=total|toplevel|detailed] [--root=subdir]\n                   [--repository=path]\n                   [--linelength=digits] [--headers=x,y,...]\n                   [--recursive]\n                   [--exclude=path]\n                   [--extensions=hpp,cpp,...]\n                   [--includeorder=default|standardcfirst]\n                   [--quiet]\n                   [--version]\n        <file> [file] ...\n\n  Style checker for C/C++ source files.\n  This is a fork of the Google style checker with minor extensions.\n\n  The style guidelines this tries to follow are those in\n    https://google.github.io/styleguide/cppguide.html\n\n  Every problem is given a confidence score from 1-5, with 5 meaning we are\n  certain of the problem, and 1 meaning it could be a legitimate construct.\n  This will miss some errors, and is not a substitute for a code review.\n\n  To suppress false-positive errors of a certain category, add a\n  'NOLINT(category)' comment to the line.  NOLINT or NOLINT(*)\n  suppresses errors of all categories on that line.\n\n  The files passed in will be linted; at least one file must be provided.\n  Default linted extensions are %s.\n  Other file types will be ignored.\n  Change the extensions with the --extensions flag.\n\n  Flags:\n\n    output=emacs|eclipse|vs7|junit|sed|gsed\n      By default, the output is formatted to ease emacs parsing.  Visual Studio\n      compatible output (vs7) may also be used.  Further support exists for\n      eclipse (eclipse), and JUnit (junit). XML parsers such as those used\n      in Jenkins and Bamboo may also be used.\n      The sed format outputs sed commands that should fix some of the errors.\n      Note that this requires gnu sed. If that is installed as gsed on your\n      system (common e.g. on macOS with homebrew) you can use the gsed output\n      format. Sed commands are written to stdout, not stderr, so you should be\n      able to pipe output straight to a shell to run the fixes.\n\n    verbose=#\n      Specify a number 0-5 to restrict errors to certain verbosity levels.\n      Errors with lower verbosity levels have lower confidence and are more\n      likely to be false positives.\n\n    quiet\n      Don't print anything if no errors are found.\n\n    filter=-x,+y,...\n      Specify a comma-separated list of category-filters to apply: only\n      error messages whose category names pass the filters will be printed.\n      (Category names are printed with the message and look like\n      \"[whitespace/indent]\".)  Filters are evaluated left to right.\n      \"-FOO\" and \"FOO\" means \"do not print categories that start with FOO\".\n      \"+FOO\" means \"do print categories that start with FOO\".\n\n      Examples: --filter=-whitespace,+whitespace/braces\n                --filter=whitespace,runtime/printf,+runtime/printf_format\n                --filter=-,+build/include_what_you_use\n\n      To see a list of all the categories used in cpplint, pass no arg:\n         --filter=\n\n    counting=total|toplevel|detailed\n      The total number of errors found is always printed. If\n      'toplevel' is provided, then the count of errors in each of\n      the top-level categories like 'build' and 'whitespace' will\n      also be printed. If 'detailed' is provided, then a count\n      is provided for each category like 'build/class'.\n\n    repository=path\n      The top level directory of the repository, used to derive the header\n      guard CPP variable. By default, this is determined by searching for a\n      path that contains .git, .hg, or .svn. When this flag is specified, the\n      given path is used instead. This option allows the header guard CPP\n      variable to remain consistent even if members of a team have different\n      repository root directories (such as when checking out a subdirectory\n      with SVN). In addition, users of non-mainstream version control systems\n      can use this flag to ensure readable header guard CPP variables.\n\n      Examples:\n        Assuming that Alice checks out ProjectName and Bob checks out\n        ProjectName/trunk and trunk contains src/chrome/ui/browser.h, then\n        with no --repository flag, the header guard CPP variable will be:\n\n        Alice => TRUNK_SRC_CHROME_BROWSER_UI_BROWSER_H_\n        Bob   => SRC_CHROME_BROWSER_UI_BROWSER_H_\n\n        If Alice uses the --repository=trunk flag and Bob omits the flag or\n        uses --repository=. then the header guard CPP variable will be:\n\n        Alice => SRC_CHROME_BROWSER_UI_BROWSER_H_\n        Bob   => SRC_CHROME_BROWSER_UI_BROWSER_H_\n\n    root=subdir\n      The root directory used for deriving header guard CPP variable.\n      This directory is relative to the top level directory of the repository\n      which by default is determined by searching for a directory that contains\n      .git, .hg, or .svn but can also be controlled with the --repository flag.\n      If the specified directory does not exist, this flag is ignored.\n\n      Examples:\n        Assuming that src is the top level directory of the repository (and\n        cwd=top/src), the header guard CPP variables for\n        src/chrome/browser/ui/browser.h are:\n\n        No flag => CHROME_BROWSER_UI_BROWSER_H_\n        --root=chrome => BROWSER_UI_BROWSER_H_\n        --root=chrome/browser => UI_BROWSER_H_\n        --root=.. => SRC_CHROME_BROWSER_UI_BROWSER_H_\n\n    linelength=digits\n      This is the allowed line length for the project. The default value is\n      80 characters.\n\n      Examples:\n        --linelength=120\n\n    recursive\n      Search for files to lint recursively. Each directory given in the list\n      of files to be linted is replaced by all files that descend from that\n      directory. Files with extensions not in the valid extensions list are\n      excluded.\n\n    exclude=path\n      Exclude the given path from the list of files to be linted. Relative\n      paths are evaluated relative to the current directory and shell globbing\n      is performed. This flag can be provided multiple times to exclude\n      multiple files.\n\n      Examples:\n        --exclude=one.cc\n        --exclude=src/*.cc\n        --exclude=src/*.cc --exclude=test/*.cc\n\n    extensions=extension,extension,...\n      The allowed file extensions that cpplint will check\n\n      Examples:\n        --extensions=%s\n\n    includeorder=default|standardcfirst\n      For the build/include_order rule, the default is to blindly assume angle\n      bracket includes with file extension are c-system-headers (default),\n      even knowing this will have false classifications.\n      The default is established at google.\n      standardcfirst means to instead use an allow-list of known c headers and\n      treat all others as separate group of \"other system headers\". The C headers\n      included are those of the C-standard lib and closely related ones.\n\n    headers=x,y,...\n      The header extensions that cpplint will treat as .h in checks. Values are\n      automatically added to --extensions list.\n     (by default, only files with extensions %s will be assumed to be headers)\n\n      Examples:\n        --headers=%s\n        --headers=hpp,hxx\n        --headers=hpp\n\n    cpplint.py supports per-directory configurations specified in CPPLINT.cfg\n    files. CPPLINT.cfg file can contain a number of key=value pairs.\n    Currently the following options are supported:\n\n      set noparent\n      filter=+filter1,-filter2,...\n      exclude_files=regex\n      linelength=80\n      root=subdir\n      headers=x,y,...\n\n    \"set noparent\" option prevents cpplint from traversing directory tree\n    upwards looking for more .cfg files in parent directories. This option\n    is usually placed in the top-level project directory.\n\n    The \"filter\" option is similar in function to --filter flag. It specifies\n    message filters in addition to the |_DEFAULT_FILTERS| and those specified\n    through --filter command-line flag.\n\n    \"exclude_files\" allows to specify a regular expression to be matched against\n    a file name. If the expression matches, the file is skipped and not run\n    through the linter.\n\n    \"linelength\" allows to specify the allowed line length for the project.\n\n    The \"root\" option is similar in function to the --root flag (see example\n    above). Paths are relative to the directory of the CPPLINT.cfg.\n\n    The \"headers\" option is similar in function to the --headers flag\n    (see example above).\n\n    CPPLINT.cfg has an effect on files in the same directory and all\n    sub-directories, unless overridden by a nested configuration file.\n\n      Example file:\n        filter=-build/include_order,+build/include_alpha\n        exclude_files=.*\\\\.cc\n\n    The above example disables build/include_order warning and enables\n    build/include_alpha as well as excludes all .cc from being\n    processed by linter, in the current directory (where the .cfg\n    file is located) and all sub-directories.\n\"\"\"\n\n# We categorize each error message we print.  Here are the categories.\n# We want an explicit list so we can list them all in cpplint --filter=.\n# If you add a new error message with a new category, add it to the list\n# here!  cpplint_unittest.py should tell you if you forget to do this.\n_ERROR_CATEGORIES = [\n    'build/class',\n    'build/c++11',\n    'build/c++14',\n    'build/c++tr1',\n    'build/deprecated',\n    'build/endif_comment',\n    'build/explicit_make_pair',\n    'build/forward_decl',\n    'build/header_guard',\n    'build/include',\n    'build/include_subdir',\n    'build/include_alpha',\n    'build/include_order',\n    'build/include_what_you_use',\n    'build/namespaces_headers',\n    'build/namespaces_literals',\n    'build/namespaces',\n    'build/printf_format',\n    'build/storage_class',\n    'legal/copyright',\n    'readability/alt_tokens',\n    'readability/braces',\n    'readability/casting',\n    'readability/check',\n    'readability/constructors',\n    'readability/fn_size',\n    'readability/inheritance',\n    'readability/multiline_comment',\n    'readability/multiline_string',\n    'readability/namespace',\n    'readability/nolint',\n    'readability/nul',\n    'readability/strings',\n    'readability/todo',\n    'readability/utf8',\n    'runtime/arrays',\n    'runtime/casting',\n    'runtime/explicit',\n    'runtime/int',\n    'runtime/init',\n    'runtime/invalid_increment',\n    'runtime/member_string_references',\n    'runtime/memset',\n    'runtime/indentation_namespace',\n    'runtime/operator',\n    'runtime/printf',\n    'runtime/printf_format',\n    'runtime/references',\n    'runtime/string',\n    'runtime/threadsafe_fn',\n    'runtime/vlog',\n    'whitespace/blank_line',\n    'whitespace/braces',\n    'whitespace/comma',\n    'whitespace/comments',\n    'whitespace/empty_conditional_body',\n    'whitespace/empty_if_body',\n    'whitespace/empty_loop_body',\n    'whitespace/end_of_line',\n    'whitespace/ending_newline',\n    'whitespace/forcolon',\n    'whitespace/indent',\n    'whitespace/line_length',\n    'whitespace/newline',\n    'whitespace/operators',\n    'whitespace/parens',\n    'whitespace/semicolon',\n    'whitespace/tab',\n    'whitespace/todo',\n    ]\n\n# keywords to use with --outputs which generate stdout for machine processing\n_MACHINE_OUTPUTS = [\n  'junit',\n  'sed',\n  'gsed'\n]\n\n# These error categories are no longer enforced by cpplint, but for backwards-\n# compatibility they may still appear in NOLINT comments.\n_LEGACY_ERROR_CATEGORIES = [\n    'readability/streams',\n    'readability/function',\n    ]\n\n# The default state of the category filter. This is overridden by the --filter=\n# flag. By default all errors are on, so only add here categories that should be\n# off by default (i.e., categories that must be enabled by the --filter= flags).\n# All entries here should start with a '-' or '+', as in the --filter= flag.\n_DEFAULT_FILTERS = ['-build/include_alpha']\n\n# The default list of categories suppressed for C (not C++) files.\n_DEFAULT_C_SUPPRESSED_CATEGORIES = [\n    'readability/casting',\n    ]\n\n# The default list of categories suppressed for Linux Kernel files.\n_DEFAULT_KERNEL_SUPPRESSED_CATEGORIES = [\n    'whitespace/tab',\n    ]\n\n# We used to check for high-bit characters, but after much discussion we\n# decided those were OK, as long as they were in UTF-8 and didn't represent\n# hard-coded international strings, which belong in a separate i18n file.\n\n# C++ headers\n_CPP_HEADERS = frozenset([\n    # Legacy\n    'algobase.h',\n    'algo.h',\n    'alloc.h',\n    'builtinbuf.h',\n    'bvector.h',\n    'complex.h',\n    'defalloc.h',\n    'deque.h',\n    'editbuf.h',\n    'fstream.h',\n    'function.h',\n    'hash_map',\n    'hash_map.h',\n    'hash_set',\n    'hash_set.h',\n    'hashtable.h',\n    'heap.h',\n    'indstream.h',\n    'iomanip.h',\n    'iostream.h',\n    'istream.h',\n    'iterator.h',\n    'list.h',\n    'map.h',\n    'multimap.h',\n    'multiset.h',\n    'ostream.h',\n    'pair.h',\n    'parsestream.h',\n    'pfstream.h',\n    'procbuf.h',\n    'pthread_alloc',\n    'pthread_alloc.h',\n    'rope',\n    'rope.h',\n    'ropeimpl.h',\n    'set.h',\n    'slist',\n    'slist.h',\n    'stack.h',\n    'stdiostream.h',\n    'stl_alloc.h',\n    'stl_relops.h',\n    'streambuf.h',\n    'stream.h',\n    'strfile.h',\n    'strstream.h',\n    'tempbuf.h',\n    'tree.h',\n    'type_traits.h',\n    'vector.h',\n    # 17.6.1.2 C++ library headers\n    'algorithm',\n    'array',\n    'atomic',\n    'bitset',\n    'chrono',\n    'codecvt',\n    'complex',\n    'condition_variable',\n    'deque',\n    'exception',\n    'forward_list',\n    'fstream',\n    'functional',\n    'future',\n    'initializer_list',\n    'iomanip',\n    'ios',\n    'iosfwd',\n    'iostream',\n    'istream',\n    'iterator',\n    'limits',\n    'list',\n    'locale',\n    'map',\n    'memory',\n    'mutex',\n    'new',\n    'numeric',\n    'ostream',\n    'queue',\n    'random',\n    'ratio',\n    'regex',\n    'scoped_allocator',\n    'set',\n    'sstream',\n    'stack',\n    'stdexcept',\n    'streambuf',\n    'string',\n    'strstream',\n    'system_error',\n    'thread',\n    'tuple',\n    'typeindex',\n    'typeinfo',\n    'type_traits',\n    'unordered_map',\n    'unordered_set',\n    'utility',\n    'valarray',\n    'vector',\n    # 17.6.1.2 C++14 headers\n    'shared_mutex',\n    # 17.6.1.2 C++17 headers\n    'any',\n    'charconv',\n    'codecvt',\n    'execution',\n    'filesystem',\n    'memory_resource',\n    'optional',\n    'string_view',\n    'variant',\n    # 17.6.1.2 C++ headers for C library facilities\n    'cassert',\n    'ccomplex',\n    'cctype',\n    'cerrno',\n    'cfenv',\n    'cfloat',\n    'cinttypes',\n    'ciso646',\n    'climits',\n    'clocale',\n    'cmath',\n    'csetjmp',\n    'csignal',\n    'cstdalign',\n    'cstdarg',\n    'cstdbool',\n    'cstddef',\n    'cstdint',\n    'cstdio',\n    'cstdlib',\n    'cstring',\n    'ctgmath',\n    'ctime',\n    'cuchar',\n    'cwchar',\n    'cwctype',\n    ])\n\n# C headers\n_C_HEADERS = frozenset([\n    # System C headers\n    'assert.h',\n    'complex.h',\n    'ctype.h',\n    'errno.h',\n    'fenv.h',\n    'float.h',\n    'inttypes.h',\n    'iso646.h',\n    'limits.h',\n    'locale.h',\n    'math.h',\n    'setjmp.h',\n    'signal.h',\n    'stdalign.h',\n    'stdarg.h',\n    'stdatomic.h',\n    'stdbool.h',\n    'stddef.h',\n    'stdint.h',\n    'stdio.h',\n    'stdlib.h',\n    'stdnoreturn.h',\n    'string.h',\n    'tgmath.h',\n    'threads.h',\n    'time.h',\n    'uchar.h',\n    'wchar.h',\n    'wctype.h',\n    # additional POSIX C headers\n    'aio.h',\n    'arpa/inet.h',\n    'cpio.h',\n    'dirent.h',\n    'dlfcn.h',\n    'fcntl.h',\n    'fmtmsg.h',\n    'fnmatch.h',\n    'ftw.h',\n    'glob.h',\n    'grp.h',\n    'iconv.h',\n    'langinfo.h',\n    'libgen.h',\n    'monetary.h',\n    'mqueue.h',\n    'ndbm.h',\n    'net/if.h',\n    'netdb.h',\n    'netinet/in.h',\n    'netinet/tcp.h',\n    'nl_types.h',\n    'poll.h',\n    'pthread.h',\n    'pwd.h',\n    'regex.h',\n    'sched.h',\n    'search.h',\n    'semaphore.h',\n    'setjmp.h',\n    'signal.h',\n    'spawn.h',\n    'strings.h',\n    'stropts.h',\n    'syslog.h',\n    'tar.h',\n    'termios.h',\n    'trace.h',\n    'ulimit.h',\n    'unistd.h',\n    'utime.h',\n    'utmpx.h',\n    'wordexp.h',\n    # additional GNUlib headers\n    'a.out.h',\n    'aliases.h',\n    'alloca.h',\n    'ar.h',\n    'argp.h',\n    'argz.h',\n    'byteswap.h',\n    'crypt.h',\n    'endian.h',\n    'envz.h',\n    'err.h',\n    'error.h',\n    'execinfo.h',\n    'fpu_control.h',\n    'fstab.h',\n    'fts.h',\n    'getopt.h',\n    'gshadow.h',\n    'ieee754.h',\n    'ifaddrs.h',\n    'libintl.h',\n    'mcheck.h',\n    'mntent.h',\n    'obstack.h',\n    'paths.h',\n    'printf.h',\n    'pty.h',\n    'resolv.h',\n    'shadow.h',\n    'sysexits.h',\n    'ttyent.h',\n    # Additional linux glibc headers\n    'dlfcn.h',\n    'elf.h',\n    'features.h',\n    'gconv.h',\n    'gnu-versions.h',\n    'lastlog.h',\n    'libio.h',\n    'link.h',\n    'malloc.h',\n    'memory.h',\n    'netash/ash.h',\n    'netatalk/at.h',\n    'netax25/ax25.h',\n    'neteconet/ec.h',\n    'netipx/ipx.h',\n    'netiucv/iucv.h',\n    'netpacket/packet.h',\n    'netrom/netrom.h',\n    'netrose/rose.h',\n    'nfs/nfs.h',\n    'nl_types.h',\n    'nss.h',\n    're_comp.h',\n    'regexp.h',\n    'sched.h',\n    'sgtty.h',\n    'stab.h',\n    'stdc-predef.h',\n    'stdio_ext.h',\n    'syscall.h',\n    'termio.h',\n    'thread_db.h',\n    'ucontext.h',\n    'ustat.h',\n    'utmp.h',\n    'values.h',\n    'wait.h',\n    'xlocale.h',\n    # Hardware specific headers\n    'arm_neon.h',\n    'emmintrin.h',\n    'xmmintin.h',\n    ])\n\n# Folders of C libraries so commonly used in C++,\n# that they have parity with standard C libraries.\nC_STANDARD_HEADER_FOLDERS = frozenset([\n    # standard C library\n    \"sys\",\n    # glibc for linux\n    \"arpa\",\n    \"asm-generic\",\n    \"bits\",\n    \"gnu\",\n    \"net\",\n    \"netinet\",\n    \"protocols\",\n    \"rpc\",\n    \"rpcsvc\",\n    \"scsi\",\n    # linux kernel header\n    \"drm\",\n    \"linux\",\n    \"misc\",\n    \"mtd\",\n    \"rdma\",\n    \"sound\",\n    \"video\",\n    \"xen\",\n  ])\n\n# Type names\n_TYPES = re.compile(\n    r'^(?:'\n    # [dcl.type.simple]\n    r'(char(16_t|32_t)?)|wchar_t|'\n    r'bool|short|int|long|signed|unsigned|float|double|'\n    # [support.types]\n    r'(ptrdiff_t|size_t|max_align_t|nullptr_t)|'\n    # [cstdint.syn]\n    r'(u?int(_fast|_least)?(8|16|32|64)_t)|'\n    r'(u?int(max|ptr)_t)|'\n    r')$')\n\n\n# These headers are excluded from [build/include] and [build/include_order]\n# checks:\n# - Anything not following google file name conventions (containing an\n#   uppercase character, such as Python.h or nsStringAPI.h, for example).\n# - Lua headers.\n_THIRD_PARTY_HEADERS_PATTERN = re.compile(\n    r'^(?:[^/]*[A-Z][^/]*\\.h|lua\\.h|lauxlib\\.h|lualib\\.h)$')\n\n# Pattern for matching FileInfo.BaseName() against test file name\n_test_suffixes = ['_test', '_regtest', '_unittest']\n_TEST_FILE_SUFFIX = '(' + '|'.join(_test_suffixes) + r')$'\n\n# Pattern that matches only complete whitespace, possibly across multiple lines.\n_EMPTY_CONDITIONAL_BODY_PATTERN = re.compile(r'^\\s*$', re.DOTALL)\n\n# Assertion macros.  These are defined in base/logging.h and\n# testing/base/public/gunit.h.\n_CHECK_MACROS = [\n    'DCHECK', 'CHECK',\n    'EXPECT_TRUE', 'ASSERT_TRUE',\n    'EXPECT_FALSE', 'ASSERT_FALSE',\n    ]\n\n# Replacement macros for CHECK/DCHECK/EXPECT_TRUE/EXPECT_FALSE\n_CHECK_REPLACEMENT = dict([(macro_var, {}) for macro_var in _CHECK_MACROS])\n\nfor op, replacement in [('==', 'EQ'), ('!=', 'NE'),\n                        ('>=', 'GE'), ('>', 'GT'),\n                        ('<=', 'LE'), ('<', 'LT')]:\n  _CHECK_REPLACEMENT['DCHECK'][op] = 'DCHECK_%s' % replacement\n  _CHECK_REPLACEMENT['CHECK'][op] = 'CHECK_%s' % replacement\n  _CHECK_REPLACEMENT['EXPECT_TRUE'][op] = 'EXPECT_%s' % replacement\n  _CHECK_REPLACEMENT['ASSERT_TRUE'][op] = 'ASSERT_%s' % replacement\n\nfor op, inv_replacement in [('==', 'NE'), ('!=', 'EQ'),\n                            ('>=', 'LT'), ('>', 'LE'),\n                            ('<=', 'GT'), ('<', 'GE')]:\n  _CHECK_REPLACEMENT['EXPECT_FALSE'][op] = 'EXPECT_%s' % inv_replacement\n  _CHECK_REPLACEMENT['ASSERT_FALSE'][op] = 'ASSERT_%s' % inv_replacement\n\n# Alternative tokens and their replacements.  For full list, see section 2.5\n# Alternative tokens [lex.digraph] in the C++ standard.\n#\n# Digraphs (such as '%:') are not included here since it's a mess to\n# match those on a word boundary.\n_ALT_TOKEN_REPLACEMENT = {\n    'and': '&&',\n    'bitor': '|',\n    'or': '||',\n    'xor': '^',\n    'compl': '~',\n    'bitand': '&',\n    'and_eq': '&=',\n    'or_eq': '|=',\n    'xor_eq': '^=',\n    'not': '!',\n    'not_eq': '!='\n    }\n\n# Compile regular expression that matches all the above keywords.  The \"[ =()]\"\n# bit is meant to avoid matching these keywords outside of boolean expressions.\n#\n# False positives include C-style multi-line comments and multi-line strings\n# but those have always been troublesome for cpplint.\n_ALT_TOKEN_REPLACEMENT_PATTERN = re.compile(\n    r'[ =()](' + ('|'.join(_ALT_TOKEN_REPLACEMENT.keys())) + r')(?=[ (]|$)')\n\n\n# These constants define types of headers for use with\n# _IncludeState.CheckNextIncludeOrder().\n_C_SYS_HEADER = 1\n_CPP_SYS_HEADER = 2\n_OTHER_SYS_HEADER = 3\n_LIKELY_MY_HEADER = 4\n_POSSIBLE_MY_HEADER = 5\n_OTHER_HEADER = 6\n\n# These constants define the current inline assembly state\n_NO_ASM = 0       # Outside of inline assembly block\n_INSIDE_ASM = 1   # Inside inline assembly block\n_END_ASM = 2      # Last line of inline assembly block\n_BLOCK_ASM = 3    # The whole block is an inline assembly block\n\n# Match start of assembly blocks\n_MATCH_ASM = re.compile(r'^\\s*(?:asm|_asm|__asm|__asm__)'\n                        r'(?:\\s+(volatile|__volatile__))?'\n                        r'\\s*[{(]')\n\n# Match strings that indicate we're working on a C (not C++) file.\n_SEARCH_C_FILE = re.compile(r'\\b(?:LINT_C_FILE|'\n                            r'vim?:\\s*.*(\\s*|:)filetype=c(\\s*|:|$))')\n\n# Match string that indicates we're working on a Linux Kernel file.\n_SEARCH_KERNEL_FILE = re.compile(r'\\b(?:LINT_KERNEL_FILE)')\n\n# Commands for sed to fix the problem\n_SED_FIXUPS = {\n  'Remove spaces around =': r's/ = /=/',\n  'Remove spaces around !=': r's/ != /!=/',\n  'Remove space before ( in if (': r's/if (/if(/',\n  'Remove space before ( in for (': r's/for (/for(/',\n  'Remove space before ( in while (': r's/while (/while(/',\n  'Remove space before ( in switch (': r's/switch (/switch(/',\n  'Should have a space between // and comment': r's/\\/\\//\\/\\/ /',\n  'Missing space before {': r's/\\([^ ]\\){/\\1 {/',\n  'Tab found, replace by spaces': r's/\\t/  /g',\n  'Line ends in whitespace.  Consider deleting these extra spaces.': r's/\\s*$//',\n  'You don\\'t need a ; after a }': r's/};/}/',\n  'Missing space after ,': r's/,\\([^ ]\\)/, \\1/g',\n}\n\n_regexp_compile_cache = {}\n\n# {str, set(int)}: a map from error categories to sets of linenumbers\n# on which those errors are expected and should be suppressed.\n_error_suppressions = {}\n\n# The root directory used for deriving header guard CPP variable.\n# This is set by --root flag.\n_root = None\n_root_debug = False\n\n# The top level repository directory. If set, _root is calculated relative to\n# this directory instead of the directory containing version control artifacts.\n# This is set by the --repository flag.\n_repository = None\n\n# Files to exclude from linting. This is set by the --exclude flag.\n_excludes = None\n\n# Whether to supress all PrintInfo messages, UNRELATED to --quiet flag\n_quiet = False\n\n# The allowed line length of files.\n# This is set by --linelength flag.\n_line_length = 80\n\n# This allows to use different include order rule than default\n_include_order = \"default\"\n\ntry:\n  unicode\nexcept NameError:\n  #  -- pylint: disable=redefined-builtin\n  basestring = unicode = str\n\ntry:\n  long\nexcept NameError:\n  #  -- pylint: disable=redefined-builtin\n  long = int\n\nif sys.version_info < (3,):\n  #  -- pylint: disable=no-member\n  # BINARY_TYPE = str\n  itervalues = dict.itervalues\n  iteritems = dict.iteritems\nelse:\n  # BINARY_TYPE = bytes\n  itervalues = dict.values\n  iteritems = dict.items\n\ndef unicode_escape_decode(x):\n  if sys.version_info < (3,):\n    return codecs.unicode_escape_decode(x)[0]\n  else:\n    return x\n\n# Treat all headers starting with 'h' equally: .h, .hpp, .hxx etc.\n# This is set by --headers flag.\n_hpp_headers = set([])\n\n# {str, bool}: a map from error categories to booleans which indicate if the\n# category should be suppressed for every line.\n_global_error_suppressions = {}\n\ndef ProcessHppHeadersOption(val):\n  global _hpp_headers\n  try:\n    _hpp_headers = {ext.strip() for ext in val.split(',')}\n  except ValueError:\n    PrintUsage('Header extensions must be comma separated list.')\n\ndef ProcessIncludeOrderOption(val):\n  if val is None or val == \"default\":\n    pass\n  elif val == \"standardcfirst\":\n    global _include_order\n    _include_order = val\n  else:\n    PrintUsage('Invalid includeorder value %s. Expected default|standardcfirst')\n\ndef IsHeaderExtension(file_extension):\n  return file_extension in GetHeaderExtensions()\n\ndef GetHeaderExtensions():\n  if _hpp_headers:\n    return _hpp_headers\n  if _valid_extensions:\n    return {h for h in _valid_extensions if 'h' in h}\n  return set(['h', 'hh', 'hpp', 'hxx', 'h++', 'cuh'])\n\n# The allowed extensions for file names\n# This is set by --extensions flag\ndef GetAllExtensions():\n  return GetHeaderExtensions().union(_valid_extensions or set(\n    ['c', 'cc', 'cpp', 'cxx', 'c++', 'cu']))\n\ndef ProcessExtensionsOption(val):\n  global _valid_extensions\n  try:\n    extensions = [ext.strip() for ext in val.split(',')]\n    _valid_extensions = set(extensions)\n  except ValueError:\n    PrintUsage('Extensions should be a comma-separated list of values;'\n               'for example: extensions=hpp,cpp\\n'\n               'This could not be parsed: \"%s\"' % (val,))\n\ndef GetNonHeaderExtensions():\n  return GetAllExtensions().difference(GetHeaderExtensions())\n\ndef ParseNolintSuppressions(filename, raw_line, linenum, error):\n  \"\"\"Updates the global list of line error-suppressions.\n\n  Parses any NOLINT comments on the current line, updating the global\n  error_suppressions store.  Reports an error if the NOLINT comment\n  was malformed.\n\n  Args:\n    filename: str, the name of the input file.\n    raw_line: str, the line of input text, with comments.\n    linenum: int, the number of the current line.\n    error: function, an error handler.\n  \"\"\"\n  matched = Search(r'\\bNOLINT(NEXTLINE)?\\b(\\([^)]+\\))?', raw_line)\n  if matched:\n    if matched.group(1):\n      suppressed_line = linenum + 1\n    else:\n      suppressed_line = linenum\n    category = matched.group(2)\n    if category in (None, '(*)'):  # => \"suppress all\"\n      _error_suppressions.setdefault(None, set()).add(suppressed_line)\n    else:\n      if category.startswith('(') and category.endswith(')'):\n        category = category[1:-1]\n        if category in _ERROR_CATEGORIES:\n          _error_suppressions.setdefault(category, set()).add(suppressed_line)\n        elif category not in _LEGACY_ERROR_CATEGORIES:\n          error(filename, linenum, 'readability/nolint', 5,\n                'Unknown NOLINT error category: %s' % category)\n\n\ndef ProcessGlobalSuppresions(lines):\n  \"\"\"Updates the list of global error suppressions.\n\n  Parses any lint directives in the file that have global effect.\n\n  Args:\n    lines: An array of strings, each representing a line of the file, with the\n           last element being empty if the file is terminated with a newline.\n  \"\"\"\n  for line in lines:\n    if _SEARCH_C_FILE.search(line):\n      for category in _DEFAULT_C_SUPPRESSED_CATEGORIES:\n        _global_error_suppressions[category] = True\n    if _SEARCH_KERNEL_FILE.search(line):\n      for category in _DEFAULT_KERNEL_SUPPRESSED_CATEGORIES:\n        _global_error_suppressions[category] = True\n\n\ndef ResetNolintSuppressions():\n  \"\"\"Resets the set of NOLINT suppressions to empty.\"\"\"\n  _error_suppressions.clear()\n  _global_error_suppressions.clear()\n\n\ndef IsErrorSuppressedByNolint(category, linenum):\n  \"\"\"Returns true if the specified error category is suppressed on this line.\n\n  Consults the global error_suppressions map populated by\n  ParseNolintSuppressions/ProcessGlobalSuppresions/ResetNolintSuppressions.\n\n  Args:\n    category: str, the category of the error.\n    linenum: int, the current line number.\n  Returns:\n    bool, True iff the error should be suppressed due to a NOLINT comment or\n    global suppression.\n  \"\"\"\n  return (_global_error_suppressions.get(category, False) or\n          linenum in _error_suppressions.get(category, set()) or\n          linenum in _error_suppressions.get(None, set()))\n\n\ndef Match(pattern, s):\n  \"\"\"Matches the string with the pattern, caching the compiled regexp.\"\"\"\n  # The regexp compilation caching is inlined in both Match and Search for\n  # performance reasons; factoring it out into a separate function turns out\n  # to be noticeably expensive.\n  if pattern not in _regexp_compile_cache:\n    _regexp_compile_cache[pattern] = sre_compile.compile(pattern)\n  return _regexp_compile_cache[pattern].match(s)\n\n\ndef ReplaceAll(pattern, rep, s):\n  \"\"\"Replaces instances of pattern in a string with a replacement.\n\n  The compiled regex is kept in a cache shared by Match and Search.\n\n  Args:\n    pattern: regex pattern\n    rep: replacement text\n    s: search string\n\n  Returns:\n    string with replacements made (or original string if no replacements)\n  \"\"\"\n  if pattern not in _regexp_compile_cache:\n    _regexp_compile_cache[pattern] = sre_compile.compile(pattern)\n  return _regexp_compile_cache[pattern].sub(rep, s)\n\n\ndef Search(pattern, s):\n  \"\"\"Searches the string for the pattern, caching the compiled regexp.\"\"\"\n  if pattern not in _regexp_compile_cache:\n    _regexp_compile_cache[pattern] = sre_compile.compile(pattern)\n  return _regexp_compile_cache[pattern].search(s)\n\n\ndef _IsSourceExtension(s):\n  \"\"\"File extension (excluding dot) matches a source file extension.\"\"\"\n  return s in GetNonHeaderExtensions()\n\n\nclass _IncludeState(object):\n  \"\"\"Tracks line numbers for includes, and the order in which includes appear.\n\n  include_list contains list of lists of (header, line number) pairs.\n  It's a lists of lists rather than just one flat list to make it\n  easier to update across preprocessor boundaries.\n\n  Call CheckNextIncludeOrder() once for each header in the file, passing\n  in the type constants defined above. Calls in an illegal order will\n  raise an _IncludeError with an appropriate error message.\n\n  \"\"\"\n  # self._section will move monotonically through this set. If it ever\n  # needs to move backwards, CheckNextIncludeOrder will raise an error.\n  _INITIAL_SECTION = 0\n  _MY_H_SECTION = 1\n  _C_SECTION = 2\n  _CPP_SECTION = 3\n  _OTHER_SYS_SECTION = 4\n  _OTHER_H_SECTION = 5\n\n  _TYPE_NAMES = {\n      _C_SYS_HEADER: 'C system header',\n      _CPP_SYS_HEADER: 'C++ system header',\n      _OTHER_SYS_HEADER: 'other system header',\n      _LIKELY_MY_HEADER: 'header this file implements',\n      _POSSIBLE_MY_HEADER: 'header this file may implement',\n      _OTHER_HEADER: 'other header',\n      }\n  _SECTION_NAMES = {\n      _INITIAL_SECTION: \"... nothing. (This can't be an error.)\",\n      _MY_H_SECTION: 'a header this file implements',\n      _C_SECTION: 'C system header',\n      _CPP_SECTION: 'C++ system header',\n      _OTHER_SYS_SECTION: 'other system header',\n      _OTHER_H_SECTION: 'other header',\n      }\n\n  def __init__(self):\n    self.include_list = [[]]\n    self._section = None\n    self._last_header = None\n    self.ResetSection('')\n\n  def FindHeader(self, header):\n    \"\"\"Check if a header has already been included.\n\n    Args:\n      header: header to check.\n    Returns:\n      Line number of previous occurrence, or -1 if the header has not\n      been seen before.\n    \"\"\"\n    for section_list in self.include_list:\n      for f in section_list:\n        if f[0] == header:\n          return f[1]\n    return -1\n\n  def ResetSection(self, directive):\n    \"\"\"Reset section checking for preprocessor directive.\n\n    Args:\n      directive: preprocessor directive (e.g. \"if\", \"else\").\n    \"\"\"\n    # The name of the current section.\n    self._section = self._INITIAL_SECTION\n    # The path of last found header.\n    self._last_header = ''\n\n    # Update list of includes.  Note that we never pop from the\n    # include list.\n    if directive in ('if', 'ifdef', 'ifndef'):\n      self.include_list.append([])\n    elif directive in ('else', 'elif'):\n      self.include_list[-1] = []\n\n  def SetLastHeader(self, header_path):\n    self._last_header = header_path\n\n  def CanonicalizeAlphabeticalOrder(self, header_path):\n    \"\"\"Returns a path canonicalized for alphabetical comparison.\n\n    - replaces \"-\" with \"_\" so they both cmp the same.\n    - removes '-inl' since we don't require them to be after the main header.\n    - lowercase everything, just in case.\n\n    Args:\n      header_path: Path to be canonicalized.\n\n    Returns:\n      Canonicalized path.\n    \"\"\"\n    return header_path.replace('-inl.h', '.h').replace('-', '_').lower()\n\n  def IsInAlphabeticalOrder(self, clean_lines, linenum, header_path):\n    \"\"\"Check if a header is in alphabetical order with the previous header.\n\n    Args:\n      clean_lines: A CleansedLines instance containing the file.\n      linenum: The number of the line to check.\n      header_path: Canonicalized header to be checked.\n\n    Returns:\n      Returns true if the header is in alphabetical order.\n    \"\"\"\n    # If previous section is different from current section, _last_header will\n    # be reset to empty string, so it's always less than current header.\n    #\n    # If previous line was a blank line, assume that the headers are\n    # intentionally sorted the way they are.\n    if (self._last_header > header_path and\n        Match(r'^\\s*#\\s*include\\b', clean_lines.elided[linenum - 1])):\n      return False\n    return True\n\n  def CheckNextIncludeOrder(self, header_type):\n    \"\"\"Returns a non-empty error message if the next header is out of order.\n\n    This function also updates the internal state to be ready to check\n    the next include.\n\n    Args:\n      header_type: One of the _XXX_HEADER constants defined above.\n\n    Returns:\n      The empty string if the header is in the right order, or an\n      error message describing what's wrong.\n\n    \"\"\"\n    error_message = ('Found %s after %s' %\n                     (self._TYPE_NAMES[header_type],\n                      self._SECTION_NAMES[self._section]))\n\n    last_section = self._section\n\n    if header_type == _C_SYS_HEADER:\n      if self._section <= self._C_SECTION:\n        self._section = self._C_SECTION\n      else:\n        self._last_header = ''\n        return error_message\n    elif header_type == _CPP_SYS_HEADER:\n      if self._section <= self._CPP_SECTION:\n        self._section = self._CPP_SECTION\n      else:\n        self._last_header = ''\n        return error_message\n    elif header_type == _OTHER_SYS_HEADER:\n      if self._section <= self._OTHER_SYS_SECTION:\n        self._section = self._OTHER_SYS_SECTION\n      else:\n        self._last_header = ''\n        return error_message\n    elif header_type == _LIKELY_MY_HEADER:\n      if self._section <= self._MY_H_SECTION:\n        self._section = self._MY_H_SECTION\n      else:\n        self._section = self._OTHER_H_SECTION\n    elif header_type == _POSSIBLE_MY_HEADER:\n      if self._section <= self._MY_H_SECTION:\n        self._section = self._MY_H_SECTION\n      else:\n        # This will always be the fallback because we're not sure\n        # enough that the header is associated with this file.\n        self._section = self._OTHER_H_SECTION\n    else:\n      assert header_type == _OTHER_HEADER\n      self._section = self._OTHER_H_SECTION\n\n    if last_section != self._section:\n      self._last_header = ''\n\n    return ''\n\n\nclass _CppLintState(object):\n  \"\"\"Maintains module-wide state..\"\"\"\n\n  def __init__(self):\n    self.verbose_level = 1  # global setting.\n    self.error_count = 0    # global count of reported errors\n    # filters to apply when emitting error messages\n    self.filters = _DEFAULT_FILTERS[:]\n    # backup of filter list. Used to restore the state after each file.\n    self._filters_backup = self.filters[:]\n    self.counting = 'total'  # In what way are we counting errors?\n    self.errors_by_category = {}  # string to int dict storing error counts\n    self.quiet = False  # Suppress non-error messagess?\n\n    # output format:\n    # \"emacs\" - format that emacs can parse (default)\n    # \"eclipse\" - format that eclipse can parse\n    # \"vs7\" - format that Microsoft Visual Studio 7 can parse\n    # \"junit\" - format that Jenkins, Bamboo, etc can parse\n    # \"sed\" - returns a gnu sed command to fix the problem\n    # \"gsed\" - like sed, but names the command gsed, e.g. for macOS homebrew users\n    self.output_format = 'emacs'\n\n    # For JUnit output, save errors and failures until the end so that they\n    # can be written into the XML\n    self._junit_errors = []\n    self._junit_failures = []\n\n  def SetOutputFormat(self, output_format):\n    \"\"\"Sets the output format for errors.\"\"\"\n    self.output_format = output_format\n\n  def SetQuiet(self, quiet):\n    \"\"\"Sets the module's quiet settings, and returns the previous setting.\"\"\"\n    last_quiet = self.quiet\n    self.quiet = quiet\n    return last_quiet\n\n  def SetVerboseLevel(self, level):\n    \"\"\"Sets the module's verbosity, and returns the previous setting.\"\"\"\n    last_verbose_level = self.verbose_level\n    self.verbose_level = level\n    return last_verbose_level\n\n  def SetCountingStyle(self, counting_style):\n    \"\"\"Sets the module's counting options.\"\"\"\n    self.counting = counting_style\n\n  def SetFilters(self, filters):\n    \"\"\"Sets the error-message filters.\n\n    These filters are applied when deciding whether to emit a given\n    error message.\n\n    Args:\n      filters: A string of comma-separated filters (eg \"+whitespace/indent\").\n               Each filter should start with + or -; else we die.\n\n    Raises:\n      ValueError: The comma-separated filters did not all start with '+' or '-'.\n                  E.g. \"-,+whitespace,-whitespace/indent,whitespace/badfilter\"\n    \"\"\"\n    # Default filters always have less priority than the flag ones.\n    self.filters = _DEFAULT_FILTERS[:]\n    self.AddFilters(filters)\n\n  def AddFilters(self, filters):\n    \"\"\" Adds more filters to the existing list of error-message filters. \"\"\"\n    for filt in filters.split(','):\n      clean_filt = filt.strip()\n      if clean_filt:\n        self.filters.append(clean_filt)\n    for filt in self.filters:\n      if not (filt.startswith('+') or filt.startswith('-')):\n        raise ValueError('Every filter in --filters must start with + or -'\n                         ' (%s does not)' % filt)\n\n  def BackupFilters(self):\n    \"\"\" Saves the current filter list to backup storage.\"\"\"\n    self._filters_backup = self.filters[:]\n\n  def RestoreFilters(self):\n    \"\"\" Restores filters previously backed up.\"\"\"\n    self.filters = self._filters_backup[:]\n\n  def ResetErrorCounts(self):\n    \"\"\"Sets the module's error statistic back to zero.\"\"\"\n    self.error_count = 0\n    self.errors_by_category = {}\n\n  def IncrementErrorCount(self, category):\n    \"\"\"Bumps the module's error statistic.\"\"\"\n    self.error_count += 1\n    if self.counting in ('toplevel', 'detailed'):\n      if self.counting != 'detailed':\n        category = category.split('/')[0]\n      if category not in self.errors_by_category:\n        self.errors_by_category[category] = 0\n      self.errors_by_category[category] += 1\n\n  def PrintErrorCounts(self):\n    \"\"\"Print a summary of errors by category, and the total.\"\"\"\n    for category, count in sorted(iteritems(self.errors_by_category)):\n      self.PrintInfo('Category \\'%s\\' errors found: %d\\n' %\n                       (category, count))\n    if self.error_count > 0:\n      self.PrintInfo('Total errors found: %d\\n' % self.error_count)\n\n  def PrintInfo(self, message):\n    # _quiet does not represent --quiet flag.\n    # Hide infos from stdout to keep stdout pure for machine consumption\n    if not _quiet and self.output_format not in _MACHINE_OUTPUTS:\n      sys.stdout.write(message)\n\n  def PrintError(self, message):\n    if self.output_format == 'junit':\n      self._junit_errors.append(message)\n    else:\n      sys.stderr.write(message)\n\n  def AddJUnitFailure(self, filename, linenum, message, category, confidence):\n    self._junit_failures.append((filename, linenum, message, category,\n        confidence))\n\n  def FormatJUnitXML(self):\n    num_errors = len(self._junit_errors)\n    num_failures = len(self._junit_failures)\n\n    testsuite = xml.etree.ElementTree.Element('testsuite')\n    testsuite.attrib['errors'] = str(num_errors)\n    testsuite.attrib['failures'] = str(num_failures)\n    testsuite.attrib['name'] = 'cpplint'\n\n    if num_errors == 0 and num_failures == 0:\n      testsuite.attrib['tests'] = str(1)\n      xml.etree.ElementTree.SubElement(testsuite, 'testcase', name='passed')\n\n    else:\n      testsuite.attrib['tests'] = str(num_errors + num_failures)\n      if num_errors > 0:\n        testcase = xml.etree.ElementTree.SubElement(testsuite, 'testcase')\n        testcase.attrib['name'] = 'errors'\n        error = xml.etree.ElementTree.SubElement(testcase, 'error')\n        error.text = '\\n'.join(self._junit_errors)\n      if num_failures > 0:\n        # Group failures by file\n        failed_file_order = []\n        failures_by_file = {}\n        for failure in self._junit_failures:\n          failed_file = failure[0]\n          if failed_file not in failed_file_order:\n            failed_file_order.append(failed_file)\n            failures_by_file[failed_file] = []\n          failures_by_file[failed_file].append(failure)\n        # Create a testcase for each file\n        for failed_file in failed_file_order:\n          failures = failures_by_file[failed_file]\n          testcase = xml.etree.ElementTree.SubElement(testsuite, 'testcase')\n          testcase.attrib['name'] = failed_file\n          failure = xml.etree.ElementTree.SubElement(testcase, 'failure')\n          template = '{0}: {1} [{2}] [{3}]'\n          texts = [template.format(f[1], f[2], f[3], f[4]) for f in failures]\n          failure.text = '\\n'.join(texts)\n\n    xml_decl = '<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\\n'\n    return xml_decl + xml.etree.ElementTree.tostring(testsuite, 'utf-8').decode('utf-8')\n\n\n_cpplint_state = _CppLintState()\n\n\ndef _OutputFormat():\n  \"\"\"Gets the module's output format.\"\"\"\n  return _cpplint_state.output_format\n\n\ndef _SetOutputFormat(output_format):\n  \"\"\"Sets the module's output format.\"\"\"\n  _cpplint_state.SetOutputFormat(output_format)\n\ndef _Quiet():\n  \"\"\"Return's the module's quiet setting.\"\"\"\n  return _cpplint_state.quiet\n\ndef _SetQuiet(quiet):\n  \"\"\"Set the module's quiet status, and return previous setting.\"\"\"\n  return _cpplint_state.SetQuiet(quiet)\n\n\ndef _VerboseLevel():\n  \"\"\"Returns the module's verbosity setting.\"\"\"\n  return _cpplint_state.verbose_level\n\n\ndef _SetVerboseLevel(level):\n  \"\"\"Sets the module's verbosity, and returns the previous setting.\"\"\"\n  return _cpplint_state.SetVerboseLevel(level)\n\n\ndef _SetCountingStyle(level):\n  \"\"\"Sets the module's counting options.\"\"\"\n  _cpplint_state.SetCountingStyle(level)\n\n\ndef _Filters():\n  \"\"\"Returns the module's list of output filters, as a list.\"\"\"\n  return _cpplint_state.filters\n\n\ndef _SetFilters(filters):\n  \"\"\"Sets the module's error-message filters.\n\n  These filters are applied when deciding whether to emit a given\n  error message.\n\n  Args:\n    filters: A string of comma-separated filters (eg \"whitespace/indent\").\n             Each filter should start with + or -; else we die.\n  \"\"\"\n  _cpplint_state.SetFilters(filters)\n\ndef _AddFilters(filters):\n  \"\"\"Adds more filter overrides.\n\n  Unlike _SetFilters, this function does not reset the current list of filters\n  available.\n\n  Args:\n    filters: A string of comma-separated filters (eg \"whitespace/indent\").\n             Each filter should start with + or -; else we die.\n  \"\"\"\n  _cpplint_state.AddFilters(filters)\n\ndef _BackupFilters():\n  \"\"\" Saves the current filter list to backup storage.\"\"\"\n  _cpplint_state.BackupFilters()\n\ndef _RestoreFilters():\n  \"\"\" Restores filters previously backed up.\"\"\"\n  _cpplint_state.RestoreFilters()\n\nclass _FunctionState(object):\n  \"\"\"Tracks current function name and the number of lines in its body.\"\"\"\n\n  _NORMAL_TRIGGER = 250  # for --v=0, 500 for --v=1, etc.\n  _TEST_TRIGGER = 400    # about 50% more than _NORMAL_TRIGGER.\n\n  def __init__(self):\n    self.in_a_function = False\n    self.lines_in_function = 0\n    self.current_function = ''\n\n  def Begin(self, function_name):\n    \"\"\"Start analyzing function body.\n\n    Args:\n      function_name: The name of the function being tracked.\n    \"\"\"\n    self.in_a_function = True\n    self.lines_in_function = 0\n    self.current_function = function_name\n\n  def Count(self):\n    \"\"\"Count line in current function body.\"\"\"\n    if self.in_a_function:\n      self.lines_in_function += 1\n\n  def Check(self, error, filename, linenum):\n    \"\"\"Report if too many lines in function body.\n\n    Args:\n      error: The function to call with any errors found.\n      filename: The name of the current file.\n      linenum: The number of the line to check.\n    \"\"\"\n    if not self.in_a_function:\n      return\n\n    if Match(r'T(EST|est)', self.current_function):\n      base_trigger = self._TEST_TRIGGER\n    else:\n      base_trigger = self._NORMAL_TRIGGER\n    trigger = base_trigger * 2**_VerboseLevel()\n\n    if self.lines_in_function > trigger:\n      error_level = int(math.log(self.lines_in_function / base_trigger, 2))\n      # 50 => 0, 100 => 1, 200 => 2, 400 => 3, 800 => 4, 1600 => 5, ...\n      if error_level > 5:\n        error_level = 5\n      error(filename, linenum, 'readability/fn_size', error_level,\n            'Small and focused functions are preferred:'\n            ' %s has %d non-comment lines'\n            ' (error triggered by exceeding %d lines).'  % (\n                self.current_function, self.lines_in_function, trigger))\n\n  def End(self):\n    \"\"\"Stop analyzing function body.\"\"\"\n    self.in_a_function = False\n\n\nclass _IncludeError(Exception):\n  \"\"\"Indicates a problem with the include order in a file.\"\"\"\n  pass\n\n\nclass FileInfo(object):\n  \"\"\"Provides utility functions for filenames.\n\n  FileInfo provides easy access to the components of a file's path\n  relative to the project root.\n  \"\"\"\n\n  def __init__(self, filename):\n    self._filename = filename\n\n  def FullName(self):\n    \"\"\"Make Windows paths like Unix.\"\"\"\n    return os.path.abspath(self._filename).replace('\\\\', '/')\n\n  def RepositoryName(self):\n    r\"\"\"FullName after removing the local path to the repository.\n\n    If we have a real absolute path name here we can try to do something smart:\n    detecting the root of the checkout and truncating /path/to/checkout from\n    the name so that we get header guards that don't include things like\n    \"C:\\\\Documents and Settings\\\\...\" or \"/home/username/...\" in them and thus\n    people on different computers who have checked the source out to different\n    locations won't see bogus errors.\n    \"\"\"\n    fullname = self.FullName()\n\n    if os.path.exists(fullname):\n      project_dir = os.path.dirname(fullname)\n\n      # If the user specified a repository path, it exists, and the file is\n      # contained in it, use the specified repository path\n      if _repository:\n        repo = FileInfo(_repository).FullName()\n        root_dir = project_dir\n        while os.path.exists(root_dir):\n          # allow case insensitive compare on Windows\n          if os.path.normcase(root_dir) == os.path.normcase(repo):\n            return os.path.relpath(fullname, root_dir).replace('\\\\', '/')\n          one_up_dir = os.path.dirname(root_dir)\n          if one_up_dir == root_dir:\n            break\n          root_dir = one_up_dir\n\n      if os.path.exists(os.path.join(project_dir, \".svn\")):\n        # If there's a .svn file in the current directory, we recursively look\n        # up the directory tree for the top of the SVN checkout\n        root_dir = project_dir\n        one_up_dir = os.path.dirname(root_dir)\n        while os.path.exists(os.path.join(one_up_dir, \".svn\")):\n          root_dir = os.path.dirname(root_dir)\n          one_up_dir = os.path.dirname(one_up_dir)\n\n        prefix = os.path.commonprefix([root_dir, project_dir])\n        return fullname[len(prefix) + 1:]\n\n      # Not SVN <= 1.6? Try to find a git, hg, or svn top level directory by\n      # searching up from the current path.\n      root_dir = current_dir = os.path.dirname(fullname)\n      while current_dir != os.path.dirname(current_dir):\n        if (os.path.exists(os.path.join(current_dir, \".git\")) or\n            os.path.exists(os.path.join(current_dir, \".hg\")) or\n            os.path.exists(os.path.join(current_dir, \".svn\"))):\n          root_dir = current_dir\n        current_dir = os.path.dirname(current_dir)\n\n      if (os.path.exists(os.path.join(root_dir, \".git\")) or\n          os.path.exists(os.path.join(root_dir, \".hg\")) or\n          os.path.exists(os.path.join(root_dir, \".svn\"))):\n        prefix = os.path.commonprefix([root_dir, project_dir])\n        return fullname[len(prefix) + 1:]\n\n    # Don't know what to do; header guard warnings may be wrong...\n    return fullname\n\n  def Split(self):\n    \"\"\"Splits the file into the directory, basename, and extension.\n\n    For 'chrome/browser/browser.cc', Split() would\n    return ('chrome/browser', 'browser', '.cc')\n\n    Returns:\n      A tuple of (directory, basename, extension).\n    \"\"\"\n\n    googlename = self.RepositoryName()\n    project, rest = os.path.split(googlename)\n    return (project,) + os.path.splitext(rest)\n\n  def BaseName(self):\n    \"\"\"File base name - text after the final slash, before the final period.\"\"\"\n    return self.Split()[1]\n\n  def Extension(self):\n    \"\"\"File extension - text following the final period, includes that period.\"\"\"\n    return self.Split()[2]\n\n  def NoExtension(self):\n    \"\"\"File has no source file extension.\"\"\"\n    return '/'.join(self.Split()[0:2])\n\n  def IsSource(self):\n    \"\"\"File has a source file extension.\"\"\"\n    return _IsSourceExtension(self.Extension()[1:])\n\n\ndef _ShouldPrintError(category, confidence, linenum):\n  \"\"\"If confidence >= verbose, category passes filter and is not suppressed.\"\"\"\n\n  # There are three ways we might decide not to print an error message:\n  # a \"NOLINT(category)\" comment appears in the source,\n  # the verbosity level isn't high enough, or the filters filter it out.\n  if IsErrorSuppressedByNolint(category, linenum):\n    return False\n\n  if confidence < _cpplint_state.verbose_level:\n    return False\n\n  is_filtered = False\n  for one_filter in _Filters():\n    if one_filter.startswith('-'):\n      if category.startswith(one_filter[1:]):\n        is_filtered = True\n    elif one_filter.startswith('+'):\n      if category.startswith(one_filter[1:]):\n        is_filtered = False\n    else:\n      assert False  # should have been checked for in SetFilter.\n  if is_filtered:\n    return False\n\n  return True\n\n\ndef Error(filename, linenum, category, confidence, message):\n  \"\"\"Logs the fact we've found a lint error.\n\n  We log where the error was found, and also our confidence in the error,\n  that is, how certain we are this is a legitimate style regression, and\n  not a misidentification or a use that's sometimes justified.\n\n  False positives can be suppressed by the use of\n  \"cpplint(category)\"  comments on the offending line.  These are\n  parsed into _error_suppressions.\n\n  Args:\n    filename: The name of the file containing the error.\n    linenum: The number of the line containing the error.\n    category: A string used to describe the \"category\" this bug\n      falls under: \"whitespace\", say, or \"runtime\".  Categories\n      may have a hierarchy separated by slashes: \"whitespace/indent\".\n    confidence: A number from 1-5 representing a confidence score for\n      the error, with 5 meaning that we are certain of the problem,\n      and 1 meaning that it could be a legitimate construct.\n    message: The error message.\n  \"\"\"\n  if _ShouldPrintError(category, confidence, linenum):\n    _cpplint_state.IncrementErrorCount(category)\n    if _cpplint_state.output_format == 'vs7':\n      _cpplint_state.PrintError('%s(%s): error cpplint: [%s] %s [%d]\\n' % (\n          filename, linenum, category, message, confidence))\n    elif _cpplint_state.output_format == 'eclipse':\n      sys.stderr.write('%s:%s: warning: %s  [%s] [%d]\\n' % (\n          filename, linenum, message, category, confidence))\n    elif _cpplint_state.output_format == 'junit':\n      _cpplint_state.AddJUnitFailure(filename, linenum, message, category,\n          confidence)\n    elif _cpplint_state.output_format in ['sed', 'gsed']:\n      if message in _SED_FIXUPS:\n        sys.stdout.write(_cpplint_state.output_format + \" -i '%s%s' %s # %s  [%s] [%d]\\n\" % (\n            linenum, _SED_FIXUPS[message], filename, message, category, confidence))\n      else:\n        sys.stderr.write('# %s:%s:  \"%s\"  [%s] [%d]\\n' % (\n            filename, linenum, message, category, confidence))\n    else:\n      final_message = '%s:%s:  %s  [%s] [%d]\\n' % (\n          filename, linenum, message, category, confidence)\n      sys.stderr.write(final_message)\n\n# Matches standard C++ escape sequences per 2.13.2.3 of the C++ standard.\n_RE_PATTERN_CLEANSE_LINE_ESCAPES = re.compile(\n    r'\\\\([abfnrtv?\"\\\\\\']|\\d+|x[0-9a-fA-F]+)')\n# Match a single C style comment on the same line.\n_RE_PATTERN_C_COMMENTS = r'/\\*(?:[^*]|\\*(?!/))*\\*/'\n# Matches multi-line C style comments.\n# This RE is a little bit more complicated than one might expect, because we\n# have to take care of space removals tools so we can handle comments inside\n# statements better.\n# The current rule is: We only clear spaces from both sides when we're at the\n# end of the line. Otherwise, we try to remove spaces from the right side,\n# if this doesn't work we try on left side but only if there's a non-character\n# on the right.\n_RE_PATTERN_CLEANSE_LINE_C_COMMENTS = re.compile(\n    r'(\\s*' + _RE_PATTERN_C_COMMENTS + r'\\s*$|' +\n    _RE_PATTERN_C_COMMENTS + r'\\s+|' +\n    r'\\s+' + _RE_PATTERN_C_COMMENTS + r'(?=\\W)|' +\n    _RE_PATTERN_C_COMMENTS + r')')\n\n\ndef IsCppString(line):\n  \"\"\"Does line terminate so, that the next symbol is in string constant.\n\n  This function does not consider single-line nor multi-line comments.\n\n  Args:\n    line: is a partial line of code starting from the 0..n.\n\n  Returns:\n    True, if next character appended to 'line' is inside a\n    string constant.\n  \"\"\"\n\n  line = line.replace(r'\\\\', 'XX')  # after this, \\\\\" does not match to \\\"\n  return ((line.count('\"') - line.count(r'\\\"') - line.count(\"'\\\"'\")) & 1) == 1\n\n\ndef CleanseRawStrings(raw_lines):\n  \"\"\"Removes C++11 raw strings from lines.\n\n    Before:\n      static const char kData[] = R\"(\n          multi-line string\n          )\";\n\n    After:\n      static const char kData[] = \"\"\n          (replaced by blank line)\n          \"\";\n\n  Args:\n    raw_lines: list of raw lines.\n\n  Returns:\n    list of lines with C++11 raw strings replaced by empty strings.\n  \"\"\"\n\n  delimiter = None\n  lines_without_raw_strings = []\n  for line in raw_lines:\n    if delimiter:\n      # Inside a raw string, look for the end\n      end = line.find(delimiter)\n      if end >= 0:\n        # Found the end of the string, match leading space for this\n        # line and resume copying the original lines, and also insert\n        # a \"\" on the last line.\n        leading_space = Match(r'^(\\s*)\\S', line)\n        line = leading_space.group(1) + '\"\"' + line[end + len(delimiter):]\n        delimiter = None\n      else:\n        # Haven't found the end yet, append a blank line.\n        line = '\"\"'\n\n    # Look for beginning of a raw string, and replace them with\n    # empty strings.  This is done in a loop to handle multiple raw\n    # strings on the same line.\n    while delimiter is None:\n      # Look for beginning of a raw string.\n      # See 2.14.15 [lex.string] for syntax.\n      #\n      # Once we have matched a raw string, we check the prefix of the\n      # line to make sure that the line is not part of a single line\n      # comment.  It's done this way because we remove raw strings\n      # before removing comments as opposed to removing comments\n      # before removing raw strings.  This is because there are some\n      # cpplint checks that requires the comments to be preserved, but\n      # we don't want to check comments that are inside raw strings.\n      matched = Match(r'^(.*?)\\b(?:R|u8R|uR|UR|LR)\"([^\\s\\\\()]*)\\((.*)$', line)\n      if (matched and\n          not Match(r'^([^\\'\"]|\\'(\\\\.|[^\\'])*\\'|\"(\\\\.|[^\"])*\")*//',\n                    matched.group(1))):\n        delimiter = ')' + matched.group(2) + '\"'\n\n        end = matched.group(3).find(delimiter)\n        if end >= 0:\n          # Raw string ended on same line\n          line = (matched.group(1) + '\"\"' +\n                  matched.group(3)[end + len(delimiter):])\n          delimiter = None\n        else:\n          # Start of a multi-line raw string\n          line = matched.group(1) + '\"\"'\n      else:\n        break\n\n    lines_without_raw_strings.append(line)\n\n  # TODO(unknown): if delimiter is not None here, we might want to\n  # emit a warning for unterminated string.\n  return lines_without_raw_strings\n\n\ndef FindNextMultiLineCommentStart(lines, lineix):\n  \"\"\"Find the beginning marker for a multiline comment.\"\"\"\n  while lineix < len(lines):\n    if lines[lineix].strip().startswith('/*'):\n      # Only return this marker if the comment goes beyond this line\n      if lines[lineix].strip().find('*/', 2) < 0:\n        return lineix\n    lineix += 1\n  return len(lines)\n\n\ndef FindNextMultiLineCommentEnd(lines, lineix):\n  \"\"\"We are inside a comment, find the end marker.\"\"\"\n  while lineix < len(lines):\n    if lines[lineix].strip().endswith('*/'):\n      return lineix\n    lineix += 1\n  return len(lines)\n\n\ndef RemoveMultiLineCommentsFromRange(lines, begin, end):\n  \"\"\"Clears a range of lines for multi-line comments.\"\"\"\n  # Having // <empty> comments makes the lines non-empty, so we will not get\n  # unnecessary blank line warnings later in the code.\n  for i in range(begin, end):\n    lines[i] = '/**/'\n\n\ndef RemoveMultiLineComments(filename, lines, error):\n  \"\"\"Removes multiline (c-style) comments from lines.\"\"\"\n  lineix = 0\n  while lineix < len(lines):\n    lineix_begin = FindNextMultiLineCommentStart(lines, lineix)\n    if lineix_begin >= len(lines):\n      return\n    lineix_end = FindNextMultiLineCommentEnd(lines, lineix_begin)\n    if lineix_end >= len(lines):\n      error(filename, lineix_begin + 1, 'readability/multiline_comment', 5,\n            'Could not find end of multi-line comment')\n      return\n    RemoveMultiLineCommentsFromRange(lines, lineix_begin, lineix_end + 1)\n    lineix = lineix_end + 1\n\n\ndef CleanseComments(line):\n  \"\"\"Removes //-comments and single-line C-style /* */ comments.\n\n  Args:\n    line: A line of C++ source.\n\n  Returns:\n    The line with single-line comments removed.\n  \"\"\"\n  commentpos = line.find('//')\n  if commentpos != -1 and not IsCppString(line[:commentpos]):\n    line = line[:commentpos].rstrip()\n  # get rid of /* ... */\n  return _RE_PATTERN_CLEANSE_LINE_C_COMMENTS.sub('', line)\n\n\nclass CleansedLines(object):\n  \"\"\"Holds 4 copies of all lines with different preprocessing applied to them.\n\n  1) elided member contains lines without strings and comments.\n  2) lines member contains lines without comments.\n  3) raw_lines member contains all the lines without processing.\n  4) lines_without_raw_strings member is same as raw_lines, but with C++11 raw\n     strings removed.\n  All these members are of <type 'list'>, and of the same length.\n  \"\"\"\n\n  def __init__(self, lines):\n    self.elided = []\n    self.lines = []\n    self.raw_lines = lines\n    self.num_lines = len(lines)\n    self.lines_without_raw_strings = CleanseRawStrings(lines)\n    for linenum in range(len(self.lines_without_raw_strings)):\n      self.lines.append(CleanseComments(\n          self.lines_without_raw_strings[linenum]))\n      elided = self._CollapseStrings(self.lines_without_raw_strings[linenum])\n      self.elided.append(CleanseComments(elided))\n\n  def NumLines(self):\n    \"\"\"Returns the number of lines represented.\"\"\"\n    return self.num_lines\n\n  @staticmethod\n  def _CollapseStrings(elided):\n    \"\"\"Collapses strings and chars on a line to simple \"\" or '' blocks.\n\n    We nix strings first so we're not fooled by text like '\"http://\"'\n\n    Args:\n      elided: The line being processed.\n\n    Returns:\n      The line with collapsed strings.\n    \"\"\"\n    if _RE_PATTERN_INCLUDE.match(elided):\n      return elided\n\n    # Remove escaped characters first to make quote/single quote collapsing\n    # basic.  Things that look like escaped characters shouldn't occur\n    # outside of strings and chars.\n    elided = _RE_PATTERN_CLEANSE_LINE_ESCAPES.sub('', elided)\n\n    # Replace quoted strings and digit separators.  Both single quotes\n    # and double quotes are processed in the same loop, otherwise\n    # nested quotes wouldn't work.\n    collapsed = ''\n    while True:\n      # Find the first quote character\n      match = Match(r'^([^\\'\"]*)([\\'\"])(.*)$', elided)\n      if not match:\n        collapsed += elided\n        break\n      head, quote, tail = match.groups()\n\n      if quote == '\"':\n        # Collapse double quoted strings\n        second_quote = tail.find('\"')\n        if second_quote >= 0:\n          collapsed += head + '\"\"'\n          elided = tail[second_quote + 1:]\n        else:\n          # Unmatched double quote, don't bother processing the rest\n          # of the line since this is probably a multiline string.\n          collapsed += elided\n          break\n      else:\n        # Found single quote, check nearby text to eliminate digit separators.\n        #\n        # There is no special handling for floating point here, because\n        # the integer/fractional/exponent parts would all be parsed\n        # correctly as long as there are digits on both sides of the\n        # separator.  So we are fine as long as we don't see something\n        # like \"0.'3\" (gcc 4.9.0 will not allow this literal).\n        if Search(r'\\b(?:0[bBxX]?|[1-9])[0-9a-fA-F]*$', head):\n          match_literal = Match(r'^((?:\\'?[0-9a-zA-Z_])*)(.*)$', \"'\" + tail)\n          collapsed += head + match_literal.group(1).replace(\"'\", '')\n          elided = match_literal.group(2)\n        else:\n          second_quote = tail.find('\\'')\n          if second_quote >= 0:\n            collapsed += head + \"''\"\n            elided = tail[second_quote + 1:]\n          else:\n            # Unmatched single quote\n            collapsed += elided\n            break\n\n    return collapsed\n\n\ndef FindEndOfExpressionInLine(line, startpos, stack):\n  \"\"\"Find the position just after the end of current parenthesized expression.\n\n  Args:\n    line: a CleansedLines line.\n    startpos: start searching at this position.\n    stack: nesting stack at startpos.\n\n  Returns:\n    On finding matching end: (index just after matching end, None)\n    On finding an unclosed expression: (-1, None)\n    Otherwise: (-1, new stack at end of this line)\n  \"\"\"\n  for i in xrange(startpos, len(line)):\n    char = line[i]\n    if char in '([{':\n      # Found start of parenthesized expression, push to expression stack\n      stack.append(char)\n    elif char == '<':\n      # Found potential start of template argument list\n      if i > 0 and line[i - 1] == '<':\n        # Left shift operator\n        if stack and stack[-1] == '<':\n          stack.pop()\n          if not stack:\n            return (-1, None)\n      elif i > 0 and Search(r'\\boperator\\s*$', line[0:i]):\n        # operator<, don't add to stack\n        continue\n      else:\n        # Tentative start of template argument list\n        stack.append('<')\n    elif char in ')]}':\n      # Found end of parenthesized expression.\n      #\n      # If we are currently expecting a matching '>', the pending '<'\n      # must have been an operator.  Remove them from expression stack.\n      while stack and stack[-1] == '<':\n        stack.pop()\n      if not stack:\n        return (-1, None)\n      if ((stack[-1] == '(' and char == ')') or\n          (stack[-1] == '[' and char == ']') or\n          (stack[-1] == '{' and char == '}')):\n        stack.pop()\n        if not stack:\n          return (i + 1, None)\n      else:\n        # Mismatched parentheses\n        return (-1, None)\n    elif char == '>':\n      # Found potential end of template argument list.\n\n      # Ignore \"->\" and operator functions\n      if (i > 0 and\n          (line[i - 1] == '-' or Search(r'\\boperator\\s*$', line[0:i - 1]))):\n        continue\n\n      # Pop the stack if there is a matching '<'.  Otherwise, ignore\n      # this '>' since it must be an operator.\n      if stack:\n        if stack[-1] == '<':\n          stack.pop()\n          if not stack:\n            return (i + 1, None)\n    elif char == ';':\n      # Found something that look like end of statements.  If we are currently\n      # expecting a '>', the matching '<' must have been an operator, since\n      # template argument list should not contain statements.\n      while stack and stack[-1] == '<':\n        stack.pop()\n      if not stack:\n        return (-1, None)\n\n  # Did not find end of expression or unbalanced parentheses on this line\n  return (-1, stack)\n\n\ndef CloseExpression(clean_lines, linenum, pos):\n  \"\"\"If input points to ( or { or [ or <, finds the position that closes it.\n\n  If lines[linenum][pos] points to a '(' or '{' or '[' or '<', finds the\n  linenum/pos that correspond to the closing of the expression.\n\n  TODO(unknown): cpplint spends a fair bit of time matching parentheses.\n  Ideally we would want to index all opening and closing parentheses once\n  and have CloseExpression be just a simple lookup, but due to preprocessor\n  tricks, this is not so easy.\n\n  Args:\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    pos: A position on the line.\n\n  Returns:\n    A tuple (line, linenum, pos) pointer *past* the closing brace, or\n    (line, len(lines), -1) if we never find a close.  Note we ignore\n    strings and comments when matching; and the line we return is the\n    'cleansed' line at linenum.\n  \"\"\"\n\n  line = clean_lines.elided[linenum]\n  if (line[pos] not in '({[<') or Match(r'<[<=]', line[pos:]):\n    return (line, clean_lines.NumLines(), -1)\n\n  # Check first line\n  (end_pos, stack) = FindEndOfExpressionInLine(line, pos, [])\n  if end_pos > -1:\n    return (line, linenum, end_pos)\n\n  # Continue scanning forward\n  while stack and linenum < clean_lines.NumLines() - 1:\n    linenum += 1\n    line = clean_lines.elided[linenum]\n    (end_pos, stack) = FindEndOfExpressionInLine(line, 0, stack)\n    if end_pos > -1:\n      return (line, linenum, end_pos)\n\n  # Did not find end of expression before end of file, give up\n  return (line, clean_lines.NumLines(), -1)\n\n\ndef FindStartOfExpressionInLine(line, endpos, stack):\n  \"\"\"Find position at the matching start of current expression.\n\n  This is almost the reverse of FindEndOfExpressionInLine, but note\n  that the input position and returned position differs by 1.\n\n  Args:\n    line: a CleansedLines line.\n    endpos: start searching at this position.\n    stack: nesting stack at endpos.\n\n  Returns:\n    On finding matching start: (index at matching start, None)\n    On finding an unclosed expression: (-1, None)\n    Otherwise: (-1, new stack at beginning of this line)\n  \"\"\"\n  i = endpos\n  while i >= 0:\n    char = line[i]\n    if char in ')]}':\n      # Found end of expression, push to expression stack\n      stack.append(char)\n    elif char == '>':\n      # Found potential end of template argument list.\n      #\n      # Ignore it if it's a \"->\" or \">=\" or \"operator>\"\n      if (i > 0 and\n          (line[i - 1] == '-' or\n           Match(r'\\s>=\\s', line[i - 1:]) or\n           Search(r'\\boperator\\s*$', line[0:i]))):\n        i -= 1\n      else:\n        stack.append('>')\n    elif char == '<':\n      # Found potential start of template argument list\n      if i > 0 and line[i - 1] == '<':\n        # Left shift operator\n        i -= 1\n      else:\n        # If there is a matching '>', we can pop the expression stack.\n        # Otherwise, ignore this '<' since it must be an operator.\n        if stack and stack[-1] == '>':\n          stack.pop()\n          if not stack:\n            return (i, None)\n    elif char in '([{':\n      # Found start of expression.\n      #\n      # If there are any unmatched '>' on the stack, they must be\n      # operators.  Remove those.\n      while stack and stack[-1] == '>':\n        stack.pop()\n      if not stack:\n        return (-1, None)\n      if ((char == '(' and stack[-1] == ')') or\n          (char == '[' and stack[-1] == ']') or\n          (char == '{' and stack[-1] == '}')):\n        stack.pop()\n        if not stack:\n          return (i, None)\n      else:\n        # Mismatched parentheses\n        return (-1, None)\n    elif char == ';':\n      # Found something that look like end of statements.  If we are currently\n      # expecting a '<', the matching '>' must have been an operator, since\n      # template argument list should not contain statements.\n      while stack and stack[-1] == '>':\n        stack.pop()\n      if not stack:\n        return (-1, None)\n\n    i -= 1\n\n  return (-1, stack)\n\n\ndef ReverseCloseExpression(clean_lines, linenum, pos):\n  \"\"\"If input points to ) or } or ] or >, finds the position that opens it.\n\n  If lines[linenum][pos] points to a ')' or '}' or ']' or '>', finds the\n  linenum/pos that correspond to the opening of the expression.\n\n  Args:\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    pos: A position on the line.\n\n  Returns:\n    A tuple (line, linenum, pos) pointer *at* the opening brace, or\n    (line, 0, -1) if we never find the matching opening brace.  Note\n    we ignore strings and comments when matching; and the line we\n    return is the 'cleansed' line at linenum.\n  \"\"\"\n  line = clean_lines.elided[linenum]\n  if line[pos] not in ')}]>':\n    return (line, 0, -1)\n\n  # Check last line\n  (start_pos, stack) = FindStartOfExpressionInLine(line, pos, [])\n  if start_pos > -1:\n    return (line, linenum, start_pos)\n\n  # Continue scanning backward\n  while stack and linenum > 0:\n    linenum -= 1\n    line = clean_lines.elided[linenum]\n    (start_pos, stack) = FindStartOfExpressionInLine(line, len(line) - 1, stack)\n    if start_pos > -1:\n      return (line, linenum, start_pos)\n\n  # Did not find start of expression before beginning of file, give up\n  return (line, 0, -1)\n\n\ndef CheckForCopyright(filename, lines, error):\n  \"\"\"Logs an error if no Copyright message appears at the top of the file.\"\"\"\n\n  # We'll say it should occur by line 10. Don't forget there's a\n  # placeholder line at the front.\n  for line in xrange(1, min(len(lines), 11)):\n    if re.search(r'Copyright', lines[line], re.I): break\n  else:                       # means no copyright line was found\n    error(filename, 0, 'legal/copyright', 5,\n          'No copyright message found.  '\n          'You should have a line: \"Copyright [year] <Copyright Owner>\"')\n\n\ndef GetIndentLevel(line):\n  \"\"\"Return the number of leading spaces in line.\n\n  Args:\n    line: A string to check.\n\n  Returns:\n    An integer count of leading spaces, possibly zero.\n  \"\"\"\n  indent = Match(r'^( *)\\S', line)\n  if indent:\n    return len(indent.group(1))\n  else:\n    return 0\n\ndef PathSplitToList(path):\n  \"\"\"Returns the path split into a list by the separator.\n\n  Args:\n    path: An absolute or relative path (e.g. '/a/b/c/' or '../a')\n\n  Returns:\n    A list of path components (e.g. ['a', 'b', 'c]).\n  \"\"\"\n  lst = []\n  while True:\n    (head, tail) = os.path.split(path)\n    if head == path:  # absolute paths end\n      lst.append(head)\n      break\n    if tail == path:  # relative paths end\n      lst.append(tail)\n      break\n\n    path = head\n    lst.append(tail)\n\n  lst.reverse()\n  return lst\n\ndef GetHeaderGuardCPPVariable(filename):\n  \"\"\"Returns the CPP variable that should be used as a header guard.\n\n  Args:\n    filename: The name of a C++ header file.\n\n  Returns:\n    The CPP variable that should be used as a header guard in the\n    named file.\n\n  \"\"\"\n\n  # Restores original filename in case that cpplint is invoked from Emacs's\n  # flymake.\n  filename = re.sub(r'_flymake\\.h$', '.h', filename)\n  filename = re.sub(r'/\\.flymake/([^/]*)$', r'/\\1', filename)\n  # Replace 'c++' with 'cpp'.\n  filename = filename.replace('C++', 'cpp').replace('c++', 'cpp')\n\n  fileinfo = FileInfo(filename)\n  file_path_from_root = fileinfo.RepositoryName()\n\n  def FixupPathFromRoot():\n    if _root_debug:\n      sys.stderr.write(\"\\n_root fixup, _root = '%s', repository name = '%s'\\n\"\n          % (_root, fileinfo.RepositoryName()))\n\n    # Process the file path with the --root flag if it was set.\n    if not _root:\n      if _root_debug:\n        sys.stderr.write(\"_root unspecified\\n\")\n      return file_path_from_root\n\n    def StripListPrefix(lst, prefix):\n      # f(['x', 'y'], ['w, z']) -> None  (not a valid prefix)\n      if lst[:len(prefix)] != prefix:\n        return None\n      # f(['a, 'b', 'c', 'd'], ['a', 'b']) -> ['c', 'd']\n      return lst[(len(prefix)):]\n\n    # root behavior:\n    #   --root=subdir , lstrips subdir from the header guard\n    maybe_path = StripListPrefix(PathSplitToList(file_path_from_root),\n                                 PathSplitToList(_root))\n\n    if _root_debug:\n      sys.stderr.write((\"_root lstrip (maybe_path=%s, file_path_from_root=%s,\" +\n          \" _root=%s)\\n\") % (maybe_path, file_path_from_root, _root))\n\n    if maybe_path:\n      return os.path.join(*maybe_path)\n\n    #   --root=.. , will prepend the outer directory to the header guard\n    full_path = fileinfo.FullName()\n    root_abspath = os.path.abspath(_root)\n\n    maybe_path = StripListPrefix(PathSplitToList(full_path),\n                                 PathSplitToList(root_abspath))\n\n    if _root_debug:\n      sys.stderr.write((\"_root prepend (maybe_path=%s, full_path=%s, \" +\n          \"root_abspath=%s)\\n\") % (maybe_path, full_path, root_abspath))\n\n    if maybe_path:\n      return os.path.join(*maybe_path)\n\n    if _root_debug:\n      sys.stderr.write(\"_root ignore, returning %s\\n\" % (file_path_from_root))\n\n    #   --root=FAKE_DIR is ignored\n    return file_path_from_root\n\n  file_path_from_root = FixupPathFromRoot()\n  return re.sub(r'[^a-zA-Z0-9]', '_', file_path_from_root).upper() + '_'\n\n\ndef CheckForHeaderGuard(filename, clean_lines, error):\n  \"\"\"Checks that the file contains a header guard.\n\n  Logs an error if no #ifndef header guard is present.  For other\n  headers, checks that the full pathname is used.\n\n  Args:\n    filename: The name of the C++ header file.\n    clean_lines: A CleansedLines instance containing the file.\n    error: The function to call with any errors found.\n  \"\"\"\n\n  # Don't check for header guards if there are error suppression\n  # comments somewhere in this file.\n  #\n  # Because this is silencing a warning for a nonexistent line, we\n  # only support the very specific NOLINT(build/header_guard) syntax,\n  # and not the general NOLINT or NOLINT(*) syntax.\n  raw_lines = clean_lines.lines_without_raw_strings\n  for i in raw_lines:\n    if Search(r'//\\s*NOLINT\\(build/header_guard\\)', i):\n      return\n\n  # Allow pragma once instead of header guards\n  for i in raw_lines:\n    if Search(r'^\\s*#pragma\\s+once', i):\n      return\n\n  cppvar = GetHeaderGuardCPPVariable(filename)\n\n  ifndef = ''\n  ifndef_linenum = 0\n  define = ''\n  endif = ''\n  endif_linenum = 0\n  for linenum, line in enumerate(raw_lines):\n    linesplit = line.split()\n    if len(linesplit) >= 2:\n      # find the first occurrence of #ifndef and #define, save arg\n      if not ifndef and linesplit[0] == '#ifndef':\n        # set ifndef to the header guard presented on the #ifndef line.\n        ifndef = linesplit[1]\n        ifndef_linenum = linenum\n      if not define and linesplit[0] == '#define':\n        define = linesplit[1]\n    # find the last occurrence of #endif, save entire line\n    if line.startswith('#endif'):\n      endif = line\n      endif_linenum = linenum\n\n  if not ifndef or not define or ifndef != define:\n    error(filename, 0, 'build/header_guard', 5,\n          'No #ifndef header guard found, suggested CPP variable is: %s' %\n          cppvar)\n    return\n\n  # The guard should be PATH_FILE_H_, but we also allow PATH_FILE_H__\n  # for backward compatibility.\n  if ifndef != cppvar:\n    error_level = 0\n    if ifndef != cppvar + '_':\n      error_level = 5\n\n    ParseNolintSuppressions(filename, raw_lines[ifndef_linenum], ifndef_linenum,\n                            error)\n    error(filename, ifndef_linenum, 'build/header_guard', error_level,\n          '#ifndef header guard has wrong style, please use: %s' % cppvar)\n\n  # Check for \"//\" comments on endif line.\n  ParseNolintSuppressions(filename, raw_lines[endif_linenum], endif_linenum,\n                          error)\n  match = Match(r'#endif\\s*//\\s*' + cppvar + r'(_)?\\b', endif)\n  if match:\n    if match.group(1) == '_':\n      # Issue low severity warning for deprecated double trailing underscore\n      error(filename, endif_linenum, 'build/header_guard', 0,\n            '#endif line should be \"#endif  // %s\"' % cppvar)\n    return\n\n  # Didn't find the corresponding \"//\" comment.  If this file does not\n  # contain any \"//\" comments at all, it could be that the compiler\n  # only wants \"/**/\" comments, look for those instead.\n  no_single_line_comments = True\n  for i in xrange(1, len(raw_lines) - 1):\n    line = raw_lines[i]\n    if Match(r'^(?:(?:\\'(?:\\.|[^\\'])*\\')|(?:\"(?:\\.|[^\"])*\")|[^\\'\"])*//', line):\n      no_single_line_comments = False\n      break\n\n  if no_single_line_comments:\n    match = Match(r'#endif\\s*/\\*\\s*' + cppvar + r'(_)?\\s*\\*/', endif)\n    if match:\n      if match.group(1) == '_':\n        # Low severity warning for double trailing underscore\n        error(filename, endif_linenum, 'build/header_guard', 0,\n              '#endif line should be \"#endif  /* %s */\"' % cppvar)\n      return\n\n  # Didn't find anything\n  error(filename, endif_linenum, 'build/header_guard', 5,\n        '#endif line should be \"#endif  // %s\"' % cppvar)\n\n\ndef CheckHeaderFileIncluded(filename, include_state, error):\n  \"\"\"Logs an error if a source file does not include its header.\"\"\"\n\n  # Do not check test files\n  fileinfo = FileInfo(filename)\n  if Search(_TEST_FILE_SUFFIX, fileinfo.BaseName()):\n    return\n\n  for ext in GetHeaderExtensions():\n    basefilename = filename[0:len(filename) - len(fileinfo.Extension())]\n    headerfile = basefilename + '.' + ext\n    if not os.path.exists(headerfile):\n      continue\n    headername = FileInfo(headerfile).RepositoryName()\n    first_include = None\n    include_uses_unix_dir_aliases = False\n    for section_list in include_state.include_list:\n      for f in section_list:\n        include_text = f[0]\n        if \"./\" in include_text:\n          include_uses_unix_dir_aliases = True\n        if headername in include_text or include_text in headername:\n          return\n        if not first_include:\n          first_include = f[1]\n\n    message = '%s should include its header file %s' % (fileinfo.RepositoryName(), headername)\n    if include_uses_unix_dir_aliases:\n      message += \". Relative paths like . and .. are not allowed.\"\n\n    error(filename, first_include, 'build/include', 5, message)\n\n\ndef CheckForBadCharacters(filename, lines, error):\n  \"\"\"Logs an error for each line containing bad characters.\n\n  Two kinds of bad characters:\n\n  1. Unicode replacement characters: These indicate that either the file\n  contained invalid UTF-8 (likely) or Unicode replacement characters (which\n  it shouldn't).  Note that it's possible for this to throw off line\n  numbering if the invalid UTF-8 occurred adjacent to a newline.\n\n  2. NUL bytes.  These are problematic for some tools.\n\n  Args:\n    filename: The name of the current file.\n    lines: An array of strings, each representing a line of the file.\n    error: The function to call with any errors found.\n  \"\"\"\n  for linenum, line in enumerate(lines):\n    if unicode_escape_decode('\\ufffd') in line:\n      error(filename, linenum, 'readability/utf8', 5,\n            'Line contains invalid UTF-8 (or Unicode replacement character).')\n    if '\\0' in line:\n      error(filename, linenum, 'readability/nul', 5, 'Line contains NUL byte.')\n\n\ndef CheckForNewlineAtEOF(filename, lines, error):\n  \"\"\"Logs an error if there is no newline char at the end of the file.\n\n  Args:\n    filename: The name of the current file.\n    lines: An array of strings, each representing a line of the file.\n    error: The function to call with any errors found.\n  \"\"\"\n\n  # The array lines() was created by adding two newlines to the\n  # original file (go figure), then splitting on \\n.\n  # To verify that the file ends in \\n, we just have to make sure the\n  # last-but-two element of lines() exists and is empty.\n  if len(lines) < 3 or lines[-2]:\n    error(filename, len(lines) - 2, 'whitespace/ending_newline', 5,\n          'Could not find a newline character at the end of the file.')\n\n\ndef CheckForMultilineCommentsAndStrings(filename, clean_lines, linenum, error):\n  \"\"\"Logs an error if we see /* ... */ or \"...\" that extend past one line.\n\n  /* ... */ comments are legit inside macros, for one line.\n  Otherwise, we prefer // comments, so it's ok to warn about the\n  other.  Likewise, it's ok for strings to extend across multiple\n  lines, as long as a line continuation character (backslash)\n  terminates each line. Although not currently prohibited by the C++\n  style guide, it's ugly and unnecessary. We don't do well with either\n  in this lint program, so we warn about both.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    error: The function to call with any errors found.\n  \"\"\"\n  line = clean_lines.elided[linenum]\n\n  # Remove all \\\\ (escaped backslashes) from the line. They are OK, and the\n  # second (escaped) slash may trigger later \\\" detection erroneously.\n  line = line.replace('\\\\\\\\', '')\n\n  if line.count('/*') > line.count('*/'):\n    error(filename, linenum, 'readability/multiline_comment', 5,\n          'Complex multi-line /*...*/-style comment found. '\n          'Lint may give bogus warnings.  '\n          'Consider replacing these with //-style comments, '\n          'with #if 0...#endif, '\n          'or with more clearly structured multi-line comments.')\n\n  if (line.count('\"') - line.count('\\\\\"')) % 2:\n    error(filename, linenum, 'readability/multiline_string', 5,\n          'Multi-line string (\"...\") found.  This lint script doesn\\'t '\n          'do well with such strings, and may give bogus warnings.  '\n          'Use C++11 raw strings or concatenation instead.')\n\n\n# (non-threadsafe name, thread-safe alternative, validation pattern)\n#\n# The validation pattern is used to eliminate false positives such as:\n#  _rand();               // false positive due to substring match.\n#  ->rand();              // some member function rand().\n#  ACMRandom rand(seed);  // some variable named rand.\n#  ISAACRandom rand();    // another variable named rand.\n#\n# Basically we require the return value of these functions to be used\n# in some expression context on the same line by matching on some\n# operator before the function name.  This eliminates constructors and\n# member function calls.\n_UNSAFE_FUNC_PREFIX = r'(?:[-+*/=%^&|(<]\\s*|>\\s+)'\n_THREADING_LIST = (\n    ('asctime(', 'asctime_r(', _UNSAFE_FUNC_PREFIX + r'asctime\\([^)]+\\)'),\n    ('ctime(', 'ctime_r(', _UNSAFE_FUNC_PREFIX + r'ctime\\([^)]+\\)'),\n    ('getgrgid(', 'getgrgid_r(', _UNSAFE_FUNC_PREFIX + r'getgrgid\\([^)]+\\)'),\n    ('getgrnam(', 'getgrnam_r(', _UNSAFE_FUNC_PREFIX + r'getgrnam\\([^)]+\\)'),\n    ('getlogin(', 'getlogin_r(', _UNSAFE_FUNC_PREFIX + r'getlogin\\(\\)'),\n    ('getpwnam(', 'getpwnam_r(', _UNSAFE_FUNC_PREFIX + r'getpwnam\\([^)]+\\)'),\n    ('getpwuid(', 'getpwuid_r(', _UNSAFE_FUNC_PREFIX + r'getpwuid\\([^)]+\\)'),\n    ('gmtime(', 'gmtime_r(', _UNSAFE_FUNC_PREFIX + r'gmtime\\([^)]+\\)'),\n    ('localtime(', 'localtime_r(', _UNSAFE_FUNC_PREFIX + r'localtime\\([^)]+\\)'),\n    ('rand(', 'rand_r(', _UNSAFE_FUNC_PREFIX + r'rand\\(\\)'),\n    ('strtok(', 'strtok_r(',\n     _UNSAFE_FUNC_PREFIX + r'strtok\\([^)]+\\)'),\n    ('ttyname(', 'ttyname_r(', _UNSAFE_FUNC_PREFIX + r'ttyname\\([^)]+\\)'),\n    )\n\n\ndef CheckPosixThreading(filename, clean_lines, linenum, error):\n  \"\"\"Checks for calls to thread-unsafe functions.\n\n  Much code has been originally written without consideration of\n  multi-threading. Also, engineers are relying on their old experience;\n  they have learned posix before threading extensions were added. These\n  tests guide the engineers to use thread-safe functions (when using\n  posix directly).\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    error: The function to call with any errors found.\n  \"\"\"\n  line = clean_lines.elided[linenum]\n  for single_thread_func, multithread_safe_func, pattern in _THREADING_LIST:\n    # Additional pattern matching check to confirm that this is the\n    # function we are looking for\n    if Search(pattern, line):\n      error(filename, linenum, 'runtime/threadsafe_fn', 2,\n            'Consider using ' + multithread_safe_func +\n            '...) instead of ' + single_thread_func +\n            '...) for improved thread safety.')\n\n\ndef CheckVlogArguments(filename, clean_lines, linenum, error):\n  \"\"\"Checks that VLOG() is only used for defining a logging level.\n\n  For example, VLOG(2) is correct. VLOG(INFO), VLOG(WARNING), VLOG(ERROR), and\n  VLOG(FATAL) are not.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    error: The function to call with any errors found.\n  \"\"\"\n  line = clean_lines.elided[linenum]\n  if Search(r'\\bVLOG\\((INFO|ERROR|WARNING|DFATAL|FATAL)\\)', line):\n    error(filename, linenum, 'runtime/vlog', 5,\n          'VLOG() should be used with numeric verbosity level.  '\n          'Use LOG() if you want symbolic severity levels.')\n\n# Matches invalid increment: *count++, which moves pointer instead of\n# incrementing a value.\n_RE_PATTERN_INVALID_INCREMENT = re.compile(\n    r'^\\s*\\*\\w+(\\+\\+|--);')\n\n\ndef CheckInvalidIncrement(filename, clean_lines, linenum, error):\n  \"\"\"Checks for invalid increment *count++.\n\n  For example following function:\n  void increment_counter(int* count) {\n    *count++;\n  }\n  is invalid, because it effectively does count++, moving pointer, and should\n  be replaced with ++*count, (*count)++ or *count += 1.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    error: The function to call with any errors found.\n  \"\"\"\n  line = clean_lines.elided[linenum]\n  if _RE_PATTERN_INVALID_INCREMENT.match(line):\n    error(filename, linenum, 'runtime/invalid_increment', 5,\n          'Changing pointer instead of value (or unused value of operator*).')\n\n\ndef IsMacroDefinition(clean_lines, linenum):\n  if Search(r'^#define', clean_lines[linenum]):\n    return True\n\n  if linenum > 0 and Search(r'\\\\$', clean_lines[linenum - 1]):\n    return True\n\n  return False\n\n\ndef IsForwardClassDeclaration(clean_lines, linenum):\n  return Match(r'^\\s*(\\btemplate\\b)*.*class\\s+\\w+;\\s*$', clean_lines[linenum])\n\n\nclass _BlockInfo(object):\n  \"\"\"Stores information about a generic block of code.\"\"\"\n\n  def __init__(self, linenum, seen_open_brace):\n    self.starting_linenum = linenum\n    self.seen_open_brace = seen_open_brace\n    self.open_parentheses = 0\n    self.inline_asm = _NO_ASM\n    self.check_namespace_indentation = False\n\n  def CheckBegin(self, filename, clean_lines, linenum, error):\n    \"\"\"Run checks that applies to text up to the opening brace.\n\n    This is mostly for checking the text after the class identifier\n    and the \"{\", usually where the base class is specified.  For other\n    blocks, there isn't much to check, so we always pass.\n\n    Args:\n      filename: The name of the current file.\n      clean_lines: A CleansedLines instance containing the file.\n      linenum: The number of the line to check.\n      error: The function to call with any errors found.\n    \"\"\"\n    pass\n\n  def CheckEnd(self, filename, clean_lines, linenum, error):\n    \"\"\"Run checks that applies to text after the closing brace.\n\n    This is mostly used for checking end of namespace comments.\n\n    Args:\n      filename: The name of the current file.\n      clean_lines: A CleansedLines instance containing the file.\n      linenum: The number of the line to check.\n      error: The function to call with any errors found.\n    \"\"\"\n    pass\n\n  def IsBlockInfo(self):\n    \"\"\"Returns true if this block is a _BlockInfo.\n\n    This is convenient for verifying that an object is an instance of\n    a _BlockInfo, but not an instance of any of the derived classes.\n\n    Returns:\n      True for this class, False for derived classes.\n    \"\"\"\n    return self.__class__ == _BlockInfo\n\n\nclass _ExternCInfo(_BlockInfo):\n  \"\"\"Stores information about an 'extern \"C\"' block.\"\"\"\n\n  def __init__(self, linenum):\n    _BlockInfo.__init__(self, linenum, True)\n\n\nclass _ClassInfo(_BlockInfo):\n  \"\"\"Stores information about a class.\"\"\"\n\n  def __init__(self, name, class_or_struct, clean_lines, linenum):\n    _BlockInfo.__init__(self, linenum, False)\n    self.name = name\n    self.is_derived = False\n    self.check_namespace_indentation = True\n    if class_or_struct == 'struct':\n      self.access = 'public'\n      self.is_struct = True\n    else:\n      self.access = 'private'\n      self.is_struct = False\n\n    # Remember initial indentation level for this class.  Using raw_lines here\n    # instead of elided to account for leading comments.\n    self.class_indent = GetIndentLevel(clean_lines.raw_lines[linenum])\n\n    # Try to find the end of the class.  This will be confused by things like:\n    #   class A {\n    #   } *x = { ...\n    #\n    # But it's still good enough for CheckSectionSpacing.\n    self.last_line = 0\n    depth = 0\n    for i in range(linenum, clean_lines.NumLines()):\n      line = clean_lines.elided[i]\n      depth += line.count('{') - line.count('}')\n      if not depth:\n        self.last_line = i\n        break\n\n  def CheckBegin(self, filename, clean_lines, linenum, error):\n    # Look for a bare ':'\n    if Search('(^|[^:]):($|[^:])', clean_lines.elided[linenum]):\n      self.is_derived = True\n\n  def CheckEnd(self, filename, clean_lines, linenum, error):\n    # If there is a DISALLOW macro, it should appear near the end of\n    # the class.\n    seen_last_thing_in_class = False\n    for i in xrange(linenum - 1, self.starting_linenum, -1):\n      match = Search(\n          r'\\b(DISALLOW_COPY_AND_ASSIGN|DISALLOW_IMPLICIT_CONSTRUCTORS)\\(' +\n          self.name + r'\\)',\n          clean_lines.elided[i])\n      if match:\n        if seen_last_thing_in_class:\n          error(filename, i, 'readability/constructors', 3,\n                match.group(1) + ' should be the last thing in the class')\n        break\n\n      if not Match(r'^\\s*$', clean_lines.elided[i]):\n        seen_last_thing_in_class = True\n\n    # Check that closing brace is aligned with beginning of the class.\n    # Only do this if the closing brace is indented by only whitespaces.\n    # This means we will not check single-line class definitions.\n    indent = Match(r'^( *)\\}', clean_lines.elided[linenum])\n    if indent and len(indent.group(1)) != self.class_indent:\n      if self.is_struct:\n        parent = 'struct ' + self.name\n      else:\n        parent = 'class ' + self.name\n      error(filename, linenum, 'whitespace/indent', 3,\n            'Closing brace should be aligned with beginning of %s' % parent)\n\n\nclass _NamespaceInfo(_BlockInfo):\n  \"\"\"Stores information about a namespace.\"\"\"\n\n  def __init__(self, name, linenum):\n    _BlockInfo.__init__(self, linenum, False)\n    self.name = name or ''\n    self.check_namespace_indentation = True\n\n  def CheckEnd(self, filename, clean_lines, linenum, error):\n    \"\"\"Check end of namespace comments.\"\"\"\n    line = clean_lines.raw_lines[linenum]\n\n    # Check how many lines is enclosed in this namespace.  Don't issue\n    # warning for missing namespace comments if there aren't enough\n    # lines.  However, do apply checks if there is already an end of\n    # namespace comment and it's incorrect.\n    #\n    # TODO(unknown): We always want to check end of namespace comments\n    # if a namespace is large, but sometimes we also want to apply the\n    # check if a short namespace contained nontrivial things (something\n    # other than forward declarations).  There is currently no logic on\n    # deciding what these nontrivial things are, so this check is\n    # triggered by namespace size only, which works most of the time.\n    if (linenum - self.starting_linenum < 10\n        and not Match(r'^\\s*};*\\s*(//|/\\*).*\\bnamespace\\b', line)):\n      return\n\n    # Look for matching comment at end of namespace.\n    #\n    # Note that we accept C style \"/* */\" comments for terminating\n    # namespaces, so that code that terminate namespaces inside\n    # preprocessor macros can be cpplint clean.\n    #\n    # We also accept stuff like \"// end of namespace <name>.\" with the\n    # period at the end.\n    #\n    # Besides these, we don't accept anything else, otherwise we might\n    # get false negatives when existing comment is a substring of the\n    # expected namespace.\n    if self.name:\n      # Named namespace\n      if not Match((r'^\\s*};*\\s*(//|/\\*).*\\bnamespace\\s+' +\n                    re.escape(self.name) + r'[\\*/\\.\\\\\\s]*$'),\n                   line):\n        error(filename, linenum, 'readability/namespace', 5,\n              'Namespace should be terminated with \"// namespace %s\"' %\n              self.name)\n    else:\n      # Anonymous namespace\n      if not Match(r'^\\s*};*\\s*(//|/\\*).*\\bnamespace[\\*/\\.\\\\\\s]*$', line):\n        # If \"// namespace anonymous\" or \"// anonymous namespace (more text)\",\n        # mention \"// anonymous namespace\" as an acceptable form\n        if Match(r'^\\s*}.*\\b(namespace anonymous|anonymous namespace)\\b', line):\n          error(filename, linenum, 'readability/namespace', 5,\n                'Anonymous namespace should be terminated with \"// namespace\"'\n                ' or \"// anonymous namespace\"')\n        else:\n          error(filename, linenum, 'readability/namespace', 5,\n                'Anonymous namespace should be terminated with \"// namespace\"')\n\n\nclass _PreprocessorInfo(object):\n  \"\"\"Stores checkpoints of nesting stacks when #if/#else is seen.\"\"\"\n\n  def __init__(self, stack_before_if):\n    # The entire nesting stack before #if\n    self.stack_before_if = stack_before_if\n\n    # The entire nesting stack up to #else\n    self.stack_before_else = []\n\n    # Whether we have already seen #else or #elif\n    self.seen_else = False\n\n\nclass NestingState(object):\n  \"\"\"Holds states related to parsing braces.\"\"\"\n\n  def __init__(self):\n    # Stack for tracking all braces.  An object is pushed whenever we\n    # see a \"{\", and popped when we see a \"}\".  Only 3 types of\n    # objects are possible:\n    # - _ClassInfo: a class or struct.\n    # - _NamespaceInfo: a namespace.\n    # - _BlockInfo: some other type of block.\n    self.stack = []\n\n    # Top of the previous stack before each Update().\n    #\n    # Because the nesting_stack is updated at the end of each line, we\n    # had to do some convoluted checks to find out what is the current\n    # scope at the beginning of the line.  This check is simplified by\n    # saving the previous top of nesting stack.\n    #\n    # We could save the full stack, but we only need the top.  Copying\n    # the full nesting stack would slow down cpplint by ~10%.\n    self.previous_stack_top = []\n\n    # Stack of _PreprocessorInfo objects.\n    self.pp_stack = []\n\n  def SeenOpenBrace(self):\n    \"\"\"Check if we have seen the opening brace for the innermost block.\n\n    Returns:\n      True if we have seen the opening brace, False if the innermost\n      block is still expecting an opening brace.\n    \"\"\"\n    return (not self.stack) or self.stack[-1].seen_open_brace\n\n  def InNamespaceBody(self):\n    \"\"\"Check if we are currently one level inside a namespace body.\n\n    Returns:\n      True if top of the stack is a namespace block, False otherwise.\n    \"\"\"\n    return self.stack and isinstance(self.stack[-1], _NamespaceInfo)\n\n  def InExternC(self):\n    \"\"\"Check if we are currently one level inside an 'extern \"C\"' block.\n\n    Returns:\n      True if top of the stack is an extern block, False otherwise.\n    \"\"\"\n    return self.stack and isinstance(self.stack[-1], _ExternCInfo)\n\n  def InClassDeclaration(self):\n    \"\"\"Check if we are currently one level inside a class or struct declaration.\n\n    Returns:\n      True if top of the stack is a class/struct, False otherwise.\n    \"\"\"\n    return self.stack and isinstance(self.stack[-1], _ClassInfo)\n\n  def InAsmBlock(self):\n    \"\"\"Check if we are currently one level inside an inline ASM block.\n\n    Returns:\n      True if the top of the stack is a block containing inline ASM.\n    \"\"\"\n    return self.stack and self.stack[-1].inline_asm != _NO_ASM\n\n  def InTemplateArgumentList(self, clean_lines, linenum, pos):\n    \"\"\"Check if current position is inside template argument list.\n\n    Args:\n      clean_lines: A CleansedLines instance containing the file.\n      linenum: The number of the line to check.\n      pos: position just after the suspected template argument.\n    Returns:\n      True if (linenum, pos) is inside template arguments.\n    \"\"\"\n    while linenum < clean_lines.NumLines():\n      # Find the earliest character that might indicate a template argument\n      line = clean_lines.elided[linenum]\n      match = Match(r'^[^{};=\\[\\]\\.<>]*(.)', line[pos:])\n      if not match:\n        linenum += 1\n        pos = 0\n        continue\n      token = match.group(1)\n      pos += len(match.group(0))\n\n      # These things do not look like template argument list:\n      #   class Suspect {\n      #   class Suspect x; }\n      if token in ('{', '}', ';'): return False\n\n      # These things look like template argument list:\n      #   template <class Suspect>\n      #   template <class Suspect = default_value>\n      #   template <class Suspect[]>\n      #   template <class Suspect...>\n      if token in ('>', '=', '[', ']', '.'): return True\n\n      # Check if token is an unmatched '<'.\n      # If not, move on to the next character.\n      if token != '<':\n        pos += 1\n        if pos >= len(line):\n          linenum += 1\n          pos = 0\n        continue\n\n      # We can't be sure if we just find a single '<', and need to\n      # find the matching '>'.\n      (_, end_line, end_pos) = CloseExpression(clean_lines, linenum, pos - 1)\n      if end_pos < 0:\n        # Not sure if template argument list or syntax error in file\n        return False\n      linenum = end_line\n      pos = end_pos\n    return False\n\n  def UpdatePreprocessor(self, line):\n    \"\"\"Update preprocessor stack.\n\n    We need to handle preprocessors due to classes like this:\n      #ifdef SWIG\n      struct ResultDetailsPageElementExtensionPoint {\n      #else\n      struct ResultDetailsPageElementExtensionPoint : public Extension {\n      #endif\n\n    We make the following assumptions (good enough for most files):\n    - Preprocessor condition evaluates to true from #if up to first\n      #else/#elif/#endif.\n\n    - Preprocessor condition evaluates to false from #else/#elif up\n      to #endif.  We still perform lint checks on these lines, but\n      these do not affect nesting stack.\n\n    Args:\n      line: current line to check.\n    \"\"\"\n    if Match(r'^\\s*#\\s*(if|ifdef|ifndef)\\b', line):\n      # Beginning of #if block, save the nesting stack here.  The saved\n      # stack will allow us to restore the parsing state in the #else case.\n      self.pp_stack.append(_PreprocessorInfo(copy.deepcopy(self.stack)))\n    elif Match(r'^\\s*#\\s*(else|elif)\\b', line):\n      # Beginning of #else block\n      if self.pp_stack:\n        if not self.pp_stack[-1].seen_else:\n          # This is the first #else or #elif block.  Remember the\n          # whole nesting stack up to this point.  This is what we\n          # keep after the #endif.\n          self.pp_stack[-1].seen_else = True\n          self.pp_stack[-1].stack_before_else = copy.deepcopy(self.stack)\n\n        # Restore the stack to how it was before the #if\n        self.stack = copy.deepcopy(self.pp_stack[-1].stack_before_if)\n      else:\n        # TODO(unknown): unexpected #else, issue warning?\n        pass\n    elif Match(r'^\\s*#\\s*endif\\b', line):\n      # End of #if or #else blocks.\n      if self.pp_stack:\n        # If we saw an #else, we will need to restore the nesting\n        # stack to its former state before the #else, otherwise we\n        # will just continue from where we left off.\n        if self.pp_stack[-1].seen_else:\n          # Here we can just use a shallow copy since we are the last\n          # reference to it.\n          self.stack = self.pp_stack[-1].stack_before_else\n        # Drop the corresponding #if\n        self.pp_stack.pop()\n      else:\n        # TODO(unknown): unexpected #endif, issue warning?\n        pass\n\n  # TODO(unknown): Update() is too long, but we will refactor later.\n  def Update(self, filename, clean_lines, linenum, error):\n    \"\"\"Update nesting state with current line.\n\n    Args:\n      filename: The name of the current file.\n      clean_lines: A CleansedLines instance containing the file.\n      linenum: The number of the line to check.\n      error: The function to call with any errors found.\n    \"\"\"\n    line = clean_lines.elided[linenum]\n\n    # Remember top of the previous nesting stack.\n    #\n    # The stack is always pushed/popped and not modified in place, so\n    # we can just do a shallow copy instead of copy.deepcopy.  Using\n    # deepcopy would slow down cpplint by ~28%.\n    if self.stack:\n      self.previous_stack_top = self.stack[-1]\n    else:\n      self.previous_stack_top = None\n\n    # Update pp_stack\n    self.UpdatePreprocessor(line)\n\n    # Count parentheses.  This is to avoid adding struct arguments to\n    # the nesting stack.\n    if self.stack:\n      inner_block = self.stack[-1]\n      depth_change = line.count('(') - line.count(')')\n      inner_block.open_parentheses += depth_change\n\n      # Also check if we are starting or ending an inline assembly block.\n      if inner_block.inline_asm in (_NO_ASM, _END_ASM):\n        if (depth_change != 0 and\n            inner_block.open_parentheses == 1 and\n            _MATCH_ASM.match(line)):\n          # Enter assembly block\n          inner_block.inline_asm = _INSIDE_ASM\n        else:\n          # Not entering assembly block.  If previous line was _END_ASM,\n          # we will now shift to _NO_ASM state.\n          inner_block.inline_asm = _NO_ASM\n      elif (inner_block.inline_asm == _INSIDE_ASM and\n            inner_block.open_parentheses == 0):\n        # Exit assembly block\n        inner_block.inline_asm = _END_ASM\n\n    # Consume namespace declaration at the beginning of the line.  Do\n    # this in a loop so that we catch same line declarations like this:\n    #   namespace proto2 { namespace bridge { class MessageSet; } }\n    while True:\n      # Match start of namespace.  The \"\\b\\s*\" below catches namespace\n      # declarations even if it weren't followed by a whitespace, this\n      # is so that we don't confuse our namespace checker.  The\n      # missing spaces will be flagged by CheckSpacing.\n      namespace_decl_match = Match(r'^\\s*namespace\\b\\s*([:\\w]+)?(.*)$', line)\n      if not namespace_decl_match:\n        break\n\n      new_namespace = _NamespaceInfo(namespace_decl_match.group(1), linenum)\n      self.stack.append(new_namespace)\n\n      line = namespace_decl_match.group(2)\n      if line.find('{') != -1:\n        new_namespace.seen_open_brace = True\n        line = line[line.find('{') + 1:]\n\n    # Look for a class declaration in whatever is left of the line\n    # after parsing namespaces.  The regexp accounts for decorated classes\n    # such as in:\n    #   class LOCKABLE API Object {\n    #   };\n    class_decl_match = Match(\n        r'^(\\s*(?:template\\s*<[\\w\\s<>,:=]*>\\s*)?'\n        r'(class|struct)\\s+(?:[a-zA-Z0-9_]+\\s+)*(\\w+(?:::\\w+)*))'\n        r'(.*)$', line)\n    if (class_decl_match and\n        (not self.stack or self.stack[-1].open_parentheses == 0)):\n      # We do not want to accept classes that are actually template arguments:\n      #   template <class Ignore1,\n      #             class Ignore2 = Default<Args>,\n      #             template <Args> class Ignore3>\n      #   void Function() {};\n      #\n      # To avoid template argument cases, we scan forward and look for\n      # an unmatched '>'.  If we see one, assume we are inside a\n      # template argument list.\n      end_declaration = len(class_decl_match.group(1))\n      if not self.InTemplateArgumentList(clean_lines, linenum, end_declaration):\n        self.stack.append(_ClassInfo(\n            class_decl_match.group(3), class_decl_match.group(2),\n            clean_lines, linenum))\n        line = class_decl_match.group(4)\n\n    # If we have not yet seen the opening brace for the innermost block,\n    # run checks here.\n    if not self.SeenOpenBrace():\n      self.stack[-1].CheckBegin(filename, clean_lines, linenum, error)\n\n    # Update access control if we are inside a class/struct\n    if self.stack and isinstance(self.stack[-1], _ClassInfo):\n      classinfo = self.stack[-1]\n      access_match = Match(\n          r'^(.*)\\b(public|private|protected|signals)(\\s+(?:slots\\s*)?)?'\n          r':(?:[^:]|$)',\n          line)\n      if access_match:\n        classinfo.access = access_match.group(2)\n\n        # Check that access keywords are indented +1 space.  Skip this\n        # check if the keywords are not preceded by whitespaces.\n        indent = access_match.group(1)\n        if (len(indent) != classinfo.class_indent + 1 and\n            Match(r'^\\s*$', indent)):\n          if classinfo.is_struct:\n            parent = 'struct ' + classinfo.name\n          else:\n            parent = 'class ' + classinfo.name\n          slots = ''\n          if access_match.group(3):\n            slots = access_match.group(3)\n          error(filename, linenum, 'whitespace/indent', 3,\n                '%s%s: should be indented +1 space inside %s' % (\n                    access_match.group(2), slots, parent))\n\n    # Consume braces or semicolons from what's left of the line\n    while True:\n      # Match first brace, semicolon, or closed parenthesis.\n      matched = Match(r'^[^{;)}]*([{;)}])(.*)$', line)\n      if not matched:\n        break\n\n      token = matched.group(1)\n      if token == '{':\n        # If namespace or class hasn't seen a opening brace yet, mark\n        # namespace/class head as complete.  Push a new block onto the\n        # stack otherwise.\n        if not self.SeenOpenBrace():\n          self.stack[-1].seen_open_brace = True\n        elif Match(r'^extern\\s*\"[^\"]*\"\\s*\\{', line):\n          self.stack.append(_ExternCInfo(linenum))\n        else:\n          self.stack.append(_BlockInfo(linenum, True))\n          if _MATCH_ASM.match(line):\n            self.stack[-1].inline_asm = _BLOCK_ASM\n\n      elif token == ';' or token == ')':\n        # If we haven't seen an opening brace yet, but we already saw\n        # a semicolon, this is probably a forward declaration.  Pop\n        # the stack for these.\n        #\n        # Similarly, if we haven't seen an opening brace yet, but we\n        # already saw a closing parenthesis, then these are probably\n        # function arguments with extra \"class\" or \"struct\" keywords.\n        # Also pop these stack for these.\n        if not self.SeenOpenBrace():\n          self.stack.pop()\n      else:  # token == '}'\n        # Perform end of block checks and pop the stack.\n        if self.stack:\n          self.stack[-1].CheckEnd(filename, clean_lines, linenum, error)\n          self.stack.pop()\n      line = matched.group(2)\n\n  def InnermostClass(self):\n    \"\"\"Get class info on the top of the stack.\n\n    Returns:\n      A _ClassInfo object if we are inside a class, or None otherwise.\n    \"\"\"\n    for i in range(len(self.stack), 0, -1):\n      classinfo = self.stack[i - 1]\n      if isinstance(classinfo, _ClassInfo):\n        return classinfo\n    return None\n\n  def CheckCompletedBlocks(self, filename, error):\n    \"\"\"Checks that all classes and namespaces have been completely parsed.\n\n    Call this when all lines in a file have been processed.\n    Args:\n      filename: The name of the current file.\n      error: The function to call with any errors found.\n    \"\"\"\n    # Note: This test can result in false positives if #ifdef constructs\n    # get in the way of brace matching. See the testBuildClass test in\n    # cpplint_unittest.py for an example of this.\n    for obj in self.stack:\n      if isinstance(obj, _ClassInfo):\n        error(filename, obj.starting_linenum, 'build/class', 5,\n              'Failed to find complete declaration of class %s' %\n              obj.name)\n      elif isinstance(obj, _NamespaceInfo):\n        error(filename, obj.starting_linenum, 'build/namespaces', 5,\n              'Failed to find complete declaration of namespace %s' %\n              obj.name)\n\n\ndef CheckForNonStandardConstructs(filename, clean_lines, linenum,\n                                  nesting_state, error):\n  r\"\"\"Logs an error if we see certain non-ANSI constructs ignored by gcc-2.\n\n  Complain about several constructs which gcc-2 accepts, but which are\n  not standard C++.  Warning about these in lint is one way to ease the\n  transition to new compilers.\n  - put storage class first (e.g. \"static const\" instead of \"const static\").\n  - \"%lld\" instead of %qd\" in printf-type functions.\n  - \"%1$d\" is non-standard in printf-type functions.\n  - \"\\%\" is an undefined character escape sequence.\n  - text after #endif is not allowed.\n  - invalid inner-style forward declaration.\n  - >? and <? operators, and their >?= and <?= cousins.\n\n  Additionally, check for constructor/destructor style violations and reference\n  members, as it is very convenient to do so while checking for\n  gcc-2 compliance.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    nesting_state: A NestingState instance which maintains information about\n                   the current stack of nested blocks being parsed.\n    error: A callable to which errors are reported, which takes 4 arguments:\n           filename, line number, error level, and message\n  \"\"\"\n\n  # Remove comments from the line, but leave in strings for now.\n  line = clean_lines.lines[linenum]\n\n  if Search(r'printf\\s*\\(.*\".*%[-+ ]?\\d*q', line):\n    error(filename, linenum, 'runtime/printf_format', 3,\n          '%q in format strings is deprecated.  Use %ll instead.')\n\n  if Search(r'printf\\s*\\(.*\".*%\\d+\\$', line):\n    error(filename, linenum, 'runtime/printf_format', 2,\n          '%N$ formats are unconventional.  Try rewriting to avoid them.')\n\n  # Remove escaped backslashes before looking for undefined escapes.\n  line = line.replace('\\\\\\\\', '')\n\n  if Search(r'(\"|\\').*\\\\(%|\\[|\\(|{)', line):\n    error(filename, linenum, 'build/printf_format', 3,\n          '%, [, (, and { are undefined character escapes.  Unescape them.')\n\n  # For the rest, work with both comments and strings removed.\n  line = clean_lines.elided[linenum]\n\n  if Search(r'\\b(const|volatile|void|char|short|int|long'\n            r'|float|double|signed|unsigned'\n            r'|schar|u?int8|u?int16|u?int32|u?int64)'\n            r'\\s+(register|static|extern|typedef)\\b',\n            line):\n    error(filename, linenum, 'build/storage_class', 5,\n          'Storage-class specifier (static, extern, typedef, etc) should be '\n          'at the beginning of the declaration.')\n\n  if Match(r'\\s*#\\s*endif\\s*[^/\\s]+', line):\n    error(filename, linenum, 'build/endif_comment', 5,\n          'Uncommented text after #endif is non-standard.  Use a comment.')\n\n  if Match(r'\\s*class\\s+(\\w+\\s*::\\s*)+\\w+\\s*;', line):\n    error(filename, linenum, 'build/forward_decl', 5,\n          'Inner-style forward declarations are invalid.  Remove this line.')\n\n  if Search(r'(\\w+|[+-]?\\d+(\\.\\d*)?)\\s*(<|>)\\?=?\\s*(\\w+|[+-]?\\d+)(\\.\\d*)?',\n            line):\n    error(filename, linenum, 'build/deprecated', 3,\n          '>? and <? (max and min) operators are non-standard and deprecated.')\n\n  if Search(r'^\\s*const\\s*string\\s*&\\s*\\w+\\s*;', line):\n    # TODO(unknown): Could it be expanded safely to arbitrary references,\n    # without triggering too many false positives? The first\n    # attempt triggered 5 warnings for mostly benign code in the regtest, hence\n    # the restriction.\n    # Here's the original regexp, for the reference:\n    # type_name = r'\\w+((\\s*::\\s*\\w+)|(\\s*<\\s*\\w+?\\s*>))?'\n    # r'\\s*const\\s*' + type_name + '\\s*&\\s*\\w+\\s*;'\n    error(filename, linenum, 'runtime/member_string_references', 2,\n          'const string& members are dangerous. It is much better to use '\n          'alternatives, such as pointers or simple constants.')\n\n  # Everything else in this function operates on class declarations.\n  # Return early if the top of the nesting stack is not a class, or if\n  # the class head is not completed yet.\n  classinfo = nesting_state.InnermostClass()\n  if not classinfo or not classinfo.seen_open_brace:\n    return\n\n  # The class may have been declared with namespace or classname qualifiers.\n  # The constructor and destructor will not have those qualifiers.\n  base_classname = classinfo.name.split('::')[-1]\n\n  # Look for single-argument constructors that aren't marked explicit.\n  # Technically a valid construct, but against style.\n  explicit_constructor_match = Match(\n      r'\\s+(?:(?:inline|constexpr)\\s+)*(explicit\\s+)?'\n      r'(?:(?:inline|constexpr)\\s+)*%s\\s*'\n      r'\\(((?:[^()]|\\([^()]*\\))*)\\)'\n      % re.escape(base_classname),\n      line)\n\n  if explicit_constructor_match:\n    is_marked_explicit = explicit_constructor_match.group(1)\n\n    if not explicit_constructor_match.group(2):\n      constructor_args = []\n    else:\n      constructor_args = explicit_constructor_match.group(2).split(',')\n\n    # collapse arguments so that commas in template parameter lists and function\n    # argument parameter lists don't split arguments in two\n    i = 0\n    while i < len(constructor_args):\n      constructor_arg = constructor_args[i]\n      while (constructor_arg.count('<') > constructor_arg.count('>') or\n             constructor_arg.count('(') > constructor_arg.count(')')):\n        constructor_arg += ',' + constructor_args[i + 1]\n        del constructor_args[i + 1]\n      constructor_args[i] = constructor_arg\n      i += 1\n\n    variadic_args = [arg for arg in constructor_args if '&&...' in arg]\n    defaulted_args = [arg for arg in constructor_args if '=' in arg]\n    noarg_constructor = (not constructor_args or  # empty arg list\n                         # 'void' arg specifier\n                         (len(constructor_args) == 1 and\n                          constructor_args[0].strip() == 'void'))\n    onearg_constructor = ((len(constructor_args) == 1 and  # exactly one arg\n                           not noarg_constructor) or\n                          # all but at most one arg defaulted\n                          (len(constructor_args) >= 1 and\n                           not noarg_constructor and\n                           len(defaulted_args) >= len(constructor_args) - 1) or\n                          # variadic arguments with zero or one argument\n                          (len(constructor_args) <= 2 and\n                           len(variadic_args) >= 1))\n    initializer_list_constructor = bool(\n        onearg_constructor and\n        Search(r'\\bstd\\s*::\\s*initializer_list\\b', constructor_args[0]))\n    copy_constructor = bool(\n        onearg_constructor and\n        Match(r'((const\\s+(volatile\\s+)?)?|(volatile\\s+(const\\s+)?))?'\n              r'%s(\\s*<[^>]*>)?(\\s+const)?\\s*(?:<\\w+>\\s*)?&'\n              % re.escape(base_classname), constructor_args[0].strip()))\n\n    if (not is_marked_explicit and\n        onearg_constructor and\n        not initializer_list_constructor and\n        not copy_constructor):\n      if defaulted_args or variadic_args:\n        error(filename, linenum, 'runtime/explicit', 5,\n              'Constructors callable with one argument '\n              'should be marked explicit.')\n      else:\n        error(filename, linenum, 'runtime/explicit', 5,\n              'Single-parameter constructors should be marked explicit.')\n    elif is_marked_explicit and not onearg_constructor:\n      if noarg_constructor:\n        error(filename, linenum, 'runtime/explicit', 5,\n              'Zero-parameter constructors should not be marked explicit.')\n\n\ndef CheckSpacingForFunctionCall(filename, clean_lines, linenum, error):\n  \"\"\"Checks for the correctness of various spacing around function calls.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    error: The function to call with any errors found.\n  \"\"\"\n  line = clean_lines.elided[linenum]\n\n  # Since function calls often occur inside if/for/while/switch\n  # expressions - which have their own, more liberal conventions - we\n  # first see if we should be looking inside such an expression for a\n  # function call, to which we can apply more strict standards.\n  fncall = line    # if there's no control flow construct, look at whole line\n  for pattern in (r'\\bif\\s*\\((.*)\\)\\s*{',\n                  r'\\bfor\\s*\\((.*)\\)\\s*{',\n                  r'\\bwhile\\s*\\((.*)\\)\\s*[{;]',\n                  r'\\bswitch\\s*\\((.*)\\)\\s*{'):\n    match = Search(pattern, line)\n    if match:\n      fncall = match.group(1)    # look inside the parens for function calls\n      break\n\n  # Except in if/for/while/switch, there should never be space\n  # immediately inside parens (eg \"f( 3, 4 )\").  We make an exception\n  # for nested parens ( (a+b) + c ).  Likewise, there should never be\n  # a space before a ( when it's a function argument.  I assume it's a\n  # function argument when the char before the whitespace is legal in\n  # a function name (alnum + _) and we're not starting a macro. Also ignore\n  # pointers and references to arrays and functions coz they're too tricky:\n  # we use a very simple way to recognize these:\n  # \" (something)(maybe-something)\" or\n  # \" (something)(maybe-something,\" or\n  # \" (something)[something]\"\n  # Note that we assume the contents of [] to be short enough that\n  # they'll never need to wrap.\n  if (  # Ignore control structures.\n      not Search(r'\\b(if|for|while|switch|return|new|delete|catch|sizeof)\\b',\n                 fncall) and\n      # Ignore pointers/references to functions.\n      not Search(r' \\([^)]+\\)\\([^)]*(\\)|,$)', fncall) and\n      # Ignore pointers/references to arrays.\n      not Search(r' \\([^)]+\\)\\[[^\\]]+\\]', fncall)):\n    if Search(r'\\w\\s*\\(\\s(?!\\s*\\\\$)', fncall):      # a ( used for a fn call\n      error(filename, linenum, 'whitespace/parens', 4,\n            'Extra space after ( in function call')\n    elif Search(r'\\(\\s+(?!(\\s*\\\\)|\\()', fncall):\n      error(filename, linenum, 'whitespace/parens', 2,\n            'Extra space after (')\n    if (Search(r'\\w\\s+\\(', fncall) and\n        not Search(r'_{0,2}asm_{0,2}\\s+_{0,2}volatile_{0,2}\\s+\\(', fncall) and\n        not Search(r'#\\s*define|typedef|using\\s+\\w+\\s*=', fncall) and\n        not Search(r'\\w\\s+\\((\\w+::)*\\*\\w+\\)\\(', fncall) and\n        not Search(r'\\bcase\\s+\\(', fncall)):\n      # TODO(unknown): Space after an operator function seem to be a common\n      # error, silence those for now by restricting them to highest verbosity.\n      if Search(r'\\boperator_*\\b', line):\n        error(filename, linenum, 'whitespace/parens', 0,\n              'Extra space before ( in function call')\n      else:\n        error(filename, linenum, 'whitespace/parens', 4,\n              'Extra space before ( in function call')\n    # If the ) is followed only by a newline or a { + newline, assume it's\n    # part of a control statement (if/while/etc), and don't complain\n    if Search(r'[^)]\\s+\\)\\s*[^{\\s]', fncall):\n      # If the closing parenthesis is preceded by only whitespaces,\n      # try to give a more descriptive error message.\n      if Search(r'^\\s+\\)', fncall):\n        error(filename, linenum, 'whitespace/parens', 2,\n              'Closing ) should be moved to the previous line')\n      else:\n        error(filename, linenum, 'whitespace/parens', 2,\n              'Extra space before )')\n\n\ndef IsBlankLine(line):\n  \"\"\"Returns true if the given line is blank.\n\n  We consider a line to be blank if the line is empty or consists of\n  only white spaces.\n\n  Args:\n    line: A line of a string.\n\n  Returns:\n    True, if the given line is blank.\n  \"\"\"\n  return not line or line.isspace()\n\n\ndef CheckForNamespaceIndentation(filename, nesting_state, clean_lines, line,\n                                 error):\n  is_namespace_indent_item = (\n      len(nesting_state.stack) > 1 and\n      nesting_state.stack[-1].check_namespace_indentation and\n      isinstance(nesting_state.previous_stack_top, _NamespaceInfo) and\n      nesting_state.previous_stack_top == nesting_state.stack[-2])\n\n  if ShouldCheckNamespaceIndentation(nesting_state, is_namespace_indent_item,\n                                     clean_lines.elided, line):\n    CheckItemIndentationInNamespace(filename, clean_lines.elided,\n                                    line, error)\n\n\ndef CheckForFunctionLengths(filename, clean_lines, linenum,\n                            function_state, error):\n  \"\"\"Reports for long function bodies.\n\n  For an overview why this is done, see:\n  https://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Write_Short_Functions\n\n  Uses a simplistic algorithm assuming other style guidelines\n  (especially spacing) are followed.\n  Only checks unindented functions, so class members are unchecked.\n  Trivial bodies are unchecked, so constructors with huge initializer lists\n  may be missed.\n  Blank/comment lines are not counted so as to avoid encouraging the removal\n  of vertical space and comments just to get through a lint check.\n  NOLINT *on the last line of a function* disables this check.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    function_state: Current function name and lines in body so far.\n    error: The function to call with any errors found.\n  \"\"\"\n  lines = clean_lines.lines\n  line = lines[linenum]\n  joined_line = ''\n\n  starting_func = False\n  regexp = r'(\\w(\\w|::|\\*|\\&|\\s)*)\\('  # decls * & space::name( ...\n  match_result = Match(regexp, line)\n  if match_result:\n    # If the name is all caps and underscores, figure it's a macro and\n    # ignore it, unless it's TEST or TEST_F.\n    function_name = match_result.group(1).split()[-1]\n    if function_name == 'TEST' or function_name == 'TEST_F' or (\n        not Match(r'[A-Z_]+$', function_name)):\n      starting_func = True\n\n  if starting_func:\n    body_found = False\n    for start_linenum in xrange(linenum, clean_lines.NumLines()):\n      start_line = lines[start_linenum]\n      joined_line += ' ' + start_line.lstrip()\n      if Search(r'(;|})', start_line):  # Declarations and trivial functions\n        body_found = True\n        break                              # ... ignore\n      if Search(r'{', start_line):\n        body_found = True\n        function = Search(r'((\\w|:)*)\\(', line).group(1)\n        if Match(r'TEST', function):    # Handle TEST... macros\n          parameter_regexp = Search(r'(\\(.*\\))', joined_line)\n          if parameter_regexp:             # Ignore bad syntax\n            function += parameter_regexp.group(1)\n        else:\n          function += '()'\n        function_state.Begin(function)\n        break\n    if not body_found:\n      # No body for the function (or evidence of a non-function) was found.\n      error(filename, linenum, 'readability/fn_size', 5,\n            'Lint failed to find start of function body.')\n  elif Match(r'^\\}\\s*$', line):  # function end\n    function_state.Check(error, filename, linenum)\n    function_state.End()\n  elif not Match(r'^\\s*$', line):\n    function_state.Count()  # Count non-blank/non-comment lines.\n\n\n_RE_PATTERN_TODO = re.compile(r'^//(\\s*)TODO(\\(.+?\\))?:?(\\s|$)?')\n\n\ndef CheckComment(line, filename, linenum, next_line_start, error):\n  \"\"\"Checks for common mistakes in comments.\n\n  Args:\n    line: The line in question.\n    filename: The name of the current file.\n    linenum: The number of the line to check.\n    next_line_start: The first non-whitespace column of the next line.\n    error: The function to call with any errors found.\n  \"\"\"\n  commentpos = line.find('//')\n  if commentpos != -1:\n    # Check if the // may be in quotes.  If so, ignore it\n    if re.sub(r'\\\\.', '', line[0:commentpos]).count('\"') % 2 == 0:\n      # Allow one space for new scopes, two spaces otherwise:\n      if (not (Match(r'^.*{ *//', line) and next_line_start == commentpos) and\n          ((commentpos >= 1 and\n            line[commentpos-1] not in string.whitespace) or\n           (commentpos >= 2 and\n            line[commentpos-2] not in string.whitespace))):\n        error(filename, linenum, 'whitespace/comments', 2,\n              'At least two spaces is best between code and comments')\n\n      # Checks for common mistakes in TODO comments.\n      comment = line[commentpos:]\n      match = _RE_PATTERN_TODO.match(comment)\n      if match:\n        # One whitespace is correct; zero whitespace is handled elsewhere.\n        leading_whitespace = match.group(1)\n        if len(leading_whitespace) > 1:\n          error(filename, linenum, 'whitespace/todo', 2,\n                'Too many spaces before TODO')\n\n        username = match.group(2)\n        if not username:\n          error(filename, linenum, 'readability/todo', 2,\n                'Missing username in TODO; it should look like '\n                '\"// TODO(my_username): Stuff.\"')\n\n        middle_whitespace = match.group(3)\n        # Comparisons made explicit for correctness -- pylint: disable=g-explicit-bool-comparison\n        if middle_whitespace != ' ' and middle_whitespace != '':\n          error(filename, linenum, 'whitespace/todo', 2,\n                'TODO(my_username) should be followed by a space')\n\n      # If the comment contains an alphanumeric character, there\n      # should be a space somewhere between it and the // unless\n      # it's a /// or //! Doxygen comment.\n      if (Match(r'//[^ ]*\\w', comment) and\n          not Match(r'(///|//\\!)(\\s+|$)', comment)):\n        error(filename, linenum, 'whitespace/comments', 4,\n              'Should have a space between // and comment')\n\n\ndef CheckSpacing(filename, clean_lines, linenum, nesting_state, error):\n  \"\"\"Checks for the correctness of various spacing issues in the code.\n\n  Things we check for: spaces around operators, spaces after\n  if/for/while/switch, no spaces around parens in function calls, two\n  spaces between code and comment, don't start a block with a blank\n  line, don't end a function with a blank line, don't add a blank line\n  after public/protected/private, don't have too many blank lines in a row.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    nesting_state: A NestingState instance which maintains information about\n                   the current stack of nested blocks being parsed.\n    error: The function to call with any errors found.\n  \"\"\"\n\n  # Don't use \"elided\" lines here, otherwise we can't check commented lines.\n  # Don't want to use \"raw\" either, because we don't want to check inside C++11\n  # raw strings,\n  raw = clean_lines.lines_without_raw_strings\n  line = raw[linenum]\n\n  # Before nixing comments, check if the line is blank for no good\n  # reason.  This includes the first line after a block is opened, and\n  # blank lines at the end of a function (ie, right before a line like '}'\n  #\n  # Skip all the blank line checks if we are immediately inside a\n  # namespace body.  In other words, don't issue blank line warnings\n  # for this block:\n  #   namespace {\n  #\n  #   }\n  #\n  # A warning about missing end of namespace comments will be issued instead.\n  #\n  # Also skip blank line checks for 'extern \"C\"' blocks, which are formatted\n  # like namespaces.\n  if (IsBlankLine(line) and\n      not nesting_state.InNamespaceBody() and\n      not nesting_state.InExternC()):\n    elided = clean_lines.elided\n    prev_line = elided[linenum - 1]\n    prevbrace = prev_line.rfind('{')\n    # TODO(unknown): Don't complain if line before blank line, and line after,\n    #                both start with alnums and are indented the same amount.\n    #                This ignores whitespace at the start of a namespace block\n    #                because those are not usually indented.\n    if prevbrace != -1 and prev_line[prevbrace:].find('}') == -1:\n      # OK, we have a blank line at the start of a code block.  Before we\n      # complain, we check if it is an exception to the rule: The previous\n      # non-empty line has the parameters of a function header that are indented\n      # 4 spaces (because they did not fit in a 80 column line when placed on\n      # the same line as the function name).  We also check for the case where\n      # the previous line is indented 6 spaces, which may happen when the\n      # initializers of a constructor do not fit into a 80 column line.\n      exception = False\n      if Match(r' {6}\\w', prev_line):  # Initializer list?\n        # We are looking for the opening column of initializer list, which\n        # should be indented 4 spaces to cause 6 space indentation afterwards.\n        search_position = linenum-2\n        while (search_position >= 0\n               and Match(r' {6}\\w', elided[search_position])):\n          search_position -= 1\n        exception = (search_position >= 0\n                     and elided[search_position][:5] == '    :')\n      else:\n        # Search for the function arguments or an initializer list.  We use a\n        # simple heuristic here: If the line is indented 4 spaces; and we have a\n        # closing paren, without the opening paren, followed by an opening brace\n        # or colon (for initializer lists) we assume that it is the last line of\n        # a function header.  If we have a colon indented 4 spaces, it is an\n        # initializer list.\n        exception = (Match(r' {4}\\w[^\\(]*\\)\\s*(const\\s*)?(\\{\\s*$|:)',\n                           prev_line)\n                     or Match(r' {4}:', prev_line))\n\n      if not exception:\n        error(filename, linenum, 'whitespace/blank_line', 2,\n              'Redundant blank line at the start of a code block '\n              'should be deleted.')\n    # Ignore blank lines at the end of a block in a long if-else\n    # chain, like this:\n    #   if (condition1) {\n    #     // Something followed by a blank line\n    #\n    #   } else if (condition2) {\n    #     // Something else\n    #   }\n    if linenum + 1 < clean_lines.NumLines():\n      next_line = raw[linenum + 1]\n      if (next_line\n          and Match(r'\\s*}', next_line)\n          and next_line.find('} else ') == -1):\n        error(filename, linenum, 'whitespace/blank_line', 3,\n              'Redundant blank line at the end of a code block '\n              'should be deleted.')\n\n    matched = Match(r'\\s*(public|protected|private):', prev_line)\n    if matched:\n      error(filename, linenum, 'whitespace/blank_line', 3,\n            'Do not leave a blank line after \"%s:\"' % matched.group(1))\n\n  # Next, check comments\n  next_line_start = 0\n  if linenum + 1 < clean_lines.NumLines():\n    next_line = raw[linenum + 1]\n    next_line_start = len(next_line) - len(next_line.lstrip())\n  CheckComment(line, filename, linenum, next_line_start, error)\n\n  # get rid of comments and strings\n  line = clean_lines.elided[linenum]\n\n  # You shouldn't have spaces before your brackets, except for C++11 attributes\n  # or maybe after 'delete []', 'return []() {};', or 'auto [abc, ...] = ...;'.\n  if (Search(r'\\w\\s+\\[(?!\\[)', line) and\n      not Search(r'(?:auto&?|delete|return)\\s+\\[', line)):\n    error(filename, linenum, 'whitespace/braces', 5,\n          'Extra space before [')\n\n  # In range-based for, we wanted spaces before and after the colon, but\n  # not around \"::\" tokens that might appear.\n  if (Search(r'for *\\(.*[^:]:[^: ]', line) or\n      Search(r'for *\\(.*[^: ]:[^:]', line)):\n    error(filename, linenum, 'whitespace/forcolon', 2,\n          'Missing space around colon in range-based for loop')\n\n\ndef CheckOperatorSpacing(filename, clean_lines, linenum, error):\n  \"\"\"Checks for horizontal spacing around operators.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    error: The function to call with any errors found.\n  \"\"\"\n  line = clean_lines.elided[linenum]\n\n  # Don't try to do spacing checks for operator methods.  Do this by\n  # replacing the troublesome characters with something else,\n  # preserving column position for all other characters.\n  #\n  # The replacement is done repeatedly to avoid false positives from\n  # operators that call operators.\n  while True:\n    match = Match(r'^(.*\\boperator\\b)(\\S+)(\\s*\\(.*)$', line)\n    if match:\n      line = match.group(1) + ('_' * len(match.group(2))) + match.group(3)\n    else:\n      break\n\n  # We allow no-spaces around = within an if: \"if ( (a=Foo()) == 0 )\".\n  # Otherwise not.  Note we only check for non-spaces on *both* sides;\n  # sometimes people put non-spaces on one side when aligning ='s among\n  # many lines (not that this is behavior that I approve of...)\n  if ((Search(r'[\\w.]=', line) or\n       Search(r'=[\\w.]', line))\n      and not Search(r'\\b(if|while|for) ', line)\n      # Operators taken from [lex.operators] in C++11 standard.\n      and not Search(r'(>=|<=|==|!=|&=|\\^=|\\|=|\\+=|\\*=|\\/=|\\%=)', line)\n      and not Search(r'operator=', line)):\n    error(filename, linenum, 'whitespace/operators', 4,\n          'Missing spaces around =')\n\n  # It's ok not to have spaces around binary operators like + - * /, but if\n  # there's too little whitespace, we get concerned.  It's hard to tell,\n  # though, so we punt on this one for now.  TODO.\n\n  # You should always have whitespace around binary operators.\n  #\n  # Check <= and >= first to avoid false positives with < and >, then\n  # check non-include lines for spacing around < and >.\n  #\n  # If the operator is followed by a comma, assume it's be used in a\n  # macro context and don't do any checks.  This avoids false\n  # positives.\n  #\n  # Note that && is not included here.  This is because there are too\n  # many false positives due to RValue references.\n  match = Search(r'[^<>=!\\s](==|!=|<=|>=|\\|\\|)[^<>=!\\s,;\\)]', line)\n  if match:\n    error(filename, linenum, 'whitespace/operators', 3,\n          'Missing spaces around %s' % match.group(1))\n  elif not Match(r'#.*include', line):\n    # Look for < that is not surrounded by spaces.  This is only\n    # triggered if both sides are missing spaces, even though\n    # technically should should flag if at least one side is missing a\n    # space.  This is done to avoid some false positives with shifts.\n    match = Match(r'^(.*[^\\s<])<[^\\s=<,]', line)\n    if match:\n      (_, _, end_pos) = CloseExpression(\n          clean_lines, linenum, len(match.group(1)))\n      if end_pos <= -1:\n        error(filename, linenum, 'whitespace/operators', 3,\n              'Missing spaces around <')\n\n    # Look for > that is not surrounded by spaces.  Similar to the\n    # above, we only trigger if both sides are missing spaces to avoid\n    # false positives with shifts.\n    match = Match(r'^(.*[^-\\s>])>[^\\s=>,]', line)\n    if match:\n      (_, _, start_pos) = ReverseCloseExpression(\n          clean_lines, linenum, len(match.group(1)))\n      if start_pos <= -1:\n        error(filename, linenum, 'whitespace/operators', 3,\n              'Missing spaces around >')\n\n  # We allow no-spaces around << when used like this: 10<<20, but\n  # not otherwise (particularly, not when used as streams)\n  #\n  # We also allow operators following an opening parenthesis, since\n  # those tend to be macros that deal with operators.\n  match = Search(r'(operator|[^\\s(<])(?:L|UL|LL|ULL|l|ul|ll|ull)?<<([^\\s,=<])', line)\n  if (match and not (match.group(1).isdigit() and match.group(2).isdigit()) and\n      not (match.group(1) == 'operator' and match.group(2) == ';')):\n    error(filename, linenum, 'whitespace/operators', 3,\n          'Missing spaces around <<')\n\n  # We allow no-spaces around >> for almost anything.  This is because\n  # C++11 allows \">>\" to close nested templates, which accounts for\n  # most cases when \">>\" is not followed by a space.\n  #\n  # We still warn on \">>\" followed by alpha character, because that is\n  # likely due to \">>\" being used for right shifts, e.g.:\n  #   value >> alpha\n  #\n  # When \">>\" is used to close templates, the alphanumeric letter that\n  # follows would be part of an identifier, and there should still be\n  # a space separating the template type and the identifier.\n  #   type<type<type>> alpha\n  match = Search(r'>>[a-zA-Z_]', line)\n  if match:\n    error(filename, linenum, 'whitespace/operators', 3,\n          'Missing spaces around >>')\n\n  # There shouldn't be space around unary operators\n  match = Search(r'(!\\s|~\\s|[\\s]--[\\s;]|[\\s]\\+\\+[\\s;])', line)\n  if match:\n    error(filename, linenum, 'whitespace/operators', 4,\n          'Extra space for operator %s' % match.group(1))\n\n\ndef CheckParenthesisSpacing(filename, clean_lines, linenum, error):\n  \"\"\"Checks for horizontal spacing around parentheses.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    error: The function to call with any errors found.\n  \"\"\"\n  line = clean_lines.elided[linenum]\n\n  # No spaces after an if, while, switch, or for\n  match = Search(r' (if\\(|for\\(|while\\(|switch\\()', line)\n  if match:\n    error(filename, linenum, 'whitespace/parens', 5,\n          'Missing space before ( in %s' % match.group(1))\n\n  # For if/for/while/switch, the left and right parens should be\n  # consistent about how many spaces are inside the parens, and\n  # there should either be zero or one spaces inside the parens.\n  # We don't want: \"if ( foo)\" or \"if ( foo   )\".\n  # Exception: \"for ( ; foo; bar)\" and \"for (foo; bar; )\" are allowed.\n  match = Search(r'\\b(if|for|while|switch)\\s*'\n                 r'\\(([ ]*)(.).*[^ ]+([ ]*)\\)\\s*{\\s*$',\n                 line)\n  if match:\n    if len(match.group(2)) != len(match.group(4)):\n      if not (match.group(3) == ';' and\n              len(match.group(2)) == 1 + len(match.group(4)) or\n              not match.group(2) and Search(r'\\bfor\\s*\\(.*; \\)', line)):\n        error(filename, linenum, 'whitespace/parens', 5,\n              'Mismatching spaces inside () in %s' % match.group(1))\n    if len(match.group(2)) not in [0, 1]:\n      error(filename, linenum, 'whitespace/parens', 5,\n            'Should have zero or one spaces inside ( and ) in %s' %\n            match.group(1))\n\n\ndef CheckCommaSpacing(filename, clean_lines, linenum, error):\n  \"\"\"Checks for horizontal spacing near commas and semicolons.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    error: The function to call with any errors found.\n  \"\"\"\n  raw = clean_lines.lines_without_raw_strings\n  line = clean_lines.elided[linenum]\n\n  # You should always have a space after a comma (either as fn arg or operator)\n  #\n  # This does not apply when the non-space character following the\n  # comma is another comma, since the only time when that happens is\n  # for empty macro arguments.\n  #\n  # We run this check in two passes: first pass on elided lines to\n  # verify that lines contain missing whitespaces, second pass on raw\n  # lines to confirm that those missing whitespaces are not due to\n  # elided comments.\n  if (Search(r',[^,\\s]', ReplaceAll(r'\\boperator\\s*,\\s*\\(', 'F(', line)) and\n      Search(r',[^,\\s]', raw[linenum])):\n    error(filename, linenum, 'whitespace/comma', 3,\n          'Missing space after ,')\n\n  # You should always have a space after a semicolon\n  # except for few corner cases\n  # TODO(unknown): clarify if 'if (1) { return 1;}' is requires one more\n  # space after ;\n  if Search(r';[^\\s};\\\\)/]', line):\n    error(filename, linenum, 'whitespace/semicolon', 3,\n          'Missing space after ;')\n\n\ndef _IsType(clean_lines, nesting_state, expr):\n  \"\"\"Check if expression looks like a type name, returns true if so.\n\n  Args:\n    clean_lines: A CleansedLines instance containing the file.\n    nesting_state: A NestingState instance which maintains information about\n                   the current stack of nested blocks being parsed.\n    expr: The expression to check.\n  Returns:\n    True, if token looks like a type.\n  \"\"\"\n  # Keep only the last token in the expression\n  last_word = Match(r'^.*(\\b\\S+)$', expr)\n  if last_word:\n    token = last_word.group(1)\n  else:\n    token = expr\n\n  # Match native types and stdint types\n  if _TYPES.match(token):\n    return True\n\n  # Try a bit harder to match templated types.  Walk up the nesting\n  # stack until we find something that resembles a typename\n  # declaration for what we are looking for.\n  typename_pattern = (r'\\b(?:typename|class|struct)\\s+' + re.escape(token) +\n                      r'\\b')\n  block_index = len(nesting_state.stack) - 1\n  while block_index >= 0:\n    if isinstance(nesting_state.stack[block_index], _NamespaceInfo):\n      return False\n\n    # Found where the opening brace is.  We want to scan from this\n    # line up to the beginning of the function, minus a few lines.\n    #   template <typename Type1,  // stop scanning here\n    #             ...>\n    #   class C\n    #     : public ... {  // start scanning here\n    last_line = nesting_state.stack[block_index].starting_linenum\n\n    next_block_start = 0\n    if block_index > 0:\n      next_block_start = nesting_state.stack[block_index - 1].starting_linenum\n    first_line = last_line\n    while first_line >= next_block_start:\n      if clean_lines.elided[first_line].find('template') >= 0:\n        break\n      first_line -= 1\n    if first_line < next_block_start:\n      # Didn't find any \"template\" keyword before reaching the next block,\n      # there are probably no template things to check for this block\n      block_index -= 1\n      continue\n\n    # Look for typename in the specified range\n    for i in xrange(first_line, last_line + 1, 1):\n      if Search(typename_pattern, clean_lines.elided[i]):\n        return True\n    block_index -= 1\n\n  return False\n\n\ndef CheckBracesSpacing(filename, clean_lines, linenum, nesting_state, error):\n  \"\"\"Checks for horizontal spacing near commas.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    nesting_state: A NestingState instance which maintains information about\n                   the current stack of nested blocks being parsed.\n    error: The function to call with any errors found.\n  \"\"\"\n  line = clean_lines.elided[linenum]\n\n  # Except after an opening paren, or after another opening brace (in case of\n  # an initializer list, for instance), you should have spaces before your\n  # braces when they are delimiting blocks, classes, namespaces etc.\n  # And since you should never have braces at the beginning of a line,\n  # this is an easy test.  Except that braces used for initialization don't\n  # follow the same rule; we often don't want spaces before those.\n  match = Match(r'^(.*[^ ({>]){', line)\n\n  if match:\n    # Try a bit harder to check for brace initialization.  This\n    # happens in one of the following forms:\n    #   Constructor() : initializer_list_{} { ... }\n    #   Constructor{}.MemberFunction()\n    #   Type variable{};\n    #   FunctionCall(type{}, ...);\n    #   LastArgument(..., type{});\n    #   LOG(INFO) << type{} << \" ...\";\n    #   map_of_type[{...}] = ...;\n    #   ternary = expr ? new type{} : nullptr;\n    #   OuterTemplate<InnerTemplateConstructor<Type>{}>\n    #\n    # We check for the character following the closing brace, and\n    # silence the warning if it's one of those listed above, i.e.\n    # \"{.;,)<>]:\".\n    #\n    # To account for nested initializer list, we allow any number of\n    # closing braces up to \"{;,)<\".  We can't simply silence the\n    # warning on first sight of closing brace, because that would\n    # cause false negatives for things that are not initializer lists.\n    #   Silence this:         But not this:\n    #     Outer{                if (...) {\n    #       Inner{...}            if (...){  // Missing space before {\n    #     };                    }\n    #\n    # There is a false negative with this approach if people inserted\n    # spurious semicolons, e.g. \"if (cond){};\", but we will catch the\n    # spurious semicolon with a separate check.\n    leading_text = match.group(1)\n    (endline, endlinenum, endpos) = CloseExpression(\n        clean_lines, linenum, len(match.group(1)))\n    trailing_text = ''\n    if endpos > -1:\n      trailing_text = endline[endpos:]\n    for offset in xrange(endlinenum + 1,\n                         min(endlinenum + 3, clean_lines.NumLines() - 1)):\n      trailing_text += clean_lines.elided[offset]\n    # We also suppress warnings for `uint64_t{expression}` etc., as the style\n    # guide recommends brace initialization for integral types to avoid\n    # overflow/truncation.\n    if (not Match(r'^[\\s}]*[{.;,)<>\\]:]', trailing_text)\n        and not _IsType(clean_lines, nesting_state, leading_text)):\n      error(filename, linenum, 'whitespace/braces', 5,\n            'Missing space before {')\n\n  # Make sure '} else {' has spaces.\n  if Search(r'}else', line):\n    error(filename, linenum, 'whitespace/braces', 5,\n          'Missing space before else')\n\n  # You shouldn't have a space before a semicolon at the end of the line.\n  # There's a special case for \"for\" since the style guide allows space before\n  # the semicolon there.\n  if Search(r':\\s*;\\s*$', line):\n    error(filename, linenum, 'whitespace/semicolon', 5,\n          'Semicolon defining empty statement. Use {} instead.')\n  elif Search(r'^\\s*;\\s*$', line):\n    error(filename, linenum, 'whitespace/semicolon', 5,\n          'Line contains only semicolon. If this should be an empty statement, '\n          'use {} instead.')\n  elif (Search(r'\\s+;\\s*$', line) and\n        not Search(r'\\bfor\\b', line)):\n    error(filename, linenum, 'whitespace/semicolon', 5,\n          'Extra space before last semicolon. If this should be an empty '\n          'statement, use {} instead.')\n\n\ndef IsDecltype(clean_lines, linenum, column):\n  \"\"\"Check if the token ending on (linenum, column) is decltype().\n\n  Args:\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: the number of the line to check.\n    column: end column of the token to check.\n  Returns:\n    True if this token is decltype() expression, False otherwise.\n  \"\"\"\n  (text, _, start_col) = ReverseCloseExpression(clean_lines, linenum, column)\n  if start_col < 0:\n    return False\n  if Search(r'\\bdecltype\\s*$', text[0:start_col]):\n    return True\n  return False\n\ndef CheckSectionSpacing(filename, clean_lines, class_info, linenum, error):\n  \"\"\"Checks for additional blank line issues related to sections.\n\n  Currently the only thing checked here is blank line before protected/private.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    class_info: A _ClassInfo objects.\n    linenum: The number of the line to check.\n    error: The function to call with any errors found.\n  \"\"\"\n  # Skip checks if the class is small, where small means 25 lines or less.\n  # 25 lines seems like a good cutoff since that's the usual height of\n  # terminals, and any class that can't fit in one screen can't really\n  # be considered \"small\".\n  #\n  # Also skip checks if we are on the first line.  This accounts for\n  # classes that look like\n  #   class Foo { public: ... };\n  #\n  # If we didn't find the end of the class, last_line would be zero,\n  # and the check will be skipped by the first condition.\n  if (class_info.last_line - class_info.starting_linenum <= 24 or\n      linenum <= class_info.starting_linenum):\n    return\n\n  matched = Match(r'\\s*(public|protected|private):', clean_lines.lines[linenum])\n  if matched:\n    # Issue warning if the line before public/protected/private was\n    # not a blank line, but don't do this if the previous line contains\n    # \"class\" or \"struct\".  This can happen two ways:\n    #  - We are at the beginning of the class.\n    #  - We are forward-declaring an inner class that is semantically\n    #    private, but needed to be public for implementation reasons.\n    # Also ignores cases where the previous line ends with a backslash as can be\n    # common when defining classes in C macros.\n    prev_line = clean_lines.lines[linenum - 1]\n    if (not IsBlankLine(prev_line) and\n        not Search(r'\\b(class|struct)\\b', prev_line) and\n        not Search(r'\\\\$', prev_line)):\n      # Try a bit harder to find the beginning of the class.  This is to\n      # account for multi-line base-specifier lists, e.g.:\n      #   class Derived\n      #       : public Base {\n      end_class_head = class_info.starting_linenum\n      for i in range(class_info.starting_linenum, linenum):\n        if Search(r'\\{\\s*$', clean_lines.lines[i]):\n          end_class_head = i\n          break\n      if end_class_head < linenum - 1:\n        error(filename, linenum, 'whitespace/blank_line', 3,\n              '\"%s:\" should be preceded by a blank line' % matched.group(1))\n\n\ndef GetPreviousNonBlankLine(clean_lines, linenum):\n  \"\"\"Return the most recent non-blank line and its line number.\n\n  Args:\n    clean_lines: A CleansedLines instance containing the file contents.\n    linenum: The number of the line to check.\n\n  Returns:\n    A tuple with two elements.  The first element is the contents of the last\n    non-blank line before the current line, or the empty string if this is the\n    first non-blank line.  The second is the line number of that line, or -1\n    if this is the first non-blank line.\n  \"\"\"\n\n  prevlinenum = linenum - 1\n  while prevlinenum >= 0:\n    prevline = clean_lines.elided[prevlinenum]\n    if not IsBlankLine(prevline):     # if not a blank line...\n      return (prevline, prevlinenum)\n    prevlinenum -= 1\n  return ('', -1)\n\n\ndef CheckBraces(filename, clean_lines, linenum, error):\n  \"\"\"Looks for misplaced braces (e.g. at the end of line).\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    error: The function to call with any errors found.\n  \"\"\"\n\n  line = clean_lines.elided[linenum]        # get rid of comments and strings\n\n  if Match(r'\\s*{\\s*$', line):\n    # We allow an open brace to start a line in the case where someone is using\n    # braces in a block to explicitly create a new scope, which is commonly used\n    # to control the lifetime of stack-allocated variables.  Braces are also\n    # used for brace initializers inside function calls.  We don't detect this\n    # perfectly: we just don't complain if the last non-whitespace character on\n    # the previous non-blank line is ',', ';', ':', '(', '{', or '}', or if the\n    # previous line starts a preprocessor block. We also allow a brace on the\n    # following line if it is part of an array initialization and would not fit\n    # within the 80 character limit of the preceding line.\n    prevline = GetPreviousNonBlankLine(clean_lines, linenum)[0]\n    if (not Search(r'[,;:}{(]\\s*$', prevline) and\n        not Match(r'\\s*#', prevline) and\n        not (GetLineWidth(prevline) > _line_length - 2 and '[]' in prevline)):\n      error(filename, linenum, 'whitespace/braces', 4,\n            '{ should almost always be at the end of the previous line')\n\n  # An else clause should be on the same line as the preceding closing brace.\n  if Match(r'\\s*else\\b\\s*(?:if\\b|\\{|$)', line):\n    prevline = GetPreviousNonBlankLine(clean_lines, linenum)[0]\n    if Match(r'\\s*}\\s*$', prevline):\n      error(filename, linenum, 'whitespace/newline', 4,\n            'An else should appear on the same line as the preceding }')\n\n  # If braces come on one side of an else, they should be on both.\n  # However, we have to worry about \"else if\" that spans multiple lines!\n  if Search(r'else if\\s*\\(', line):       # could be multi-line if\n    brace_on_left = bool(Search(r'}\\s*else if\\s*\\(', line))\n    # find the ( after the if\n    pos = line.find('else if')\n    pos = line.find('(', pos)\n    if pos > 0:\n      (endline, _, endpos) = CloseExpression(clean_lines, linenum, pos)\n      brace_on_right = endline[endpos:].find('{') != -1\n      if brace_on_left != brace_on_right:    # must be brace after if\n        error(filename, linenum, 'readability/braces', 5,\n              'If an else has a brace on one side, it should have it on both')\n  elif Search(r'}\\s*else[^{]*$', line) or Match(r'[^}]*else\\s*{', line):\n    error(filename, linenum, 'readability/braces', 5,\n          'If an else has a brace on one side, it should have it on both')\n\n  # Likewise, an else should never have the else clause on the same line\n  if Search(r'\\belse [^\\s{]', line) and not Search(r'\\belse if\\b', line):\n    error(filename, linenum, 'whitespace/newline', 4,\n          'Else clause should never be on same line as else (use 2 lines)')\n\n  # In the same way, a do/while should never be on one line\n  if Match(r'\\s*do [^\\s{]', line):\n    error(filename, linenum, 'whitespace/newline', 4,\n          'do/while clauses should not be on a single line')\n\n  # Check single-line if/else bodies. The style guide says 'curly braces are not\n  # required for single-line statements'. We additionally allow multi-line,\n  # single statements, but we reject anything with more than one semicolon in\n  # it. This means that the first semicolon after the if should be at the end of\n  # its line, and the line after that should have an indent level equal to or\n  # lower than the if. We also check for ambiguous if/else nesting without\n  # braces.\n  if_else_match = Search(r'\\b(if\\s*(|constexpr)\\s*\\(|else\\b)', line)\n  if if_else_match and not Match(r'\\s*#', line):\n    if_indent = GetIndentLevel(line)\n    endline, endlinenum, endpos = line, linenum, if_else_match.end()\n    if_match = Search(r'\\bif\\s*(|constexpr)\\s*\\(', line)\n    if if_match:\n      # This could be a multiline if condition, so find the end first.\n      pos = if_match.end() - 1\n      (endline, endlinenum, endpos) = CloseExpression(clean_lines, linenum, pos)\n    # Check for an opening brace, either directly after the if or on the next\n    # line. If found, this isn't a single-statement conditional.\n    if (not Match(r'\\s*{', endline[endpos:])\n        and not (Match(r'\\s*$', endline[endpos:])\n                 and endlinenum < (len(clean_lines.elided) - 1)\n                 and Match(r'\\s*{', clean_lines.elided[endlinenum + 1]))):\n      while (endlinenum < len(clean_lines.elided)\n             and ';' not in clean_lines.elided[endlinenum][endpos:]):\n        endlinenum += 1\n        endpos = 0\n      if endlinenum < len(clean_lines.elided):\n        endline = clean_lines.elided[endlinenum]\n        # We allow a mix of whitespace and closing braces (e.g. for one-liner\n        # methods) and a single \\ after the semicolon (for macros)\n        endpos = endline.find(';')\n        if not Match(r';[\\s}]*(\\\\?)$', endline[endpos:]):\n          # Semicolon isn't the last character, there's something trailing.\n          # Output a warning if the semicolon is not contained inside\n          # a lambda expression.\n          if not Match(r'^[^{};]*\\[[^\\[\\]]*\\][^{}]*\\{[^{}]*\\}\\s*\\)*[;,]\\s*$',\n                       endline):\n            error(filename, linenum, 'readability/braces', 4,\n                  'If/else bodies with multiple statements require braces')\n        elif endlinenum < len(clean_lines.elided) - 1:\n          # Make sure the next line is dedented\n          next_line = clean_lines.elided[endlinenum + 1]\n          next_indent = GetIndentLevel(next_line)\n          # With ambiguous nested if statements, this will error out on the\n          # if that *doesn't* match the else, regardless of whether it's the\n          # inner one or outer one.\n          if (if_match and Match(r'\\s*else\\b', next_line)\n              and next_indent != if_indent):\n            error(filename, linenum, 'readability/braces', 4,\n                  'Else clause should be indented at the same level as if. '\n                  'Ambiguous nested if/else chains require braces.')\n          elif next_indent > if_indent:\n            error(filename, linenum, 'readability/braces', 4,\n                  'If/else bodies with multiple statements require braces')\n\n\ndef CheckTrailingSemicolon(filename, clean_lines, linenum, error):\n  \"\"\"Looks for redundant trailing semicolon.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    error: The function to call with any errors found.\n  \"\"\"\n\n  line = clean_lines.elided[linenum]\n\n  # Block bodies should not be followed by a semicolon.  Due to C++11\n  # brace initialization, there are more places where semicolons are\n  # required than not, so we explicitly list the allowed rules rather\n  # than listing the disallowed ones.  These are the places where \"};\"\n  # should be replaced by just \"}\":\n  # 1. Some flavor of block following closing parenthesis:\n  #    for (;;) {};\n  #    while (...) {};\n  #    switch (...) {};\n  #    Function(...) {};\n  #    if (...) {};\n  #    if (...) else if (...) {};\n  #\n  # 2. else block:\n  #    if (...) else {};\n  #\n  # 3. const member function:\n  #    Function(...) const {};\n  #\n  # 4. Block following some statement:\n  #    x = 42;\n  #    {};\n  #\n  # 5. Block at the beginning of a function:\n  #    Function(...) {\n  #      {};\n  #    }\n  #\n  #    Note that naively checking for the preceding \"{\" will also match\n  #    braces inside multi-dimensional arrays, but this is fine since\n  #    that expression will not contain semicolons.\n  #\n  # 6. Block following another block:\n  #    while (true) {}\n  #    {};\n  #\n  # 7. End of namespaces:\n  #    namespace {};\n  #\n  #    These semicolons seems far more common than other kinds of\n  #    redundant semicolons, possibly due to people converting classes\n  #    to namespaces.  For now we do not warn for this case.\n  #\n  # Try matching case 1 first.\n  match = Match(r'^(.*\\)\\s*)\\{', line)\n  if match:\n    # Matched closing parenthesis (case 1).  Check the token before the\n    # matching opening parenthesis, and don't warn if it looks like a\n    # macro.  This avoids these false positives:\n    #  - macro that defines a base class\n    #  - multi-line macro that defines a base class\n    #  - macro that defines the whole class-head\n    #\n    # But we still issue warnings for macros that we know are safe to\n    # warn, specifically:\n    #  - TEST, TEST_F, TEST_P, MATCHER, MATCHER_P\n    #  - TYPED_TEST\n    #  - INTERFACE_DEF\n    #  - EXCLUSIVE_LOCKS_REQUIRED, SHARED_LOCKS_REQUIRED, LOCKS_EXCLUDED:\n    #\n    # We implement a list of safe macros instead of a list of\n    # unsafe macros, even though the latter appears less frequently in\n    # google code and would have been easier to implement.  This is because\n    # the downside for getting the allowed checks wrong means some extra\n    # semicolons, while the downside for getting disallowed checks wrong\n    # would result in compile errors.\n    #\n    # In addition to macros, we also don't want to warn on\n    #  - Compound literals\n    #  - Lambdas\n    #  - alignas specifier with anonymous structs\n    #  - decltype\n    closing_brace_pos = match.group(1).rfind(')')\n    opening_parenthesis = ReverseCloseExpression(\n        clean_lines, linenum, closing_brace_pos)\n    if opening_parenthesis[2] > -1:\n      line_prefix = opening_parenthesis[0][0:opening_parenthesis[2]]\n      macro = Search(r'\\b([A-Z_][A-Z0-9_]*)\\s*$', line_prefix)\n      func = Match(r'^(.*\\])\\s*$', line_prefix)\n      if ((macro and\n           macro.group(1) not in (\n               'TEST', 'TEST_F', 'MATCHER', 'MATCHER_P', 'TYPED_TEST',\n               'EXCLUSIVE_LOCKS_REQUIRED', 'SHARED_LOCKS_REQUIRED',\n               'LOCKS_EXCLUDED', 'INTERFACE_DEF')) or\n          (func and not Search(r'\\boperator\\s*\\[\\s*\\]', func.group(1))) or\n          Search(r'\\b(?:struct|union)\\s+alignas\\s*$', line_prefix) or\n          Search(r'\\bdecltype$', line_prefix) or\n          Search(r'\\s+=\\s*$', line_prefix)):\n        match = None\n    if (match and\n        opening_parenthesis[1] > 1 and\n        Search(r'\\]\\s*$', clean_lines.elided[opening_parenthesis[1] - 1])):\n      # Multi-line lambda-expression\n      match = None\n\n  else:\n    # Try matching cases 2-3.\n    match = Match(r'^(.*(?:else|\\)\\s*const)\\s*)\\{', line)\n    if not match:\n      # Try matching cases 4-6.  These are always matched on separate lines.\n      #\n      # Note that we can't simply concatenate the previous line to the\n      # current line and do a single match, otherwise we may output\n      # duplicate warnings for the blank line case:\n      #   if (cond) {\n      #     // blank line\n      #   }\n      prevline = GetPreviousNonBlankLine(clean_lines, linenum)[0]\n      if prevline and Search(r'[;{}]\\s*$', prevline):\n        match = Match(r'^(\\s*)\\{', line)\n\n  # Check matching closing brace\n  if match:\n    (endline, endlinenum, endpos) = CloseExpression(\n        clean_lines, linenum, len(match.group(1)))\n    if endpos > -1 and Match(r'^\\s*;', endline[endpos:]):\n      # Current {} pair is eligible for semicolon check, and we have found\n      # the redundant semicolon, output warning here.\n      #\n      # Note: because we are scanning forward for opening braces, and\n      # outputting warnings for the matching closing brace, if there are\n      # nested blocks with trailing semicolons, we will get the error\n      # messages in reversed order.\n\n      # We need to check the line forward for NOLINT\n      raw_lines = clean_lines.raw_lines\n      ParseNolintSuppressions(filename, raw_lines[endlinenum-1], endlinenum-1,\n                              error)\n      ParseNolintSuppressions(filename, raw_lines[endlinenum], endlinenum,\n                              error)\n\n      error(filename, endlinenum, 'readability/braces', 4,\n            \"You don't need a ; after a }\")\n\n\ndef CheckEmptyBlockBody(filename, clean_lines, linenum, error):\n  \"\"\"Look for empty loop/conditional body with only a single semicolon.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    error: The function to call with any errors found.\n  \"\"\"\n\n  # Search for loop keywords at the beginning of the line.  Because only\n  # whitespaces are allowed before the keywords, this will also ignore most\n  # do-while-loops, since those lines should start with closing brace.\n  #\n  # We also check \"if\" blocks here, since an empty conditional block\n  # is likely an error.\n  line = clean_lines.elided[linenum]\n  matched = Match(r'\\s*(for|while|if)\\s*\\(', line)\n  if matched:\n    # Find the end of the conditional expression.\n    (end_line, end_linenum, end_pos) = CloseExpression(\n        clean_lines, linenum, line.find('('))\n\n    # Output warning if what follows the condition expression is a semicolon.\n    # No warning for all other cases, including whitespace or newline, since we\n    # have a separate check for semicolons preceded by whitespace.\n    if end_pos >= 0 and Match(r';', end_line[end_pos:]):\n      if matched.group(1) == 'if':\n        error(filename, end_linenum, 'whitespace/empty_conditional_body', 5,\n              'Empty conditional bodies should use {}')\n      else:\n        error(filename, end_linenum, 'whitespace/empty_loop_body', 5,\n              'Empty loop bodies should use {} or continue')\n\n    # Check for if statements that have completely empty bodies (no comments)\n    # and no else clauses.\n    if end_pos >= 0 and matched.group(1) == 'if':\n      # Find the position of the opening { for the if statement.\n      # Return without logging an error if it has no brackets.\n      opening_linenum = end_linenum\n      opening_line_fragment = end_line[end_pos:]\n      # Loop until EOF or find anything that's not whitespace or opening {.\n      while not Search(r'^\\s*\\{', opening_line_fragment):\n        if Search(r'^(?!\\s*$)', opening_line_fragment):\n          # Conditional has no brackets.\n          return\n        opening_linenum += 1\n        if opening_linenum == len(clean_lines.elided):\n          # Couldn't find conditional's opening { or any code before EOF.\n          return\n        opening_line_fragment = clean_lines.elided[opening_linenum]\n      # Set opening_line (opening_line_fragment may not be entire opening line).\n      opening_line = clean_lines.elided[opening_linenum]\n\n      # Find the position of the closing }.\n      opening_pos = opening_line_fragment.find('{')\n      if opening_linenum == end_linenum:\n        # We need to make opening_pos relative to the start of the entire line.\n        opening_pos += end_pos\n      (closing_line, closing_linenum, closing_pos) = CloseExpression(\n          clean_lines, opening_linenum, opening_pos)\n      if closing_pos < 0:\n        return\n\n      # Now construct the body of the conditional. This consists of the portion\n      # of the opening line after the {, all lines until the closing line,\n      # and the portion of the closing line before the }.\n      if (clean_lines.raw_lines[opening_linenum] !=\n          CleanseComments(clean_lines.raw_lines[opening_linenum])):\n        # Opening line ends with a comment, so conditional isn't empty.\n        return\n      if closing_linenum > opening_linenum:\n        # Opening line after the {. Ignore comments here since we checked above.\n        bodylist = list(opening_line[opening_pos+1:])\n        # All lines until closing line, excluding closing line, with comments.\n        bodylist.extend(clean_lines.raw_lines[opening_linenum+1:closing_linenum])\n        # Closing line before the }. Won't (and can't) have comments.\n        bodylist.append(clean_lines.elided[closing_linenum][:closing_pos-1])\n        body = '\\n'.join(bodylist)\n      else:\n        # If statement has brackets and fits on a single line.\n        body = opening_line[opening_pos+1:closing_pos-1]\n\n      # Check if the body is empty\n      if not _EMPTY_CONDITIONAL_BODY_PATTERN.search(body):\n        return\n      # The body is empty. Now make sure there's not an else clause.\n      current_linenum = closing_linenum\n      current_line_fragment = closing_line[closing_pos:]\n      # Loop until EOF or find anything that's not whitespace or else clause.\n      while Search(r'^\\s*$|^(?=\\s*else)', current_line_fragment):\n        if Search(r'^(?=\\s*else)', current_line_fragment):\n          # Found an else clause, so don't log an error.\n          return\n        current_linenum += 1\n        if current_linenum == len(clean_lines.elided):\n          break\n        current_line_fragment = clean_lines.elided[current_linenum]\n\n      # The body is empty and there's no else clause until EOF or other code.\n      error(filename, end_linenum, 'whitespace/empty_if_body', 4,\n            ('If statement had no body and no else clause'))\n\n\ndef FindCheckMacro(line):\n  \"\"\"Find a replaceable CHECK-like macro.\n\n  Args:\n    line: line to search on.\n  Returns:\n    (macro name, start position), or (None, -1) if no replaceable\n    macro is found.\n  \"\"\"\n  for macro in _CHECK_MACROS:\n    i = line.find(macro)\n    if i >= 0:\n      # Find opening parenthesis.  Do a regular expression match here\n      # to make sure that we are matching the expected CHECK macro, as\n      # opposed to some other macro that happens to contain the CHECK\n      # substring.\n      matched = Match(r'^(.*\\b' + macro + r'\\s*)\\(', line)\n      if not matched:\n        continue\n      return (macro, len(matched.group(1)))\n  return (None, -1)\n\n\ndef CheckCheck(filename, clean_lines, linenum, error):\n  \"\"\"Checks the use of CHECK and EXPECT macros.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    error: The function to call with any errors found.\n  \"\"\"\n\n  # Decide the set of replacement macros that should be suggested\n  lines = clean_lines.elided\n  (check_macro, start_pos) = FindCheckMacro(lines[linenum])\n  if not check_macro:\n    return\n\n  # Find end of the boolean expression by matching parentheses\n  (last_line, end_line, end_pos) = CloseExpression(\n      clean_lines, linenum, start_pos)\n  if end_pos < 0:\n    return\n\n  # If the check macro is followed by something other than a\n  # semicolon, assume users will log their own custom error messages\n  # and don't suggest any replacements.\n  if not Match(r'\\s*;', last_line[end_pos:]):\n    return\n\n  if linenum == end_line:\n    expression = lines[linenum][start_pos + 1:end_pos - 1]\n  else:\n    expression = lines[linenum][start_pos + 1:]\n    for i in xrange(linenum + 1, end_line):\n      expression += lines[i]\n    expression += last_line[0:end_pos - 1]\n\n  # Parse expression so that we can take parentheses into account.\n  # This avoids false positives for inputs like \"CHECK((a < 4) == b)\",\n  # which is not replaceable by CHECK_LE.\n  lhs = ''\n  rhs = ''\n  operator = None\n  while expression:\n    matched = Match(r'^\\s*(<<|<<=|>>|>>=|->\\*|->|&&|\\|\\||'\n                    r'==|!=|>=|>|<=|<|\\()(.*)$', expression)\n    if matched:\n      token = matched.group(1)\n      if token == '(':\n        # Parenthesized operand\n        expression = matched.group(2)\n        (end, _) = FindEndOfExpressionInLine(expression, 0, ['('])\n        if end < 0:\n          return  # Unmatched parenthesis\n        lhs += '(' + expression[0:end]\n        expression = expression[end:]\n      elif token in ('&&', '||'):\n        # Logical and/or operators.  This means the expression\n        # contains more than one term, for example:\n        #   CHECK(42 < a && a < b);\n        #\n        # These are not replaceable with CHECK_LE, so bail out early.\n        return\n      elif token in ('<<', '<<=', '>>', '>>=', '->*', '->'):\n        # Non-relational operator\n        lhs += token\n        expression = matched.group(2)\n      else:\n        # Relational operator\n        operator = token\n        rhs = matched.group(2)\n        break\n    else:\n      # Unparenthesized operand.  Instead of appending to lhs one character\n      # at a time, we do another regular expression match to consume several\n      # characters at once if possible.  Trivial benchmark shows that this\n      # is more efficient when the operands are longer than a single\n      # character, which is generally the case.\n      matched = Match(r'^([^-=!<>()&|]+)(.*)$', expression)\n      if not matched:\n        matched = Match(r'^(\\s*\\S)(.*)$', expression)\n        if not matched:\n          break\n      lhs += matched.group(1)\n      expression = matched.group(2)\n\n  # Only apply checks if we got all parts of the boolean expression\n  if not (lhs and operator and rhs):\n    return\n\n  # Check that rhs do not contain logical operators.  We already know\n  # that lhs is fine since the loop above parses out && and ||.\n  if rhs.find('&&') > -1 or rhs.find('||') > -1:\n    return\n\n  # At least one of the operands must be a constant literal.  This is\n  # to avoid suggesting replacements for unprintable things like\n  # CHECK(variable != iterator)\n  #\n  # The following pattern matches decimal, hex integers, strings, and\n  # characters (in that order).\n  lhs = lhs.strip()\n  rhs = rhs.strip()\n  match_constant = r'^([-+]?(\\d+|0[xX][0-9a-fA-F]+)[lLuU]{0,3}|\".*\"|\\'.*\\')$'\n  if Match(match_constant, lhs) or Match(match_constant, rhs):\n    # Note: since we know both lhs and rhs, we can provide a more\n    # descriptive error message like:\n    #   Consider using CHECK_EQ(x, 42) instead of CHECK(x == 42)\n    # Instead of:\n    #   Consider using CHECK_EQ instead of CHECK(a == b)\n    #\n    # We are still keeping the less descriptive message because if lhs\n    # or rhs gets long, the error message might become unreadable.\n    error(filename, linenum, 'readability/check', 2,\n          'Consider using %s instead of %s(a %s b)' % (\n              _CHECK_REPLACEMENT[check_macro][operator],\n              check_macro, operator))\n\n\ndef CheckAltTokens(filename, clean_lines, linenum, error):\n  \"\"\"Check alternative keywords being used in boolean expressions.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    error: The function to call with any errors found.\n  \"\"\"\n  line = clean_lines.elided[linenum]\n\n  # Avoid preprocessor lines\n  if Match(r'^\\s*#', line):\n    return\n\n  # Last ditch effort to avoid multi-line comments.  This will not help\n  # if the comment started before the current line or ended after the\n  # current line, but it catches most of the false positives.  At least,\n  # it provides a way to workaround this warning for people who use\n  # multi-line comments in preprocessor macros.\n  #\n  # TODO(unknown): remove this once cpplint has better support for\n  # multi-line comments.\n  if line.find('/*') >= 0 or line.find('*/') >= 0:\n    return\n\n  for match in _ALT_TOKEN_REPLACEMENT_PATTERN.finditer(line):\n    error(filename, linenum, 'readability/alt_tokens', 2,\n          'Use operator %s instead of %s' % (\n              _ALT_TOKEN_REPLACEMENT[match.group(1)], match.group(1)))\n\n\ndef GetLineWidth(line):\n  \"\"\"Determines the width of the line in column positions.\n\n  Args:\n    line: A string, which may be a Unicode string.\n\n  Returns:\n    The width of the line in column positions, accounting for Unicode\n    combining characters and wide characters.\n  \"\"\"\n  if isinstance(line, unicode):\n    width = 0\n    for uc in unicodedata.normalize('NFC', line):\n      if unicodedata.east_asian_width(uc) in ('W', 'F'):\n        width += 2\n      elif not unicodedata.combining(uc):\n        # Issue 337\n        # https://mail.python.org/pipermail/python-list/2012-August/628809.html\n        if (sys.version_info.major, sys.version_info.minor) <= (3, 2):\n          # https://github.com/python/cpython/blob/2.7/Include/unicodeobject.h#L81\n          is_wide_build = sysconfig.get_config_var(\"Py_UNICODE_SIZE\") >= 4\n          # https://github.com/python/cpython/blob/2.7/Objects/unicodeobject.c#L564\n          is_low_surrogate = 0xDC00 <= ord(uc) <= 0xDFFF\n          if not is_wide_build and is_low_surrogate:\n            width -= 1\n\n        width += 1\n    return width\n  else:\n    return len(line)\n\n\ndef CheckStyle(filename, clean_lines, linenum, file_extension, nesting_state,\n               error):\n  \"\"\"Checks rules from the 'C++ style rules' section of cppguide.html.\n\n  Most of these rules are hard to test (naming, comment style), but we\n  do what we can.  In particular we check for 2-space indents, line lengths,\n  tab usage, spaces inside code, etc.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    file_extension: The extension (without the dot) of the filename.\n    nesting_state: A NestingState instance which maintains information about\n                   the current stack of nested blocks being parsed.\n    error: The function to call with any errors found.\n  \"\"\"\n\n  # Don't use \"elided\" lines here, otherwise we can't check commented lines.\n  # Don't want to use \"raw\" either, because we don't want to check inside C++11\n  # raw strings,\n  raw_lines = clean_lines.lines_without_raw_strings\n  line = raw_lines[linenum]\n  prev = raw_lines[linenum - 1] if linenum > 0 else ''\n\n  if line.find('\\t') != -1:\n    error(filename, linenum, 'whitespace/tab', 1,\n          'Tab found; better to use spaces')\n\n  # One or three blank spaces at the beginning of the line is weird; it's\n  # hard to reconcile that with 2-space indents.\n  # NOTE: here are the conditions rob pike used for his tests.  Mine aren't\n  # as sophisticated, but it may be worth becoming so:  RLENGTH==initial_spaces\n  # if(RLENGTH > 20) complain = 0;\n  # if(match($0, \" +(error|private|public|protected):\")) complain = 0;\n  # if(match(prev, \"&& *$\")) complain = 0;\n  # if(match(prev, \"\\\\|\\\\| *$\")) complain = 0;\n  # if(match(prev, \"[\\\",=><] *$\")) complain = 0;\n  # if(match($0, \" <<\")) complain = 0;\n  # if(match(prev, \" +for \\\\(\")) complain = 0;\n  # if(prevodd && match(prevprev, \" +for \\\\(\")) complain = 0;\n  scope_or_label_pattern = r'\\s*(?:public|private|protected|signals)(?:\\s+(?:slots\\s*)?)?:\\s*\\\\?$'\n  classinfo = nesting_state.InnermostClass()\n  initial_spaces = 0\n  cleansed_line = clean_lines.elided[linenum]\n  while initial_spaces < len(line) and line[initial_spaces] == ' ':\n    initial_spaces += 1\n  # There are certain situations we allow one space, notably for\n  # section labels, and also lines containing multi-line raw strings.\n  # We also don't check for lines that look like continuation lines\n  # (of lines ending in double quotes, commas, equals, or angle brackets)\n  # because the rules for how to indent those are non-trivial.\n  if (not Search(r'[\",=><] *$', prev) and\n      (initial_spaces == 1 or initial_spaces == 3) and\n      not Match(scope_or_label_pattern, cleansed_line) and\n      not (clean_lines.raw_lines[linenum] != line and\n           Match(r'^\\s*\"\"', line))):\n    error(filename, linenum, 'whitespace/indent', 3,\n          'Weird number of spaces at line-start.  '\n          'Are you using a 2-space indent?')\n\n  if line and line[-1].isspace():\n    error(filename, linenum, 'whitespace/end_of_line', 4,\n          'Line ends in whitespace.  Consider deleting these extra spaces.')\n\n  # Check if the line is a header guard.\n  is_header_guard = False\n  if IsHeaderExtension(file_extension):\n    cppvar = GetHeaderGuardCPPVariable(filename)\n    if (line.startswith('#ifndef %s' % cppvar) or\n        line.startswith('#define %s' % cppvar) or\n        line.startswith('#endif  // %s' % cppvar)):\n      is_header_guard = True\n  # #include lines and header guards can be long, since there's no clean way to\n  # split them.\n  #\n  # URLs can be long too.  It's possible to split these, but it makes them\n  # harder to cut&paste.\n  #\n  # The \"$Id:...$\" comment may also get very long without it being the\n  # developers fault.\n  #\n  # Doxygen documentation copying can get pretty long when using an overloaded\n  # function declaration\n  if (not line.startswith('#include') and not is_header_guard and\n      not Match(r'^\\s*//.*http(s?)://\\S*$', line) and\n      not Match(r'^\\s*//\\s*[^\\s]*$', line) and\n      not Match(r'^// \\$Id:.*#[0-9]+ \\$$', line) and\n      not Match(r'^\\s*/// [@\\\\](copydoc|copydetails|copybrief) .*$', line)):\n    line_width = GetLineWidth(line)\n    if line_width > _line_length:\n      error(filename, linenum, 'whitespace/line_length', 2,\n            'Lines should be <= %i characters long' % _line_length)\n\n  if (cleansed_line.count(';') > 1 and\n      # allow simple single line lambdas\n      not Match(r'^[^{};]*\\[[^\\[\\]]*\\][^{}]*\\{[^{}\\n\\r]*\\}',\n                line) and\n      # for loops are allowed two ;'s (and may run over two lines).\n      cleansed_line.find('for') == -1 and\n      (GetPreviousNonBlankLine(clean_lines, linenum)[0].find('for') == -1 or\n       GetPreviousNonBlankLine(clean_lines, linenum)[0].find(';') != -1) and\n      # It's ok to have many commands in a switch case that fits in 1 line\n      not ((cleansed_line.find('case ') != -1 or\n            cleansed_line.find('default:') != -1) and\n           cleansed_line.find('break;') != -1)):\n    error(filename, linenum, 'whitespace/newline', 0,\n          'More than one command on the same line')\n\n  # Some more style checks\n  CheckBraces(filename, clean_lines, linenum, error)\n  CheckTrailingSemicolon(filename, clean_lines, linenum, error)\n  CheckEmptyBlockBody(filename, clean_lines, linenum, error)\n  CheckSpacing(filename, clean_lines, linenum, nesting_state, error)\n  CheckOperatorSpacing(filename, clean_lines, linenum, error)\n  CheckParenthesisSpacing(filename, clean_lines, linenum, error)\n  CheckCommaSpacing(filename, clean_lines, linenum, error)\n  CheckBracesSpacing(filename, clean_lines, linenum, nesting_state, error)\n  CheckSpacingForFunctionCall(filename, clean_lines, linenum, error)\n  CheckCheck(filename, clean_lines, linenum, error)\n  CheckAltTokens(filename, clean_lines, linenum, error)\n  classinfo = nesting_state.InnermostClass()\n  if classinfo:\n    CheckSectionSpacing(filename, clean_lines, classinfo, linenum, error)\n\n\n_RE_PATTERN_INCLUDE = re.compile(r'^\\s*#\\s*include\\s*([<\"])([^>\"]*)[>\"].*$')\n# Matches the first component of a filename delimited by -s and _s. That is:\n#  _RE_FIRST_COMPONENT.match('foo').group(0) == 'foo'\n#  _RE_FIRST_COMPONENT.match('foo.cc').group(0) == 'foo'\n#  _RE_FIRST_COMPONENT.match('foo-bar_baz.cc').group(0) == 'foo'\n#  _RE_FIRST_COMPONENT.match('foo_bar-baz.cc').group(0) == 'foo'\n_RE_FIRST_COMPONENT = re.compile(r'^[^-_.]+')\n\n\ndef _DropCommonSuffixes(filename):\n  \"\"\"Drops common suffixes like _test.cc or -inl.h from filename.\n\n  For example:\n    >>> _DropCommonSuffixes('foo/foo-inl.h')\n    'foo/foo'\n    >>> _DropCommonSuffixes('foo/bar/foo.cc')\n    'foo/bar/foo'\n    >>> _DropCommonSuffixes('foo/foo_internal.h')\n    'foo/foo'\n    >>> _DropCommonSuffixes('foo/foo_unusualinternal.h')\n    'foo/foo_unusualinternal'\n\n  Args:\n    filename: The input filename.\n\n  Returns:\n    The filename with the common suffix removed.\n  \"\"\"\n  for suffix in itertools.chain(\n      ('%s.%s' % (test_suffix.lstrip('_'), ext)\n       for test_suffix, ext in itertools.product(_test_suffixes, GetNonHeaderExtensions())),\n      ('%s.%s' % (suffix, ext)\n       for suffix, ext in itertools.product(['inl', 'imp', 'internal'], GetHeaderExtensions()))):\n    if (filename.endswith(suffix) and len(filename) > len(suffix) and\n        filename[-len(suffix) - 1] in ('-', '_')):\n      return filename[:-len(suffix) - 1]\n  return os.path.splitext(filename)[0]\n\n\ndef _ClassifyInclude(fileinfo, include, used_angle_brackets, include_order=\"default\"):\n  \"\"\"Figures out what kind of header 'include' is.\n\n  Args:\n    fileinfo: The current file cpplint is running over. A FileInfo instance.\n    include: The path to a #included file.\n    used_angle_brackets: True if the #include used <> rather than \"\".\n    include_order: \"default\" or other value allowed in program arguments\n\n  Returns:\n    One of the _XXX_HEADER constants.\n\n  For example:\n    >>> _ClassifyInclude(FileInfo('foo/foo.cc'), 'stdio.h', True)\n    _C_SYS_HEADER\n    >>> _ClassifyInclude(FileInfo('foo/foo.cc'), 'string', True)\n    _CPP_SYS_HEADER\n    >>> _ClassifyInclude(FileInfo('foo/foo.cc'), 'foo/foo.h', True, \"standardcfirst\")\n    _OTHER_SYS_HEADER\n    >>> _ClassifyInclude(FileInfo('foo/foo.cc'), 'foo/foo.h', False)\n    _LIKELY_MY_HEADER\n    >>> _ClassifyInclude(FileInfo('foo/foo_unknown_extension.cc'),\n    ...                  'bar/foo_other_ext.h', False)\n    _POSSIBLE_MY_HEADER\n    >>> _ClassifyInclude(FileInfo('foo/foo.cc'), 'foo/bar.h', False)\n    _OTHER_HEADER\n  \"\"\"\n  # This is a list of all standard c++ header files, except\n  # those already checked for above.\n  is_cpp_header = include in _CPP_HEADERS\n\n  # Mark include as C header if in list or in a known folder for standard-ish C headers.\n  is_std_c_header = (include_order == \"default\") or (include in _C_HEADERS\n            # additional linux glibc header folders\n            or Search(r'(?:%s)\\/.*\\.h' % \"|\".join(C_STANDARD_HEADER_FOLDERS), include))\n\n  # Headers with C++ extensions shouldn't be considered C system headers\n  is_system = used_angle_brackets and not os.path.splitext(include)[1] in ['.hpp', '.hxx', '.h++']\n\n  if is_system:\n    if is_cpp_header:\n      return _CPP_SYS_HEADER\n    if is_std_c_header:\n      return _C_SYS_HEADER\n    else:\n      return _OTHER_SYS_HEADER\n\n  # If the target file and the include we're checking share a\n  # basename when we drop common extensions, and the include\n  # lives in . , then it's likely to be owned by the target file.\n  target_dir, target_base = (\n      os.path.split(_DropCommonSuffixes(fileinfo.RepositoryName())))\n  include_dir, include_base = os.path.split(_DropCommonSuffixes(include))\n  target_dir_pub = os.path.normpath(target_dir + '/../public')\n  target_dir_pub = target_dir_pub.replace('\\\\', '/')\n  if target_base == include_base and (\n      include_dir == target_dir or\n      include_dir == target_dir_pub):\n    return _LIKELY_MY_HEADER\n\n  # If the target and include share some initial basename\n  # component, it's possible the target is implementing the\n  # include, so it's allowed to be first, but we'll never\n  # complain if it's not there.\n  target_first_component = _RE_FIRST_COMPONENT.match(target_base)\n  include_first_component = _RE_FIRST_COMPONENT.match(include_base)\n  if (target_first_component and include_first_component and\n      target_first_component.group(0) ==\n      include_first_component.group(0)):\n    return _POSSIBLE_MY_HEADER\n\n  return _OTHER_HEADER\n\n\n\ndef CheckIncludeLine(filename, clean_lines, linenum, include_state, error):\n  \"\"\"Check rules that are applicable to #include lines.\n\n  Strings on #include lines are NOT removed from elided line, to make\n  certain tasks easier. However, to prevent false positives, checks\n  applicable to #include lines in CheckLanguage must be put here.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    include_state: An _IncludeState instance in which the headers are inserted.\n    error: The function to call with any errors found.\n  \"\"\"\n  fileinfo = FileInfo(filename)\n  line = clean_lines.lines[linenum]\n\n  # \"include\" should use the new style \"foo/bar.h\" instead of just \"bar.h\"\n  # Only do this check if the included header follows google naming\n  # conventions.  If not, assume that it's a 3rd party API that\n  # requires special include conventions.\n  #\n  # We also make an exception for Lua headers, which follow google\n  # naming convention but not the include convention.\n  match = Match(r'#include\\s*\"([^/]+\\.h)\"', line)\n  if match and not _THIRD_PARTY_HEADERS_PATTERN.match(match.group(1)):\n    error(filename, linenum, 'build/include_subdir', 4,\n          'Include the directory when naming .h files')\n\n  # we shouldn't include a file more than once. actually, there are a\n  # handful of instances where doing so is okay, but in general it's\n  # not.\n  match = _RE_PATTERN_INCLUDE.search(line)\n  if match:\n    include = match.group(2)\n    used_angle_brackets = (match.group(1) == '<')\n    duplicate_line = include_state.FindHeader(include)\n    if duplicate_line >= 0:\n      error(filename, linenum, 'build/include', 4,\n            '\"%s\" already included at %s:%s' %\n            (include, filename, duplicate_line))\n      return\n\n    for extension in GetNonHeaderExtensions():\n      if (include.endswith('.' + extension) and\n          os.path.dirname(fileinfo.RepositoryName()) != os.path.dirname(include)):\n        error(filename, linenum, 'build/include', 4,\n              'Do not include .' + extension + ' files from other packages')\n        return\n\n    # We DO want to include a 3rd party looking header if it matches the\n    # filename. Otherwise we get an erroneous error \"...should include its\n    # header\" error later.\n    third_src_header = False\n    for ext in GetHeaderExtensions():\n      basefilename = filename[0:len(filename) - len(fileinfo.Extension())]\n      headerfile = basefilename + '.' + ext\n      headername = FileInfo(headerfile).RepositoryName()\n      if headername in include or include in headername:\n        third_src_header = True\n        break\n\n    if third_src_header or not _THIRD_PARTY_HEADERS_PATTERN.match(include):\n      include_state.include_list[-1].append((include, linenum))\n\n      # We want to ensure that headers appear in the right order:\n      # 1) for foo.cc, foo.h  (preferred location)\n      # 2) c system files\n      # 3) cpp system files\n      # 4) for foo.cc, foo.h  (deprecated location)\n      # 5) other google headers\n      #\n      # We classify each include statement as one of those 5 types\n      # using a number of techniques. The include_state object keeps\n      # track of the highest type seen, and complains if we see a\n      # lower type after that.\n      error_message = include_state.CheckNextIncludeOrder(\n          _ClassifyInclude(fileinfo, include, used_angle_brackets, _include_order))\n      if error_message:\n        error(filename, linenum, 'build/include_order', 4,\n              '%s. Should be: %s.h, c system, c++ system, other.' %\n              (error_message, fileinfo.BaseName()))\n      canonical_include = include_state.CanonicalizeAlphabeticalOrder(include)\n      if not include_state.IsInAlphabeticalOrder(\n          clean_lines, linenum, canonical_include):\n        error(filename, linenum, 'build/include_alpha', 4,\n              'Include \"%s\" not in alphabetical order' % include)\n      include_state.SetLastHeader(canonical_include)\n\n\n\ndef _GetTextInside(text, start_pattern):\n  r\"\"\"Retrieves all the text between matching open and close parentheses.\n\n  Given a string of lines and a regular expression string, retrieve all the text\n  following the expression and between opening punctuation symbols like\n  (, [, or {, and the matching close-punctuation symbol. This properly nested\n  occurrences of the punctuations, so for the text like\n    printf(a(), b(c()));\n  a call to _GetTextInside(text, r'printf\\(') will return 'a(), b(c())'.\n  start_pattern must match string having an open punctuation symbol at the end.\n\n  Args:\n    text: The lines to extract text. Its comments and strings must be elided.\n           It can be single line and can span multiple lines.\n    start_pattern: The regexp string indicating where to start extracting\n                   the text.\n  Returns:\n    The extracted text.\n    None if either the opening string or ending punctuation could not be found.\n  \"\"\"\n  # TODO(unknown): Audit cpplint.py to see what places could be profitably\n  # rewritten to use _GetTextInside (and use inferior regexp matching today).\n\n  # Give opening punctuations to get the matching close-punctuations.\n  matching_punctuation = {'(': ')', '{': '}', '[': ']'}\n  closing_punctuation = set(itervalues(matching_punctuation))\n\n  # Find the position to start extracting text.\n  match = re.search(start_pattern, text, re.M)\n  if not match:  # start_pattern not found in text.\n    return None\n  start_position = match.end(0)\n\n  assert start_position > 0, (\n      'start_pattern must ends with an opening punctuation.')\n  assert text[start_position - 1] in matching_punctuation, (\n      'start_pattern must ends with an opening punctuation.')\n  # Stack of closing punctuations we expect to have in text after position.\n  punctuation_stack = [matching_punctuation[text[start_position - 1]]]\n  position = start_position\n  while punctuation_stack and position < len(text):\n    if text[position] == punctuation_stack[-1]:\n      punctuation_stack.pop()\n    elif text[position] in closing_punctuation:\n      # A closing punctuation without matching opening punctuations.\n      return None\n    elif text[position] in matching_punctuation:\n      punctuation_stack.append(matching_punctuation[text[position]])\n    position += 1\n  if punctuation_stack:\n    # Opening punctuations left without matching close-punctuations.\n    return None\n  # punctuations match.\n  return text[start_position:position - 1]\n\n\n# Patterns for matching call-by-reference parameters.\n#\n# Supports nested templates up to 2 levels deep using this messy pattern:\n#   < (?: < (?: < [^<>]*\n#               >\n#           |   [^<>] )*\n#         >\n#     |   [^<>] )*\n#   >\n_RE_PATTERN_IDENT = r'[_a-zA-Z]\\w*'  # =~ [[:alpha:]][[:alnum:]]*\n_RE_PATTERN_TYPE = (\n    r'(?:const\\s+)?(?:typename\\s+|class\\s+|struct\\s+|union\\s+|enum\\s+)?'\n    r'(?:\\w|'\n    r'\\s*<(?:<(?:<[^<>]*>|[^<>])*>|[^<>])*>|'\n    r'::)+')\n# A call-by-reference parameter ends with '& identifier'.\n_RE_PATTERN_REF_PARAM = re.compile(\n    r'(' + _RE_PATTERN_TYPE + r'(?:\\s*(?:\\bconst\\b|[*]))*\\s*'\n    r'&\\s*' + _RE_PATTERN_IDENT + r')\\s*(?:=[^,()]+)?[,)]')\n# A call-by-const-reference parameter either ends with 'const& identifier'\n# or looks like 'const type& identifier' when 'type' is atomic.\n_RE_PATTERN_CONST_REF_PARAM = (\n    r'(?:.*\\s*\\bconst\\s*&\\s*' + _RE_PATTERN_IDENT +\n    r'|const\\s+' + _RE_PATTERN_TYPE + r'\\s*&\\s*' + _RE_PATTERN_IDENT + r')')\n# Stream types.\n_RE_PATTERN_REF_STREAM_PARAM = (\n    r'(?:.*stream\\s*&\\s*' + _RE_PATTERN_IDENT + r')')\n\n\ndef CheckLanguage(filename, clean_lines, linenum, file_extension,\n                  include_state, nesting_state, error):\n  \"\"\"Checks rules from the 'C++ language rules' section of cppguide.html.\n\n  Some of these rules are hard to test (function overloading, using\n  uint32 inappropriately), but we do the best we can.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    file_extension: The extension (without the dot) of the filename.\n    include_state: An _IncludeState instance in which the headers are inserted.\n    nesting_state: A NestingState instance which maintains information about\n                   the current stack of nested blocks being parsed.\n    error: The function to call with any errors found.\n  \"\"\"\n  # If the line is empty or consists of entirely a comment, no need to\n  # check it.\n  line = clean_lines.elided[linenum]\n  if not line:\n    return\n\n  match = _RE_PATTERN_INCLUDE.search(line)\n  if match:\n    CheckIncludeLine(filename, clean_lines, linenum, include_state, error)\n    return\n\n  # Reset include state across preprocessor directives.  This is meant\n  # to silence warnings for conditional includes.\n  match = Match(r'^\\s*#\\s*(if|ifdef|ifndef|elif|else|endif)\\b', line)\n  if match:\n    include_state.ResetSection(match.group(1))\n\n\n  # Perform other checks now that we are sure that this is not an include line\n  CheckCasts(filename, clean_lines, linenum, error)\n  CheckGlobalStatic(filename, clean_lines, linenum, error)\n  CheckPrintf(filename, clean_lines, linenum, error)\n\n  if IsHeaderExtension(file_extension):\n    # TODO(unknown): check that 1-arg constructors are explicit.\n    #                How to tell it's a constructor?\n    #                (handled in CheckForNonStandardConstructs for now)\n    # TODO(unknown): check that classes declare or disable copy/assign\n    #                (level 1 error)\n    pass\n\n  # Check if people are using the verboten C basic types.  The only exception\n  # we regularly allow is \"unsigned short port\" for port.\n  if Search(r'\\bshort port\\b', line):\n    if not Search(r'\\bunsigned short port\\b', line):\n      error(filename, linenum, 'runtime/int', 4,\n            'Use \"unsigned short\" for ports, not \"short\"')\n  else:\n    match = Search(r'\\b(short|long(?! +double)|long long)\\b', line)\n    if match:\n      error(filename, linenum, 'runtime/int', 4,\n            'Use int16/int64/etc, rather than the C type %s' % match.group(1))\n\n  # Check if some verboten operator overloading is going on\n  # TODO(unknown): catch out-of-line unary operator&:\n  #   class X {};\n  #   int operator&(const X& x) { return 42; }  // unary operator&\n  # The trick is it's hard to tell apart from binary operator&:\n  #   class Y { int operator&(const Y& x) { return 23; } }; // binary operator&\n  if Search(r'\\boperator\\s*&\\s*\\(\\s*\\)', line):\n    error(filename, linenum, 'runtime/operator', 4,\n          'Unary operator& is dangerous.  Do not use it.')\n\n  # Check for suspicious usage of \"if\" like\n  # } if (a == b) {\n  if Search(r'\\}\\s*if\\s*\\(', line):\n    error(filename, linenum, 'readability/braces', 4,\n          'Did you mean \"else if\"? If not, start a new line for \"if\".')\n\n  # Check for potential format string bugs like printf(foo).\n  # We constrain the pattern not to pick things like DocidForPrintf(foo).\n  # Not perfect but it can catch printf(foo.c_str()) and printf(foo->c_str())\n  # TODO(unknown): Catch the following case. Need to change the calling\n  # convention of the whole function to process multiple line to handle it.\n  #   printf(\n  #       boy_this_is_a_really_long_variable_that_cannot_fit_on_the_prev_line);\n  printf_args = _GetTextInside(line, r'(?i)\\b(string)?printf\\s*\\(')\n  if printf_args:\n    match = Match(r'([\\w.\\->()]+)$', printf_args)\n    if match and match.group(1) != '__VA_ARGS__':\n      function_name = re.search(r'\\b((?:string)?printf)\\s*\\(',\n                                line, re.I).group(1)\n      error(filename, linenum, 'runtime/printf', 4,\n            'Potential format string bug. Do %s(\"%%s\", %s) instead.'\n            % (function_name, match.group(1)))\n\n  # Check for potential memset bugs like memset(buf, sizeof(buf), 0).\n  match = Search(r'memset\\s*\\(([^,]*),\\s*([^,]*),\\s*0\\s*\\)', line)\n  if match and not Match(r\"^''|-?[0-9]+|0x[0-9A-Fa-f]$\", match.group(2)):\n    error(filename, linenum, 'runtime/memset', 4,\n          'Did you mean \"memset(%s, 0, %s)\"?'\n          % (match.group(1), match.group(2)))\n\n  if Search(r'\\busing namespace\\b', line):\n    if Search(r'\\bliterals\\b', line):\n      error(filename, linenum, 'build/namespaces_literals', 5,\n            'Do not use namespace using-directives.  '\n            'Use using-declarations instead.')\n    else:\n      error(filename, linenum, 'build/namespaces', 5,\n            'Do not use namespace using-directives.  '\n            'Use using-declarations instead.')\n\n  # Detect variable-length arrays.\n  match = Match(r'\\s*(.+::)?(\\w+) [a-z]\\w*\\[(.+)];', line)\n  if (match and match.group(2) != 'return' and match.group(2) != 'delete' and\n      match.group(3).find(']') == -1):\n    # Split the size using space and arithmetic operators as delimiters.\n    # If any of the resulting tokens are not compile time constants then\n    # report the error.\n    tokens = re.split(r'\\s|\\+|\\-|\\*|\\/|<<|>>]', match.group(3))\n    is_const = True\n    skip_next = False\n    for tok in tokens:\n      if skip_next:\n        skip_next = False\n        continue\n\n      if Search(r'sizeof\\(.+\\)', tok): continue\n      if Search(r'arraysize\\(\\w+\\)', tok): continue\n\n      tok = tok.lstrip('(')\n      tok = tok.rstrip(')')\n      if not tok: continue\n      if Match(r'\\d+', tok): continue\n      if Match(r'0[xX][0-9a-fA-F]+', tok): continue\n      if Match(r'k[A-Z0-9]\\w*', tok): continue\n      if Match(r'(.+::)?k[A-Z0-9]\\w*', tok): continue\n      if Match(r'(.+::)?[A-Z][A-Z0-9_]*', tok): continue\n      # A catch all for tricky sizeof cases, including 'sizeof expression',\n      # 'sizeof(*type)', 'sizeof(const type)', 'sizeof(struct StructName)'\n      # requires skipping the next token because we split on ' ' and '*'.\n      if tok.startswith('sizeof'):\n        skip_next = True\n        continue\n      is_const = False\n      break\n    if not is_const:\n      error(filename, linenum, 'runtime/arrays', 1,\n            'Do not use variable-length arrays.  Use an appropriately named '\n            \"('k' followed by CamelCase) compile-time constant for the size.\")\n\n  # Check for use of unnamed namespaces in header files.  Registration\n  # macros are typically OK, so we allow use of \"namespace {\" on lines\n  # that end with backslashes.\n  if (IsHeaderExtension(file_extension)\n      and Search(r'\\bnamespace\\s*{', line)\n      and line[-1] != '\\\\'):\n    error(filename, linenum, 'build/namespaces_headers', 4,\n          'Do not use unnamed namespaces in header files.  See '\n          'https://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Namespaces'\n          ' for more information.')\n\n\ndef CheckGlobalStatic(filename, clean_lines, linenum, error):\n  \"\"\"Check for unsafe global or static objects.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    error: The function to call with any errors found.\n  \"\"\"\n  line = clean_lines.elided[linenum]\n\n  # Match two lines at a time to support multiline declarations\n  if linenum + 1 < clean_lines.NumLines() and not Search(r'[;({]', line):\n    line += clean_lines.elided[linenum + 1].strip()\n\n  # Check for people declaring static/global STL strings at the top level.\n  # This is dangerous because the C++ language does not guarantee that\n  # globals with constructors are initialized before the first access, and\n  # also because globals can be destroyed when some threads are still running.\n  # TODO(unknown): Generalize this to also find static unique_ptr instances.\n  # TODO(unknown): File bugs for clang-tidy to find these.\n  match = Match(\n      r'((?:|static +)(?:|const +))(?::*std::)?string( +const)? +'\n      r'([a-zA-Z0-9_:]+)\\b(.*)',\n      line)\n\n  # Remove false positives:\n  # - String pointers (as opposed to values).\n  #    string *pointer\n  #    const string *pointer\n  #    string const *pointer\n  #    string *const pointer\n  #\n  # - Functions and template specializations.\n  #    string Function<Type>(...\n  #    string Class<Type>::Method(...\n  #\n  # - Operators.  These are matched separately because operator names\n  #   cross non-word boundaries, and trying to match both operators\n  #   and functions at the same time would decrease accuracy of\n  #   matching identifiers.\n  #    string Class::operator*()\n  if (match and\n      not Search(r'\\bstring\\b(\\s+const)?\\s*[\\*\\&]\\s*(const\\s+)?\\w', line) and\n      not Search(r'\\boperator\\W', line) and\n      not Match(r'\\s*(<.*>)?(::[a-zA-Z0-9_]+)*\\s*\\(([^\"]|$)', match.group(4))):\n    if Search(r'\\bconst\\b', line):\n      error(filename, linenum, 'runtime/string', 4,\n            'For a static/global string constant, use a C style string '\n            'instead: \"%schar%s %s[]\".' %\n            (match.group(1), match.group(2) or '', match.group(3)))\n    else:\n      error(filename, linenum, 'runtime/string', 4,\n            'Static/global string variables are not permitted.')\n\n  if (Search(r'\\b([A-Za-z0-9_]*_)\\(\\1\\)', line) or\n      Search(r'\\b([A-Za-z0-9_]*_)\\(CHECK_NOTNULL\\(\\1\\)\\)', line)):\n    error(filename, linenum, 'runtime/init', 4,\n          'You seem to be initializing a member variable with itself.')\n\n\ndef CheckPrintf(filename, clean_lines, linenum, error):\n  \"\"\"Check for printf related issues.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    error: The function to call with any errors found.\n  \"\"\"\n  line = clean_lines.elided[linenum]\n\n  # When snprintf is used, the second argument shouldn't be a literal.\n  match = Search(r'snprintf\\s*\\(([^,]*),\\s*([0-9]*)\\s*,', line)\n  if match and match.group(2) != '0':\n    # If 2nd arg is zero, snprintf is used to calculate size.\n    error(filename, linenum, 'runtime/printf', 3,\n          'If you can, use sizeof(%s) instead of %s as the 2nd arg '\n          'to snprintf.' % (match.group(1), match.group(2)))\n\n  # Check if some verboten C functions are being used.\n  if Search(r'\\bsprintf\\s*\\(', line):\n    error(filename, linenum, 'runtime/printf', 5,\n          'Never use sprintf. Use snprintf instead.')\n  match = Search(r'\\b(strcpy|strcat)\\s*\\(', line)\n  if match:\n    error(filename, linenum, 'runtime/printf', 4,\n          'Almost always, snprintf is better than %s' % match.group(1))\n\n\ndef IsDerivedFunction(clean_lines, linenum):\n  \"\"\"Check if current line contains an inherited function.\n\n  Args:\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n  Returns:\n    True if current line contains a function with \"override\"\n    virt-specifier.\n  \"\"\"\n  # Scan back a few lines for start of current function\n  for i in xrange(linenum, max(-1, linenum - 10), -1):\n    match = Match(r'^([^()]*\\w+)\\(', clean_lines.elided[i])\n    if match:\n      # Look for \"override\" after the matching closing parenthesis\n      line, _, closing_paren = CloseExpression(\n          clean_lines, i, len(match.group(1)))\n      return (closing_paren >= 0 and\n              Search(r'\\boverride\\b', line[closing_paren:]))\n  return False\n\n\ndef IsOutOfLineMethodDefinition(clean_lines, linenum):\n  \"\"\"Check if current line contains an out-of-line method definition.\n\n  Args:\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n  Returns:\n    True if current line contains an out-of-line method definition.\n  \"\"\"\n  # Scan back a few lines for start of current function\n  for i in xrange(linenum, max(-1, linenum - 10), -1):\n    if Match(r'^([^()]*\\w+)\\(', clean_lines.elided[i]):\n      return Match(r'^[^()]*\\w+::\\w+\\(', clean_lines.elided[i]) is not None\n  return False\n\n\ndef IsInitializerList(clean_lines, linenum):\n  \"\"\"Check if current line is inside constructor initializer list.\n\n  Args:\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n  Returns:\n    True if current line appears to be inside constructor initializer\n    list, False otherwise.\n  \"\"\"\n  for i in xrange(linenum, 1, -1):\n    line = clean_lines.elided[i]\n    if i == linenum:\n      remove_function_body = Match(r'^(.*)\\{\\s*$', line)\n      if remove_function_body:\n        line = remove_function_body.group(1)\n\n    if Search(r'\\s:\\s*\\w+[({]', line):\n      # A lone colon tend to indicate the start of a constructor\n      # initializer list.  It could also be a ternary operator, which\n      # also tend to appear in constructor initializer lists as\n      # opposed to parameter lists.\n      return True\n    if Search(r'\\}\\s*,\\s*$', line):\n      # A closing brace followed by a comma is probably the end of a\n      # brace-initialized member in constructor initializer list.\n      return True\n    if Search(r'[{};]\\s*$', line):\n      # Found one of the following:\n      # - A closing brace or semicolon, probably the end of the previous\n      #   function.\n      # - An opening brace, probably the start of current class or namespace.\n      #\n      # Current line is probably not inside an initializer list since\n      # we saw one of those things without seeing the starting colon.\n      return False\n\n  # Got to the beginning of the file without seeing the start of\n  # constructor initializer list.\n  return False\n\n\ndef CheckForNonConstReference(filename, clean_lines, linenum,\n                              nesting_state, error):\n  \"\"\"Check for non-const references.\n\n  Separate from CheckLanguage since it scans backwards from current\n  line, instead of scanning forward.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    nesting_state: A NestingState instance which maintains information about\n                   the current stack of nested blocks being parsed.\n    error: The function to call with any errors found.\n  \"\"\"\n  # Do nothing if there is no '&' on current line.\n  line = clean_lines.elided[linenum]\n  if '&' not in line:\n    return\n\n  # If a function is inherited, current function doesn't have much of\n  # a choice, so any non-const references should not be blamed on\n  # derived function.\n  if IsDerivedFunction(clean_lines, linenum):\n    return\n\n  # Don't warn on out-of-line method definitions, as we would warn on the\n  # in-line declaration, if it isn't marked with 'override'.\n  if IsOutOfLineMethodDefinition(clean_lines, linenum):\n    return\n\n  # Long type names may be broken across multiple lines, usually in one\n  # of these forms:\n  #   LongType\n  #       ::LongTypeContinued &identifier\n  #   LongType::\n  #       LongTypeContinued &identifier\n  #   LongType<\n  #       ...>::LongTypeContinued &identifier\n  #\n  # If we detected a type split across two lines, join the previous\n  # line to current line so that we can match const references\n  # accordingly.\n  #\n  # Note that this only scans back one line, since scanning back\n  # arbitrary number of lines would be expensive.  If you have a type\n  # that spans more than 2 lines, please use a typedef.\n  if linenum > 1:\n    previous = None\n    if Match(r'\\s*::(?:[\\w<>]|::)+\\s*&\\s*\\S', line):\n      # previous_line\\n + ::current_line\n      previous = Search(r'\\b((?:const\\s*)?(?:[\\w<>]|::)+[\\w<>])\\s*$',\n                        clean_lines.elided[linenum - 1])\n    elif Match(r'\\s*[a-zA-Z_]([\\w<>]|::)+\\s*&\\s*\\S', line):\n      # previous_line::\\n + current_line\n      previous = Search(r'\\b((?:const\\s*)?(?:[\\w<>]|::)+::)\\s*$',\n                        clean_lines.elided[linenum - 1])\n    if previous:\n      line = previous.group(1) + line.lstrip()\n    else:\n      # Check for templated parameter that is split across multiple lines\n      endpos = line.rfind('>')\n      if endpos > -1:\n        (_, startline, startpos) = ReverseCloseExpression(\n            clean_lines, linenum, endpos)\n        if startpos > -1 and startline < linenum:\n          # Found the matching < on an earlier line, collect all\n          # pieces up to current line.\n          line = ''\n          for i in xrange(startline, linenum + 1):\n            line += clean_lines.elided[i].strip()\n\n  # Check for non-const references in function parameters.  A single '&' may\n  # found in the following places:\n  #   inside expression: binary & for bitwise AND\n  #   inside expression: unary & for taking the address of something\n  #   inside declarators: reference parameter\n  # We will exclude the first two cases by checking that we are not inside a\n  # function body, including one that was just introduced by a trailing '{'.\n  # TODO(unknown): Doesn't account for 'catch(Exception& e)' [rare].\n  if (nesting_state.previous_stack_top and\n      not (isinstance(nesting_state.previous_stack_top, _ClassInfo) or\n           isinstance(nesting_state.previous_stack_top, _NamespaceInfo))):\n    # Not at toplevel, not within a class, and not within a namespace\n    return\n\n  # Avoid initializer lists.  We only need to scan back from the\n  # current line for something that starts with ':'.\n  #\n  # We don't need to check the current line, since the '&' would\n  # appear inside the second set of parentheses on the current line as\n  # opposed to the first set.\n  if linenum > 0:\n    for i in xrange(linenum - 1, max(0, linenum - 10), -1):\n      previous_line = clean_lines.elided[i]\n      if not Search(r'[),]\\s*$', previous_line):\n        break\n      if Match(r'^\\s*:\\s+\\S', previous_line):\n        return\n\n  # Avoid preprocessors\n  if Search(r'\\\\\\s*$', line):\n    return\n\n  # Avoid constructor initializer lists\n  if IsInitializerList(clean_lines, linenum):\n    return\n\n  # We allow non-const references in a few standard places, like functions\n  # called \"swap()\" or iostream operators like \"<<\" or \">>\".  Do not check\n  # those function parameters.\n  #\n  # We also accept & in static_assert, which looks like a function but\n  # it's actually a declaration expression.\n  allowed_functions = (r'(?:[sS]wap(?:<\\w:+>)?|'\n                           r'operator\\s*[<>][<>]|'\n                           r'static_assert|COMPILE_ASSERT'\n                           r')\\s*\\(')\n  if Search(allowed_functions, line):\n    return\n  elif not Search(r'\\S+\\([^)]*$', line):\n    # Don't see an allowed function on this line.  Actually we\n    # didn't see any function name on this line, so this is likely a\n    # multi-line parameter list.  Try a bit harder to catch this case.\n    for i in xrange(2):\n      if (linenum > i and\n          Search(allowed_functions, clean_lines.elided[linenum - i - 1])):\n        return\n\n  decls = ReplaceAll(r'{[^}]*}', ' ', line)  # exclude function body\n  for parameter in re.findall(_RE_PATTERN_REF_PARAM, decls):\n    if (not Match(_RE_PATTERN_CONST_REF_PARAM, parameter) and\n        not Match(_RE_PATTERN_REF_STREAM_PARAM, parameter)):\n      error(filename, linenum, 'runtime/references', 2,\n            'Is this a non-const reference? '\n            'If so, make const or use a pointer: ' +\n            ReplaceAll(' *<', '<', parameter))\n\n\ndef CheckCasts(filename, clean_lines, linenum, error):\n  \"\"\"Various cast related checks.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    error: The function to call with any errors found.\n  \"\"\"\n  line = clean_lines.elided[linenum]\n\n  # Check to see if they're using an conversion function cast.\n  # I just try to capture the most common basic types, though there are more.\n  # Parameterless conversion functions, such as bool(), are allowed as they are\n  # probably a member operator declaration or default constructor.\n  match = Search(\n      r'(\\bnew\\s+(?:const\\s+)?|\\S<\\s*(?:const\\s+)?)?\\b'\n      r'(int|float|double|bool|char|int32|uint32|int64|uint64)'\n      r'(\\([^)].*)', line)\n  expecting_function = ExpectingFunctionArgs(clean_lines, linenum)\n  if match and not expecting_function:\n    matched_type = match.group(2)\n\n    # matched_new_or_template is used to silence two false positives:\n    # - New operators\n    # - Template arguments with function types\n    #\n    # For template arguments, we match on types immediately following\n    # an opening bracket without any spaces.  This is a fast way to\n    # silence the common case where the function type is the first\n    # template argument.  False negative with less-than comparison is\n    # avoided because those operators are usually followed by a space.\n    #\n    #   function<double(double)>   // bracket + no space = false positive\n    #   value < double(42)         // bracket + space = true positive\n    matched_new_or_template = match.group(1)\n\n    # Avoid arrays by looking for brackets that come after the closing\n    # parenthesis.\n    if Match(r'\\([^()]+\\)\\s*\\[', match.group(3)):\n      return\n\n    # Other things to ignore:\n    # - Function pointers\n    # - Casts to pointer types\n    # - Placement new\n    # - Alias declarations\n    matched_funcptr = match.group(3)\n    if (matched_new_or_template is None and\n        not (matched_funcptr and\n             (Match(r'\\((?:[^() ]+::\\s*\\*\\s*)?[^() ]+\\)\\s*\\(',\n                    matched_funcptr) or\n              matched_funcptr.startswith('(*)'))) and\n        not Match(r'\\s*using\\s+\\S+\\s*=\\s*' + matched_type, line) and\n        not Search(r'new\\(\\S+\\)\\s*' + matched_type, line)):\n      error(filename, linenum, 'readability/casting', 4,\n            'Using deprecated casting style.  '\n            'Use static_cast<%s>(...) instead' %\n            matched_type)\n\n  if not expecting_function:\n    CheckCStyleCast(filename, clean_lines, linenum, 'static_cast',\n                    r'\\((int|float|double|bool|char|u?int(16|32|64))\\)', error)\n\n  # This doesn't catch all cases. Consider (const char * const)\"hello\".\n  #\n  # (char *) \"foo\" should always be a const_cast (reinterpret_cast won't\n  # compile).\n  if CheckCStyleCast(filename, clean_lines, linenum, 'const_cast',\n                     r'\\((char\\s?\\*+\\s?)\\)\\s*\"', error):\n    pass\n  else:\n    # Check pointer casts for other than string constants\n    CheckCStyleCast(filename, clean_lines, linenum, 'reinterpret_cast',\n                    r'\\((\\w+\\s?\\*+\\s?)\\)', error)\n\n  # In addition, we look for people taking the address of a cast.  This\n  # is dangerous -- casts can assign to temporaries, so the pointer doesn't\n  # point where you think.\n  #\n  # Some non-identifier character is required before the '&' for the\n  # expression to be recognized as a cast.  These are casts:\n  #   expression = &static_cast<int*>(temporary());\n  #   function(&(int*)(temporary()));\n  #\n  # This is not a cast:\n  #   reference_type&(int* function_param);\n  match = Search(\n      r'(?:[^\\w]&\\(([^)*][^)]*)\\)[\\w(])|'\n      r'(?:[^\\w]&(static|dynamic|down|reinterpret)_cast\\b)', line)\n  if match:\n    # Try a better error message when the & is bound to something\n    # dereferenced by the casted pointer, as opposed to the casted\n    # pointer itself.\n    parenthesis_error = False\n    match = Match(r'^(.*&(?:static|dynamic|down|reinterpret)_cast\\b)<', line)\n    if match:\n      _, y1, x1 = CloseExpression(clean_lines, linenum, len(match.group(1)))\n      if x1 >= 0 and clean_lines.elided[y1][x1] == '(':\n        _, y2, x2 = CloseExpression(clean_lines, y1, x1)\n        if x2 >= 0:\n          extended_line = clean_lines.elided[y2][x2:]\n          if y2 < clean_lines.NumLines() - 1:\n            extended_line += clean_lines.elided[y2 + 1]\n          if Match(r'\\s*(?:->|\\[)', extended_line):\n            parenthesis_error = True\n\n    if parenthesis_error:\n      error(filename, linenum, 'readability/casting', 4,\n            ('Are you taking an address of something dereferenced '\n             'from a cast?  Wrapping the dereferenced expression in '\n             'parentheses will make the binding more obvious'))\n    else:\n      error(filename, linenum, 'runtime/casting', 4,\n            ('Are you taking an address of a cast?  '\n             'This is dangerous: could be a temp var.  '\n             'Take the address before doing the cast, rather than after'))\n\n\ndef CheckCStyleCast(filename, clean_lines, linenum, cast_type, pattern, error):\n  \"\"\"Checks for a C-style cast by looking for the pattern.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    cast_type: The string for the C++ cast to recommend.  This is either\n      reinterpret_cast, static_cast, or const_cast, depending.\n    pattern: The regular expression used to find C-style casts.\n    error: The function to call with any errors found.\n\n  Returns:\n    True if an error was emitted.\n    False otherwise.\n  \"\"\"\n  line = clean_lines.elided[linenum]\n  match = Search(pattern, line)\n  if not match:\n    return False\n\n  # Exclude lines with keywords that tend to look like casts\n  context = line[0:match.start(1) - 1]\n  if Match(r'.*\\b(?:sizeof|alignof|alignas|[_A-Z][_A-Z0-9]*)\\s*$', context):\n    return False\n\n  # Try expanding current context to see if we one level of\n  # parentheses inside a macro.\n  if linenum > 0:\n    for i in xrange(linenum - 1, max(0, linenum - 5), -1):\n      context = clean_lines.elided[i] + context\n  if Match(r'.*\\b[_A-Z][_A-Z0-9]*\\s*\\((?:\\([^()]*\\)|[^()])*$', context):\n    return False\n\n  # operator++(int) and operator--(int)\n  if context.endswith(' operator++') or context.endswith(' operator--'):\n    return False\n\n  # A single unnamed argument for a function tends to look like old style cast.\n  # If we see those, don't issue warnings for deprecated casts.\n  remainder = line[match.end(0):]\n  if Match(r'^\\s*(?:;|const\\b|throw\\b|final\\b|override\\b|[=>{),]|->)',\n           remainder):\n    return False\n\n  # At this point, all that should be left is actual casts.\n  error(filename, linenum, 'readability/casting', 4,\n        'Using C-style cast.  Use %s<%s>(...) instead' %\n        (cast_type, match.group(1)))\n\n  return True\n\n\ndef ExpectingFunctionArgs(clean_lines, linenum):\n  \"\"\"Checks whether where function type arguments are expected.\n\n  Args:\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n\n  Returns:\n    True if the line at 'linenum' is inside something that expects arguments\n    of function types.\n  \"\"\"\n  line = clean_lines.elided[linenum]\n  return (Match(r'^\\s*MOCK_(CONST_)?METHOD\\d+(_T)?\\(', line) or\n          (linenum >= 2 and\n           (Match(r'^\\s*MOCK_(?:CONST_)?METHOD\\d+(?:_T)?\\((?:\\S+,)?\\s*$',\n                  clean_lines.elided[linenum - 1]) or\n            Match(r'^\\s*MOCK_(?:CONST_)?METHOD\\d+(?:_T)?\\(\\s*$',\n                  clean_lines.elided[linenum - 2]) or\n            Search(r'\\bstd::m?function\\s*\\<\\s*$',\n                   clean_lines.elided[linenum - 1]))))\n\n\n_HEADERS_CONTAINING_TEMPLATES = (\n    ('<deque>', ('deque',)),\n    ('<functional>', ('unary_function', 'binary_function',\n                      'plus', 'minus', 'multiplies', 'divides', 'modulus',\n                      'negate',\n                      'equal_to', 'not_equal_to', 'greater', 'less',\n                      'greater_equal', 'less_equal',\n                      'logical_and', 'logical_or', 'logical_not',\n                      'unary_negate', 'not1', 'binary_negate', 'not2',\n                      'bind1st', 'bind2nd',\n                      'pointer_to_unary_function',\n                      'pointer_to_binary_function',\n                      'ptr_fun',\n                      'mem_fun_t', 'mem_fun', 'mem_fun1_t', 'mem_fun1_ref_t',\n                      'mem_fun_ref_t',\n                      'const_mem_fun_t', 'const_mem_fun1_t',\n                      'const_mem_fun_ref_t', 'const_mem_fun1_ref_t',\n                      'mem_fun_ref',\n                     )),\n    ('<limits>', ('numeric_limits',)),\n    ('<list>', ('list',)),\n    ('<map>', ('multimap',)),\n    ('<memory>', ('allocator', 'make_shared', 'make_unique', 'shared_ptr',\n                  'unique_ptr', 'weak_ptr')),\n    ('<queue>', ('queue', 'priority_queue',)),\n    ('<set>', ('multiset',)),\n    ('<stack>', ('stack',)),\n    ('<string>', ('char_traits', 'basic_string',)),\n    ('<tuple>', ('tuple',)),\n    ('<unordered_map>', ('unordered_map', 'unordered_multimap')),\n    ('<unordered_set>', ('unordered_set', 'unordered_multiset')),\n    ('<utility>', ('pair',)),\n    ('<vector>', ('vector',)),\n\n    # gcc extensions.\n    # Note: std::hash is their hash, ::hash is our hash\n    ('<hash_map>', ('hash_map', 'hash_multimap',)),\n    ('<hash_set>', ('hash_set', 'hash_multiset',)),\n    ('<slist>', ('slist',)),\n    )\n\n_HEADERS_MAYBE_TEMPLATES = (\n    ('<algorithm>', ('copy', 'max', 'min', 'min_element', 'sort',\n                     'transform',\n                    )),\n    ('<utility>', ('forward', 'make_pair', 'move', 'swap')),\n    )\n\n_RE_PATTERN_STRING = re.compile(r'\\bstring\\b')\n\n_re_pattern_headers_maybe_templates = []\nfor _header, _templates in _HEADERS_MAYBE_TEMPLATES:\n  for _template in _templates:\n    # Match max<type>(..., ...), max(..., ...), but not foo->max, foo.max or\n    # 'type::max()'.\n    _re_pattern_headers_maybe_templates.append(\n        (re.compile(r'[^>.]\\b' + _template + r'(<.*?>)?\\([^\\)]'),\n            _template,\n            _header))\n# Match set<type>, but not foo->set<type>, foo.set<type>\n_re_pattern_headers_maybe_templates.append(\n    (re.compile(r'[^>.]\\bset\\s*\\<'),\n        'set<>',\n        '<set>'))\n# Match 'map<type> var' and 'std::map<type>(...)', but not 'map<type>(...)''\n_re_pattern_headers_maybe_templates.append(\n    (re.compile(r'(std\\b::\\bmap\\s*\\<)|(^(std\\b::\\b)map\\b\\(\\s*\\<)'),\n        'map<>',\n        '<map>'))\n\n# Other scripts may reach in and modify this pattern.\n_re_pattern_templates = []\nfor _header, _templates in _HEADERS_CONTAINING_TEMPLATES:\n  for _template in _templates:\n    _re_pattern_templates.append(\n        (re.compile(r'(\\<|\\b)' + _template + r'\\s*\\<'),\n         _template + '<>',\n         _header))\n\n\ndef FilesBelongToSameModule(filename_cc, filename_h):\n  \"\"\"Check if these two filenames belong to the same module.\n\n  The concept of a 'module' here is a as follows:\n  foo.h, foo-inl.h, foo.cc, foo_test.cc and foo_unittest.cc belong to the\n  same 'module' if they are in the same directory.\n  some/path/public/xyzzy and some/path/internal/xyzzy are also considered\n  to belong to the same module here.\n\n  If the filename_cc contains a longer path than the filename_h, for example,\n  '/absolute/path/to/base/sysinfo.cc', and this file would include\n  'base/sysinfo.h', this function also produces the prefix needed to open the\n  header. This is used by the caller of this function to more robustly open the\n  header file. We don't have access to the real include paths in this context,\n  so we need this guesswork here.\n\n  Known bugs: tools/base/bar.cc and base/bar.h belong to the same module\n  according to this implementation. Because of this, this function gives\n  some false positives. This should be sufficiently rare in practice.\n\n  Args:\n    filename_cc: is the path for the source (e.g. .cc) file\n    filename_h: is the path for the header path\n\n  Returns:\n    Tuple with a bool and a string:\n    bool: True if filename_cc and filename_h belong to the same module.\n    string: the additional prefix needed to open the header file.\n  \"\"\"\n  fileinfo_cc = FileInfo(filename_cc)\n  if not fileinfo_cc.Extension().lstrip('.') in GetNonHeaderExtensions():\n    return (False, '')\n\n  fileinfo_h = FileInfo(filename_h)\n  if not IsHeaderExtension(fileinfo_h.Extension().lstrip('.')):\n    return (False, '')\n\n  filename_cc = filename_cc[:-(len(fileinfo_cc.Extension()))]\n  matched_test_suffix = Search(_TEST_FILE_SUFFIX, fileinfo_cc.BaseName())\n  if matched_test_suffix:\n    filename_cc = filename_cc[:-len(matched_test_suffix.group(1))]\n\n  filename_cc = filename_cc.replace('/public/', '/')\n  filename_cc = filename_cc.replace('/internal/', '/')\n\n  filename_h = filename_h[:-(len(fileinfo_h.Extension()))]\n  if filename_h.endswith('-inl'):\n    filename_h = filename_h[:-len('-inl')]\n  filename_h = filename_h.replace('/public/', '/')\n  filename_h = filename_h.replace('/internal/', '/')\n\n  files_belong_to_same_module = filename_cc.endswith(filename_h)\n  common_path = ''\n  if files_belong_to_same_module:\n    common_path = filename_cc[:-len(filename_h)]\n  return files_belong_to_same_module, common_path\n\n\ndef UpdateIncludeState(filename, include_dict, io=codecs):\n  \"\"\"Fill up the include_dict with new includes found from the file.\n\n  Args:\n    filename: the name of the header to read.\n    include_dict: a dictionary in which the headers are inserted.\n    io: The io factory to use to read the file. Provided for testability.\n\n  Returns:\n    True if a header was successfully added. False otherwise.\n  \"\"\"\n  headerfile = None\n  try:\n    with io.open(filename, 'r', 'utf8', 'replace') as headerfile:\n      linenum = 0\n      for line in headerfile:\n        linenum += 1\n        clean_line = CleanseComments(line)\n        match = _RE_PATTERN_INCLUDE.search(clean_line)\n        if match:\n          include = match.group(2)\n          include_dict.setdefault(include, linenum)\n    return True\n  except IOError:\n    return False\n\n\n\ndef CheckForIncludeWhatYouUse(filename, clean_lines, include_state, error,\n                              io=codecs):\n  \"\"\"Reports for missing stl includes.\n\n  This function will output warnings to make sure you are including the headers\n  necessary for the stl containers and functions that you use. We only give one\n  reason to include a header. For example, if you use both equal_to<> and\n  less<> in a .h file, only one (the latter in the file) of these will be\n  reported as a reason to include the <functional>.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    include_state: An _IncludeState instance.\n    error: The function to call with any errors found.\n    io: The IO factory to use to read the header file. Provided for unittest\n        injection.\n  \"\"\"\n  required = {}  # A map of header name to linenumber and the template entity.\n                 # Example of required: { '<functional>': (1219, 'less<>') }\n\n  for linenum in xrange(clean_lines.NumLines()):\n    line = clean_lines.elided[linenum]\n    if not line or line[0] == '#':\n      continue\n\n    # String is special -- it is a non-templatized type in STL.\n    matched = _RE_PATTERN_STRING.search(line)\n    if matched:\n      # Don't warn about strings in non-STL namespaces:\n      # (We check only the first match per line; good enough.)\n      prefix = line[:matched.start()]\n      if prefix.endswith('std::') or not prefix.endswith('::'):\n        required['<string>'] = (linenum, 'string')\n\n    for pattern, template, header in _re_pattern_headers_maybe_templates:\n      if pattern.search(line):\n        required[header] = (linenum, template)\n\n    # The following function is just a speed up, no semantics are changed.\n    if not '<' in line:  # Reduces the cpu time usage by skipping lines.\n      continue\n\n    for pattern, template, header in _re_pattern_templates:\n      matched = pattern.search(line)\n      if matched:\n        # Don't warn about IWYU in non-STL namespaces:\n        # (We check only the first match per line; good enough.)\n        prefix = line[:matched.start()]\n        if prefix.endswith('std::') or not prefix.endswith('::'):\n          required[header] = (linenum, template)\n\n  # The policy is that if you #include something in foo.h you don't need to\n  # include it again in foo.cc. Here, we will look at possible includes.\n  # Let's flatten the include_state include_list and copy it into a dictionary.\n  include_dict = dict([item for sublist in include_state.include_list\n                       for item in sublist])\n\n  # Did we find the header for this file (if any) and successfully load it?\n  header_found = False\n\n  # Use the absolute path so that matching works properly.\n  abs_filename = FileInfo(filename).FullName()\n\n  # For Emacs's flymake.\n  # If cpplint is invoked from Emacs's flymake, a temporary file is generated\n  # by flymake and that file name might end with '_flymake.cc'. In that case,\n  # restore original file name here so that the corresponding header file can be\n  # found.\n  # e.g. If the file name is 'foo_flymake.cc', we should search for 'foo.h'\n  # instead of 'foo_flymake.h'\n  abs_filename = re.sub(r'_flymake\\.cc$', '.cc', abs_filename)\n\n  # include_dict is modified during iteration, so we iterate over a copy of\n  # the keys.\n  header_keys = list(include_dict.keys())\n  for header in header_keys:\n    (same_module, common_path) = FilesBelongToSameModule(abs_filename, header)\n    fullpath = common_path + header\n    if same_module and UpdateIncludeState(fullpath, include_dict, io):\n      header_found = True\n\n  # If we can't find the header file for a .cc, assume it's because we don't\n  # know where to look. In that case we'll give up as we're not sure they\n  # didn't include it in the .h file.\n  # TODO(unknown): Do a better job of finding .h files so we are confident that\n  # not having the .h file means there isn't one.\n  if not header_found:\n    for extension in GetNonHeaderExtensions():\n      if filename.endswith('.' + extension):\n        return\n\n  # All the lines have been processed, report the errors found.\n  for required_header_unstripped in sorted(required, key=required.__getitem__):\n    template = required[required_header_unstripped][1]\n    if required_header_unstripped.strip('<>\"') not in include_dict:\n      error(filename, required[required_header_unstripped][0],\n            'build/include_what_you_use', 4,\n            'Add #include ' + required_header_unstripped + ' for ' + template)\n\n\n_RE_PATTERN_EXPLICIT_MAKEPAIR = re.compile(r'\\bmake_pair\\s*<')\n\n\ndef CheckMakePairUsesDeduction(filename, clean_lines, linenum, error):\n  \"\"\"Check that make_pair's template arguments are deduced.\n\n  G++ 4.6 in C++11 mode fails badly if make_pair's template arguments are\n  specified explicitly, and such use isn't intended in any case.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    error: The function to call with any errors found.\n  \"\"\"\n  line = clean_lines.elided[linenum]\n  match = _RE_PATTERN_EXPLICIT_MAKEPAIR.search(line)\n  if match:\n    error(filename, linenum, 'build/explicit_make_pair',\n          4,  # 4 = high confidence\n          'For C++11-compatibility, omit template arguments from make_pair'\n          ' OR use pair directly OR if appropriate, construct a pair directly')\n\n\ndef CheckRedundantVirtual(filename, clean_lines, linenum, error):\n  \"\"\"Check if line contains a redundant \"virtual\" function-specifier.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    error: The function to call with any errors found.\n  \"\"\"\n  # Look for \"virtual\" on current line.\n  line = clean_lines.elided[linenum]\n  virtual = Match(r'^(.*)(\\bvirtual\\b)(.*)$', line)\n  if not virtual: return\n\n  # Ignore \"virtual\" keywords that are near access-specifiers.  These\n  # are only used in class base-specifier and do not apply to member\n  # functions.\n  if (Search(r'\\b(public|protected|private)\\s+$', virtual.group(1)) or\n      Match(r'^\\s+(public|protected|private)\\b', virtual.group(3))):\n    return\n\n  # Ignore the \"virtual\" keyword from virtual base classes.  Usually\n  # there is a column on the same line in these cases (virtual base\n  # classes are rare in google3 because multiple inheritance is rare).\n  if Match(r'^.*[^:]:[^:].*$', line): return\n\n  # Look for the next opening parenthesis.  This is the start of the\n  # parameter list (possibly on the next line shortly after virtual).\n  # TODO(unknown): doesn't work if there are virtual functions with\n  # decltype() or other things that use parentheses, but csearch suggests\n  # that this is rare.\n  end_col = -1\n  end_line = -1\n  start_col = len(virtual.group(2))\n  for start_line in xrange(linenum, min(linenum + 3, clean_lines.NumLines())):\n    line = clean_lines.elided[start_line][start_col:]\n    parameter_list = Match(r'^([^(]*)\\(', line)\n    if parameter_list:\n      # Match parentheses to find the end of the parameter list\n      (_, end_line, end_col) = CloseExpression(\n          clean_lines, start_line, start_col + len(parameter_list.group(1)))\n      break\n    start_col = 0\n\n  if end_col < 0:\n    return  # Couldn't find end of parameter list, give up\n\n  # Look for \"override\" or \"final\" after the parameter list\n  # (possibly on the next few lines).\n  for i in xrange(end_line, min(end_line + 3, clean_lines.NumLines())):\n    line = clean_lines.elided[i][end_col:]\n    match = Search(r'\\b(override|final)\\b', line)\n    if match:\n      error(filename, linenum, 'readability/inheritance', 4,\n            ('\"virtual\" is redundant since function is '\n             'already declared as \"%s\"' % match.group(1)))\n\n    # Set end_col to check whole lines after we are done with the\n    # first line.\n    end_col = 0\n    if Search(r'[^\\w]\\s*$', line):\n      break\n\n\ndef CheckRedundantOverrideOrFinal(filename, clean_lines, linenum, error):\n  \"\"\"Check if line contains a redundant \"override\" or \"final\" virt-specifier.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    error: The function to call with any errors found.\n  \"\"\"\n  # Look for closing parenthesis nearby.  We need one to confirm where\n  # the declarator ends and where the virt-specifier starts to avoid\n  # false positives.\n  line = clean_lines.elided[linenum]\n  declarator_end = line.rfind(')')\n  if declarator_end >= 0:\n    fragment = line[declarator_end:]\n  else:\n    if linenum > 1 and clean_lines.elided[linenum - 1].rfind(')') >= 0:\n      fragment = line\n    else:\n      return\n\n  # Check that at most one of \"override\" or \"final\" is present, not both\n  if Search(r'\\boverride\\b', fragment) and Search(r'\\bfinal\\b', fragment):\n    error(filename, linenum, 'readability/inheritance', 4,\n          ('\"override\" is redundant since function is '\n           'already declared as \"final\"'))\n\n\n\n\n# Returns true if we are at a new block, and it is directly\n# inside of a namespace.\ndef IsBlockInNameSpace(nesting_state, is_forward_declaration):\n  \"\"\"Checks that the new block is directly in a namespace.\n\n  Args:\n    nesting_state: The _NestingState object that contains info about our state.\n    is_forward_declaration: If the class is a forward declared class.\n  Returns:\n    Whether or not the new block is directly in a namespace.\n  \"\"\"\n  if is_forward_declaration:\n    return len(nesting_state.stack) >= 1 and (\n      isinstance(nesting_state.stack[-1], _NamespaceInfo))\n\n\n  return (len(nesting_state.stack) > 1 and\n          nesting_state.stack[-1].check_namespace_indentation and\n          isinstance(nesting_state.stack[-2], _NamespaceInfo))\n\n\ndef ShouldCheckNamespaceIndentation(nesting_state, is_namespace_indent_item,\n                                    raw_lines_no_comments, linenum):\n  \"\"\"This method determines if we should apply our namespace indentation check.\n\n  Args:\n    nesting_state: The current nesting state.\n    is_namespace_indent_item: If we just put a new class on the stack, True.\n      If the top of the stack is not a class, or we did not recently\n      add the class, False.\n    raw_lines_no_comments: The lines without the comments.\n    linenum: The current line number we are processing.\n\n  Returns:\n    True if we should apply our namespace indentation check. Currently, it\n    only works for classes and namespaces inside of a namespace.\n  \"\"\"\n\n  is_forward_declaration = IsForwardClassDeclaration(raw_lines_no_comments,\n                                                     linenum)\n\n  if not (is_namespace_indent_item or is_forward_declaration):\n    return False\n\n  # If we are in a macro, we do not want to check the namespace indentation.\n  if IsMacroDefinition(raw_lines_no_comments, linenum):\n    return False\n\n  return IsBlockInNameSpace(nesting_state, is_forward_declaration)\n\n\n# Call this method if the line is directly inside of a namespace.\n# If the line above is blank (excluding comments) or the start of\n# an inner namespace, it cannot be indented.\ndef CheckItemIndentationInNamespace(filename, raw_lines_no_comments, linenum,\n                                    error):\n  line = raw_lines_no_comments[linenum]\n  if Match(r'^\\s+', line):\n    error(filename, linenum, 'runtime/indentation_namespace', 4,\n          'Do not indent within a namespace')\n\n\ndef ProcessLine(filename, file_extension, clean_lines, line,\n                include_state, function_state, nesting_state, error,\n                extra_check_functions=None):\n  \"\"\"Processes a single line in the file.\n\n  Args:\n    filename: Filename of the file that is being processed.\n    file_extension: The extension (dot not included) of the file.\n    clean_lines: An array of strings, each representing a line of the file,\n                 with comments stripped.\n    line: Number of line being processed.\n    include_state: An _IncludeState instance in which the headers are inserted.\n    function_state: A _FunctionState instance which counts function lines, etc.\n    nesting_state: A NestingState instance which maintains information about\n                   the current stack of nested blocks being parsed.\n    error: A callable to which errors are reported, which takes 4 arguments:\n           filename, line number, error level, and message\n    extra_check_functions: An array of additional check functions that will be\n                           run on each source line. Each function takes 4\n                           arguments: filename, clean_lines, line, error\n  \"\"\"\n  raw_lines = clean_lines.raw_lines\n  ParseNolintSuppressions(filename, raw_lines[line], line, error)\n  nesting_state.Update(filename, clean_lines, line, error)\n  CheckForNamespaceIndentation(filename, nesting_state, clean_lines, line,\n                               error)\n  if nesting_state.InAsmBlock(): return\n  CheckForFunctionLengths(filename, clean_lines, line, function_state, error)\n  CheckForMultilineCommentsAndStrings(filename, clean_lines, line, error)\n  CheckStyle(filename, clean_lines, line, file_extension, nesting_state, error)\n  CheckLanguage(filename, clean_lines, line, file_extension, include_state,\n                nesting_state, error)\n  CheckForNonConstReference(filename, clean_lines, line, nesting_state, error)\n  CheckForNonStandardConstructs(filename, clean_lines, line,\n                                nesting_state, error)\n  CheckVlogArguments(filename, clean_lines, line, error)\n  CheckPosixThreading(filename, clean_lines, line, error)\n  CheckInvalidIncrement(filename, clean_lines, line, error)\n  CheckMakePairUsesDeduction(filename, clean_lines, line, error)\n  CheckRedundantVirtual(filename, clean_lines, line, error)\n  CheckRedundantOverrideOrFinal(filename, clean_lines, line, error)\n  if extra_check_functions:\n    for check_fn in extra_check_functions:\n      check_fn(filename, clean_lines, line, error)\n\ndef FlagCxx11Features(filename, clean_lines, linenum, error):\n  \"\"\"Flag those c++11 features that we only allow in certain places.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    error: The function to call with any errors found.\n  \"\"\"\n  line = clean_lines.elided[linenum]\n\n  include = Match(r'\\s*#\\s*include\\s+[<\"]([^<\"]+)[\">]', line)\n\n  # Flag unapproved C++ TR1 headers.\n  if include and include.group(1).startswith('tr1/'):\n    error(filename, linenum, 'build/c++tr1', 5,\n          ('C++ TR1 headers such as <%s> are unapproved.') % include.group(1))\n\n  # Flag unapproved C++11 headers.\n  if include and include.group(1) in ('cfenv',\n                                      'condition_variable',\n                                      'fenv.h',\n                                      'future',\n                                      'mutex',\n                                      'thread',\n                                      'chrono',\n                                      'ratio',\n                                      'regex',\n                                      'system_error',\n                                     ):\n    error(filename, linenum, 'build/c++11', 5,\n          ('<%s> is an unapproved C++11 header.') % include.group(1))\n\n  # The only place where we need to worry about C++11 keywords and library\n  # features in preprocessor directives is in macro definitions.\n  if Match(r'\\s*#', line) and not Match(r'\\s*#\\s*define\\b', line): return\n\n  # These are classes and free functions.  The classes are always\n  # mentioned as std::*, but we only catch the free functions if\n  # they're not found by ADL.  They're alphabetical by header.\n  for top_name in (\n      # type_traits\n      'alignment_of',\n      'aligned_union',\n      ):\n    if Search(r'\\bstd::%s\\b' % top_name, line):\n      error(filename, linenum, 'build/c++11', 5,\n            ('std::%s is an unapproved C++11 class or function.  Send c-style '\n             'an example of where it would make your code more readable, and '\n             'they may let you use it.') % top_name)\n\n\ndef FlagCxx14Features(filename, clean_lines, linenum, error):\n  \"\"\"Flag those C++14 features that we restrict.\n\n  Args:\n    filename: The name of the current file.\n    clean_lines: A CleansedLines instance containing the file.\n    linenum: The number of the line to check.\n    error: The function to call with any errors found.\n  \"\"\"\n  line = clean_lines.elided[linenum]\n\n  include = Match(r'\\s*#\\s*include\\s+[<\"]([^<\"]+)[\">]', line)\n\n  # Flag unapproved C++14 headers.\n  if include and include.group(1) in ('scoped_allocator', 'shared_mutex'):\n    error(filename, linenum, 'build/c++14', 5,\n          ('<%s> is an unapproved C++14 header.') % include.group(1))\n\n\ndef ProcessFileData(filename, file_extension, lines, error,\n                    extra_check_functions=None):\n  \"\"\"Performs lint checks and reports any errors to the given error function.\n\n  Args:\n    filename: Filename of the file that is being processed.\n    file_extension: The extension (dot not included) of the file.\n    lines: An array of strings, each representing a line of the file, with the\n           last element being empty if the file is terminated with a newline.\n    error: A callable to which errors are reported, which takes 4 arguments:\n           filename, line number, error level, and message\n    extra_check_functions: An array of additional check functions that will be\n                           run on each source line. Each function takes 4\n                           arguments: filename, clean_lines, line, error\n  \"\"\"\n  lines = (['// marker so line numbers and indices both start at 1'] + lines +\n           ['// marker so line numbers end in a known way'])\n\n  include_state = _IncludeState()\n  function_state = _FunctionState()\n  nesting_state = NestingState()\n\n  ResetNolintSuppressions()\n\n  CheckForCopyright(filename, lines, error)\n  ProcessGlobalSuppresions(lines)\n  RemoveMultiLineComments(filename, lines, error)\n  clean_lines = CleansedLines(lines)\n\n  if IsHeaderExtension(file_extension):\n    CheckForHeaderGuard(filename, clean_lines, error)\n\n  for line in xrange(clean_lines.NumLines()):\n    ProcessLine(filename, file_extension, clean_lines, line,\n                include_state, function_state, nesting_state, error,\n                extra_check_functions)\n    FlagCxx11Features(filename, clean_lines, line, error)\n  nesting_state.CheckCompletedBlocks(filename, error)\n\n  CheckForIncludeWhatYouUse(filename, clean_lines, include_state, error)\n\n  # Check that the .cc file has included its header if it exists.\n  if _IsSourceExtension(file_extension):\n    CheckHeaderFileIncluded(filename, include_state, error)\n\n  # We check here rather than inside ProcessLine so that we see raw\n  # lines rather than \"cleaned\" lines.\n  CheckForBadCharacters(filename, lines, error)\n\n  CheckForNewlineAtEOF(filename, lines, error)\n\ndef ProcessConfigOverrides(filename):\n  \"\"\" Loads the configuration files and processes the config overrides.\n\n  Args:\n    filename: The name of the file being processed by the linter.\n\n  Returns:\n    False if the current |filename| should not be processed further.\n  \"\"\"\n\n  abs_filename = os.path.abspath(filename)\n  cfg_filters = []\n  keep_looking = True\n  while keep_looking:\n    abs_path, base_name = os.path.split(abs_filename)\n    if not base_name:\n      break  # Reached the root directory.\n\n    cfg_file = os.path.join(abs_path, \"CPPLINT.cfg\")\n    abs_filename = abs_path\n    if not os.path.isfile(cfg_file):\n      continue\n\n    try:\n      with open(cfg_file) as file_handle:\n        for line in file_handle:\n          line, _, _ = line.partition('#')  # Remove comments.\n          if not line.strip():\n            continue\n\n          name, _, val = line.partition('=')\n          name = name.strip()\n          val = val.strip()\n          if name == 'set noparent':\n            keep_looking = False\n          elif name == 'filter':\n            cfg_filters.append(val)\n          elif name == 'exclude_files':\n            # When matching exclude_files pattern, use the base_name of\n            # the current file name or the directory name we are processing.\n            # For example, if we are checking for lint errors in /foo/bar/baz.cc\n            # and we found the .cfg file at /foo/CPPLINT.cfg, then the config\n            # file's \"exclude_files\" filter is meant to be checked against \"bar\"\n            # and not \"baz\" nor \"bar/baz.cc\".\n            if base_name:\n              pattern = re.compile(val)\n              if pattern.match(base_name):\n                if _cpplint_state.quiet:\n                  # Suppress \"Ignoring file\" warning when using --quiet.\n                  return False\n                _cpplint_state.PrintInfo('Ignoring \"%s\": file excluded by \"%s\". '\n                                 'File path component \"%s\" matches '\n                                 'pattern \"%s\"\\n' %\n                                 (filename, cfg_file, base_name, val))\n                return False\n          elif name == 'linelength':\n            global _line_length\n            try:\n              _line_length = int(val)\n            except ValueError:\n              _cpplint_state.PrintError('Line length must be numeric.')\n          elif name == 'extensions':\n            ProcessExtensionsOption(val)\n          elif name == 'root':\n            global _root\n            # root directories are specified relative to CPPLINT.cfg dir.\n            _root = os.path.join(os.path.dirname(cfg_file), val)\n          elif name == 'headers':\n            ProcessHppHeadersOption(val)\n          elif name == 'includeorder':\n            ProcessIncludeOrderOption(val)\n          else:\n            _cpplint_state.PrintError(\n                'Invalid configuration option (%s) in file %s\\n' %\n                (name, cfg_file))\n\n    except IOError:\n      _cpplint_state.PrintError(\n          \"Skipping config file '%s': Can't open for reading\\n\" % cfg_file)\n      keep_looking = False\n\n  # Apply all the accumulated filters in reverse order (top-level directory\n  # config options having the least priority).\n  for cfg_filter in reversed(cfg_filters):\n    _AddFilters(cfg_filter)\n\n  return True\n\n\ndef ProcessFile(filename, vlevel, extra_check_functions=None):\n  \"\"\"Does google-lint on a single file.\n\n  Args:\n    filename: The name of the file to parse.\n\n    vlevel: The level of errors to report.  Every error of confidence\n    >= verbose_level will be reported.  0 is a good default.\n\n    extra_check_functions: An array of additional check functions that will be\n                           run on each source line. Each function takes 4\n                           arguments: filename, clean_lines, line, error\n  \"\"\"\n\n  _SetVerboseLevel(vlevel)\n  _BackupFilters()\n  old_errors = _cpplint_state.error_count\n\n  if not ProcessConfigOverrides(filename):\n    _RestoreFilters()\n    return\n\n  lf_lines = []\n  crlf_lines = []\n  try:\n    # Support the UNIX convention of using \"-\" for stdin.  Note that\n    # we are not opening the file with universal newline support\n    # (which codecs doesn't support anyway), so the resulting lines do\n    # contain trailing '\\r' characters if we are reading a file that\n    # has CRLF endings.\n    # If after the split a trailing '\\r' is present, it is removed\n    # below.\n    if filename == '-':\n      lines = codecs.StreamReaderWriter(sys.stdin,\n                                        codecs.getreader('utf8'),\n                                        codecs.getwriter('utf8'),\n                                        'replace').read().split('\\n')\n    else:\n      with codecs.open(filename, 'r', 'utf8', 'replace') as target_file:\n        lines = target_file.read().split('\\n')\n\n    # Remove trailing '\\r'.\n    # The -1 accounts for the extra trailing blank line we get from split()\n    for linenum in range(len(lines) - 1):\n      if lines[linenum].endswith('\\r'):\n        lines[linenum] = lines[linenum].rstrip('\\r')\n        crlf_lines.append(linenum + 1)\n      else:\n        lf_lines.append(linenum + 1)\n\n  except IOError:\n    _cpplint_state.PrintError(\n        \"Skipping input '%s': Can't open for reading\\n\" % filename)\n    _RestoreFilters()\n    return\n\n  # Note, if no dot is found, this will give the entire filename as the ext.\n  file_extension = filename[filename.rfind('.') + 1:]\n\n  # When reading from stdin, the extension is unknown, so no cpplint tests\n  # should rely on the extension.\n  if filename != '-' and file_extension not in GetAllExtensions():\n    _cpplint_state.PrintError('Ignoring %s; not a valid file name '\n                     '(%s)\\n' % (filename, ', '.join(GetAllExtensions())))\n  else:\n    ProcessFileData(filename, file_extension, lines, Error,\n                    extra_check_functions)\n\n    # If end-of-line sequences are a mix of LF and CR-LF, issue\n    # warnings on the lines with CR.\n    #\n    # Don't issue any warnings if all lines are uniformly LF or CR-LF,\n    # since critique can handle these just fine, and the style guide\n    # doesn't dictate a particular end of line sequence.\n    #\n    # We can't depend on os.linesep to determine what the desired\n    # end-of-line sequence should be, since that will return the\n    # server-side end-of-line sequence.\n    if lf_lines and crlf_lines:\n      # Warn on every line with CR.  An alternative approach might be to\n      # check whether the file is mostly CRLF or just LF, and warn on the\n      # minority, we bias toward LF here since most tools prefer LF.\n      for linenum in crlf_lines:\n        Error(filename, linenum, 'whitespace/newline', 1,\n              'Unexpected \\\\r (^M) found; better to use only \\\\n')\n\n  # Suppress printing anything if --quiet was passed unless the error\n  # count has increased after processing this file.\n  if not _cpplint_state.quiet or old_errors != _cpplint_state.error_count:\n    _cpplint_state.PrintInfo('Done processing %s\\n' % filename)\n  _RestoreFilters()\n\n\ndef PrintUsage(message):\n  \"\"\"Prints a brief usage string and exits, optionally with an error message.\n\n  Args:\n    message: The optional error message.\n  \"\"\"\n  sys.stderr.write(_USAGE  % (list(GetAllExtensions()),\n       ','.join(list(GetAllExtensions())),\n       GetHeaderExtensions(),\n       ','.join(GetHeaderExtensions())))\n\n  if message:\n    sys.exit('\\nFATAL ERROR: ' + message)\n  else:\n    sys.exit(0)\n\ndef PrintVersion():\n  sys.stdout.write('Cpplint fork (https://github.com/cpplint/cpplint)\\n')\n  sys.stdout.write('cpplint ' + __VERSION__ + '\\n')\n  sys.stdout.write('Python ' + sys.version + '\\n')\n  sys.exit(0)\n\ndef PrintCategories():\n  \"\"\"Prints a list of all the error-categories used by error messages.\n\n  These are the categories used to filter messages via --filter.\n  \"\"\"\n  sys.stderr.write(''.join('  %s\\n' % cat for cat in _ERROR_CATEGORIES))\n  sys.exit(0)\n\n\ndef ParseArguments(args):\n  \"\"\"Parses the command line arguments.\n\n  This may set the output format and verbosity level as side-effects.\n\n  Args:\n    args: The command line arguments:\n\n  Returns:\n    The list of filenames to lint.\n  \"\"\"\n  try:\n    (opts, filenames) = getopt.getopt(args, '', ['help', 'output=', 'verbose=',\n                                                 'v=',\n                                                 'version',\n                                                 'counting=',\n                                                 'filter=',\n                                                 'root=',\n                                                 'repository=',\n                                                 'linelength=',\n                                                 'extensions=',\n                                                 'exclude=',\n                                                 'recursive',\n                                                 'headers=',\n                                                 'includeorder=',\n                                                 'quiet'])\n  except getopt.GetoptError:\n    PrintUsage('Invalid arguments.')\n\n  verbosity = _VerboseLevel()\n  output_format = _OutputFormat()\n  filters = ''\n  quiet = _Quiet()\n  counting_style = ''\n  recursive = False\n\n  for (opt, val) in opts:\n    if opt == '--help':\n      PrintUsage(None)\n    if opt == '--version':\n      PrintVersion()\n    elif opt == '--output':\n      if val not in ('emacs', 'vs7', 'eclipse', 'junit', 'sed', 'gsed'):\n        PrintUsage('The only allowed output formats are emacs, vs7, eclipse '\n                   'sed, gsed and junit.')\n      output_format = val\n    elif opt == '--quiet':\n      quiet = True\n    elif opt == '--verbose' or opt == '--v':\n      verbosity = int(val)\n    elif opt == '--filter':\n      filters = val\n      if not filters:\n        PrintCategories()\n    elif opt == '--counting':\n      if val not in ('total', 'toplevel', 'detailed'):\n        PrintUsage('Valid counting options are total, toplevel, and detailed')\n      counting_style = val\n    elif opt == '--root':\n      global _root\n      _root = val\n    elif opt == '--repository':\n      global _repository\n      _repository = val\n    elif opt == '--linelength':\n      global _line_length\n      try:\n        _line_length = int(val)\n      except ValueError:\n        PrintUsage('Line length must be digits.')\n    elif opt == '--exclude':\n      global _excludes\n      if not _excludes:\n        _excludes = set()\n      _excludes.update(glob.glob(val))\n    elif opt == '--extensions':\n      ProcessExtensionsOption(val)\n    elif opt == '--headers':\n      ProcessHppHeadersOption(val)\n    elif opt == '--recursive':\n      recursive = True\n    elif opt == '--includeorder':\n      ProcessIncludeOrderOption(val)\n\n  if not filenames:\n    PrintUsage('No files were specified.')\n\n  if recursive:\n    filenames = _ExpandDirectories(filenames)\n\n  if _excludes:\n    filenames = _FilterExcludedFiles(filenames)\n\n  _SetOutputFormat(output_format)\n  _SetQuiet(quiet)\n  _SetVerboseLevel(verbosity)\n  _SetFilters(filters)\n  _SetCountingStyle(counting_style)\n\n  filenames.sort()\n  return filenames\n\ndef _ExpandDirectories(filenames):\n  \"\"\"Searches a list of filenames and replaces directories in the list with\n  all files descending from those directories. Files with extensions not in\n  the valid extensions list are excluded.\n\n  Args:\n    filenames: A list of files or directories\n\n  Returns:\n    A list of all files that are members of filenames or descended from a\n    directory in filenames\n  \"\"\"\n  expanded = set()\n  for filename in filenames:\n    if not os.path.isdir(filename):\n      expanded.add(filename)\n      continue\n\n    for root, _, files in os.walk(filename):\n      for loopfile in files:\n        fullname = os.path.join(root, loopfile)\n        if fullname.startswith('.' + os.path.sep):\n          fullname = fullname[len('.' + os.path.sep):]\n        expanded.add(fullname)\n\n  filtered = []\n  for filename in expanded:\n    if os.path.splitext(filename)[1][1:] in GetAllExtensions():\n      filtered.append(filename)\n  return filtered\n\ndef _FilterExcludedFiles(fnames):\n  \"\"\"Filters out files listed in the --exclude command line switch. File paths\n  in the switch are evaluated relative to the current working directory\n  \"\"\"\n  exclude_paths = [os.path.abspath(f) for f in _excludes]\n  # because globbing does not work recursively, exclude all subpath of all excluded entries\n  return [f for f in fnames\n          if not any(e for e in exclude_paths\n                  if _IsParentOrSame(e, os.path.abspath(f)))]\n\ndef _IsParentOrSame(parent, child):\n  \"\"\"Return true if child is subdirectory of parent.\n  Assumes both paths are absolute and don't contain symlinks.\n  \"\"\"\n  parent = os.path.normpath(parent)\n  child = os.path.normpath(child)\n  if parent == child:\n    return True\n\n  prefix = os.path.commonprefix([parent, child])\n  if prefix != parent:\n    return False\n  # Note: os.path.commonprefix operates on character basis, so\n  # take extra care of situations like '/foo/ba' and '/foo/bar/baz'\n  child_suffix = child[len(prefix):]\n  child_suffix = child_suffix.lstrip(os.sep)\n  return child == os.path.join(prefix, child_suffix)\n\ndef main():\n  filenames = ParseArguments(sys.argv[1:])\n  backup_err = sys.stderr\n  try:\n    # Change stderr to write with replacement characters so we don't die\n    # if we try to print something containing non-ASCII characters.\n    sys.stderr = codecs.StreamReader(sys.stderr, 'replace')\n\n    _cpplint_state.ResetErrorCounts()\n    for filename in filenames:\n      ProcessFile(filename, _cpplint_state.verbose_level)\n    # If --quiet is passed, suppress printing error count unless there are errors.\n    if not _cpplint_state.quiet or _cpplint_state.error_count > 0:\n      _cpplint_state.PrintErrorCounts()\n\n    if _cpplint_state.output_format == 'junit':\n      sys.stderr.write(_cpplint_state.FormatJUnitXML())\n\n  finally:\n    sys.stderr = backup_err\n\n  sys.exit(_cpplint_state.error_count > 0)\n\n\nif __name__ == '__main__':\n  main()\n"
  },
  {
    "path": "deps/cpplint/cpplint_clitest.py",
    "content": "#!/usr/bin/env python\n# -*- coding: utf-8; -*-\n#\n# Copyright (c) 2009 Google Inc. All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are\n# met:\n#\n#    * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n#    * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n#    * Neither the name of Google Inc. nor the names of its\n# contributors may be used to endorse or promote products derived from\n# this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n\"\"\"Command Line interface integration test for cpplint.py.\"\"\"\n\nimport os\nimport sys\nimport subprocess\nimport unittest\nimport shutil\nimport tempfile\nfrom testfixtures import compare\n\nBASE_CMD = sys.executable + ' ' + os.path.abspath('./cpplint.py ')\n\ndef RunShellCommand(cmd, cwd='.'):\n    \"\"\"\n    executes a command\n    :param cmd: A string to execute.\n    :param cwd: from which folder to run.\n    \"\"\"\n\n    stdout_target = subprocess.PIPE\n    stderr_target = subprocess.PIPE\n\n    proc = subprocess.Popen(cmd,\n                            shell=True,\n                            cwd=cwd,\n                            stdout=stdout_target,\n                            stderr=stderr_target)\n    out, err = proc.communicate()\n    # print(err) # to get the output at time of test\n    return (proc.returncode, out, err)\n\n\nclass UsageTest(unittest.TestCase):\n\n    def testHelp(self):\n        (status, out, err) = RunShellCommand(BASE_CMD + ' --help')\n        self.assertEqual(0, status)\n        self.assertEqual(b'', out)\n        self.assertTrue(err.startswith(b'\\nSyntax: cpplint'))\n\nclass TemporaryFolderClassSetup(object):\n    \"\"\"\n    Regression tests: The test starts a filetreewalker scanning for files name *.def\n    Such files are expected to have as first line the argument\n    to a cpplint invocation from within the same directory, as second line the\n    expected status code, then the line count of stdout lines,\n    then the stdout lines, and all other lines the expected\n    systemerr output (two blank lines at end).\n    \"\"\"\n\n    @classmethod\n    def setUpClass(cls):\n        \"\"\"setup tmp folder for testing with samples and custom additions by subclasses\"\"\"\n        try:\n            cls._root = os.path.realpath(tempfile.mkdtemp())\n            shutil.copytree('samples', os.path.join(cls._root, 'samples'))\n            cls.prepare_directory(cls._root)\n        except Exception as e:\n            try:\n                cls.tearDownClass()\n            except Exception as e2:\n                pass\n            raise\n\n    @classmethod\n    def tearDownClass(cls):\n        if (cls._root):\n            # pass\n            shutil.rmtree(cls._root)\n\n    @classmethod\n    def prepare_directory(cls, root):\n        \"\"\"Override in subclass to manipulate temporary samples root folder before tests\"\"\"\n        pass\n\n    def get_extra_command_args(self, cwd):\n        \"\"\"Override in subclass to add arguments to command\"\"\"\n        return ''\n\n    def checkAllInFolder(self, foldername, expectedDefs):\n        # uncomment to show complete diff\n        # self.maxDiff = None\n        count = 0\n        for dirpath, _, fnames in os.walk(foldername):\n            for f in fnames:\n                if f.endswith('.def'):\n                    count += 1\n                    self._checkDef(os.path.join(dirpath, f))\n        self.assertEqual(count, expectedDefs)\n\n    def _checkDef(self, path):\n        \"\"\"runs command and compares to expected output from def file\"\"\"\n        # self.maxDiff = None # to see full diff\n        with open(path, 'rb') as filehandle:\n            datalines = filehandle.readlines()\n            stdoutLines = int(datalines[2])\n            self._runAndCheck(path,\n                              datalines[0].decode('utf8').strip(),\n                              int(datalines[1]),\n                              [line.decode('utf8').strip() for line in datalines[3:3 + stdoutLines]],\n                              [line.decode('utf8').strip() for line in datalines[3 + stdoutLines:]])\n\n    def _runAndCheck(\n            self,\n            definition_file,\n            args,\n            expected_status,\n            expected_out,\n            expected_err\n    ):\n        rel_cwd = os.path.dirname(definition_file)\n        cmd = BASE_CMD + self.get_extra_command_args(rel_cwd) + args\n        cwd = os.path.join(self._root, rel_cwd)\n        # command to reproduce, do not forget first two lines have special meaning\n        print(\"\\ncd \" + cwd + \" && \" + cmd + \" 2> <filename>\")\n        (status, out, err) = RunShellCommand(cmd, cwd)\n        self.assertEqual(expected_status, status, 'bad command status %s' % status)\n        prefix = 'Failed check in %s comparing to %s for command: %s' % (cwd, definition_file, cmd)\n        compare('\\n'.join(expected_err), err.decode('utf8'), prefix=prefix, show_whitespace=True)\n        compare('\\n'.join(expected_out), out.decode('utf8'), prefix=prefix, show_whitespace=True)\n\n\nclass NoRepoSignatureTests(TemporaryFolderClassSetup, unittest.TestCase):\n    \"\"\"runs in a temporary folder (under /tmp in linux) without any .git/.hg/.svn file\"\"\"\n\n    def get_extra_command_args(self, cwd):\n        return (' --repository %s ' % self._root)\n\n    def testChromiumSample(self):\n        self.checkAllInFolder('./samples/chromium-sample', 1)\n\n    def testVlcSample(self):\n        self.checkAllInFolder('./samples/vlc-sample', 1)\n\n    def testSillySample(self):\n        self.checkAllInFolder('./samples/silly-sample', 4)\n\n    def testBoostSample(self):\n        self.checkAllInFolder('./samples/boost-sample', 4)\n\n    def testProtobufSample(self):\n        self.checkAllInFolder('./samples/protobuf-sample', 1)\n\n    def testCodeliteSample(self):\n        self.checkAllInFolder('./samples/codelite-sample', 1)\n\n    def testV8Sample(self):\n        self.checkAllInFolder('./samples/v8-sample', 1)\n\nclass GitRepoSignatureTests(TemporaryFolderClassSetup, unittest.TestCase):\n    \"\"\"runs in a temporary folder with .git file\"\"\"\n\n    @classmethod\n    def prepare_directory(cls, root):\n        with open(os.path.join(root, '.git'), 'a'):\n            pass\n\n    def testCodeliteSample(self):\n        self.checkAllInFolder('./samples/codelite-sample', 1)\n\nclass MercurialRepoSignatureTests(TemporaryFolderClassSetup, unittest.TestCase):\n    \"\"\"runs in a temporary folder with .hg file\"\"\"\n\n    @classmethod\n    def prepare_directory(cls, root):\n        with open(os.path.join(root, '.hg'), 'a'):\n            pass\n\n    def testCodeliteSample(self):\n        self.checkAllInFolder('./samples/codelite-sample', 1)\n\nclass SvnRepoSignatureTests(TemporaryFolderClassSetup, unittest.TestCase):\n    \"\"\"runs in a temporary folder with .svn file\"\"\"\n\n    @classmethod\n    def prepare_directory(cls, root):\n        with open(os.path.join(root, '.svn'), 'a'):\n            pass\n\n    def testCodeliteSample(self):\n        self.checkAllInFolder('./samples/codelite-sample', 1)\n\nif __name__ == '__main__':\n    unittest.main()\n"
  },
  {
    "path": "deps/cpplint/cpplint_unittest.py",
    "content": "#!/usr/bin/env python\n# -*- coding: utf-8; -*-\n#\n# Copyright (c) 2009 Google Inc. All rights reserved.\n#\n# Redistribution and use in source and binary forms, with or without\n# modification, are permitted provided that the following conditions are\n# met:\n#\n#    * Redistributions of source code must retain the above copyright\n# notice, this list of conditions and the following disclaimer.\n#    * Redistributions in binary form must reproduce the above\n# copyright notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n#    * Neither the name of Google Inc. nor the names of its\n# contributors may be used to endorse or promote products derived from\n# this software without specific prior written permission.\n#\n# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n# \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n\"\"\"Unit test for cpplint.py.\"\"\"\n\n# TODO(unknown): Add a good test that tests UpdateIncludeState.\n\nimport codecs\nimport os\nimport random\nimport re\nimport shutil\nimport subprocess\nimport sys\nimport tempfile\nimport unittest\nimport pytest\n\nimport cpplint\n\ntry:\n  xrange          # Python 2\nexcept NameError:\n  #  -- pylint: disable=redefined-builtin\n  xrange = range  # Python 3\n\ntry:\n  unicode\nexcept NameError:\n  #  -- pylint: disable=redefined-builtin\n  basestring = unicode = str\n\ntry:\n  long(2)\nexcept NameError:\n  #  -- pylint: disable=redefined-builtin\n  long = int\n\ndef unicode_escape_decode(x):\n  if sys.version_info < (3,):\n    return codecs.unicode_escape_decode(x)[0]\n  else:\n    return x\n\ndef codecs_latin_encode(x):\n  if sys.version_info < (3,):\n    return x\n  else:\n    return codecs.latin_1_encode(x)[0]\n\n# This class works as an error collector and replaces cpplint.Error\n# function for the unit tests.  We also verify each category we see\n# is in cpplint._ERROR_CATEGORIES, to help keep that list up to date.\nclass ErrorCollector(object):\n  # These are a global list, covering all categories seen ever.\n  _ERROR_CATEGORIES = cpplint._ERROR_CATEGORIES\n  _SEEN_ERROR_CATEGORIES = {}\n\n  def __init__(self, assert_fn):\n    \"\"\"assert_fn: a function to call when we notice a problem.\"\"\"\n    self._assert_fn = assert_fn\n    self._errors = []\n    cpplint.ResetNolintSuppressions()\n\n  def __call__(self, unused_filename, linenum,\n               category, confidence, message):\n    self._assert_fn(category in self._ERROR_CATEGORIES,\n                    'Message \"%s\" has category \"%s\",'\n                    ' which is not in _ERROR_CATEGORIES' % (message, category))\n    self._SEEN_ERROR_CATEGORIES[category] = 1\n    if cpplint._ShouldPrintError(category, confidence, linenum):\n      self._errors.append('%s  [%s] [%d]' % (message, category, confidence))\n\n  def Results(self):\n    if len(self._errors) < 2:\n      return ''.join(self._errors)  # Most tests expect to have a string.\n    else:\n      return self._errors  # Let's give a list if there is more than one.\n\n  def ResultList(self):\n    return self._errors\n\n  def VerifyAllCategoriesAreSeen(self):\n    \"\"\"Fails if there's a category in _ERROR_CATEGORIES~_SEEN_ERROR_CATEGORIES.\n\n    This should only be called after all tests are run, so\n    _SEEN_ERROR_CATEGORIES has had a chance to fully populate.  Since\n    this isn't called from within the normal unittest framework, we\n    can't use the normal unittest assert macros.  Instead we just exit\n    when we see an error.  Good thing this test is always run last!\n    \"\"\"\n    for category in self._ERROR_CATEGORIES:\n      if category not in self._SEEN_ERROR_CATEGORIES:\n        sys.exit('FATAL ERROR: There are no tests for category \"%s\"' % category)\n\n  def RemoveIfPresent(self, substr):\n    for (index, error) in enumerate(self._errors):\n      if error.find(substr) != -1:\n        self._errors = self._errors[0:index] + self._errors[(index + 1):]\n        break\n\n# This class is a lame mock of codecs. We do not verify filename, mode, or\n# encoding, but for the current use case it is not needed.\nclass MockIo(object):\n\n  def __init__(self, mock_file):\n    # wrap list to allow \"with open(mock)\"\n    class EnterableList(list):\n      def __enter__(self):\n        return self\n      def __exit__(self, type, value, tb):\n        return self\n    self.mock_file = EnterableList(mock_file)\n\n  def open(self,  # pylint: disable=C6409\n           unused_filename, unused_mode, unused_encoding, _):\n    return self.mock_file\n\n\nclass CpplintTestBase(unittest.TestCase):\n  \"\"\"Provides some useful helper functions for cpplint tests.\"\"\"\n\n  def setUp(self):\n    # Allow subclasses to cheat os.path.abspath called in FileInfo class.\n    self.os_path_abspath_orig = os.path.abspath\n\n  def tearDown(self):\n    os.path.abspath = self.os_path_abspath_orig\n\n  # Perform lint on single line of input and return the error message.\n  def PerformSingleLineLint(self, code):\n    error_collector = ErrorCollector(self.assert_)\n    lines = code.split('\\n')\n    cpplint.RemoveMultiLineComments('foo.h', lines, error_collector)\n    clean_lines = cpplint.CleansedLines(lines)\n    include_state = cpplint._IncludeState()\n    function_state = cpplint._FunctionState()\n    nesting_state = cpplint.NestingState()\n    cpplint.ProcessLine('foo.cc', 'cc', clean_lines, 0,\n                        include_state, function_state,\n                        nesting_state, error_collector)\n    # Single-line lint tests are allowed to fail the 'unlintable function'\n    # check.\n    error_collector.RemoveIfPresent(\n        'Lint failed to find start of function body.')\n    return error_collector.Results()\n\n  # Perform lint over multiple lines and return the error message.\n  def PerformMultiLineLint(self, code):\n    error_collector = ErrorCollector(self.assert_)\n    lines = code.split('\\n')\n    cpplint.RemoveMultiLineComments('foo.h', lines, error_collector)\n    lines = cpplint.CleansedLines(lines)\n    nesting_state = cpplint.NestingState()\n    for i in xrange(lines.NumLines()):\n      nesting_state.Update('foo.h', lines, i, error_collector)\n      cpplint.CheckStyle('foo.h', lines, i, 'h', nesting_state,\n                         error_collector)\n      cpplint.CheckForNonStandardConstructs('foo.h', lines, i,\n                                            nesting_state, error_collector)\n    nesting_state.CheckCompletedBlocks('foo.h', error_collector)\n    return error_collector.Results()\n\n  # Similar to PerformMultiLineLint, but calls CheckLanguage instead of\n  # CheckForNonStandardConstructs\n  def PerformLanguageRulesCheck(self, file_name, code):\n    error_collector = ErrorCollector(self.assert_)\n    include_state = cpplint._IncludeState()\n    nesting_state = cpplint.NestingState()\n    lines = code.split('\\n')\n    cpplint.RemoveMultiLineComments(file_name, lines, error_collector)\n    lines = cpplint.CleansedLines(lines)\n    ext = file_name[file_name.rfind('.') + 1:]\n    for i in xrange(lines.NumLines()):\n      cpplint.CheckLanguage(file_name, lines, i, ext, include_state,\n                            nesting_state, error_collector)\n    return error_collector.Results()\n\n  def PerformFunctionLengthsCheck(self, code):\n    \"\"\"Perform Lint function length check on block of code and return warnings.\n\n    Builds up an array of lines corresponding to the code and strips comments\n    using cpplint functions.\n\n    Establishes an error collector and invokes the function length checking\n    function following cpplint's pattern.\n\n    Args:\n      code: C++ source code expected to generate a warning message.\n\n    Returns:\n      The accumulated errors.\n    \"\"\"\n    file_name = 'foo.cc'\n    error_collector = ErrorCollector(self.assert_)\n    function_state = cpplint._FunctionState()\n    lines = code.split('\\n')\n    cpplint.RemoveMultiLineComments(file_name, lines, error_collector)\n    lines = cpplint.CleansedLines(lines)\n    for i in xrange(lines.NumLines()):\n      cpplint.CheckForFunctionLengths(file_name, lines, i,\n                                      function_state, error_collector)\n    return error_collector.Results()\n\n  def PerformIncludeWhatYouUse(self, code, filename='foo.h', io=codecs):\n    # First, build up the include state.\n    error_collector = ErrorCollector(self.assert_)\n    include_state = cpplint._IncludeState()\n    nesting_state = cpplint.NestingState()\n    lines = code.split('\\n')\n    cpplint.RemoveMultiLineComments(filename, lines, error_collector)\n    lines = cpplint.CleansedLines(lines)\n    for i in xrange(lines.NumLines()):\n      cpplint.CheckLanguage(filename, lines, i, '.h', include_state,\n                            nesting_state, error_collector)\n    # We could clear the error_collector here, but this should\n    # also be fine, since our IncludeWhatYouUse unittests do not\n    # have language problems.\n\n    # Second, look for missing includes.\n    cpplint.CheckForIncludeWhatYouUse(filename, lines, include_state,\n                                      error_collector, io)\n    return error_collector.Results()\n\n  # Perform lint and compare the error message with \"expected_message\".\n  def TestLint(self, code, expected_message):\n    self.assertEquals(expected_message, self.PerformSingleLineLint(code))\n\n  def TestMultiLineLint(self, code, expected_message):\n    self.assertEquals(expected_message, self.PerformMultiLineLint(code))\n\n  def TestMultiLineLintRE(self, code, expected_message_re):\n    message = self.PerformMultiLineLint(code)\n    if not re.search(expected_message_re, message):\n      self.fail('Message was:\\n' + message + 'Expected match to \"' +\n                expected_message_re + '\"')\n\n  def TestLanguageRulesCheck(self, file_name, code, expected_message):\n    self.assertEquals(expected_message,\n                      self.PerformLanguageRulesCheck(file_name, code))\n\n  def TestIncludeWhatYouUse(self, code, expected_message):\n    self.assertEquals(expected_message,\n                      self.PerformIncludeWhatYouUse(code))\n\n  def TestBlankLinesCheck(self, lines, start_errors, end_errors):\n    for extension in ['c', 'cc', 'cpp', 'cxx', 'c++', 'cu']:\n      self.doTestBlankLinesCheck(lines, start_errors, end_errors, extension)\n\n  def doTestBlankLinesCheck(self, lines, start_errors, end_errors, extension):\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData('foo.' + extension, extension, lines, error_collector)\n    self.assertEquals(\n        start_errors,\n        error_collector.Results().count(\n            'Redundant blank line at the start of a code block '\n            'should be deleted.  [whitespace/blank_line] [2]'))\n    self.assertEquals(\n        end_errors,\n        error_collector.Results().count(\n            'Redundant blank line at the end of a code block '\n            'should be deleted.  [whitespace/blank_line] [3]'))\n\n\nclass CpplintTest(CpplintTestBase):\n\n  def GetNamespaceResults(self, lines):\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.RemoveMultiLineComments('foo.h', lines, error_collector)\n    lines = cpplint.CleansedLines(lines)\n    nesting_state = cpplint.NestingState()\n    for i in xrange(lines.NumLines()):\n      nesting_state.Update('foo.h', lines, i, error_collector)\n      cpplint.CheckForNamespaceIndentation('foo.h', nesting_state,\n                                           lines, i, error_collector)\n\n    return error_collector.Results()\n\n  def testForwardDeclarationNameSpaceIndentation(self):\n    lines = ['namespace Test {',\n             '  class ForwardDeclaration;',\n             '}  // namespace Test']\n\n    results = self.GetNamespaceResults(lines)\n    self.assertEquals(results, 'Do not indent within a namespace '\n                      ' [runtime/indentation_namespace] [4]')\n\n  def testNameSpaceIndentationForClass(self):\n    lines = ['namespace Test {',\n             'void foo() { }',\n             '  class Test {',\n             '  };',\n             '}  // namespace Test']\n\n    results = self.GetNamespaceResults(lines)\n    self.assertEquals(results, 'Do not indent within a namespace '\n                      ' [runtime/indentation_namespace] [4]')\n\n  def testNameSpaceIndentationNoError(self):\n    lines = ['namespace Test {',\n             'void foo() { }',\n             '}  // namespace Test']\n\n    results = self.GetNamespaceResults(lines)\n    self.assertEquals(results, '')\n\n  def testWhitespaceBeforeNamespace(self):\n    lines = ['  namespace Test {',\n             '  void foo() { }',\n             '  }  // namespace Test']\n\n    results = self.GetNamespaceResults(lines)\n    self.assertEquals(results, '')\n\n  def testFalsePositivesNoError(self):\n    lines = ['namespace Test {',\n             'struct OuterClass {',\n             '  struct NoFalsePositivesHere;',\n             '  struct NoFalsePositivesHere member_variable;',\n             '};',\n             '}  // namespace Test']\n\n    results = self.GetNamespaceResults(lines)\n    self.assertEquals(results, '')\n\n\n  # Test get line width.\n  def testGetLineWidth(self):\n    self.assertEquals(0, cpplint.GetLineWidth(''))\n    self.assertEquals(10, cpplint.GetLineWidth(unicode('x') * 10))\n    self.assertEquals(16, cpplint.GetLineWidth(unicode_escape_decode('\\u90fd|\\u9053|\\u5e9c|\\u770c|\\u652f\\u5e81')))\n    self.assertEquals(16, cpplint.GetLineWidth(u'都|道|府|県|支庁'))\n    self.assertEquals(5 + 13 + 9, cpplint.GetLineWidth(\n        u'd𝐱/dt' + u'f : t ⨯ 𝐱 → ℝ' + u't ⨯ 𝐱 → ℝ'))\n\n  def testGetTextInside(self):\n    self.assertEquals('', cpplint._GetTextInside('fun()', r'fun\\('))\n    self.assertEquals('x, y', cpplint._GetTextInside('f(x, y)', r'f\\('))\n    self.assertEquals('a(), b(c())', cpplint._GetTextInside(\n        'printf(a(), b(c()))', r'printf\\('))\n    self.assertEquals('x, y{}', cpplint._GetTextInside('f[x, y{}]', r'f\\['))\n    self.assertEquals(None, cpplint._GetTextInside('f[a, b(}]', r'f\\['))\n    self.assertEquals(None, cpplint._GetTextInside('f[x, y]', r'f\\('))\n    self.assertEquals('y, h(z, (a + b))', cpplint._GetTextInside(\n        'f(x, g(y, h(z, (a + b))))', r'g\\('))\n    self.assertEquals('f(f(x))', cpplint._GetTextInside('f(f(f(x)))', r'f\\('))\n    # Supports multiple lines.\n    self.assertEquals('\\n  return loop(x);\\n',\n                      cpplint._GetTextInside(\n                          'int loop(int x) {\\n  return loop(x);\\n}\\n', r'\\{'))\n    # '^' matches the beginning of each line.\n    self.assertEquals('x, y',\n                      cpplint._GetTextInside(\n                          '#include \"inl.h\"  // skip #define\\n'\n                          '#define A2(x, y) a_inl_(x, y, __LINE__)\\n'\n                          '#define A(x) a_inl_(x, \"\", __LINE__)\\n',\n                          r'^\\s*#define\\s*\\w+\\('))\n\n  def testFindNextMultiLineCommentStart(self):\n    self.assertEquals(1, cpplint.FindNextMultiLineCommentStart([''], 0))\n\n    lines = ['a', 'b', '/* c']\n    self.assertEquals(2, cpplint.FindNextMultiLineCommentStart(lines, 0))\n\n    lines = ['char a[] = \"/*\";']  # not recognized as comment.\n    self.assertEquals(1, cpplint.FindNextMultiLineCommentStart(lines, 0))\n\n  def testFindNextMultiLineCommentEnd(self):\n    self.assertEquals(1, cpplint.FindNextMultiLineCommentEnd([''], 0))\n    lines = ['a', 'b', ' c */']\n    self.assertEquals(2, cpplint.FindNextMultiLineCommentEnd(lines, 0))\n\n  def testRemoveMultiLineCommentsFromRange(self):\n    lines = ['a', '  /* comment ', ' * still comment', ' comment */   ', 'b']\n    cpplint.RemoveMultiLineCommentsFromRange(lines, 1, 4)\n    self.assertEquals(['a', '/**/', '/**/', '/**/', 'b'], lines)\n\n  def testSpacesAtEndOfLine(self):\n    self.TestLint(\n        '// Hello there ',\n        'Line ends in whitespace.  Consider deleting these extra spaces.'\n        '  [whitespace/end_of_line] [4]')\n\n  # Test line length check.\n  def testLineLengthCheck(self):\n    self.TestLint(\n        '// Hello',\n        '')\n    self.TestLint(\n        '// x' + ' x' * 40,\n        'Lines should be <= 80 characters long'\n        '  [whitespace/line_length] [2]')\n    self.TestLint(\n        '// x' + ' x' * 50,\n        'Lines should be <= 80 characters long'\n        '  [whitespace/line_length] [2]')\n    self.TestLint(\n        '// //some/path/to/f' + ('i' * 100) + 'le',\n        '')\n    self.TestLint(\n        '//   //some/path/to/f' + ('i' * 100) + 'le',\n        '')\n    self.TestLint(\n        '//   //some/path/to/f' + ('i' * 50) + 'le and some comments',\n        'Lines should be <= 80 characters long'\n        '  [whitespace/line_length] [2]')\n    self.TestLint(\n        '// http://g' + ('o' * 100) + 'gle.com/',\n        '')\n    self.TestLint(\n        '//   https://g' + ('o' * 100) + 'gle.com/',\n        '')\n    self.TestLint(\n        '//   https://g' + ('o' * 60) + 'gle.com/ and some comments',\n        'Lines should be <= 80 characters long'\n        '  [whitespace/line_length] [2]')\n    self.TestLint(\n        '// Read https://g' + ('o' * 60) + 'gle.com/',\n        '')\n    self.TestLint(\n        '// $Id: g' + ('o' * 80) + 'gle.cc#1 $',\n        '')\n    self.TestLint(\n        '// $Id: g' + ('o' * 80) + 'gle.cc#1',\n        'Lines should be <= 80 characters long'\n        '  [whitespace/line_length] [2]')\n    self.TestMultiLineLint(\n        'static const char kCStr[] = \"g' + ('o' * 50) + 'gle\";\\n',\n        'Lines should be <= 80 characters long'\n        '  [whitespace/line_length] [2]')\n    self.TestMultiLineLint(\n        'static const char kRawStr[] = R\"(g' + ('o' * 50) + 'gle)\";\\n',\n        '')  # no warning because raw string content is elided\n    self.TestMultiLineLint(\n        'static const char kMultiLineRawStr[] = R\"(\\n'\n        'g' + ('o' * 80) + 'gle\\n'\n        ')\";',\n        '')\n    self.TestMultiLineLint(\n        'static const char kL' + ('o' * 50) + 'ngIdentifier[] = R\"()\";\\n',\n        'Lines should be <= 80 characters long'\n        '  [whitespace/line_length] [2]')\n    self.TestLint(\n        '  /// @copydoc ' + ('o' * (cpplint._line_length * 2)),\n        '')\n    self.TestLint(\n        '  /// @copydetails ' + ('o' * (cpplint._line_length * 2)),\n        '')\n    self.TestLint(\n        '  /// @copybrief ' + ('o' * (cpplint._line_length * 2)),\n        '')\n\n  # Test error suppression annotations.\n  def testErrorSuppression(self):\n    # Two errors on same line:\n    self.TestLint(\n        'long a = (int64) 65;',\n        ['Using C-style cast.  Use static_cast<int64>(...) instead'\n         '  [readability/casting] [4]',\n         'Use int16/int64/etc, rather than the C type long'\n         '  [runtime/int] [4]',\n        ])\n    # One category of error suppressed:\n    self.TestLint(\n        'long a = (int64) 65;  // NOLINT(runtime/int)',\n        'Using C-style cast.  Use static_cast<int64>(...) instead'\n        '  [readability/casting] [4]')\n    # All categories suppressed: (two aliases)\n    self.TestLint('long a = (int64) 65;  // NOLINT', '')\n    self.TestLint('long a = (int64) 65;  // NOLINT(*)', '')\n    # Malformed NOLINT directive:\n    self.TestLint(\n        'long a = 65;  // NOLINT(foo)',\n        ['Unknown NOLINT error category: foo'\n         '  [readability/nolint] [5]',\n         'Use int16/int64/etc, rather than the C type long  [runtime/int] [4]',\n        ])\n    # Irrelevant NOLINT directive has no effect:\n    self.TestLint(\n        'long a = 65;  // NOLINT(readability/casting)',\n        'Use int16/int64/etc, rather than the C type long'\n        '  [runtime/int] [4]')\n    # NOLINTNEXTLINE silences warning for the next line instead of current line\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData('test.cc', 'cc',\n                            ['// Copyright 2014 Your Company.',\n                             '// NOLINTNEXTLINE(whitespace/line_length)',\n                             '//  ./command' + (' -verbose' * 80),\n                             ''],\n                            error_collector)\n    self.assertEquals('', error_collector.Results())\n    # LINT_C_FILE silences cast warnings for entire file.\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData('test.h', 'h',\n                            ['// Copyright 2014 Your Company.',\n                             '// NOLINT(build/header_guard)',\n                             'int64 a = (uint64) 65;',\n                             '//  LINT_C_FILE',\n                             ''],\n                            error_collector)\n    self.assertEquals('', error_collector.Results())\n    # Vim modes silence cast warnings for entire file.\n    for modeline in ['vi:filetype=c',\n                     'vi:sw=8 filetype=c',\n                     'vi:sw=8 filetype=c ts=8',\n                     'vi: filetype=c',\n                     'vi: sw=8 filetype=c',\n                     'vi: sw=8 filetype=c ts=8',\n                     'vim:filetype=c',\n                     'vim:sw=8 filetype=c',\n                     'vim:sw=8 filetype=c ts=8',\n                     'vim: filetype=c',\n                     'vim: sw=8 filetype=c',\n                     'vim: sw=8 filetype=c ts=8',\n                     'vim: set filetype=c:',\n                     'vim: set sw=8 filetype=c:',\n                     'vim: set sw=8 filetype=c ts=8:',\n                     'vim: set filetype=c :',\n                     'vim: set sw=8 filetype=c :',\n                     'vim: set sw=8 filetype=c ts=8 :',\n                     'vim: se filetype=c:',\n                     'vim: se sw=8 filetype=c:',\n                     'vim: se sw=8 filetype=c ts=8:',\n                     'vim: se filetype=c :',\n                     'vim: se sw=8 filetype=c :',\n                     'vim: se sw=8 filetype=c ts=8 :']:\n      error_collector = ErrorCollector(self.assert_)\n      cpplint.ProcessFileData('test.h', 'h',\n                              ['// Copyright 2014 Your Company.',\n                               '// NOLINT(build/header_guard)',\n                               'int64 a = (uint64) 65;',\n                               '/* Prevent warnings about the modeline',\n                               modeline,\n                               '*/',\n                               ''],\n                              error_collector)\n      self.assertEquals('', error_collector.Results())\n    # LINT_KERNEL_FILE silences whitespace/tab warnings for entire file.\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData('test.h', 'h',\n                            ['// Copyright 2014 Your Company.',\n                             '// NOLINT(build/header_guard)',\n                             'struct test {',\n                             '\\tint member;',\n                             '};',\n                             '//  LINT_KERNEL_FILE',\n                             ''],\n                            error_collector)\n    self.assertEquals('', error_collector.Results())\n    # NOLINT, NOLINTNEXTLINE silences the readability/braces warning for \"};\".\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData('test.cc', 'cc',\n                            ['// Copyright 2014 Your Company.',\n                             'for (int i = 0; i != 100; ++i) {',\n                             '  std::cout << i << std::endl;',\n                             '};  // NOLINT',\n                             'for (int i = 0; i != 100; ++i) {',\n                             '  std::cout << i << std::endl;',\n                             '// NOLINTNEXTLINE',\n                             '};',\n                             '//  LINT_KERNEL_FILE',\n                             ''],\n                            error_collector)\n    self.assertEquals('', error_collector.Results())\n\n  # Test Variable Declarations.\n  def testVariableDeclarations(self):\n    self.TestLint(\n        'long a = 65;',\n        'Use int16/int64/etc, rather than the C type long'\n        '  [runtime/int] [4]')\n    self.TestLint(\n        'long double b = 65.0;',\n        '')\n    self.TestLint(\n        'long long aa = 6565;',\n        'Use int16/int64/etc, rather than the C type long'\n        '  [runtime/int] [4]')\n\n  # Test C-style cast cases.\n  def testCStyleCast(self):\n    self.TestLint(\n        'int a = (int)1.0;',\n        'Using C-style cast.  Use static_cast<int>(...) instead'\n        '  [readability/casting] [4]')\n    self.TestLint(\n        'int a = (int)-1.0;',\n        'Using C-style cast.  Use static_cast<int>(...) instead'\n        '  [readability/casting] [4]')\n    self.TestLint(\n        'int *a = (int *)NULL;',\n        'Using C-style cast.  Use reinterpret_cast<int *>(...) instead'\n        '  [readability/casting] [4]')\n\n    self.TestLint(\n        'uint16 a = (uint16)1.0;',\n        'Using C-style cast.  Use static_cast<uint16>(...) instead'\n        '  [readability/casting] [4]')\n    self.TestLint(\n        'int32 a = (int32)1.0;',\n        'Using C-style cast.  Use static_cast<int32>(...) instead'\n        '  [readability/casting] [4]')\n    self.TestLint(\n        'uint64 a = (uint64)1.0;',\n        'Using C-style cast.  Use static_cast<uint64>(...) instead'\n        '  [readability/casting] [4]')\n\n    # These shouldn't be recognized casts.\n    self.TestLint('u a = (u)NULL;', '')\n    self.TestLint('uint a = (uint)NULL;', '')\n    self.TestLint('typedef MockCallback<int(int)> CallbackType;', '')\n    self.TestLint('scoped_ptr< MockCallback<int(int)> > callback_value;', '')\n    self.TestLint('std::function<int(bool)>', '')\n    self.TestLint('x = sizeof(int)', '')\n    self.TestLint('x = alignof(int)', '')\n    self.TestLint('alignas(int) char x[42]', '')\n    self.TestLint('alignas(alignof(x)) char y[42]', '')\n    self.TestLint('void F(int (func)(int));', '')\n    self.TestLint('void F(int (func)(int*));', '')\n    self.TestLint('void F(int (Class::member)(int));', '')\n    self.TestLint('void F(int (Class::member)(int*));', '')\n    self.TestLint('void F(int (Class::member)(int), int param);', '')\n    self.TestLint('void F(int (Class::member)(int*), int param);', '')\n\n    # These should not be recognized (lambda functions without arg names).\n    self.TestLint('[](int/*unused*/) -> bool {', '')\n    self.TestLint('[](int /*unused*/) -> bool {', '')\n    self.TestLint('auto f = [](MyStruct* /*unused*/)->int {', '')\n    self.TestLint('[](int) -> bool {', '')\n    self.TestLint('auto f = [](MyStruct*)->int {', '')\n\n    # Cast with brace initializers\n    self.TestLint('int64_t{4096} * 1000 * 1000', '')\n    self.TestLint('size_t{4096} * 1000 * 1000', '')\n    self.TestLint('uint_fast16_t{4096} * 1000 * 1000', '')\n\n    # Brace initializer with templated type\n    self.TestMultiLineLint(\n        \"\"\"\n        template <typename Type1,\n                  typename Type2>\n        void Function(int arg1,\n                      int arg2) {\n          variable &= ~Type1{0} - 1;\n        }\"\"\",\n        '')\n    self.TestMultiLineLint(\n        \"\"\"\n        template <typename Type>\n        class Class {\n          void Function() {\n            variable &= ~Type{0} - 1;\n          }\n        };\"\"\",\n        '')\n    self.TestMultiLineLint(\n        \"\"\"\n        template <typename Type>\n        class Class {\n          void Function() {\n            variable &= ~Type{0} - 1;\n          }\n        };\"\"\",\n        '')\n    self.TestMultiLineLint(\n        \"\"\"\n        namespace {\n        template <typename Type>\n        class Class {\n          void Function() {\n            if (block) {\n              variable &= ~Type{0} - 1;\n            }\n          }\n        };\n        }\"\"\",\n        '')\n\n  # Test taking address of casts (runtime/casting)\n  def testRuntimeCasting(self):\n    error_msg = ('Are you taking an address of a cast?  '\n                 'This is dangerous: could be a temp var.  '\n                 'Take the address before doing the cast, rather than after'\n                 '  [runtime/casting] [4]')\n    self.TestLint('int* x = &static_cast<int*>(foo);', error_msg)\n    self.TestLint('int* x = &reinterpret_cast<int *>(foo);', error_msg)\n    self.TestLint('int* x = &(int*)foo;',\n                  ['Using C-style cast.  Use reinterpret_cast<int*>(...) '\n                   'instead  [readability/casting] [4]',\n                   error_msg])\n    self.TestLint('BudgetBuckets&(BudgetWinHistory::*BucketFn)(void) const;',\n                  '')\n    self.TestLint('&(*func_ptr)(arg)', '')\n    self.TestLint('Compute(arg, &(*func_ptr)(i, j));', '')\n\n    # Alternative error message\n    alt_error_msg = ('Are you taking an address of something dereferenced '\n                     'from a cast?  Wrapping the dereferenced expression in '\n                     'parentheses will make the binding more obvious'\n                     '  [readability/casting] [4]')\n    self.TestLint('int* x = &down_cast<Obj*>(obj)->member_;', alt_error_msg)\n    self.TestLint('int* x = &down_cast<Obj*>(obj)[index];', alt_error_msg)\n    self.TestLint('int* x = &(down_cast<Obj*>(obj)->member_);', '')\n    self.TestLint('int* x = &(down_cast<Obj*>(obj)[index]);', '')\n    self.TestLint('int* x = &down_cast<Obj*>(obj)\\n->member_;', alt_error_msg)\n    self.TestLint('int* x = &(down_cast<Obj*>(obj)\\n->member_);', '')\n\n    # It's OK to cast an address.\n    self.TestLint('int* x = reinterpret_cast<int *>(&foo);', '')\n\n    # Function pointers returning references should not be confused\n    # with taking address of old-style casts.\n    self.TestLint('auto x = implicit_cast<string &(*)(int)>(&foo);', '')\n\n  def testRuntimeSelfinit(self):\n    self.TestLint(\n        'Foo::Foo(Bar r, Bel l) : r_(r_), l_(l_) { }',\n        'You seem to be initializing a member variable with itself.'\n        '  [runtime/init] [4]')\n    self.TestLint(\n        'Foo::Foo(Bar r, Bel l) : r_(CHECK_NOTNULL(r_)) { }',\n        'You seem to be initializing a member variable with itself.'\n        '  [runtime/init] [4]')\n    self.TestLint(\n        'Foo::Foo(Bar r, Bel l) : r_(r), l_(l) { }',\n        '')\n    self.TestLint(\n        'Foo::Foo(Bar r) : r_(r), l_(r_), ll_(l_) { }',\n        '')\n\n  # Test for unnamed arguments in a method.\n  def testCheckForUnnamedParams(self):\n    self.TestLint('virtual void Func(int*) const;', '')\n    self.TestLint('virtual void Func(int*);', '')\n    self.TestLint('void Method(char*) {', '')\n    self.TestLint('void Method(char*);', '')\n    self.TestLint('static void operator delete[](void*) throw();', '')\n    self.TestLint('int Method(int);', '')\n\n    self.TestLint('virtual void Func(int* p);', '')\n    self.TestLint('void operator delete(void* x) throw();', '')\n    self.TestLint('void Method(char* x) {', '')\n    self.TestLint('void Method(char* /*x*/) {', '')\n    self.TestLint('void Method(char* x);', '')\n    self.TestLint('typedef void (*Method)(int32 x);', '')\n    self.TestLint('static void operator delete[](void* x) throw();', '')\n    self.TestLint('static void operator delete[](void* /*x*/) throw();', '')\n\n    self.TestLint('X operator++(int);', '')\n    self.TestLint('X operator++(int) {', '')\n    self.TestLint('X operator--(int);', '')\n    self.TestLint('X operator--(int /*unused*/) {', '')\n    self.TestLint('MACRO(int);', '')\n    self.TestLint('MACRO(func(int));', '')\n    self.TestLint('MACRO(arg, func(int));', '')\n\n    self.TestLint('void (*func)(void*);', '')\n    self.TestLint('void Func((*func)(void*)) {}', '')\n    self.TestLint('template <void Func(void*)> void func();', '')\n    self.TestLint('virtual void f(int /*unused*/) {', '')\n    self.TestLint('void f(int /*unused*/) override {', '')\n    self.TestLint('void f(int /*unused*/) final {', '')\n\n  # Test deprecated casts such as int(d)\n  def testDeprecatedCast(self):\n    self.TestLint(\n        'int a = int(2.2);',\n        'Using deprecated casting style.  '\n        'Use static_cast<int>(...) instead'\n        '  [readability/casting] [4]')\n\n    self.TestLint(\n        '(char *) \"foo\"',\n        'Using C-style cast.  '\n        'Use const_cast<char *>(...) instead'\n        '  [readability/casting] [4]')\n\n    self.TestLint(\n        '(int*)foo',\n        'Using C-style cast.  '\n        'Use reinterpret_cast<int*>(...) instead'\n        '  [readability/casting] [4]')\n\n    # Checks for false positives...\n    self.TestLint('int a = int();', '')  # constructor\n    self.TestLint('X::X() : a(int()) {}', '')  # default constructor\n    self.TestLint('operator bool();', '')  # Conversion operator\n    self.TestLint('new int64(123);', '')  # \"new\" operator on basic type\n    self.TestLint('new   int64(123);', '')  # \"new\" operator on basic type\n    self.TestLint('new const int(42);', '')  # \"new\" on const-qualified type\n    self.TestLint('using a = bool(int arg);', '')  # C++11 alias-declaration\n    self.TestLint('x = bit_cast<double(*)[3]>(y);', '')  # array of array\n    self.TestLint('void F(const char(&src)[N]);', '')  # array of references\n\n    # Placement new\n    self.TestLint(\n        'new(field_ptr) int(field->default_value_enum()->number());',\n        '')\n\n    # C++11 function wrappers\n    self.TestLint('std::function<int(bool)>', '')\n    self.TestLint('std::function<const int(bool)>', '')\n    self.TestLint('std::function< int(bool) >', '')\n    self.TestLint('mfunction<int(bool)>', '')\n\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData(\n        'test.cc', 'cc',\n        ['// Copyright 2014 Your Company. All Rights Reserved.',\n         'typedef std::function<',\n         '    bool(int)> F;',\n         ''],\n        error_collector)\n    self.assertEquals('', error_collector.Results())\n\n    # Return types for function pointers\n    self.TestLint('typedef bool(FunctionPointer)();', '')\n    self.TestLint('typedef bool(FunctionPointer)(int param);', '')\n    self.TestLint('typedef bool(MyClass::*MemberFunctionPointer)();', '')\n    self.TestLint('typedef bool(MyClass::* MemberFunctionPointer)();', '')\n    self.TestLint('typedef bool(MyClass::*MemberFunctionPointer)() const;', '')\n    self.TestLint('void Function(bool(FunctionPointerArg)());', '')\n    self.TestLint('void Function(bool(FunctionPointerArg)()) {}', '')\n    self.TestLint('typedef set<int64, bool(*)(int64, int64)> SortedIdSet', '')\n    self.TestLint(\n        'bool TraverseNode(T *Node, bool(VisitorBase:: *traverse) (T *t)) {}',\n        '')\n\n  # The second parameter to a gMock method definition is a function signature\n  # that often looks like a bad cast but should not picked up by lint.\n  def testMockMethod(self):\n    self.TestLint(\n        'MOCK_METHOD0(method, int());',\n        '')\n    self.TestLint(\n        'MOCK_CONST_METHOD1(method, float(string));',\n        '')\n    self.TestLint(\n        'MOCK_CONST_METHOD2_T(method, double(float, float));',\n        '')\n    self.TestLint(\n        'MOCK_CONST_METHOD1(method, SomeType(int));',\n        '')\n\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData('mock.cc', 'cc',\n                            ['MOCK_METHOD1(method1,',\n                             '             bool(int));',\n                             'MOCK_METHOD1(',\n                             '    method2,',\n                             '    bool(int));',\n                             'MOCK_CONST_METHOD2(',\n                             '    method3, bool(int,',\n                             '                  int));',\n                             'MOCK_METHOD1(method4, int(bool));',\n                             'const int kConstant = int(42);'],  # true positive\n                            error_collector)\n    self.assertEquals(\n        0,\n        error_collector.Results().count(\n            ('Using deprecated casting style.  '\n             'Use static_cast<bool>(...) instead  '\n             '[readability/casting] [4]')))\n    self.assertEquals(\n        1,\n        error_collector.Results().count(\n            ('Using deprecated casting style.  '\n             'Use static_cast<int>(...) instead  '\n             '[readability/casting] [4]')))\n\n  # Like gMock method definitions, MockCallback instantiations look very similar\n  # to bad casts.\n  def testMockCallback(self):\n    self.TestLint(\n        'MockCallback<bool(int)>',\n        '')\n    self.TestLint(\n        'MockCallback<int(float, char)>',\n        '')\n\n  # Test false errors that happened with some include file names\n  def testIncludeFilenameFalseError(self):\n    self.TestLint(\n        '#include \"foo/long-foo.h\"',\n        '')\n    self.TestLint(\n        '#include \"foo/sprintf.h\"',\n        '')\n\n  # Test typedef cases.  There was a bug that cpplint misidentified\n  # typedef for pointer to function as C-style cast and produced\n  # false-positive error messages.\n  def testTypedefForPointerToFunction(self):\n    self.TestLint(\n        'typedef void (*Func)(int x);',\n        '')\n    self.TestLint(\n        'typedef void (*Func)(int *x);',\n        '')\n    self.TestLint(\n        'typedef void Func(int x);',\n        '')\n    self.TestLint(\n        'typedef void Func(int *x);',\n        '')\n\n  def testIncludeWhatYouUseNoImplementationFiles(self):\n    code = 'std::vector<int> foo;'\n    for extension in ['h', 'hpp', 'hxx', 'h++', 'cuh']:\n      self.assertEquals('Add #include <vector> for vector<>'\n                       '  [build/include_what_you_use] [4]',\n                       self.PerformIncludeWhatYouUse(code, 'foo.' + extension))\n    for extension in ['c', 'cc', 'cpp', 'cxx', 'c++', 'cu']:\n      self.assertEquals('',\n                       self.PerformIncludeWhatYouUse(code, 'foo.' + extension))\n\n  def testIncludeWhatYouUse(self):\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include <vector>\n           std::vector<int> foo;\n        \"\"\",\n        '')\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include <map>\n           std::pair<int,int> foo;\n        \"\"\",\n        'Add #include <utility> for pair<>'\n        '  [build/include_what_you_use] [4]')\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include <multimap>\n           std::pair<int,int> foo;\n        \"\"\",\n        'Add #include <utility> for pair<>'\n        '  [build/include_what_you_use] [4]')\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include <hash_map>\n           std::pair<int,int> foo;\n        \"\"\",\n        'Add #include <utility> for pair<>'\n        '  [build/include_what_you_use] [4]')\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include <hash_map>\n           auto foo = std::make_pair(1, 2);\n        \"\"\",\n        'Add #include <utility> for make_pair'\n        '  [build/include_what_you_use] [4]')\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include <utility>\n           std::pair<int,int> foo;\n        \"\"\",\n        '')\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include <vector>\n           DECLARE_string(foobar);\n        \"\"\",\n        '')\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include <vector>\n           DEFINE_string(foobar, \"\", \"\");\n        \"\"\",\n        '')\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include <vector>\n           std::pair<int,int> foo;\n        \"\"\",\n        'Add #include <utility> for pair<>'\n        '  [build/include_what_you_use] [4]')\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include \"base/foobar.h\"\n           std::vector<int> foo;\n        \"\"\",\n        'Add #include <vector> for vector<>'\n        '  [build/include_what_you_use] [4]')\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include <vector>\n           std::set<int> foo;\n        \"\"\",\n        'Add #include <set> for set<>'\n        '  [build/include_what_you_use] [4]')\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include \"base/foobar.h\"\n          hash_map<int, int> foobar;\n        \"\"\",\n        'Add #include <hash_map> for hash_map<>'\n        '  [build/include_what_you_use] [4]')\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include \"base/containers/hash_tables.h\"\n          base::hash_map<int, int> foobar;\n        \"\"\",\n        '')\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include \"base/foobar.h\"\n           bool foobar = std::less<int>(0,1);\n        \"\"\",\n        'Add #include <functional> for less<>'\n        '  [build/include_what_you_use] [4]')\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include \"base/foobar.h\"\n           bool foobar = min<int>(0,1);\n        \"\"\",\n        'Add #include <algorithm> for min  [build/include_what_you_use] [4]')\n    self.TestIncludeWhatYouUse(\n        'void a(const string &foobar);',\n        'Add #include <string> for string  [build/include_what_you_use] [4]')\n    self.TestIncludeWhatYouUse(\n        'void a(const std::string &foobar);',\n        'Add #include <string> for string  [build/include_what_you_use] [4]')\n    self.TestIncludeWhatYouUse(\n        'void a(const my::string &foobar);',\n        '')  # Avoid false positives on strings in other namespaces.\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include \"base/foobar.h\"\n           bool foobar = swap(0,1);\n        \"\"\",\n        'Add #include <utility> for swap  [build/include_what_you_use] [4]')\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include \"base/foobar.h\"\n           bool foobar = transform(a.begin(), a.end(), b.start(), Foo);\n        \"\"\",\n        'Add #include <algorithm> for transform  '\n        '[build/include_what_you_use] [4]')\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include \"base/foobar.h\"\n           bool foobar = min_element(a.begin(), a.end());\n        \"\"\",\n        'Add #include <algorithm> for min_element  '\n        '[build/include_what_you_use] [4]')\n    self.TestIncludeWhatYouUse(\n        \"\"\"foo->swap(0,1);\n           foo.swap(0,1);\n        \"\"\",\n        '')\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include <string>\n           void a(const std::multimap<int,string> &foobar);\n        \"\"\",\n        'Add #include <map> for multimap<>'\n        '  [build/include_what_you_use] [4]')\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include <string>\n           void a(const std::unordered_map<int,string> &foobar);\n        \"\"\",\n        'Add #include <unordered_map> for unordered_map<>'\n        '  [build/include_what_you_use] [4]')\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include <string>\n           void a(const std::unordered_set<int> &foobar);\n        \"\"\",\n        'Add #include <unordered_set> for unordered_set<>'\n        '  [build/include_what_you_use] [4]')\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include <queue>\n           void a(const std::priority_queue<int> &foobar);\n        \"\"\",\n        '')\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include <assert.h>\n           #include <string>\n           #include <vector>\n           #include \"base/basictypes.h\"\n           #include \"base/port.h\"\n           vector<string> hajoa;\"\"\", '')\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include <string>\n           int i = numeric_limits<int>::max()\n        \"\"\",\n        'Add #include <limits> for numeric_limits<>'\n        '  [build/include_what_you_use] [4]')\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include <limits>\n           int i = numeric_limits<int>::max()\n        \"\"\",\n        '')\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include <string>\n           std::unique_ptr<int> x;\n        \"\"\",\n        'Add #include <memory> for unique_ptr<>'\n        '  [build/include_what_you_use] [4]')\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include <string>\n           auto x = std::make_unique<int>(0);\n        \"\"\",\n        'Add #include <memory> for make_unique<>'\n        '  [build/include_what_you_use] [4]')\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include <vector>\n           vector<int> foo(vector<int> x) { return std::move(x); }\n        \"\"\",\n        'Add #include <utility> for move'\n        '  [build/include_what_you_use] [4]')\n    self.TestIncludeWhatYouUse(\n        \"\"\"#include <string>\n           int a, b;\n           std::swap(a, b);\n        \"\"\",\n        'Add #include <utility> for swap'\n        '  [build/include_what_you_use] [4]')\n    # False positive for std::set\n    self.TestIncludeWhatYouUse(\n        \"\"\"\n        #include <string>\n        struct Foo {\n            template <typename T>\n            void set(const std::string& name, const T& value);\n        };\n        Foo bar;\n        Foo* pbar = &bar;\n        bar.set<int>(\"int\", 5);\n        pbar->set<bool>(\"bool\", false);\"\"\",\n        '')\n    # False positive for std::map\n    self.TestIncludeWhatYouUse(\n        \"\"\"\n        template <typename T>\n        struct Foo {\n            T t;\n        };\n        template <typename T>\n        Foo<T> map(T t) {\n            return Foo<T>{ t };\n        }\n        struct Bar {\n        };\n        auto res = map<Bar>();\n        \"\"\",\n        '')\n\n    # Test the UpdateIncludeState code path.\n    mock_header_contents = ['#include \"blah/foo.h\"', '#include \"blah/bar.h\"']\n    message = self.PerformIncludeWhatYouUse(\n        '#include \"blah/a.h\"',\n        filename='blah/a.cc',\n        io=MockIo(mock_header_contents))\n    self.assertEquals(message, '')\n\n    mock_header_contents = ['#include <set>']\n    message = self.PerformIncludeWhatYouUse(\n        \"\"\"#include \"blah/a.h\"\n           std::set<int> foo;\"\"\",\n        filename='blah/a.cc',\n        io=MockIo(mock_header_contents))\n    self.assertEquals(message, '')\n\n    # Make sure we can find the correct header file if the cc file seems to be\n    # a temporary file generated by Emacs's flymake.\n    mock_header_contents = ['']\n    message = self.PerformIncludeWhatYouUse(\n        \"\"\"#include \"blah/a.h\"\n           std::set<int> foo;\"\"\",\n        filename='blah/a_flymake.cc',\n        io=MockIo(mock_header_contents))\n    self.assertEquals(message, 'Add #include <set> for set<>  '\n                      '[build/include_what_you_use] [4]')\n\n    # If there's just a cc and the header can't be found then it's ok.\n    message = self.PerformIncludeWhatYouUse(\n        \"\"\"#include \"blah/a.h\"\n           std::set<int> foo;\"\"\",\n        filename='blah/a.cc')\n    self.assertEquals(message, '')\n\n    # Make sure we find the headers with relative paths.\n    mock_header_contents = ['']\n    message = self.PerformIncludeWhatYouUse(\n        \"\"\"#include \"%s/a.h\"\n           std::set<int> foo;\"\"\" % os.path.basename(os.getcwd()),\n        filename='a.cc',\n        io=MockIo(mock_header_contents))\n    self.assertEquals(message, 'Add #include <set> for set<>  '\n                      '[build/include_what_you_use] [4]')\n\n  def testFilesBelongToSameModule(self):\n    f = cpplint.FilesBelongToSameModule\n    self.assertEquals((True, ''), f('a.cc', 'a.h'))\n    self.assertEquals((True, ''), f('base/google.cc', 'base/google.h'))\n    self.assertEquals((True, ''), f('base/google_test.c', 'base/google.h'))\n    self.assertEquals((True, ''), f('base/google_test.cc', 'base/google.h'))\n    self.assertEquals((True, ''), f('base/google_test.cc', 'base/google.hpp'))\n    self.assertEquals((True, ''), f('base/google_test.cxx', 'base/google.hxx'))\n    self.assertEquals((True, ''), f('base/google_test.cpp', 'base/google.hpp'))\n    self.assertEquals((True, ''), f('base/google_test.c++', 'base/google.h++'))\n    self.assertEquals((True, ''), f('base/google_test.cu', 'base/google.cuh'))\n    self.assertEquals((True, ''),\n                      f('base/google_unittest.cc', 'base/google.h'))\n    self.assertEquals((True, ''),\n                      f('base/internal/google_unittest.cc',\n                        'base/public/google.h'))\n    self.assertEquals((True, 'xxx/yyy/'),\n                      f('xxx/yyy/base/internal/google_unittest.cc',\n                        'base/public/google.h'))\n    self.assertEquals((True, 'xxx/yyy/'),\n                      f('xxx/yyy/base/google_unittest.cc',\n                        'base/public/google.h'))\n    self.assertEquals((True, ''),\n                      f('base/google_unittest.cc', 'base/google-inl.h'))\n    self.assertEquals((True, '/home/build/google3/'),\n                      f('/home/build/google3/base/google.cc', 'base/google.h'))\n\n    self.assertEquals((False, ''),\n                      f('/home/build/google3/base/google.cc', 'basu/google.h'))\n    self.assertEquals((False, ''), f('a.cc', 'b.h'))\n\n  def testCleanseLine(self):\n    self.assertEquals('int foo = 0;',\n                      cpplint.CleanseComments('int foo = 0;  // danger!'))\n    self.assertEquals('int o = 0;',\n                      cpplint.CleanseComments('int /* foo */ o = 0;'))\n    self.assertEquals('foo(int a, int b);',\n                      cpplint.CleanseComments('foo(int a /* abc */, int b);'))\n    self.assertEqual('f(a, b);',\n                     cpplint.CleanseComments('f(a, /* name */ b);'))\n    self.assertEqual('f(a, b);',\n                     cpplint.CleanseComments('f(a /* name */, b);'))\n    self.assertEqual('f(a, b);',\n                     cpplint.CleanseComments('f(a, /* name */b);'))\n    self.assertEqual('f(a, b, c);',\n                     cpplint.CleanseComments('f(a, /**/b, /**/c);'))\n    self.assertEqual('f(a, b, c);',\n                     cpplint.CleanseComments('f(a, /**/b/**/, c);'))\n\n  def testRawStrings(self):\n    self.TestMultiLineLint(\n      \"\"\"\n      int main() {\n        struct A {\n           A(std::string s, A&& a);\n        };\n      }\"\"\",\n        '')\n\n    self.TestMultiLineLint(\n      \"\"\"\n      template <class T, class D = default_delete<T>> class unique_ptr {\n       public:\n          unique_ptr(unique_ptr&& u) noexcept;\n      };\"\"\",\n        '')\n    self.TestMultiLineLint(\n        \"\"\"\n        void Func() {\n          static const char kString[] = R\"(\n            #endif  <- invalid preprocessor should be ignored\n            */      <- invalid comment should be ignored too\n          )\";\n        }\"\"\",\n        '')\n    self.TestMultiLineLint(\n        \"\"\"\n        void Func() {\n          string s = R\"TrueDelimiter(\n              )\"\n              )FalseDelimiter\"\n              )TrueDelimiter\";\n        }\"\"\",\n        '')\n    self.TestMultiLineLint(\n        \"\"\"\n        void Func() {\n          char char kString[] = R\"(  \";\" )\";\n        }\"\"\",\n        '')\n    self.TestMultiLineLint(\n        \"\"\"\n        static const char kRawString[] = R\"(\n          \\tstatic const int kLineWithTab = 1;\n          static const int kLineWithTrailingWhiteSpace = 1;\\x20\n\n           void WeirdNumberOfSpacesAtLineStart() {\n            string x;\n            x += StrCat(\"Use StrAppend instead\");\n          }\n\n          void BlankLineAtEndOfBlock() {\n            // TODO incorrectly formatted\n            //Badly formatted comment\n\n          }\n\n        )\";\"\"\",\n        '')\n    self.TestMultiLineLint(\n        \"\"\"\n        void Func() {\n          string s = StrCat(R\"TrueDelimiter(\n              )\"\n              )FalseDelimiter\"\n              )TrueDelimiter\", R\"TrueDelimiter2(\n              )\"\n              )FalseDelimiter2\"\n              )TrueDelimiter2\");\n        }\"\"\",\n        '')\n    self.TestMultiLineLint(\n        \"\"\"\n        static SomeStruct kData = {\n            {0, R\"(line1\n                   line2\n                   )\"}\n            };\"\"\",\n        '')\n\n  def testMultiLineComments(self):\n    # missing explicit is bad\n    self.TestMultiLineLint(\n        r\"\"\"int a = 0;\n            /* multi-liner\n            class Foo {\n            Foo(int f);  // should cause a lint warning in code\n            }\n            */ \"\"\",\n        '')\n    self.TestMultiLineLint(\n        r\"\"\"/* int a = 0; multi-liner\n              static const int b = 0;\"\"\",\n        'Could not find end of multi-line comment'\n        '  [readability/multiline_comment] [5]')\n    self.TestMultiLineLint(r\"\"\"  /* multi-line comment\"\"\",\n                           'Could not find end of multi-line comment'\n                           '  [readability/multiline_comment] [5]')\n    self.TestMultiLineLint(r\"\"\"  // /* comment, but not multi-line\"\"\", '')\n    self.TestMultiLineLint(r\"\"\"/**********\n                                 */\"\"\", '')\n    self.TestMultiLineLint(r\"\"\"/**\n                                 * Doxygen comment\n                                 */\"\"\",\n                           '')\n    self.TestMultiLineLint(r\"\"\"/*!\n                                 * Doxygen comment\n                                 */\"\"\",\n                           '')\n\n  def testMultilineStrings(self):\n    multiline_string_error_message = (\n        'Multi-line string (\"...\") found.  This lint script doesn\\'t '\n        'do well with such strings, and may give bogus warnings.  '\n        'Use C++11 raw strings or concatenation instead.'\n        '  [readability/multiline_string] [5]')\n\n    for extension in ['c', 'cc', 'cpp', 'cxx', 'c++', 'cu']:\n      file_path = 'mydir/foo.' + extension\n\n      error_collector = ErrorCollector(self.assert_)\n      cpplint.ProcessFileData(file_path, extension,\n                              ['const char* str = \"This is a\\\\',\n                               ' multiline string.\";'],\n                              error_collector)\n      self.assertEquals(\n          2,  # One per line.\n          error_collector.ResultList().count(multiline_string_error_message))\n\n  # Test non-explicit single-argument constructors\n  def testExplicitSingleArgumentConstructors(self):\n    old_verbose_level = cpplint._cpplint_state.verbose_level\n    cpplint._cpplint_state.verbose_level = 0\n\n    try:\n      # missing explicit is bad\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            Foo(int f);\n          };\"\"\",\n          'Single-parameter constructors should be marked explicit.'\n          '  [runtime/explicit] [5]')\n      # missing explicit is bad, even with whitespace\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            Foo (int f);\n          };\"\"\",\n          ['Extra space before ( in function call  [whitespace/parens] [4]',\n           'Single-parameter constructors should be marked explicit.'\n           '  [runtime/explicit] [5]'])\n      # missing explicit, with distracting comment, is still bad\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            Foo(int f);  // simpler than Foo(blargh, blarg)\n          };\"\"\",\n          'Single-parameter constructors should be marked explicit.'\n          '  [runtime/explicit] [5]')\n      # missing explicit, with qualified classname\n      self.TestMultiLineLint(\n          \"\"\"\n          class Qualifier::AnotherOne::Foo {\n            Foo(int f);\n          };\"\"\",\n          'Single-parameter constructors should be marked explicit.'\n          '  [runtime/explicit] [5]')\n      # missing explicit for inline constructors is bad as well\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            inline Foo(int f);\n          };\"\"\",\n          'Single-parameter constructors should be marked explicit.'\n          '  [runtime/explicit] [5]')\n      # missing explicit for constexpr constructors is bad as well\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            constexpr Foo(int f);\n          };\"\"\",\n          'Single-parameter constructors should be marked explicit.'\n          '  [runtime/explicit] [5]')\n      # missing explicit for constexpr+inline constructors is bad as well\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            constexpr inline Foo(int f);\n          };\"\"\",\n          'Single-parameter constructors should be marked explicit.'\n          '  [runtime/explicit] [5]')\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            inline constexpr Foo(int f);\n          };\"\"\",\n          'Single-parameter constructors should be marked explicit.'\n          '  [runtime/explicit] [5]')\n      # explicit with inline is accepted\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            inline explicit Foo(int f);\n          };\"\"\",\n          '')\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            explicit inline Foo(int f);\n          };\"\"\",\n          '')\n      # explicit with constexpr is accepted\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            constexpr explicit Foo(int f);\n          };\"\"\",\n          '')\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            explicit constexpr Foo(int f);\n          };\"\"\",\n          '')\n      # explicit with constexpr+inline is accepted\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            inline constexpr explicit Foo(int f);\n          };\"\"\",\n          '')\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            explicit inline constexpr Foo(int f);\n          };\"\"\",\n          '')\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            constexpr inline explicit Foo(int f);\n          };\"\"\",\n          '')\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            explicit constexpr inline Foo(int f);\n          };\"\"\",\n          '')\n      # structs are caught as well.\n      self.TestMultiLineLint(\n          \"\"\"\n          struct Foo {\n            Foo(int f);\n          };\"\"\",\n          'Single-parameter constructors should be marked explicit.'\n          '  [runtime/explicit] [5]')\n      # Templatized classes are caught as well.\n      self.TestMultiLineLint(\n          \"\"\"\n          template<typename T> class Foo {\n            Foo(int f);\n          };\"\"\",\n          'Single-parameter constructors should be marked explicit.'\n          '  [runtime/explicit] [5]')\n      # inline case for templatized classes.\n      self.TestMultiLineLint(\n          \"\"\"\n          template<typename T> class Foo {\n            inline Foo(int f);\n          };\"\"\",\n          'Single-parameter constructors should be marked explicit.'\n          '  [runtime/explicit] [5]')\n      # constructors with a default argument should still be marked explicit\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            Foo(int f = 0);\n          };\"\"\",\n          'Constructors callable with one argument should be marked explicit.'\n          '  [runtime/explicit] [5]')\n      # multi-argument constructors with all but one default argument should be\n      # marked explicit\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            Foo(int f, int g = 0);\n          };\"\"\",\n          'Constructors callable with one argument should be marked explicit.'\n          '  [runtime/explicit] [5]')\n      # multi-argument constructors with all default arguments should be marked\n      # explicit\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            Foo(int f = 0, int g = 0);\n          };\"\"\",\n          'Constructors callable with one argument should be marked explicit.'\n          '  [runtime/explicit] [5]')\n      # explicit no-argument constructors are bad\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            explicit Foo();\n          };\"\"\",\n          'Zero-parameter constructors should not be marked explicit.'\n          '  [runtime/explicit] [5]')\n      # void constructors are considered no-argument\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            explicit Foo(void);\n          };\"\"\",\n          'Zero-parameter constructors should not be marked explicit.'\n          '  [runtime/explicit] [5]')\n      # No warning for multi-parameter constructors\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            explicit Foo(int f, int g);\n          };\"\"\",\n          '')\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            explicit Foo(int f, int g = 0);\n          };\"\"\",\n          '')\n      # single-argument constructors that take a function that takes multiple\n      # arguments should be explicit\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            Foo(void (*f)(int f, int g));\n          };\"\"\",\n          'Single-parameter constructors should be marked explicit.'\n          '  [runtime/explicit] [5]')\n      # single-argument constructors that take a single template argument with\n      # multiple parameters should be explicit\n      self.TestMultiLineLint(\n          \"\"\"\n          template <typename T, typename S>\n          class Foo {\n            Foo(Bar<T, S> b);\n          };\"\"\",\n          'Single-parameter constructors should be marked explicit.'\n          '  [runtime/explicit] [5]')\n      # but copy constructors that take multiple template parameters are OK\n      self.TestMultiLineLint(\n          \"\"\"\n          template <typename T, S>\n          class Foo {\n            Foo(Foo<T, S>& f);\n          };\"\"\",\n          '')\n      # proper style is okay\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            explicit Foo(int f);\n          };\"\"\",\n          '')\n      # two argument constructor is okay\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            Foo(int f, int b);\n          };\"\"\",\n          '')\n      # two argument constructor, across two lines, is okay\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            Foo(int f,\n                int b);\n          };\"\"\",\n          '')\n      # non-constructor (but similar name), is okay\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            aFoo(int f);\n          };\"\"\",\n          '')\n      # constructor with void argument is okay\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            Foo(void);\n          };\"\"\",\n          '')\n      # single argument method is okay\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            Bar(int b);\n          };\"\"\",\n          '')\n      # comments should be ignored\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n          // Foo(int f);\n          };\"\"\",\n          '')\n      # single argument function following class definition is okay\n      # (okay, it's not actually valid, but we don't want a false positive)\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            Foo(int f, int b);\n          };\n          Foo(int f);\"\"\",\n          '')\n      # single argument function is okay\n      self.TestMultiLineLint(\n          \"\"\"static Foo(int f);\"\"\",\n          '')\n      # single argument copy constructor is okay.\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            Foo(const Foo&);\n          };\"\"\",\n          '')\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            Foo(volatile Foo&);\n          };\"\"\",\n          '')\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            Foo(volatile const Foo&);\n          };\"\"\",\n          '')\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            Foo(const volatile Foo&);\n          };\"\"\",\n          '')\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            Foo(Foo const&);\n          };\"\"\",\n          '')\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            Foo(Foo&);\n          };\"\"\",\n          '')\n      # templatized copy constructor is okay.\n      self.TestMultiLineLint(\n          \"\"\"\n          template<typename T> class Foo {\n            Foo(const Foo<T>&);\n          };\"\"\",\n          '')\n      # Special case for std::initializer_list\n      self.TestMultiLineLint(\n          \"\"\"\n          class Foo {\n            Foo(std::initializer_list<T> &arg) {}\n          };\"\"\",\n          '')\n      # Special case for variadic arguments\n      error_collector = ErrorCollector(self.assert_)\n      cpplint.ProcessFileData('foo.cc', 'cc',\n          ['class Foo {',\n          '  template<typename... Args>',\n          '  explicit Foo(const int arg, Args&&... args) {}',\n          '};'],\n          error_collector)\n      self.assertEquals(0, error_collector.ResultList().count(\n        'Constructors that require multiple arguments should not be marked '\n        'explicit.  [runtime/explicit] [0]'))\n      error_collector = ErrorCollector(self.assert_)\n      cpplint.ProcessFileData('foo.cc', 'cc',\n          ['class Foo {',\n          '  template<typename... Args>',\n          '  explicit Foo(Args&&... args) {}',\n          '};'],\n          error_collector)\n      self.assertEquals(0, error_collector.ResultList().count(\n        'Constructors that require multiple arguments should not be marked '\n        'explicit.  [runtime/explicit] [0]'))\n      error_collector = ErrorCollector(self.assert_)\n      cpplint.ProcessFileData('foo.cc', 'cc',\n          ['class Foo {',\n          '  template<typename... Args>',\n          '  Foo(const int arg, Args&&... args) {}',\n          '};'],\n          error_collector)\n      self.assertEquals(1, error_collector.ResultList().count(\n        'Constructors callable with one argument should be marked explicit.'\n        '  [runtime/explicit] [5]'))\n      error_collector = ErrorCollector(self.assert_)\n      cpplint.ProcessFileData('foo.cc', 'cc',\n          ['class Foo {',\n          '  template<typename... Args>',\n          '  Foo(Args&&... args) {}',\n          '};'],\n          error_collector)\n      self.assertEquals(1, error_collector.ResultList().count(\n        'Constructors callable with one argument should be marked explicit.'\n        '  [runtime/explicit] [5]'))\n      # Anything goes inside an assembly block\n      error_collector = ErrorCollector(self.assert_)\n      cpplint.ProcessFileData('foo.cc', 'cc',\n                              ['void Func() {',\n                               '  __asm__ (',\n                               '    \"hlt\"',\n                               '  );',\n                               '  asm {',\n                               '    movdqa [edx + 32], xmm2',\n                               '  }',\n                               '}'],\n                              error_collector)\n      self.assertEquals(\n          0,\n          error_collector.ResultList().count(\n              'Extra space before ( in function call  [whitespace/parens] [4]'))\n      self.assertEquals(\n          0,\n          error_collector.ResultList().count(\n              'Closing ) should be moved to the previous line  '\n              '[whitespace/parens] [2]'))\n      self.assertEquals(\n          0,\n          error_collector.ResultList().count(\n              'Extra space before [  [whitespace/braces] [5]'))\n    finally:\n      cpplint._cpplint_state.verbose_level = old_verbose_level\n\n  def testSlashStarCommentOnSingleLine(self):\n    self.TestMultiLineLint(\n        \"\"\"/* static */ Foo(int f);\"\"\",\n        '')\n    self.TestMultiLineLint(\n        \"\"\"/*/ static */  Foo(int f);\"\"\",\n        '')\n    self.TestMultiLineLint(\n        \"\"\"/*/ static Foo(int f);\"\"\",\n        'Could not find end of multi-line comment'\n        '  [readability/multiline_comment] [5]')\n    self.TestMultiLineLint(\n        \"\"\"  /*/ static Foo(int f);\"\"\",\n        'Could not find end of multi-line comment'\n        '  [readability/multiline_comment] [5]')\n    self.TestMultiLineLint(\n        \"\"\"  /**/ static Foo(int f);\"\"\",\n        '')\n\n  # Test suspicious usage of \"if\" like this:\n  # if (a == b) {\n  #   DoSomething();\n  # } if (a == c) {   // Should be \"else if\".\n  #   DoSomething();  // This gets called twice if a == b && a == c.\n  # }\n  def testSuspiciousUsageOfIf(self):\n    self.TestLint(\n        '  if (a == b) {',\n        '')\n    self.TestLint(\n        '  } if (a == b) {',\n        'Did you mean \"else if\"? If not, start a new line for \"if\".'\n        '  [readability/braces] [4]')\n\n  # Test suspicious usage of memset. Specifically, a 0\n  # as the final argument is almost certainly an error.\n  def testSuspiciousUsageOfMemset(self):\n    # Normal use is okay.\n    self.TestLint(\n        '  memset(buf, 0, sizeof(buf))',\n        '')\n\n    # A 0 as the final argument is almost certainly an error.\n    self.TestLint(\n        '  memset(buf, sizeof(buf), 0)',\n        'Did you mean \"memset(buf, 0, sizeof(buf))\"?'\n        '  [runtime/memset] [4]')\n    self.TestLint(\n        '  memset(buf, xsize * ysize, 0)',\n        'Did you mean \"memset(buf, 0, xsize * ysize)\"?'\n        '  [runtime/memset] [4]')\n\n    # There is legitimate test code that uses this form.\n    # This is okay since the second argument is a literal.\n    self.TestLint(\n        \"  memset(buf, 'y', 0)\",\n        '')\n    self.TestLint(\n        '  memset(buf, 4, 0)',\n        '')\n    self.TestLint(\n        '  memset(buf, -1, 0)',\n        '')\n    self.TestLint(\n        '  memset(buf, 0xF1, 0)',\n        '')\n    self.TestLint(\n        '  memset(buf, 0xcd, 0)',\n        '')\n\n  def testRedundantVirtual(self):\n    self.TestLint('virtual void F()', '')\n    self.TestLint('virtual void F();', '')\n    self.TestLint('virtual void F() {}', '')\n\n    message_template = ('\"%s\" is redundant since function is already '\n                        'declared as \"%s\"  [readability/inheritance] [4]')\n    for virt_specifier in ['override', 'final']:\n      error_message = message_template % ('virtual', virt_specifier)\n      self.TestLint('virtual int F() %s' % virt_specifier, error_message)\n      self.TestLint('virtual int F() %s;' % virt_specifier, error_message)\n      self.TestLint('virtual int F() %s {' % virt_specifier, error_message)\n\n      error_collector = ErrorCollector(self.assert_)\n      cpplint.ProcessFileData(\n          'foo.cc', 'cc',\n          ['// Copyright 2014 Your Company.',\n           'virtual void F(int a,',\n           '               int b) ' + virt_specifier + ';',\n           'virtual void F(int a,',\n           '               int b) LOCKS_EXCLUDED(lock) ' + virt_specifier + ';',\n           'virtual void F(int a,',\n           '               int b)',\n           '    LOCKS_EXCLUDED(lock) ' + virt_specifier + ';',\n           ''],\n          error_collector)\n      self.assertEquals(\n          [error_message, error_message, error_message],\n          error_collector.Results())\n\n    error_message = message_template % ('override', 'final')\n    self.TestLint('int F() override final', error_message)\n    self.TestLint('int F() override final;', error_message)\n    self.TestLint('int F() override final {}', error_message)\n    self.TestLint('int F() final override', error_message)\n    self.TestLint('int F() final override;', error_message)\n    self.TestLint('int F() final override {}', error_message)\n\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData(\n        'foo.cc', 'cc',\n        ['// Copyright 2014 Your Company.',\n         'struct A : virtual B {',\n         '  ~A() override;'\n         '};',\n         'class C',\n         '    : public D,',\n         '      public virtual E {',\n         '  void Func() override;',\n         '}',\n         ''],\n        error_collector)\n    self.assertEquals('', error_collector.Results())\n\n    self.TestLint('void Finalize(AnnotationProto *final) override;', '')\n\n  def testCheckDeprecated(self):\n    self.TestLanguageRulesCheck('foo_test.cc', '#include <iostream>', '')\n    self.TestLanguageRulesCheck('foo_unittest.cc', '#include <iostream>', '')\n\n  def testCheckPosixThreading(self):\n    self.TestLint('var = sctime_r()', '')\n    self.TestLint('var = strtok_r()', '')\n    self.TestLint('var = strtok_r(foo, ba, r)', '')\n    self.TestLint('var = brand()', '')\n    self.TestLint('_rand()', '')\n    self.TestLint('.rand()', '')\n    self.TestLint('->rand()', '')\n    self.TestLint('ACMRandom rand(seed)', '')\n    self.TestLint('ISAACRandom rand()', '')\n    self.TestLint('var = rand()',\n                  'Consider using rand_r(...) instead of rand(...)'\n                  ' for improved thread safety.'\n                  '  [runtime/threadsafe_fn] [2]')\n    self.TestLint('var = strtok(str, delim)',\n                  'Consider using strtok_r(...) '\n                  'instead of strtok(...)'\n                  ' for improved thread safety.'\n                  '  [runtime/threadsafe_fn] [2]')\n\n  def testVlogMisuse(self):\n    self.TestLint('VLOG(1)', '')\n    self.TestLint('VLOG(99)', '')\n    self.TestLint('LOG(ERROR)', '')\n    self.TestLint('LOG(INFO)', '')\n    self.TestLint('LOG(WARNING)', '')\n    self.TestLint('LOG(FATAL)', '')\n    self.TestLint('LOG(DFATAL)', '')\n    self.TestLint('VLOG(SOMETHINGWEIRD)', '')\n    self.TestLint('MYOWNVLOG(ERROR)', '')\n    errmsg = ('VLOG() should be used with numeric verbosity level.  '\n              'Use LOG() if you want symbolic severity levels.'\n              '  [runtime/vlog] [5]')\n    self.TestLint('VLOG(ERROR)', errmsg)\n    self.TestLint('VLOG(INFO)', errmsg)\n    self.TestLint('VLOG(WARNING)', errmsg)\n    self.TestLint('VLOG(FATAL)', errmsg)\n    self.TestLint('VLOG(DFATAL)', errmsg)\n    self.TestLint('  VLOG(ERROR)', errmsg)\n    self.TestLint('  VLOG(INFO)', errmsg)\n    self.TestLint('  VLOG(WARNING)', errmsg)\n    self.TestLint('  VLOG(FATAL)', errmsg)\n    self.TestLint('  VLOG(DFATAL)', errmsg)\n\n\n  # Test potential format string bugs like printf(foo).\n  def testFormatStrings(self):\n    self.TestLint('printf(\"foo\")', '')\n    self.TestLint('printf(\"foo: %s\", foo)', '')\n    self.TestLint('DocidForPrintf(docid)', '')  # Should not trigger.\n    self.TestLint('printf(format, value)', '')  # Should not trigger.\n    self.TestLint('printf(__VA_ARGS__)', '')  # Should not trigger.\n    self.TestLint('printf(format.c_str(), value)', '')  # Should not trigger.\n    self.TestLint('printf(format(index).c_str(), value)', '')\n    self.TestLint(\n        'printf(foo)',\n        'Potential format string bug. Do printf(\"%s\", foo) instead.'\n        '  [runtime/printf] [4]')\n    self.TestLint(\n        'printf(foo.c_str())',\n        'Potential format string bug. '\n        'Do printf(\"%s\", foo.c_str()) instead.'\n        '  [runtime/printf] [4]')\n    self.TestLint(\n        'printf(foo->c_str())',\n        'Potential format string bug. '\n        'Do printf(\"%s\", foo->c_str()) instead.'\n        '  [runtime/printf] [4]')\n    self.TestLint(\n        'StringPrintf(foo)',\n        'Potential format string bug. Do StringPrintf(\"%s\", foo) instead.'\n        ''\n        '  [runtime/printf] [4]')\n\n  # Test disallowed use of operator& and other operators.\n  def testIllegalOperatorOverloading(self):\n    errmsg = ('Unary operator& is dangerous.  Do not use it.'\n              '  [runtime/operator] [4]')\n    self.TestLint('void operator=(const Myclass&)', '')\n    self.TestLint('void operator&(int a, int b)', '')   # binary operator& ok\n    self.TestLint('void operator&() { }', errmsg)\n    self.TestLint('void operator & (  ) { }',\n                  ['Extra space after (  [whitespace/parens] [2]', errmsg])\n\n  # const string reference members are dangerous..\n  def testConstStringReferenceMembers(self):\n    errmsg = ('const string& members are dangerous. It is much better to use '\n              'alternatives, such as pointers or simple constants.'\n              '  [runtime/member_string_references] [2]')\n\n    members_declarations = ['const string& church',\n                            'const string &turing',\n                            'const string & godel']\n    # TODO(unknown): Enable also these tests if and when we ever\n    # decide to check for arbitrary member references.\n    #                         \"const Turing & a\",\n    #                         \"const Church& a\",\n    #                         \"const vector<int>& a\",\n    #                         \"const     Kurt::Godel    &    godel\",\n    #                         \"const Kazimierz::Kuratowski& kk\" ]\n\n    # The Good.\n\n    self.TestLint('void f(const string&)', '')\n    self.TestLint('const string& f(const string& a, const string& b)', '')\n    self.TestLint('typedef const string& A;', '')\n\n    for decl in members_declarations:\n      self.TestLint(decl + ' = b;', '')\n      self.TestLint(decl + '      =', '')\n\n    # The Bad.\n\n    for decl in members_declarations:\n      self.TestLint(decl + ';', errmsg)\n\n  # Variable-length arrays are not permitted.\n  def testVariableLengthArrayDetection(self):\n    errmsg = ('Do not use variable-length arrays.  Use an appropriately named '\n              \"('k' followed by CamelCase) compile-time constant for the size.\"\n              '  [runtime/arrays] [1]')\n\n    self.TestLint('int a[any_old_variable];', errmsg)\n    self.TestLint('int doublesize[some_var * 2];', errmsg)\n    self.TestLint('int a[afunction()];', errmsg)\n    self.TestLint('int a[function(kMaxFooBars)];', errmsg)\n    self.TestLint('bool a_list[items_->size()];', errmsg)\n    self.TestLint('namespace::Type buffer[len+1];', errmsg)\n\n    self.TestLint('int a[64];', '')\n    self.TestLint('int a[0xFF];', '')\n    self.TestLint('int first[256], second[256];', '')\n    self.TestLint('int array_name[kCompileTimeConstant];', '')\n    self.TestLint('char buf[somenamespace::kBufSize];', '')\n    self.TestLint('int array_name[ALL_CAPS];', '')\n    self.TestLint('AClass array1[foo::bar::ALL_CAPS];', '')\n    self.TestLint('int a[kMaxStrLen + 1];', '')\n    self.TestLint('int a[sizeof(foo)];', '')\n    self.TestLint('int a[sizeof(*foo)];', '')\n    self.TestLint('int a[sizeof foo];', '')\n    self.TestLint('int a[sizeof(struct Foo)];', '')\n    self.TestLint('int a[128 - sizeof(const bar)];', '')\n    self.TestLint('int a[(sizeof(foo) * 4)];', '')\n    self.TestLint('int a[(arraysize(fixed_size_array)/2) << 1];', '')\n    self.TestLint('delete a[some_var];', '')\n    self.TestLint('return a[some_var];', '')\n\n  # DISALLOW_COPY_AND_ASSIGN and DISALLOW_IMPLICIT_CONSTRUCTORS should be at\n  # end of class if present.\n  def testDisallowMacrosAtEnd(self):\n    for macro_name in (\n        'DISALLOW_COPY_AND_ASSIGN',\n        'DISALLOW_IMPLICIT_CONSTRUCTORS'):\n      error_collector = ErrorCollector(self.assert_)\n      cpplint.ProcessFileData(\n          'foo.cc', 'cc',\n          ['// Copyright 2014 Your Company.',\n           'class SomeClass {',\n           ' private:',\n           '  %s(SomeClass);' % macro_name,\n           '  int member_;',\n           '};',\n           ''],\n          error_collector)\n      self.assertEquals(\n          ('%s should be the last thing in the class' % macro_name) +\n          '  [readability/constructors] [3]',\n          error_collector.Results())\n\n      error_collector = ErrorCollector(self.assert_)\n      cpplint.ProcessFileData(\n          'foo.cc', 'cc',\n          ['// Copyright 2014 Your Company.',\n           'class OuterClass {',\n           ' private:',\n           '  struct InnerClass {',\n           '   private:',\n           '    %s(InnerClass);' % macro_name,\n           '    int member;',\n           '  };',\n           '};',\n           ''],\n          error_collector)\n      self.assertEquals(\n          ('%s should be the last thing in the class' % macro_name) +\n          '  [readability/constructors] [3]',\n          error_collector.Results())\n\n      error_collector = ErrorCollector(self.assert_)\n      cpplint.ProcessFileData(\n          'foo.cc', 'cc',\n          ['// Copyright 2014 Your Company.',\n           'class OuterClass1 {',\n           ' private:',\n           '  struct InnerClass1 {',\n           '   private:',\n           '    %s(InnerClass1);' % macro_name,\n           '  };',\n           '  %s(OuterClass1);' % macro_name,\n           '};',\n           'struct OuterClass2 {',\n           ' private:',\n           '  class InnerClass2 {',\n           '   private:',\n           '    %s(InnerClass2);' % macro_name,\n           '    // comment',\n           '  };',\n           '',\n           '  %s(OuterClass2);' % macro_name,\n           '',\n           '  // comment',\n           '};',\n           'void Func() {',\n           '  struct LocalClass {',\n           '   private:',\n           '    %s(LocalClass);' % macro_name,\n           '  } variable;',\n           '}',\n           ''],\n          error_collector)\n      self.assertEquals('', error_collector.Results())\n\n  # Brace usage\n  def testBraces(self):\n    # Braces shouldn't be followed by a ; unless they're defining a struct\n    # or initializing an array\n    self.TestLint('int a[3] = { 1, 2, 3 };', '')\n    self.TestLint(\n        \"\"\"const int foo[] =\n               {1, 2, 3 };\"\"\",\n        '')\n    # For single line, unmatched '}' with a ';' is ignored (not enough context)\n    self.TestMultiLineLint(\n        \"\"\"int a[3] = { 1,\n                        2,\n                        3 };\"\"\",\n        '')\n    self.TestMultiLineLint(\n        \"\"\"int a[2][3] = { { 1, 2 },\n                         { 3, 4 } };\"\"\",\n        '')\n    self.TestMultiLineLint(\n        \"\"\"int a[2][3] =\n               { { 1, 2 },\n                 { 3, 4 } };\"\"\",\n        '')\n\n  # CHECK/EXPECT_TRUE/EXPECT_FALSE replacements\n  def testCheckCheck(self):\n    self.TestLint('CHECK(x == 42);',\n                  'Consider using CHECK_EQ instead of CHECK(a == b)'\n                  '  [readability/check] [2]')\n    self.TestLint('CHECK(x != 42);',\n                  'Consider using CHECK_NE instead of CHECK(a != b)'\n                  '  [readability/check] [2]')\n    self.TestLint('CHECK(x >= 42);',\n                  'Consider using CHECK_GE instead of CHECK(a >= b)'\n                  '  [readability/check] [2]')\n    self.TestLint('CHECK(x > 42);',\n                  'Consider using CHECK_GT instead of CHECK(a > b)'\n                  '  [readability/check] [2]')\n    self.TestLint('CHECK(x <= 42);',\n                  'Consider using CHECK_LE instead of CHECK(a <= b)'\n                  '  [readability/check] [2]')\n    self.TestLint('CHECK(x < 42);',\n                  'Consider using CHECK_LT instead of CHECK(a < b)'\n                  '  [readability/check] [2]')\n\n    self.TestLint('DCHECK(x == 42);',\n                  'Consider using DCHECK_EQ instead of DCHECK(a == b)'\n                  '  [readability/check] [2]')\n    self.TestLint('DCHECK(x != 42);',\n                  'Consider using DCHECK_NE instead of DCHECK(a != b)'\n                  '  [readability/check] [2]')\n    self.TestLint('DCHECK(x >= 42);',\n                  'Consider using DCHECK_GE instead of DCHECK(a >= b)'\n                  '  [readability/check] [2]')\n    self.TestLint('DCHECK(x > 42);',\n                  'Consider using DCHECK_GT instead of DCHECK(a > b)'\n                  '  [readability/check] [2]')\n    self.TestLint('DCHECK(x <= 42);',\n                  'Consider using DCHECK_LE instead of DCHECK(a <= b)'\n                  '  [readability/check] [2]')\n    self.TestLint('DCHECK(x < 42);',\n                  'Consider using DCHECK_LT instead of DCHECK(a < b)'\n                  '  [readability/check] [2]')\n\n    self.TestLint(\n        'EXPECT_TRUE(\"42\" == x);',\n        'Consider using EXPECT_EQ instead of EXPECT_TRUE(a == b)'\n        '  [readability/check] [2]')\n    self.TestLint(\n        'EXPECT_TRUE(\"42\" != x);',\n        'Consider using EXPECT_NE instead of EXPECT_TRUE(a != b)'\n        '  [readability/check] [2]')\n    self.TestLint(\n        'EXPECT_TRUE(+42 >= x);',\n        'Consider using EXPECT_GE instead of EXPECT_TRUE(a >= b)'\n        '  [readability/check] [2]')\n\n    self.TestLint(\n        'EXPECT_FALSE(x == 42);',\n        'Consider using EXPECT_NE instead of EXPECT_FALSE(a == b)'\n        '  [readability/check] [2]')\n    self.TestLint(\n        'EXPECT_FALSE(x != 42);',\n        'Consider using EXPECT_EQ instead of EXPECT_FALSE(a != b)'\n        '  [readability/check] [2]')\n    self.TestLint(\n        'EXPECT_FALSE(x >= 42);',\n        'Consider using EXPECT_LT instead of EXPECT_FALSE(a >= b)'\n        '  [readability/check] [2]')\n    self.TestLint(\n        'ASSERT_FALSE(x > 42);',\n        'Consider using ASSERT_LE instead of ASSERT_FALSE(a > b)'\n        '  [readability/check] [2]')\n    self.TestLint(\n        'ASSERT_FALSE(x <= 42);',\n        'Consider using ASSERT_GT instead of ASSERT_FALSE(a <= b)'\n        '  [readability/check] [2]')\n\n    self.TestLint('CHECK(x<42);',\n                  ['Missing spaces around <'\n                   '  [whitespace/operators] [3]',\n                   'Consider using CHECK_LT instead of CHECK(a < b)'\n                   '  [readability/check] [2]'])\n    self.TestLint('CHECK(x>42);',\n                  ['Missing spaces around >'\n                   '  [whitespace/operators] [3]',\n                   'Consider using CHECK_GT instead of CHECK(a > b)'\n                   '  [readability/check] [2]'])\n\n    self.TestLint('using some::namespace::operator<<;', '')\n    self.TestLint('using some::namespace::operator>>;', '')\n\n    self.TestLint('CHECK(x->y == 42);',\n                  'Consider using CHECK_EQ instead of CHECK(a == b)'\n                  '  [readability/check] [2]')\n\n    self.TestLint(\n        '  EXPECT_TRUE(42 < x);  // Random comment.',\n        'Consider using EXPECT_LT instead of EXPECT_TRUE(a < b)'\n        '  [readability/check] [2]')\n    self.TestLint(\n        'EXPECT_TRUE( 42 < x );',\n        ['Extra space after ( in function call'\n         '  [whitespace/parens] [4]',\n         'Extra space before )  [whitespace/parens] [2]',\n         'Consider using EXPECT_LT instead of EXPECT_TRUE(a < b)'\n         '  [readability/check] [2]'])\n\n    self.TestLint('CHECK(4\\'2 == x);',\n                  'Consider using CHECK_EQ instead of CHECK(a == b)'\n                  '  [readability/check] [2]')\n\n  def testCheckCheckFalsePositives(self):\n    self.TestLint('CHECK(some_iterator == obj.end());', '')\n    self.TestLint('EXPECT_TRUE(some_iterator == obj.end());', '')\n    self.TestLint('EXPECT_FALSE(some_iterator == obj.end());', '')\n    self.TestLint('CHECK(some_pointer != NULL);', '')\n    self.TestLint('EXPECT_TRUE(some_pointer != NULL);', '')\n    self.TestLint('EXPECT_FALSE(some_pointer != NULL);', '')\n\n    self.TestLint('CHECK(CreateTestFile(dir, (1 << 20)));', '')\n    self.TestLint('CHECK(CreateTestFile(dir, (1 >> 20)));', '')\n\n    self.TestLint('CHECK(x ^ (y < 42));', '')\n    self.TestLint('CHECK((x > 42) ^ (x < 54));', '')\n    self.TestLint('CHECK(a && b < 42);', '')\n    self.TestLint('CHECK(42 < a && a < b);', '')\n    self.TestLint('SOFT_CHECK(x > 42);', '')\n\n    self.TestMultiLineLint(\n        \"\"\"_STLP_DEFINE_BINARY_OP_CHECK(==, _OP_EQUAL);\n        _STLP_DEFINE_BINARY_OP_CHECK(!=, _OP_NOT_EQUAL);\n        _STLP_DEFINE_BINARY_OP_CHECK(<, _OP_LESS_THAN);\n        _STLP_DEFINE_BINARY_OP_CHECK(<=, _OP_LESS_EQUAL);\n        _STLP_DEFINE_BINARY_OP_CHECK(>, _OP_GREATER_THAN);\n        _STLP_DEFINE_BINARY_OP_CHECK(>=, _OP_GREATER_EQUAL);\n        _STLP_DEFINE_BINARY_OP_CHECK(+, _OP_PLUS);\n        _STLP_DEFINE_BINARY_OP_CHECK(*, _OP_TIMES);\n        _STLP_DEFINE_BINARY_OP_CHECK(/, _OP_DIVIDE);\n        _STLP_DEFINE_BINARY_OP_CHECK(-, _OP_SUBTRACT);\n        _STLP_DEFINE_BINARY_OP_CHECK(%, _OP_MOD);\"\"\",\n        '')\n\n    self.TestLint('CHECK(x < 42) << \"Custom error message\";', '')\n\n  # Alternative token to punctuation operator replacements\n  def testCheckAltTokens(self):\n    self.TestLint('true or true',\n                  'Use operator || instead of or'\n                  '  [readability/alt_tokens] [2]')\n    self.TestLint('true and true',\n                  'Use operator && instead of and'\n                  '  [readability/alt_tokens] [2]')\n    self.TestLint('if (not true)',\n                  'Use operator ! instead of not'\n                  '  [readability/alt_tokens] [2]')\n    self.TestLint('1 bitor 1',\n                  'Use operator | instead of bitor'\n                  '  [readability/alt_tokens] [2]')\n    self.TestLint('1 xor 1',\n                  'Use operator ^ instead of xor'\n                  '  [readability/alt_tokens] [2]')\n    self.TestLint('1 bitand 1',\n                  'Use operator & instead of bitand'\n                  '  [readability/alt_tokens] [2]')\n    self.TestLint('x = compl 1',\n                  'Use operator ~ instead of compl'\n                  '  [readability/alt_tokens] [2]')\n    self.TestLint('x and_eq y',\n                  'Use operator &= instead of and_eq'\n                  '  [readability/alt_tokens] [2]')\n    self.TestLint('x or_eq y',\n                  'Use operator |= instead of or_eq'\n                  '  [readability/alt_tokens] [2]')\n    self.TestLint('x xor_eq y',\n                  'Use operator ^= instead of xor_eq'\n                  '  [readability/alt_tokens] [2]')\n    self.TestLint('x not_eq y',\n                  'Use operator != instead of not_eq'\n                  '  [readability/alt_tokens] [2]')\n    self.TestLint('line_continuation or',\n                  'Use operator || instead of or'\n                  '  [readability/alt_tokens] [2]')\n    self.TestLint('if(true and(parentheses',\n                  'Use operator && instead of and'\n                  '  [readability/alt_tokens] [2]')\n\n    self.TestLint('#include \"base/false-and-false.h\"', '')\n    self.TestLint('#error false or false', '')\n    self.TestLint('false nor false', '')\n    self.TestLint('false nand false', '')\n\n  # Passing and returning non-const references\n  def testNonConstReference(self):\n    # Passing a non-const reference as function parameter is forbidden.\n    operand_error_message = ('Is this a non-const reference? '\n                             'If so, make const or use a pointer: %s'\n                             '  [runtime/references] [2]')\n    # Warn of use of a non-const reference in operators and functions\n    self.TestLint('bool operator>(Foo& s, Foo& f);',\n                  [operand_error_message % 'Foo& s',\n                   operand_error_message % 'Foo& f'])\n    self.TestLint('bool operator+(Foo& s, Foo& f);',\n                  [operand_error_message % 'Foo& s',\n                   operand_error_message % 'Foo& f'])\n    self.TestLint('int len(Foo& s);', operand_error_message % 'Foo& s')\n    # Allow use of non-const references in a few specific cases\n    self.TestLint('stream& operator>>(stream& s, Foo& f);', '')\n    self.TestLint('stream& operator<<(stream& s, Foo& f);', '')\n    self.TestLint('void swap(Bar& a, Bar& b);', '')\n    self.TestLint('ostream& LogFunc(ostream& s);', '')\n    self.TestLint('ostringstream& LogFunc(ostringstream& s);', '')\n    self.TestLint('istream& LogFunc(istream& s);', '')\n    self.TestLint('istringstream& LogFunc(istringstream& s);', '')\n    # Returning a non-const reference from a function is OK.\n    self.TestLint('int& g();', '')\n    # Passing a const reference to a struct (using the struct keyword) is OK.\n    self.TestLint('void foo(const struct tm& tm);', '')\n    # Passing a const reference to a typename is OK.\n    self.TestLint('void foo(const typename tm& tm);', '')\n    # Const reference to a pointer type is OK.\n    self.TestLint('void foo(const Bar* const& p) {', '')\n    self.TestLint('void foo(Bar const* const& p) {', '')\n    self.TestLint('void foo(Bar* const& p) {', '')\n    # Const reference to a templated type is OK.\n    self.TestLint('void foo(const std::vector<std::string>& v);', '')\n    # Non-const reference to a pointer type is not OK.\n    self.TestLint('void foo(Bar*& p);',\n                  operand_error_message % 'Bar*& p')\n    self.TestLint('void foo(const Bar*& p);',\n                  operand_error_message % 'const Bar*& p')\n    self.TestLint('void foo(Bar const*& p);',\n                  operand_error_message % 'Bar const*& p')\n    self.TestLint('void foo(struct Bar*& p);',\n                  operand_error_message % 'struct Bar*& p')\n    self.TestLint('void foo(const struct Bar*& p);',\n                  operand_error_message % 'const struct Bar*& p')\n    self.TestLint('void foo(struct Bar const*& p);',\n                  operand_error_message % 'struct Bar const*& p')\n    # Non-const reference to a templated type is not OK.\n    self.TestLint('void foo(std::vector<int>& p);',\n                  operand_error_message % 'std::vector<int>& p')\n    # Returning an address of something is not prohibited.\n    self.TestLint('return &something;', '')\n    self.TestLint('if (condition) {return &something; }', '')\n    self.TestLint('if (condition) return &something;', '')\n    self.TestLint('if (condition) address = &something;', '')\n    self.TestLint('if (condition) result = lhs&rhs;', '')\n    self.TestLint('if (condition) result = lhs & rhs;', '')\n    self.TestLint('a = (b+c) * sizeof &f;', '')\n    self.TestLint('a = MySize(b) * sizeof &f;', '')\n    # We don't get confused by C++11 range-based for loops.\n    self.TestLint('for (const string& s : c)', '')\n    self.TestLint('for (auto& r : c)', '')\n    self.TestLint('for (typename Type& a : b)', '')\n    # We don't get confused by some other uses of '&'.\n    self.TestLint('T& operator=(const T& t);', '')\n    self.TestLint('int g() { return (a & b); }', '')\n    self.TestLint('T& r = (T&)*(vp());', '')\n    self.TestLint('T& r = v', '')\n    self.TestLint('static_assert((kBits & kMask) == 0, \"text\");', '')\n    self.TestLint('COMPILE_ASSERT((kBits & kMask) == 0, text);', '')\n    # Spaces before template arguments.  This is poor style, but\n    # happens 0.15% of the time.\n    self.TestLint('void Func(const vector <int> &const_x, '\n                  'vector <int> &nonconst_x) {',\n                  operand_error_message % 'vector<int> &nonconst_x')\n\n    # Derived member functions are spared from override check\n    self.TestLint('void Func(X& x);', operand_error_message % 'X& x')\n    self.TestLint('void Func(X& x) {}', operand_error_message % 'X& x')\n    self.TestLint('void Func(X& x) override;', '')\n    self.TestLint('void Func(X& x) override {', '')\n    self.TestLint('void Func(X& x) const override;', '')\n    self.TestLint('void Func(X& x) const override {', '')\n\n    # Don't warn on out-of-line method definitions.\n    self.TestLint('void NS::Func(X& x) {', '')\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData(\n        'foo.cc', 'cc',\n        ['// Copyright 2014 Your Company. All Rights Reserved.',\n         'void a::b() {}',\n         'void f(int& q) {}',\n         ''],\n        error_collector)\n    self.assertEquals(\n        operand_error_message % 'int& q',\n        error_collector.Results())\n\n    # Other potential false positives.  These need full parser\n    # state to reproduce as opposed to just TestLint.\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData(\n        'foo.cc', 'cc',\n        ['// Copyright 2014 Your Company. All Rights Reserved.',\n         'void swap(int &x,',\n         '          int &y) {',\n         '}',\n         'void swap(',\n         '    sparsegroup<T, GROUP_SIZE, Alloc> &x,',\n         '    sparsegroup<T, GROUP_SIZE, Alloc> &y) {',\n         '}',\n         'ostream& operator<<(',\n         '    ostream& out',\n         '    const dense_hash_set<Value, Hash, Equals, Alloc>& seq) {',\n         '}',\n         'class A {',\n         '  void Function(',\n         '      string &x) override {',\n         '  }',\n         '};',\n         'void Derived::Function(',\n         '    string &x) {',\n         '}',\n         '#define UNSUPPORTED_MASK(_mask) \\\\',\n         '  if (flags & _mask) { \\\\',\n         '    LOG(FATAL) << \"Unsupported flag: \" << #_mask; \\\\',\n         '  }',\n         'Constructor::Constructor()',\n         '    : initializer1_(a1 & b1),',\n         '      initializer2_(a2 & b2) {',\n         '}',\n         'Constructor::Constructor()',\n         '    : initializer1_{a3 & b3},',\n         '      initializer2_(a4 & b4) {',\n         '}',\n         'Constructor::Constructor()',\n         '    : initializer1_{a5 & b5},',\n         '      initializer2_(a6 & b6) {}',\n         ''],\n        error_collector)\n    self.assertEquals('', error_collector.Results())\n\n    # Multi-line references\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData(\n        'foo.cc', 'cc',\n        ['// Copyright 2014 Your Company. All Rights Reserved.',\n         'void Func(const Outer::',\n         '              Inner& const_x,',\n         '          const Outer',\n         '              ::Inner& const_y,',\n         '          const Outer<',\n         '              int>::Inner& const_z,',\n         '          Outer::',\n         '              Inner& nonconst_x,',\n         '          Outer',\n         '              ::Inner& nonconst_y,',\n         '          Outer<',\n         '              int>::Inner& nonconst_z) {',\n         '}',\n         ''],\n        error_collector)\n    self.assertEquals(\n        [operand_error_message % 'Outer::Inner& nonconst_x',\n         operand_error_message % 'Outer::Inner& nonconst_y',\n         operand_error_message % 'Outer<int>::Inner& nonconst_z'],\n        error_collector.Results())\n\n    # A peculiar false positive due to bad template argument parsing\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData(\n        'foo.cc', 'cc',\n        ['// Copyright 2014 Your Company. All Rights Reserved.',\n         'inline RCULocked<X>::ReadPtr::ReadPtr(const RCULocked* rcu) {',\n         '  DCHECK(!(data & kFlagMask)) << \"Error\";',\n         '}',\n         '',\n         'RCULocked<X>::WritePtr::WritePtr(RCULocked* rcu)',\n         '    : lock_(&rcu_->mutex_) {',\n         '}',\n         ''],\n        error_collector.Results())\n    self.assertEquals('', error_collector.Results())\n\n  def testBraceAtBeginOfLine(self):\n    self.TestLint('{',\n                  '{ should almost always be at the end of the previous line'\n                  '  [whitespace/braces] [4]')\n\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData('foo.cc', 'cc',\n                            ['int function()',\n                             '{',  # warning here\n                             '  MutexLock l(&mu);',\n                             '}',\n                             'int variable;'\n                             '{',  # no warning\n                             '  MutexLock l(&mu);',\n                             '}',\n                             'MyType m = {',\n                             '  {value1, value2},',\n                             '  {',  # no warning\n                             '    loooong_value1, looooong_value2',\n                             '  }',\n                             '};',\n                             '#if PREPROCESSOR',\n                             '{',  # no warning\n                             '  MutexLock l(&mu);',\n                             '}',\n                             '#endif'],\n                            error_collector)\n    self.assertEquals(1, error_collector.Results().count(\n        '{ should almost always be at the end of the previous line'\n        '  [whitespace/braces] [4]'))\n\n    self.TestMultiLineLint(\n        \"\"\"\n        foo(\n          {\n            loooooooooooooooong_value,\n          });\"\"\",\n        '')\n\n  def testMismatchingSpacesInParens(self):\n    self.TestLint('if (foo ) {', 'Mismatching spaces inside () in if'\n                  '  [whitespace/parens] [5]')\n    self.TestLint('switch ( foo) {', 'Mismatching spaces inside () in switch'\n                  '  [whitespace/parens] [5]')\n    self.TestLint('for (foo; ba; bar ) {', 'Mismatching spaces inside () in for'\n                  '  [whitespace/parens] [5]')\n    self.TestLint('for (; foo; bar) {', '')\n    self.TestLint('for ( ; foo; bar) {', '')\n    self.TestLint('for ( ; foo; bar ) {', '')\n    self.TestLint('for (foo; bar; ) {', '')\n    self.TestLint('while (  foo  ) {', 'Should have zero or one spaces inside'\n                  ' ( and ) in while  [whitespace/parens] [5]')\n\n  def testSpacingForFncall(self):\n    self.TestLint('if (foo) {', '')\n    self.TestLint('for (foo; bar; baz) {', '')\n    self.TestLint('for (;;) {', '')\n    # Space should be allowed in placement new operators.\n    self.TestLint('Something* p = new (place) Something();', '')\n    # Test that there is no warning when increment statement is empty.\n    self.TestLint('for (foo; baz;) {', '')\n    self.TestLint('for (foo;bar;baz) {', 'Missing space after ;'\n                  '  [whitespace/semicolon] [3]')\n    # we don't warn about this semicolon, at least for now\n    self.TestLint('if (condition) {return &something; }',\n                  '')\n    # seen in some macros\n    self.TestLint('DoSth();\\\\', '')\n    # Test that there is no warning about semicolon here.\n    self.TestLint('abc;// this is abc',\n                  'At least two spaces is best between code'\n                  ' and comments  [whitespace/comments] [2]')\n    self.TestLint('while (foo) {', '')\n    self.TestLint('switch (foo) {', '')\n    self.TestLint('foo( bar)', 'Extra space after ( in function call'\n                  '  [whitespace/parens] [4]')\n    self.TestLint('foo(  // comment', '')\n    self.TestLint('foo( // comment',\n                  'At least two spaces is best between code'\n                  ' and comments  [whitespace/comments] [2]')\n    self.TestLint('foobar( \\\\', '')\n    self.TestLint('foobar(     \\\\', '')\n    self.TestLint('( a + b)', 'Extra space after ('\n                  '  [whitespace/parens] [2]')\n    self.TestLint('((a+b))', '')\n    self.TestLint('foo (foo)', 'Extra space before ( in function call'\n                  '  [whitespace/parens] [4]')\n    # asm volatile () may have a space, as it isn't a function call.\n    self.TestLint('asm volatile (\"\")', '')\n    self.TestLint('__asm__ __volatile__ (\"\")', '')\n    self.TestLint('} catch (const Foo& ex) {', '')\n    self.TestLint('case (42):', '')\n    self.TestLint('typedef foo (*foo)(foo)', '')\n    self.TestLint('typedef foo (*foo12bar_)(foo)', '')\n    self.TestLint('typedef foo (Foo::*bar)(foo)', '')\n    self.TestLint('using foo = type (Foo::*bar)(foo)', '')\n    self.TestLint('using foo = type (Foo::*bar)(', '')\n    self.TestLint('using foo = type (Foo::*)(', '')\n    self.TestLint('foo (Foo::*bar)(', '')\n    self.TestLint('foo (x::y::*z)(', '')\n    self.TestLint('foo (Foo::bar)(',\n                  'Extra space before ( in function call'\n                  '  [whitespace/parens] [4]')\n    self.TestLint('foo (*bar)(', '')\n    self.TestLint('typedef foo (Foo::*bar)(', '')\n    self.TestLint('(foo)(bar)', '')\n    self.TestLint('Foo (*foo)(bar)', '')\n    self.TestLint('Foo (*foo)(Bar bar,', '')\n    self.TestLint('char (*p)[sizeof(foo)] = &foo', '')\n    self.TestLint('char (&ref)[sizeof(foo)] = &foo', '')\n    self.TestLint('const char32 (*table[])[6];', '')\n    # The sizeof operator is often written as if it were a function call, with\n    # an opening parenthesis directly following the operator name, but it can\n    # also be written like any other operator, with a space following the\n    # operator name, and the argument optionally in parentheses.\n    self.TestLint('sizeof(foo)', '')\n    self.TestLint('sizeof foo', '')\n    self.TestLint('sizeof (foo)', '')\n\n  def testSpacingBeforeBraces(self):\n    self.TestLint('if (foo){', 'Missing space before {'\n                  '  [whitespace/braces] [5]')\n    self.TestLint('for{', 'Missing space before {'\n                  '  [whitespace/braces] [5]')\n    self.TestLint('for {', '')\n    self.TestLint('EXPECT_DEBUG_DEATH({', '')\n    self.TestLint('std::is_convertible<A, B>{}', '')\n    self.TestLint('blah{32}', 'Missing space before {'\n                  '  [whitespace/braces] [5]')\n    self.TestLint('int8_t{3}', '')\n    self.TestLint('int16_t{3}', '')\n    self.TestLint('int32_t{3}', '')\n    self.TestLint('uint64_t{12345}', '')\n    self.TestLint('constexpr int64_t kBatchGapMicros ='\n                  ' int64_t{7} * 24 * 3600 * 1000000;  // 1 wk.', '')\n    self.TestLint('MoveOnly(int i1, int i2) : ip1{new int{i1}}, '\n                  'ip2{new int{i2}} {}',\n                  '')\n\n  def testSemiColonAfterBraces(self):\n    self.TestLint('if (cond) { func(); };',\n                  'You don\\'t need a ; after a }  [readability/braces] [4]')\n    self.TestLint('void Func() {};',\n                  'You don\\'t need a ; after a }  [readability/braces] [4]')\n    self.TestLint('void Func() const {};',\n                  'You don\\'t need a ; after a }  [readability/braces] [4]')\n    self.TestLint('class X {};', '')\n    for keyword in ['struct', 'union']:\n      for align in ['', ' alignas(16)']:\n        for typename in ['', ' X']:\n          for identifier in ['', ' x']:\n            self.TestLint(keyword + align + typename + ' {}' + identifier + ';',\n                          '')\n\n    self.TestLint('class X : public Y {};', '')\n    self.TestLint('class X : public MACRO() {};', '')\n    self.TestLint('class X : public decltype(expr) {};', '')\n    self.TestLint('DEFINE_FACADE(PCQueue::Watcher, PCQueue) {};', '')\n    self.TestLint('VCLASS(XfaTest, XfaContextTest) {};', '')\n    self.TestLint('class STUBBY_CLASS(H, E) {};', '')\n    self.TestLint('class STUBBY2_CLASS(H, E) {};', '')\n    self.TestLint('TEST(TestCase, TestName) {};',\n                  'You don\\'t need a ; after a }  [readability/braces] [4]')\n    self.TestLint('TEST_F(TestCase, TestName) {};',\n                  'You don\\'t need a ; after a }  [readability/braces] [4]')\n\n    self.TestLint('file_tocs_[i] = (FileToc) {a, b, c};', '')\n    self.TestMultiLineLint('class X : public Y,\\npublic Z {};', '')\n\n  def testSpacingBeforeBrackets(self):\n    self.TestLint('int numbers [] = { 1, 2, 3 };',\n                  'Extra space before [  [whitespace/braces] [5]')\n    # space allowed in some cases\n    self.TestLint('auto [abc, def] = func();', '')\n    self.TestLint('#define NODISCARD [[nodiscard]]', '')\n    self.TestLint('void foo(int param [[maybe_unused]]);', '')\n\n  def testLambda(self):\n    self.TestLint('auto x = []() {};', '')\n    self.TestLint('return []() {};', '')\n    self.TestMultiLineLint('auto x = []() {\\n};\\n', '')\n    self.TestLint('int operator[](int x) {};',\n                  'You don\\'t need a ; after a }  [readability/braces] [4]')\n\n    self.TestMultiLineLint('auto x = [&a,\\nb]() {};', '')\n    self.TestMultiLineLint('auto x = [&a,\\nb]\\n() {};', '')\n    self.TestMultiLineLint('auto x = [&a,\\n'\n                           '          b](\\n'\n                           '    int a,\\n'\n                           '    int b) {\\n'\n                           '  return a +\\n'\n                           '         b;\\n'\n                           '};\\n',\n                           '')\n\n    # Avoid false positives with operator[]\n    self.TestLint('table_to_children[&*table].push_back(dependent);', '')\n\n  def testBraceInitializerList(self):\n    self.TestLint('MyStruct p = {1, 2};', '')\n    self.TestLint('MyStruct p{1, 2};', '')\n    self.TestLint('vector<int> p = {1, 2};', '')\n    self.TestLint('vector<int> p{1, 2};', '')\n    self.TestLint('x = vector<int>{1, 2};', '')\n    self.TestLint('x = (struct in_addr){ 0 };', '')\n    self.TestLint('Func(vector<int>{1, 2})', '')\n    self.TestLint('Func((struct in_addr){ 0 })', '')\n    self.TestLint('Func(vector<int>{1, 2}, 3)', '')\n    self.TestLint('Func((struct in_addr){ 0 }, 3)', '')\n    self.TestLint('LOG(INFO) << char{7};', '')\n    self.TestLint('LOG(INFO) << char{7} << \"!\";', '')\n    self.TestLint('int p[2] = {1, 2};', '')\n    self.TestLint('return {1, 2};', '')\n    self.TestLint('std::unique_ptr<Foo> foo{new Foo{}};', '')\n    self.TestLint('auto foo = std::unique_ptr<Foo>{new Foo{}};', '')\n    self.TestLint('static_assert(Max7String{}.IsValid(), \"\");', '')\n    self.TestLint('map_of_pairs[{1, 2}] = 3;', '')\n    self.TestLint('ItemView{has_offer() ? new Offer{offer()} : nullptr', '')\n    self.TestLint('template <class T, EnableIf<::std::is_const<T>{}> = 0>', '')\n\n    self.TestMultiLineLint('std::unique_ptr<Foo> foo{\\n'\n                           '  new Foo{}\\n'\n                           '};\\n', '')\n    self.TestMultiLineLint('std::unique_ptr<Foo> foo{\\n'\n                           '  new Foo{\\n'\n                           '    new Bar{}\\n'\n                           '  }\\n'\n                           '};\\n', '')\n    self.TestMultiLineLint('if (true) {\\n'\n                           '  if (false){ func(); }\\n'\n                           '}\\n',\n                           'Missing space before {  [whitespace/braces] [5]')\n    self.TestMultiLineLint('MyClass::MyClass()\\n'\n                           '    : initializer_{\\n'\n                           '          Func()} {\\n'\n                           '}\\n', '')\n    self.TestLint('const pair<string, string> kCL' +\n                  ('o' * 41) + 'gStr[] = {\\n',\n                  'Lines should be <= 80 characters long'\n                  '  [whitespace/line_length] [2]')\n    self.TestMultiLineLint('const pair<string, string> kCL' +\n                           ('o' * 40) + 'ngStr[] =\\n'\n                           '    {\\n'\n                           '        {\"gooooo\", \"oooogle\"},\\n'\n                           '};\\n', '')\n    self.TestMultiLineLint('const pair<string, string> kCL' +\n                           ('o' * 39) + 'ngStr[] =\\n'\n                           '    {\\n'\n                           '        {\"gooooo\", \"oooogle\"},\\n'\n                           '};\\n', '{ should almost always be at the end of '\n                           'the previous line  [whitespace/braces] [4]')\n\n  def testSpacingAroundElse(self):\n    self.TestLint('}else {', 'Missing space before else'\n                  '  [whitespace/braces] [5]')\n    self.TestLint('} else{', 'Missing space before {'\n                  '  [whitespace/braces] [5]')\n    self.TestLint('} else {', '')\n    self.TestLint('} else if (foo) {', '')\n\n  def testSpacingWithInitializerLists(self):\n    self.TestLint('int v[1][3] = {{1, 2, 3}};', '')\n    self.TestLint('int v[1][1] = {{0}};', '')\n\n  def testSpacingForBinaryOps(self):\n    self.TestLint('if (foo||bar) {', 'Missing spaces around ||'\n                  '  [whitespace/operators] [3]')\n    self.TestLint('if (foo<=bar) {', 'Missing spaces around <='\n                  '  [whitespace/operators] [3]')\n    self.TestLint('if (foo<bar) {', 'Missing spaces around <'\n                  '  [whitespace/operators] [3]')\n    self.TestLint('if (foo>bar) {', 'Missing spaces around >'\n                  '  [whitespace/operators] [3]')\n    self.TestLint('if (foo<bar->baz) {', 'Missing spaces around <'\n                  '  [whitespace/operators] [3]')\n    self.TestLint('if (foo<bar->bar) {', 'Missing spaces around <'\n                  '  [whitespace/operators] [3]')\n    self.TestLint('template<typename T = double>', '')\n    self.TestLint('std::unique_ptr<No<Spaces>>', '')\n    self.TestLint('typedef hash_map<Foo, Bar>', '')\n    self.TestLint('10<<20', '')\n    self.TestLint('10<<a',\n                  'Missing spaces around <<  [whitespace/operators] [3]')\n    self.TestLint('a<<20',\n                  'Missing spaces around <<  [whitespace/operators] [3]')\n    self.TestLint('a<<b',\n                  'Missing spaces around <<  [whitespace/operators] [3]')\n    self.TestLint('10LL<<20', '')\n    self.TestLint('10ULL<<20', '')\n    self.TestLint('a>>b',\n                  'Missing spaces around >>  [whitespace/operators] [3]')\n    self.TestLint('10>>b',\n                  'Missing spaces around >>  [whitespace/operators] [3]')\n    self.TestLint('LOG(ERROR)<<*foo',\n                  'Missing spaces around <<  [whitespace/operators] [3]')\n    self.TestLint('LOG(ERROR)<<&foo',\n                  'Missing spaces around <<  [whitespace/operators] [3]')\n    self.TestLint('StringCoder<vector<string>>::ToString()', '')\n    self.TestLint('map<pair<int, int>, map<int, int>>::iterator', '')\n    self.TestLint('func<int, pair<int, pair<int, int>>>()', '')\n    self.TestLint('MACRO1(list<list<int>>)', '')\n    self.TestLint('MACRO2(list<list<int>>, 42)', '')\n    self.TestLint('void DoFoo(const set<vector<string>>& arg1);', '')\n    self.TestLint('void SetFoo(set<vector<string>>* arg1);', '')\n    self.TestLint('foo = new set<vector<string>>;', '')\n    self.TestLint('reinterpret_cast<set<vector<string>>*>(a);', '')\n    self.TestLint('MACRO(<<)', '')\n    self.TestLint('MACRO(<<, arg)', '')\n    self.TestLint('MACRO(<<=)', '')\n    self.TestLint('MACRO(<<=, arg)', '')\n\n    self.TestLint('using Vector3<T>::operator==;', '')\n    self.TestLint('using Vector3<T>::operator!=;', '')\n\n  def testSpacingBeforeLastSemicolon(self):\n    self.TestLint('call_function() ;',\n                  'Extra space before last semicolon. If this should be an '\n                  'empty statement, use {} instead.'\n                  '  [whitespace/semicolon] [5]')\n    self.TestLint('while (true) ;',\n                  'Extra space before last semicolon. If this should be an '\n                  'empty statement, use {} instead.'\n                  '  [whitespace/semicolon] [5]')\n    self.TestLint('default:;',\n                  'Semicolon defining empty statement. Use {} instead.'\n                  '  [whitespace/semicolon] [5]')\n    self.TestLint('      ;',\n                  'Line contains only semicolon. If this should be an empty '\n                  'statement, use {} instead.'\n                  '  [whitespace/semicolon] [5]')\n    self.TestLint('for (int i = 0; ;', '')\n\n  def testEmptyBlockBody(self):\n    self.TestLint('while (true);',\n                  'Empty loop bodies should use {} or continue'\n                  '  [whitespace/empty_loop_body] [5]')\n    self.TestLint('if (true);',\n                  'Empty conditional bodies should use {}'\n                  '  [whitespace/empty_conditional_body] [5]')\n    self.TestLint('while (true)', '')\n    self.TestLint('while (true) continue;', '')\n    self.TestLint('for (;;);',\n                  'Empty loop bodies should use {} or continue'\n                  '  [whitespace/empty_loop_body] [5]')\n    self.TestLint('for (;;)', '')\n    self.TestLint('for (;;) continue;', '')\n    self.TestLint('for (;;) func();', '')\n    self.TestLint('if (test) {}',\n                  'If statement had no body and no else clause'\n                  '  [whitespace/empty_if_body] [4]')\n    self.TestLint('if (test) func();', '')\n    self.TestLint('if (test) {} else {}', '')\n    self.TestMultiLineLint(\"\"\"while (true &&\n                                     false);\"\"\",\n                           'Empty loop bodies should use {} or continue'\n                           '  [whitespace/empty_loop_body] [5]')\n    self.TestMultiLineLint(\"\"\"do {\n                           } while (false);\"\"\",\n                           '')\n    self.TestMultiLineLint(\"\"\"#define MACRO \\\\\n                           do { \\\\\n                           } while (false);\"\"\",\n                           '')\n    self.TestMultiLineLint(\"\"\"do {\n                           } while (false);  // next line gets a warning\n                           while (false);\"\"\",\n                           'Empty loop bodies should use {} or continue'\n                           '  [whitespace/empty_loop_body] [5]')\n    self.TestMultiLineLint(\"\"\"if (test) {\n                           }\"\"\",\n                           'If statement had no body and no else clause'\n                           '  [whitespace/empty_if_body] [4]')\n    self.TestMultiLineLint(\"\"\"if (test,\n                               func({})) {\n                           }\"\"\",\n                           'If statement had no body and no else clause'\n                           '  [whitespace/empty_if_body] [4]')\n    self.TestMultiLineLint(\"\"\"if (test)\n                             func();\"\"\", '')\n    self.TestLint('if (test) { hello; }', '')\n    self.TestLint('if (test({})) { hello; }', '')\n    self.TestMultiLineLint(\"\"\"if (test) {\n                             func();\n                           }\"\"\", '')\n    self.TestMultiLineLint(\"\"\"if (test) {\n                             // multiline\n                             // comment\n                           }\"\"\", '')\n    self.TestMultiLineLint(\"\"\"if (test) {  // comment\n                           }\"\"\", '')\n    self.TestMultiLineLint(\"\"\"if (test) {\n                           } else {\n                           }\"\"\", '')\n    self.TestMultiLineLint(\"\"\"if (func(p1,\n                               p2,\n                               p3)) {\n                             func();\n                           }\"\"\", '')\n    self.TestMultiLineLint(\"\"\"if (func({}, p1)) {\n                             func();\n                           }\"\"\", '')\n\n  def testSpacingForRangeBasedFor(self):\n    # Basic correctly formatted case:\n    self.TestLint('for (int i : numbers) {', '')\n\n    # Missing space before colon:\n    self.TestLint('for (int i: numbers) {',\n                  'Missing space around colon in range-based for loop'\n                  '  [whitespace/forcolon] [2]')\n    # Missing space after colon:\n    self.TestLint('for (int i :numbers) {',\n                  'Missing space around colon in range-based for loop'\n                  '  [whitespace/forcolon] [2]')\n    # Missing spaces both before and after the colon.\n    self.TestLint('for (int i:numbers) {',\n                  'Missing space around colon in range-based for loop'\n                  '  [whitespace/forcolon] [2]')\n\n    # The scope operator '::' shouldn't cause warnings...\n    self.TestLint('for (std::size_t i : sizes) {}', '')\n    # ...but it shouldn't suppress them either.\n    self.TestLint('for (std::size_t i: sizes) {}',\n                  'Missing space around colon in range-based for loop'\n                  '  [whitespace/forcolon] [2]')\n\n\n  # Static or global STL strings.\n  def testStaticOrGlobalSTLStrings(self):\n    # A template for the error message for a const global/static string.\n    error_msg = ('For a static/global string constant, use a C style '\n                 'string instead: \"%s[]\".  [runtime/string] [4]')\n    # The error message for a non-const global/static string variable.\n    nonconst_error_msg = ('Static/global string variables are not permitted.'\n                          '  [runtime/string] [4]')\n\n    self.TestLint('string foo;',\n                  nonconst_error_msg)\n    self.TestLint('string kFoo = \"hello\";  // English',\n                  nonconst_error_msg)\n    self.TestLint('static string foo;',\n                  nonconst_error_msg)\n    self.TestLint('static const string foo;',\n                  error_msg % 'static const char foo')\n    self.TestLint('static const std::string foo;',\n                  error_msg % 'static const char foo')\n    self.TestLint('string Foo::bar;',\n                  nonconst_error_msg)\n\n    self.TestLint('std::string foo;',\n                  nonconst_error_msg)\n    self.TestLint('std::string kFoo = \"hello\";  // English',\n                  nonconst_error_msg)\n    self.TestLint('static std::string foo;',\n                  nonconst_error_msg)\n    self.TestLint('static const std::string foo;',\n                  error_msg % 'static const char foo')\n    self.TestLint('std::string Foo::bar;',\n                  nonconst_error_msg)\n\n    self.TestLint('::std::string foo;',\n                  nonconst_error_msg)\n    self.TestLint('::std::string kFoo = \"hello\";  // English',\n                  nonconst_error_msg)\n    self.TestLint('static ::std::string foo;',\n                  nonconst_error_msg)\n    self.TestLint('static const ::std::string foo;',\n                  error_msg % 'static const char foo')\n    self.TestLint('::std::string Foo::bar;',\n                  nonconst_error_msg)\n\n    self.TestLint('string* pointer', '')\n    self.TestLint('string *pointer', '')\n    self.TestLint('string* pointer = Func();', '')\n    self.TestLint('string *pointer = Func();', '')\n    self.TestLint('const string* pointer', '')\n    self.TestLint('const string *pointer', '')\n    self.TestLint('const string* pointer = Func();', '')\n    self.TestLint('const string *pointer = Func();', '')\n    self.TestLint('string const* pointer', '')\n    self.TestLint('string const *pointer', '')\n    self.TestLint('string const* pointer = Func();', '')\n    self.TestLint('string const *pointer = Func();', '')\n    self.TestLint('string* const pointer', '')\n    self.TestLint('string *const pointer', '')\n    self.TestLint('string* const pointer = Func();', '')\n    self.TestLint('string *const pointer = Func();', '')\n    self.TestLint('string Foo::bar() {}', '')\n    self.TestLint('string Foo::operator*() {}', '')\n    # Rare case.\n    self.TestLint('string foo(\"foobar\");', nonconst_error_msg)\n    # Should not catch local or member variables.\n    self.TestLint('  string foo', '')\n    # Should not catch functions.\n    self.TestLint('string EmptyString() { return \"\"; }', '')\n    self.TestLint('string EmptyString () { return \"\"; }', '')\n    self.TestLint('string const& FileInfo::Pathname() const;', '')\n    self.TestLint('string const &FileInfo::Pathname() const;', '')\n    self.TestLint('string VeryLongNameFunctionSometimesEndsWith(\\n'\n                  '    VeryLongNameType very_long_name_variable) {}', '')\n    self.TestLint('template<>\\n'\n                  'string FunctionTemplateSpecialization<SomeType>(\\n'\n                  '      int x) { return \"\"; }', '')\n    self.TestLint('template<>\\n'\n                  'string FunctionTemplateSpecialization<vector<A::B>* >(\\n'\n                  '      int x) { return \"\"; }', '')\n\n    # should not catch methods of template classes.\n    self.TestLint('string Class<Type>::Method() const {\\n'\n                  '  return \"\";\\n'\n                  '}\\n', '')\n    self.TestLint('string Class<Type>::Method(\\n'\n                  '   int arg) const {\\n'\n                  '  return \"\";\\n'\n                  '}\\n', '')\n\n    # Check multiline cases.\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData('foo.cc', 'cc',\n                            ['// Copyright 2014 Your Company.',\n                             'string Class',\n                             '::MemberFunction1();',\n                             'string Class::',\n                             'MemberFunction2();',\n                             'string Class::',\n                             'NestedClass::MemberFunction3();',\n                             'string TemplateClass<T>::',\n                             'NestedClass::MemberFunction4();',\n                             'const string Class',\n                             '::static_member_variable1;',\n                             'const string Class::',\n                             'static_member_variable2;',\n                             'const string Class',\n                             '::static_member_variable3 = \"initial value\";',\n                             'const string Class::',\n                             'static_member_variable4 = \"initial value\";',\n                             'string Class::',\n                             'static_member_variable5;',\n                             ''],\n                            error_collector)\n    self.assertEquals(error_collector.Results(),\n                      [error_msg % 'const char Class::static_member_variable1',\n                       error_msg % 'const char Class::static_member_variable2',\n                       error_msg % 'const char Class::static_member_variable3',\n                       error_msg % 'const char Class::static_member_variable4',\n                       nonconst_error_msg])\n\n  def testNoSpacesInFunctionCalls(self):\n    self.TestLint('TellStory(1, 3);',\n                  '')\n    self.TestLint('TellStory(1, 3 );',\n                  'Extra space before )'\n                  '  [whitespace/parens] [2]')\n    self.TestLint('TellStory(1 /* wolf */, 3 /* pigs */);',\n                  '')\n    self.TestMultiLineLint(\"\"\"TellStory(1, 3\n                                        );\"\"\",\n                           'Closing ) should be moved to the previous line'\n                           '  [whitespace/parens] [2]')\n    self.TestMultiLineLint(\"\"\"TellStory(Wolves(1),\n                                        Pigs(3\n                                        ));\"\"\",\n                           'Closing ) should be moved to the previous line'\n                           '  [whitespace/parens] [2]')\n    self.TestMultiLineLint(\"\"\"TellStory(1,\n                                        3 );\"\"\",\n                           'Extra space before )'\n                           '  [whitespace/parens] [2]')\n\n  def testToDoComments(self):\n    start_space = ('Too many spaces before TODO'\n                   '  [whitespace/todo] [2]')\n    missing_username = ('Missing username in TODO; it should look like '\n                        '\"// TODO(my_username): Stuff.\"'\n                        '  [readability/todo] [2]')\n    end_space = ('TODO(my_username) should be followed by a space'\n                 '  [whitespace/todo] [2]')\n\n    self.TestLint('//   TODOfix this',\n                  [start_space, missing_username, end_space])\n    self.TestLint('//   TODO(ljenkins)fix this',\n                  [start_space, end_space])\n    self.TestLint('//   TODO fix this',\n                  [start_space, missing_username])\n    self.TestLint('// TODO fix this', missing_username)\n    self.TestLint('// TODO: fix this', missing_username)\n    self.TestLint('//TODO(ljenkins): Fix this',\n                  'Should have a space between // and comment'\n                  '  [whitespace/comments] [4]')\n    self.TestLint('// TODO(ljenkins):Fix this', end_space)\n    self.TestLint('// TODO(ljenkins):', '')\n    self.TestLint('// TODO(ljenkins): fix this', '')\n    self.TestLint('// TODO(ljenkins): Fix this', '')\n    self.TestLint('#if 1  // TEST_URLTODOCID_WHICH_HAS_THAT_WORD_IN_IT_H_', '')\n    self.TestLint('// See also similar TODO above', '')\n    self.TestLint(r'EXPECT_EQ(\"\\\\\", '\n                  r'NormalizePath(\"/./../foo///bar/..//x/../..\", \"\"));',\n                  '')\n\n  def testTwoSpacesBetweenCodeAndComments(self):\n    self.TestLint('} // namespace foo',\n                  'At least two spaces is best between code and comments'\n                  '  [whitespace/comments] [2]')\n    self.TestLint('}// namespace foo',\n                  'At least two spaces is best between code and comments'\n                  '  [whitespace/comments] [2]')\n    self.TestLint('printf(\"foo\"); // Outside quotes.',\n                  'At least two spaces is best between code and comments'\n                  '  [whitespace/comments] [2]')\n    self.TestLint('int i = 0;  // Having two spaces is fine.', '')\n    self.TestLint('int i = 0;   // Having three spaces is OK.', '')\n    self.TestLint('// Top level comment', '')\n    self.TestLint('  // Line starts with two spaces.', '')\n    self.TestMultiLineLint('void foo() {\\n'\n                           '  { // A scope is opening.\\n'\n                           '    int a;', '')\n    self.TestMultiLineLint('void foo() {\\n'\n                           '  { // A scope is opening.\\n'\n                           '#define A a',\n                           'At least two spaces is best between code and '\n                           'comments  [whitespace/comments] [2]')\n    self.TestMultiLineLint('  foo();\\n'\n                           '  { // An indented scope is opening.\\n'\n                           '    int a;', '')\n    self.TestMultiLineLint('vector<int> my_elements = {// first\\n'\n                           '                           1,', '')\n    self.TestMultiLineLint('vector<int> my_elements = {// my_elements is ..\\n'\n                           '    1,',\n                           'At least two spaces is best between code and '\n                           'comments  [whitespace/comments] [2]')\n    self.TestLint('if (foo) { // not a pure scope; comment is too close!',\n                  'At least two spaces is best between code and comments'\n                  '  [whitespace/comments] [2]')\n    self.TestLint('printf(\"// In quotes.\")', '')\n    self.TestLint('printf(\"\\\\\"%s // In quotes.\")', '')\n    self.TestLint('printf(\"%s\", \"// In quotes.\")', '')\n\n  def testSpaceAfterCommentMarker(self):\n    self.TestLint('//', '')\n    self.TestLint('//x', 'Should have a space between // and comment'\n                  '  [whitespace/comments] [4]')\n    self.TestLint('// x', '')\n    self.TestLint('///', '')\n    self.TestLint('/// x', '')\n    self.TestLint('//!', '')\n    self.TestLint('//----', '')\n    self.TestLint('//====', '')\n    self.TestLint('//////', '')\n    self.TestLint('////// x', '')\n    self.TestLint('///< x', '') # After-member Doxygen comment\n    self.TestLint('//!< x', '') # After-member Doxygen comment\n    self.TestLint('////x', 'Should have a space between // and comment'\n                  '  [whitespace/comments] [4]')\n    self.TestLint('//}', '')\n    self.TestLint('//}x', 'Should have a space between // and comment'\n                  '  [whitespace/comments] [4]')\n    self.TestLint('//!<x', 'Should have a space between // and comment'\n                  '  [whitespace/comments] [4]')\n    self.TestLint('///<x', 'Should have a space between // and comment'\n                  '  [whitespace/comments] [4]')\n\n  # Test a line preceded by empty or comment lines.  There was a bug\n  # that caused it to print the same warning N times if the erroneous\n  # line was preceded by N lines of empty or comment lines.  To be\n  # precise, the '// marker so line numbers and indices both start at\n  # 1' line was also causing the issue.\n  def testLinePrecededByEmptyOrCommentLines(self):\n    def DoTest(self, lines):\n      error_collector = ErrorCollector(self.assert_)\n      cpplint.ProcessFileData('foo.cc', 'cc', lines, error_collector)\n      # The warning appears only once.\n      self.assertEquals(\n          1,\n          error_collector.Results().count(\n              'Do not use namespace using-directives.  '\n              'Use using-declarations instead.'\n              '  [build/namespaces] [5]'))\n    DoTest(self, ['using namespace foo;'])\n    DoTest(self, ['', '', '', 'using namespace foo;'])\n    DoTest(self, ['// hello', 'using namespace foo;'])\n\n  def testUsingLiteralsNamespaces(self):\n    self.TestLint('using namespace std::literals;', 'Do not use namespace'\n        ' using-directives.  Use using-declarations instead.'\n        '  [build/namespaces_literals] [5]')\n    self.TestLint('using namespace std::literals::chrono_literals;', 'Do'\n        ' not use namespace using-directives.  Use using-declarations instead.'\n        '  [build/namespaces_literals] [5]')\n\n  def testNewlineAtEOF(self):\n    def DoTest(self, data, is_missing_eof):\n      error_collector = ErrorCollector(self.assert_)\n      cpplint.ProcessFileData('foo.cc', 'cc', data.split('\\n'),\n                              error_collector)\n      # The warning appears only once.\n      self.assertEquals(\n          int(is_missing_eof),\n          error_collector.Results().count(\n              'Could not find a newline character at the end of the file.'\n              '  [whitespace/ending_newline] [5]'))\n\n    DoTest(self, '// Newline\\n// at EOF\\n', False)\n    DoTest(self, '// No newline\\n// at EOF', True)\n\n  def testInvalidUtf8(self):\n    def DoTest(self, raw_bytes, has_invalid_utf8):\n      error_collector = ErrorCollector(self.assert_)\n      if sys.version_info < (3,):\n          unidata = unicode(raw_bytes, 'utf8', 'replace').split('\\n')\n      else:\n          unidata = str(raw_bytes, 'utf8', 'replace').split('\\n')\n      cpplint.ProcessFileData(\n          'foo.cc', 'cc',\n          unidata,\n          error_collector)\n      # The warning appears only once.\n      self.assertEquals(\n          int(has_invalid_utf8),\n          error_collector.Results().count(\n              'Line contains invalid UTF-8'\n              ' (or Unicode replacement character).'\n              '  [readability/utf8] [5]'))\n\n    DoTest(self, codecs_latin_encode('Hello world\\n'), False)\n    DoTest(self, codecs_latin_encode('\\xe9\\x8e\\xbd\\n'), False)\n    DoTest(self, codecs_latin_encode('\\xe9x\\x8e\\xbd\\n'), True)\n    # This is the encoding of the replacement character itself (which\n    # you can see by evaluating codecs.getencoder('utf8')(u'\\ufffd')).\n    DoTest(self, codecs_latin_encode('\\xef\\xbf\\xbd\\n'), True)\n\n  def testBadCharacters(self):\n    # Test for NUL bytes only\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData('nul.cc', 'cc',\n                            ['// Copyright 2014 Your Company.',\n                             '\\0', ''], error_collector)\n    self.assertEquals(\n        error_collector.Results(),\n        'Line contains NUL byte.  [readability/nul] [5]')\n\n    # Make sure both NUL bytes and UTF-8 are caught if they appear on\n    # the same line.\n    error_collector = ErrorCollector(self.assert_)\n    raw_bytes = codecs_latin_encode('\\xe9x\\0')\n    if sys.version_info < (3,):\n          unidata = unicode(raw_bytes, 'utf8', 'replace')\n    else:\n          unidata = str(raw_bytes, 'utf8', 'replace')\n    cpplint.ProcessFileData(\n        'nul_utf8.cc', 'cc',\n        ['// Copyright 2014 Your Company.',\n         unidata,\n         ''],\n        error_collector)\n    self.assertEquals(\n        error_collector.Results(),\n        ['Line contains invalid UTF-8 (or Unicode replacement character).'\n         '  [readability/utf8] [5]',\n         'Line contains NUL byte.  [readability/nul] [5]'])\n\n  def testIsBlankLine(self):\n    self.assert_(cpplint.IsBlankLine(''))\n    self.assert_(cpplint.IsBlankLine(' '))\n    self.assert_(cpplint.IsBlankLine(' \\t\\r\\n'))\n    self.assert_(not cpplint.IsBlankLine('int a;'))\n    self.assert_(not cpplint.IsBlankLine('{'))\n\n  def testBlankLinesCheck(self):\n    self.TestBlankLinesCheck(['{\\n', '\\n', '\\n', '}\\n'], 1, 1)\n    self.TestBlankLinesCheck(['  if (foo) {\\n', '\\n', '  }\\n'], 1, 1)\n    self.TestBlankLinesCheck(\n        ['\\n', '// {\\n', '\\n', '\\n', '// Comment\\n', '{\\n', '}\\n'], 0, 0)\n    self.TestBlankLinesCheck(['\\n', 'run(\"{\");\\n', '\\n'], 0, 0)\n    self.TestBlankLinesCheck(['\\n', '  if (foo) { return 0; }\\n', '\\n'], 0, 0)\n    self.TestBlankLinesCheck(\n        ['int x(\\n', '    int a) {\\n', '\\n', 'return 0;\\n', '}'], 0, 0)\n    self.TestBlankLinesCheck(\n        ['int x(\\n', '    int a) const {\\n', '\\n', 'return 0;\\n', '}'], 0, 0)\n    self.TestBlankLinesCheck(\n        ['int x(\\n', '     int a) {\\n', '\\n', 'return 0;\\n', '}'], 1, 0)\n    self.TestBlankLinesCheck(\n        ['int x(\\n', '   int a) {\\n', '\\n', 'return 0;\\n', '}'], 1, 0)\n\n  def testAllowBlankLineBeforeClosingNamespace(self):\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData('foo.cc', 'cc',\n                            ['namespace {',\n                             '',\n                             '}  // namespace',\n                             'namespace another_namespace {',\n                             '',\n                             '}',\n                             'namespace {',\n                             '',\n                             'template<class T, ',\n                             '         class A = hoge<T>, ',\n                             '         class B = piyo<T>, ',\n                             '         class C = fuga<T> >',\n                             'class D {',\n                             ' public:',\n                             '};',\n                             '', '', '', '',\n                             '}'],\n                            error_collector)\n    self.assertEquals(0, error_collector.Results().count(\n        'Redundant blank line at the end of a code block should be deleted.'\n        '  [whitespace/blank_line] [3]'))\n\n  def testAllowBlankLineBeforeIfElseChain(self):\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData('foo.cc', 'cc',\n                            ['if (hoge) {',\n                             '',  # No warning\n                             '} else if (piyo) {',\n                             '',  # No warning\n                             '} else if (piyopiyo) {',\n                             '  hoge = true;',  # No warning\n                             '} else {',\n                             '',  # Warning on this line\n                             '}'],\n                            error_collector)\n    self.assertEquals(1, error_collector.Results().count(\n        'Redundant blank line at the end of a code block should be deleted.'\n        '  [whitespace/blank_line] [3]'))\n\n  def testAllowBlankLineAfterExtern(self):\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData('foo.cc', 'cc',\n                            ['extern \"C\" {',\n                             '',\n                             'EXPORTAPI void APICALL Some_function() {}',\n                             '',\n                             '}'],\n                            error_collector)\n    self.assertEquals(0, error_collector.Results().count(\n        'Redundant blank line at the start of a code block should be deleted.'\n        '  [whitespace/blank_line] [2]'))\n    self.assertEquals(0, error_collector.Results().count(\n        'Redundant blank line at the end of a code block should be deleted.'\n        '  [whitespace/blank_line] [3]'))\n\n  def testBlankLineBeforeSectionKeyword(self):\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData('foo.cc', 'cc',\n                            ['class A {',\n                             ' public:',\n                             ' protected:',   # warning 1\n                             ' private:',     # warning 2\n                             '  struct B {',\n                             '   public:',\n                             '   private:'] +  # warning 3\n                            ([''] * 100) +  # Make A and B longer than 100 lines\n                            ['  };',\n                             '  struct C {',\n                             '   protected:',\n                             '   private:',  # C is too short for warnings\n                             '  };',\n                             '};',\n                             'class D',\n                             '    : public {',\n                             ' public:',  # no warning\n                             '};',\n                             'class E {\\\\',\n                             ' public:\\\\'] +\n                            (['\\\\'] * 100) +  # Makes E > 100 lines\n                            ['  int non_empty_line;\\\\',\n                             ' private:\\\\',   # no warning\n                             '  int a;\\\\',\n                             '};'],\n                            error_collector)\n    self.assertEquals(2, error_collector.Results().count(\n        '\"private:\" should be preceded by a blank line'\n        '  [whitespace/blank_line] [3]'))\n    self.assertEquals(1, error_collector.Results().count(\n        '\"protected:\" should be preceded by a blank line'\n        '  [whitespace/blank_line] [3]'))\n\n  def testNoBlankLineAfterSectionKeyword(self):\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData('foo.cc', 'cc',\n                            ['class A {',\n                             ' public:',\n                             '',  # warning 1\n                             ' private:',\n                             '',  # warning 2\n                             '  struct B {',\n                             '   protected:',\n                             '',  # warning 3\n                             '  };',\n                             '};'],\n                            error_collector)\n    self.assertEquals(1, error_collector.Results().count(\n        'Do not leave a blank line after \"public:\"'\n        '  [whitespace/blank_line] [3]'))\n    self.assertEquals(1, error_collector.Results().count(\n        'Do not leave a blank line after \"protected:\"'\n        '  [whitespace/blank_line] [3]'))\n    self.assertEquals(1, error_collector.Results().count(\n        'Do not leave a blank line after \"private:\"'\n        '  [whitespace/blank_line] [3]'))\n\n  def testAllowBlankLinesInRawStrings(self):\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData('foo.cc', 'cc',\n                            ['// Copyright 2014 Your Company.',\n                             'static const char *kData[] = {R\"(',\n                             '',\n                             ')\", R\"(',\n                             '',\n                             ')\"};',\n                             ''],\n                            error_collector)\n    self.assertEquals('', error_collector.Results())\n\n  def testElseOnSameLineAsClosingBraces(self):\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData('foo.cc', 'cc',\n                            ['if (hoge) {',\n                             '}',\n                             'else if (piyo) {',  # Warning on this line\n                             '}',\n                             ' else {'  # Warning on this line\n                             '',\n                             '}'],\n                            error_collector)\n    self.assertEquals(2, error_collector.Results().count(\n        'An else should appear on the same line as the preceding }'\n        '  [whitespace/newline] [4]'))\n\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData('foo.cc', 'cc',\n                            ['if (hoge) {',\n                             '',\n                             '}',\n                             'else',  # Warning on this line\n                             '{',\n                             '',\n                             '}'],\n                            error_collector)\n    self.assertEquals(1, error_collector.Results().count(\n        'An else should appear on the same line as the preceding }'\n        '  [whitespace/newline] [4]'))\n\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData('foo.cc', 'cc',\n                            ['if (hoge) {',\n                             '',\n                             '}',\n                             'else_function();'],\n                            error_collector)\n    self.assertEquals(0, error_collector.Results().count(\n        'An else should appear on the same line as the preceding }'\n        '  [whitespace/newline] [4]'))\n\n  def testMultipleStatementsOnSameLine(self):\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData('foo.cc', 'cc',\n                            ['for (int i = 0; i < 1; i++) {}',\n                             'switch (x) {',\n                             '  case 0: func(); break; ',\n                             '}',\n                             'sum += MathUtil::SafeIntRound(x); x += 0.1;'],\n                            error_collector)\n    self.assertEquals(0, error_collector.Results().count(\n        'More than one command on the same line  [whitespace/newline] [0]'))\n\n    old_verbose_level = cpplint._cpplint_state.verbose_level\n    cpplint._cpplint_state.verbose_level = 0\n    cpplint.ProcessFileData('foo.cc', 'cc',\n                            ['sum += MathUtil::SafeIntRound(x); x += 0.1;'],\n                            error_collector)\n    cpplint._cpplint_state.verbose_level = old_verbose_level\n\n  def testLambdasOnSameLine(self):\n    error_collector = ErrorCollector(self.assert_)\n    old_verbose_level = cpplint._cpplint_state.verbose_level\n    cpplint._cpplint_state.verbose_level = 0\n    cpplint.ProcessFileData('foo.cc', 'cc',\n                            ['const auto lambda = '\n                              '[](const int i) { return i; };'],\n                            error_collector)\n    cpplint._cpplint_state.verbose_level = old_verbose_level\n    self.assertEquals(0, error_collector.Results().count(\n        'More than one command on the same line  [whitespace/newline] [0]'))\n\n    error_collector = ErrorCollector(self.assert_)\n    old_verbose_level = cpplint._cpplint_state.verbose_level\n    cpplint._cpplint_state.verbose_level = 0\n    cpplint.ProcessFileData('foo.cc', 'cc',\n                            ['const auto result = std::any_of(vector.begin(), '\n                              'vector.end(), '\n                              '[](const int i) { return i > 0; });'],\n                            error_collector)\n    cpplint._cpplint_state.verbose_level = old_verbose_level\n    self.assertEquals(0, error_collector.Results().count(\n        'More than one command on the same line  [whitespace/newline] [0]'))\n\n    error_collector = ErrorCollector(self.assert_)\n    old_verbose_level = cpplint._cpplint_state.verbose_level\n    cpplint._cpplint_state.verbose_level = 0\n    cpplint.ProcessFileData('foo.cc', 'cc',\n                            ['return mutex::Lock<void>([this]() { '\n                              'this->ReadLock(); }, [this]() { '\n                              'this->ReadUnlock(); });'],\n                            error_collector)\n    cpplint._cpplint_state.verbose_level = old_verbose_level\n    self.assertEquals(0, error_collector.Results().count(\n        'More than one command on the same line  [whitespace/newline] [0]'))\n\n    error_collector = ErrorCollector(self.assert_)\n    old_verbose_level = cpplint._cpplint_state.verbose_level\n    cpplint._cpplint_state.verbose_level = 0\n    cpplint.ProcessFileData('foo.cc', 'cc',\n                            ['return mutex::Lock<void>([this]() { '\n                              'this->ReadLock(); }, [this]() { '\n                              'this->ReadUnlock(); }, object);'],\n                            error_collector)\n    cpplint._cpplint_state.verbose_level = old_verbose_level\n    self.assertEquals(0, error_collector.Results().count(\n        'More than one command on the same line  [whitespace/newline] [0]'))\n\n  def testEndOfNamespaceComments(self):\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData('foo.cc', 'cc',\n                            ['namespace {',\n                             '',\n                             '}',  # No warning (too short)\n                             'namespace expected {',\n                             '}  // namespace mismatched',  # Warning here\n                             'namespace {',\n                             '}  // namespace mismatched',  # Warning here\n                             'namespace outer { namespace nested {'] +\n                            ([''] * 10) +\n                            ['}',  # Warning here\n                             '}',  # Warning here\n                             'namespace {'] +\n                            ([''] * 10) +\n                            ['}',  # Warning here\n                             'namespace {'] +\n                            ([''] * 10) +\n                            ['}  // namespace some description',  # Anon warning\n                             'namespace {'] +\n                            ([''] * 10) +\n                            ['}  // namespace anonymous',  # Variant warning\n                             'namespace {'] +\n                            ([''] * 10) +\n                            ['}  // anonymous namespace (utils)',  # Variant\n                             'namespace {'] +\n                            ([''] * 10) +\n                            ['}  // anonymous namespace',  # No warning\n                             'namespace missing_comment {'] +\n                            ([''] * 10) +\n                            ['}',  # Warning here\n                             'namespace no_warning {'] +\n                            ([''] * 10) +\n                            ['}  // namespace no_warning',\n                             'namespace no_warning {'] +\n                            ([''] * 10) +\n                            ['};  // end namespace no_warning',\n                             '#define MACRO \\\\',\n                             'namespace c_style { \\\\'] +\n                            (['\\\\'] * 10) +\n                            ['}  /* namespace c_style. */ \\\\',\n                             ';'],\n                            error_collector)\n    self.assertEquals(1, error_collector.Results().count(\n        'Namespace should be terminated with \"// namespace expected\"'\n        '  [readability/namespace] [5]'))\n    self.assertEquals(1, error_collector.Results().count(\n        'Namespace should be terminated with \"// namespace outer\"'\n        '  [readability/namespace] [5]'))\n    self.assertEquals(1, error_collector.Results().count(\n        'Namespace should be terminated with \"// namespace nested\"'\n        '  [readability/namespace] [5]'))\n    self.assertEquals(3, error_collector.Results().count(\n        'Anonymous namespace should be terminated with \"// namespace\"'\n        '  [readability/namespace] [5]'))\n    self.assertEquals(2, error_collector.Results().count(\n        'Anonymous namespace should be terminated with \"// namespace\" or'\n        ' \"// anonymous namespace\"'\n        '  [readability/namespace] [5]'))\n    self.assertEquals(1, error_collector.Results().count(\n        'Namespace should be terminated with \"// namespace missing_comment\"'\n        '  [readability/namespace] [5]'))\n    self.assertEquals(0, error_collector.Results().count(\n        'Namespace should be terminated with \"// namespace no_warning\"'\n        '  [readability/namespace] [5]'))\n\n  def testElseClauseNotOnSameLineAsElse(self):\n    self.TestLint('  else DoSomethingElse();',\n                  'Else clause should never be on same line as else '\n                  '(use 2 lines)  [whitespace/newline] [4]')\n    self.TestLint('  else ifDoSomethingElse();',\n                  'Else clause should never be on same line as else '\n                  '(use 2 lines)  [whitespace/newline] [4]')\n    self.TestLint('  } else if (blah) {', '')\n    self.TestLint('  variable_ends_in_else = true;', '')\n\n  def testComma(self):\n    self.TestLint('a = f(1,2);',\n                  'Missing space after ,  [whitespace/comma] [3]')\n    self.TestLint('int tmp=a,a=b,b=tmp;',\n                  ['Missing spaces around =  [whitespace/operators] [4]',\n                   'Missing space after ,  [whitespace/comma] [3]'])\n    self.TestLint('f(a, /* name */ b);', '')\n    self.TestLint('f(a, /* name */b);', '')\n    self.TestLint('f(a, /* name */-1);', '')\n    self.TestLint('f(a, /* name */\"1\");', '')\n    self.TestLint('f(1, /* empty macro arg */, 2)', '')\n    self.TestLint('f(1,, 2)', '')\n    self.TestLint('operator,()', '')\n    self.TestLint('operator,(a,b)',\n                  'Missing space after ,  [whitespace/comma] [3]')\n\n  def testEqualsOperatorSpacing(self):\n    self.TestLint('int tmp= a;',\n                  'Missing spaces around =  [whitespace/operators] [4]')\n    self.TestLint('int tmp =a;',\n                  'Missing spaces around =  [whitespace/operators] [4]')\n    self.TestLint('int tmp=a;',\n                  'Missing spaces around =  [whitespace/operators] [4]')\n    self.TestLint('int tmp= 7;',\n                  'Missing spaces around =  [whitespace/operators] [4]')\n    self.TestLint('int tmp =7;',\n                  'Missing spaces around =  [whitespace/operators] [4]')\n    self.TestLint('int tmp=7;',\n                  'Missing spaces around =  [whitespace/operators] [4]')\n    self.TestLint('int* tmp=*p;',\n                  'Missing spaces around =  [whitespace/operators] [4]')\n    self.TestLint('int* tmp= *p;',\n                  'Missing spaces around =  [whitespace/operators] [4]')\n    self.TestMultiLineLint(\n        TrimExtraIndent('''\n            lookahead_services_=\n              ::strings::Split(FLAGS_ls, \",\", ::strings::SkipEmpty());'''),\n        'Missing spaces around =  [whitespace/operators] [4]')\n    self.TestLint('bool result = a>=42;',\n                  'Missing spaces around >=  [whitespace/operators] [3]')\n    self.TestLint('bool result = a<=42;',\n                  'Missing spaces around <=  [whitespace/operators] [3]')\n    self.TestLint('bool result = a==42;',\n                  'Missing spaces around ==  [whitespace/operators] [3]')\n    self.TestLint('auto result = a!=42;',\n                  'Missing spaces around !=  [whitespace/operators] [3]')\n    self.TestLint('int a = b!=c;',\n                  'Missing spaces around !=  [whitespace/operators] [3]')\n    self.TestLint('a&=42;', '')\n    self.TestLint('a|=42;', '')\n    self.TestLint('a^=42;', '')\n    self.TestLint('a+=42;', '')\n    self.TestLint('a*=42;', '')\n    self.TestLint('a/=42;', '')\n    self.TestLint('a%=42;', '')\n    self.TestLint('a>>=5;', '')\n    self.TestLint('a<<=5;', '')\n\n  def testShiftOperatorSpacing(self):\n    self.TestLint('a<<b',\n                  'Missing spaces around <<  [whitespace/operators] [3]')\n    self.TestLint('a>>b',\n                  'Missing spaces around >>  [whitespace/operators] [3]')\n    self.TestLint('1<<20', '')\n    self.TestLint('1024>>10', '')\n    self.TestLint('Kernel<<<1, 2>>>()', '')\n\n  def testIndent(self):\n    self.TestLint('static int noindent;', '')\n    self.TestLint('  int two_space_indent;', '')\n    self.TestLint('    int four_space_indent;', '')\n    self.TestLint(' int one_space_indent;',\n                  'Weird number of spaces at line-start.  '\n                  'Are you using a 2-space indent?  [whitespace/indent] [3]')\n    self.TestLint('   int three_space_indent;',\n                  'Weird number of spaces at line-start.  '\n                  'Are you using a 2-space indent?  [whitespace/indent] [3]')\n    self.TestLint(' char* one_space_indent = \"public:\";',\n                  'Weird number of spaces at line-start.  '\n                  'Are you using a 2-space indent?  [whitespace/indent] [3]')\n    self.TestLint(' public:', '')\n    self.TestLint('  protected:', '')\n    self.TestLint('   private:', '')\n    self.TestLint(' protected: \\\\', '')\n    self.TestLint('  public:      \\\\', '')\n    self.TestLint('   private:   \\\\', '')\n    # examples using QT signals/slots macro\n    self.TestMultiLineLint(\n        TrimExtraIndent(\"\"\"\n            class foo {\n             public slots:\n              void bar();\n             signals:\n            };\"\"\"),\n        '')\n    self.TestMultiLineLint(\n        TrimExtraIndent(\"\"\"\n            class foo {\n              public slots:\n              void bar();\n            };\"\"\"),\n        'public slots: should be indented +1 space inside class foo'\n        '  [whitespace/indent] [3]')\n    self.TestMultiLineLint(\n        TrimExtraIndent(\"\"\"\n            class foo {\n              signals:\n              void bar();\n            };\"\"\"),\n        'signals: should be indented +1 space inside class foo'\n        '  [whitespace/indent] [3]')\n    self.TestMultiLineLint(\n        TrimExtraIndent('''\n            static const char kRawString[] = R\"(\"\n             \")\";'''),\n        '')\n    self.TestMultiLineLint(\n        TrimExtraIndent('''\n            KV<Query,\n               Tuple<TaxonomyId, PetacatCategoryId, double>>'''),\n        '')\n    self.TestMultiLineLint(\n        ' static const char kSingleLineRawString[] = R\"(...)\";',\n        'Weird number of spaces at line-start.  '\n        'Are you using a 2-space indent?  [whitespace/indent] [3]')\n\n  def testSectionIndent(self):\n    self.TestMultiLineLint(\n        \"\"\"\n        class A {\n         public:  // no warning\n          private:  // warning here\n        };\"\"\",\n        'private: should be indented +1 space inside class A'\n        '  [whitespace/indent] [3]')\n    self.TestMultiLineLint(\n        \"\"\"\n        class B {\n         public:  // no warning\n          template<> struct C {\n            public:    // warning here\n           protected:  // no warning\n          };\n        };\"\"\",\n        'public: should be indented +1 space inside struct C'\n        '  [whitespace/indent] [3]')\n    self.TestMultiLineLint(\n        \"\"\"\n        struct D {\n         };\"\"\",\n        'Closing brace should be aligned with beginning of struct D'\n        '  [whitespace/indent] [3]')\n    self.TestMultiLineLint(\n        \"\"\"\n         template<typename E> class F {\n        };\"\"\",\n        'Closing brace should be aligned with beginning of class F'\n        '  [whitespace/indent] [3]')\n    self.TestMultiLineLint(\n        \"\"\"\n        class G {\n          Q_OBJECT\n        public slots:\n        signals:\n        };\"\"\",\n        ['public slots: should be indented +1 space inside class G'\n         '  [whitespace/indent] [3]',\n         'signals: should be indented +1 space inside class G'\n         '  [whitespace/indent] [3]'])\n    self.TestMultiLineLint(\n        \"\"\"\n        class H {\n          /* comments */ class I {\n           public:  // no warning\n            private:  // warning here\n          };\n        };\"\"\",\n        'private: should be indented +1 space inside class I'\n        '  [whitespace/indent] [3]')\n    self.TestMultiLineLint(\n        \"\"\"\n        class J\n            : public ::K {\n         public:  // no warning\n          protected:  // warning here\n        };\"\"\",\n        'protected: should be indented +1 space inside class J'\n        '  [whitespace/indent] [3]')\n    self.TestMultiLineLint(\n        \"\"\"\n        class L\n            : public M,\n              public ::N {\n        };\"\"\",\n        '')\n    self.TestMultiLineLint(\n        \"\"\"\n        template <class O,\n                  class P,\n                  class Q,\n                  typename R>\n        static void Func() {\n        }\"\"\",\n        '')\n\n  def testConditionals(self):\n    self.TestMultiLineLint(\n        \"\"\"\n        if (foo)\n          goto fail;\n          goto fail;\"\"\",\n        'If/else bodies with multiple statements require braces'\n        '  [readability/braces] [4]')\n    self.TestMultiLineLint(\n        \"\"\"\n        if (foo)\n          goto fail; goto fail;\"\"\",\n        'If/else bodies with multiple statements require braces'\n        '  [readability/braces] [4]')\n    self.TestMultiLineLint(\n        \"\"\"\n        if (foo)\n          foo;\n        else\n          goto fail;\n          goto fail;\"\"\",\n        'If/else bodies with multiple statements require braces'\n        '  [readability/braces] [4]')\n    self.TestMultiLineLint(\n        \"\"\"\n        if (foo) goto fail;\n          goto fail;\"\"\",\n        'If/else bodies with multiple statements require braces'\n        '  [readability/braces] [4]')\n    self.TestMultiLineLint(\n        \"\"\"\n        if constexpr (foo) {\n          goto fail;\n          goto fail;\n        } else if constexpr (bar) {\n          hello();\n        }\"\"\",\n        '')\n    self.TestMultiLineLint(\n        \"\"\"\n        if (foo)\n          if (bar)\n            baz;\n          else\n            qux;\"\"\",\n        'Else clause should be indented at the same level as if. Ambiguous'\n        ' nested if/else chains require braces.  [readability/braces] [4]')\n    self.TestMultiLineLint(\n        \"\"\"\n        if (foo)\n          if (bar)\n            baz;\n        else\n          qux;\"\"\",\n        'Else clause should be indented at the same level as if. Ambiguous'\n        ' nested if/else chains require braces.  [readability/braces] [4]')\n    self.TestMultiLineLint(\n        \"\"\"\n        if (foo) {\n          bar;\n          baz;\n        } else\n          qux;\"\"\",\n        'If an else has a brace on one side, it should have it on both'\n        '  [readability/braces] [5]')\n    self.TestMultiLineLint(\n        \"\"\"\n        if (foo)\n          bar;\n        else {\n          baz;\n        }\"\"\",\n        'If an else has a brace on one side, it should have it on both'\n        '  [readability/braces] [5]')\n    self.TestMultiLineLint(\n        \"\"\"\n        if (foo)\n          bar;\n        else if (baz) {\n          qux;\n        }\"\"\",\n        'If an else has a brace on one side, it should have it on both'\n        '  [readability/braces] [5]')\n    self.TestMultiLineLint(\n        \"\"\"\n        if (foo) {\n          bar;\n        } else if (baz)\n          qux;\"\"\",\n        'If an else has a brace on one side, it should have it on both'\n        '  [readability/braces] [5]')\n    self.TestMultiLineLint(\n        \"\"\"\n        if (foo)\n          goto fail;\n        bar;\"\"\",\n        '')\n    self.TestMultiLineLint(\n        \"\"\"\n        if (foo\n            && bar) {\n          baz;\n          qux;\n        }\"\"\",\n        '')\n    self.TestMultiLineLint(\n        \"\"\"\n        if (foo)\n          goto\n            fail;\"\"\",\n        '')\n    self.TestMultiLineLint(\n        \"\"\"\n        if (foo)\n          bar;\n        else\n          baz;\n        qux;\"\"\",\n        '')\n    self.TestMultiLineLint(\n        \"\"\"\n        for (;;) {\n          if (foo)\n            bar;\n          else\n            baz;\n        }\"\"\",\n        '')\n    self.TestMultiLineLint(\n        \"\"\"\n        if (foo)\n          bar;\n        else if (baz)\n          baz;\"\"\",\n        '')\n    self.TestMultiLineLint(\n        \"\"\"\n        if (foo)\n          bar;\n        else\n          baz;\"\"\",\n        '')\n    self.TestMultiLineLint(\n        \"\"\"\n        if (foo) {\n          bar;\n        } else {\n          baz;\n        }\"\"\",\n        '')\n    self.TestMultiLineLint(\n        \"\"\"\n        if (foo) {\n          bar;\n        } else if (baz) {\n          qux;\n        }\"\"\",\n        '')\n    # Note: this is an error for a different reason, but should not trigger the\n    # single-line if error.\n    self.TestMultiLineLint(\n        \"\"\"\n        if (foo)\n        {\n          bar;\n          baz;\n        }\"\"\",\n        '{ should almost always be at the end of the previous line'\n        '  [whitespace/braces] [4]')\n    self.TestMultiLineLint(\n        \"\"\"\n        if (foo) { \\\\\n          bar; \\\\\n          baz; \\\\\n        }\"\"\",\n        '')\n    self.TestMultiLineLint(\n        \"\"\"\n        void foo() { if (bar) baz; }\"\"\",\n        '')\n    self.TestMultiLineLint(\n        \"\"\"\n        #if foo\n          bar;\n        #else\n          baz;\n          qux;\n        #endif\"\"\",\n        '')\n    self.TestMultiLineLint(\n        \"\"\"void F() {\n          variable = [] { if (true); };\n          variable =\n              [] { if (true); };\n          Call(\n              [] { if (true); },\n              [] { if (true); });\n        }\"\"\",\n        '')\n\n  def testTab(self):\n    self.TestLint('\\tint a;',\n                  'Tab found; better to use spaces  [whitespace/tab] [1]')\n    self.TestLint('int a = 5;\\t\\t// set a to 5',\n                  'Tab found; better to use spaces  [whitespace/tab] [1]')\n\n  def testParseArguments(self):\n    old_output_format = cpplint._cpplint_state.output_format\n    old_verbose_level = cpplint._cpplint_state.verbose_level\n    old_headers = cpplint._hpp_headers\n    old_filters = cpplint._cpplint_state.filters\n    old_line_length = cpplint._line_length\n    old_valid_extensions = cpplint._valid_extensions\n    try:\n      # Don't print usage during the tests, or filter categories\n      sys.stdout = open(os.devnull, 'w')\n      sys.stderr = open(os.devnull, 'w')\n\n      self.assertRaises(SystemExit, cpplint.ParseArguments, [])\n      self.assertRaises(SystemExit, cpplint.ParseArguments, ['--badopt'])\n      self.assertRaises(SystemExit, cpplint.ParseArguments, ['--help'])\n      self.assertRaises(SystemExit, cpplint.ParseArguments, ['--version'])\n      self.assertRaises(SystemExit, cpplint.ParseArguments, ['--v=0'])\n      self.assertRaises(SystemExit, cpplint.ParseArguments, ['--filter='])\n      # This is illegal because all filters must start with + or -\n      self.assertRaises(SystemExit, cpplint.ParseArguments, ['--filter=foo'])\n      self.assertRaises(SystemExit, cpplint.ParseArguments,\n                        ['--filter=+a,b,-c'])\n      self.assertRaises(SystemExit, cpplint.ParseArguments, ['--headers'])\n\n      self.assertEquals(['foo.cc'], cpplint.ParseArguments(['foo.cc']))\n      self.assertEquals(old_output_format, cpplint._cpplint_state.output_format)\n      self.assertEquals(old_verbose_level, cpplint._cpplint_state.verbose_level)\n\n      self.assertEquals(['foo.cc'],\n                        cpplint.ParseArguments(['--v=1', 'foo.cc']))\n      self.assertEquals(1, cpplint._cpplint_state.verbose_level)\n      self.assertEquals(['foo.h'],\n                        cpplint.ParseArguments(['--v=3', 'foo.h']))\n      self.assertEquals(3, cpplint._cpplint_state.verbose_level)\n      self.assertEquals(['foo.cpp'],\n                        cpplint.ParseArguments(['--verbose=5', 'foo.cpp']))\n      self.assertEquals(5, cpplint._cpplint_state.verbose_level)\n      self.assertRaises(ValueError,\n                        cpplint.ParseArguments, ['--v=f', 'foo.cc'])\n\n      self.assertEquals(['foo.cc'],\n                        cpplint.ParseArguments(['--output=emacs', 'foo.cc']))\n      self.assertEquals('emacs', cpplint._cpplint_state.output_format)\n      self.assertEquals(['foo.h'],\n                        cpplint.ParseArguments(['--output=vs7', 'foo.h']))\n      self.assertEquals('vs7', cpplint._cpplint_state.output_format)\n      self.assertRaises(SystemExit,\n                        cpplint.ParseArguments, ['--output=blah', 'foo.cc'])\n\n      filt = '-,+whitespace,-whitespace/indent'\n      self.assertEquals(['foo.h'],\n                        cpplint.ParseArguments(['--filter='+filt, 'foo.h']))\n      self.assertEquals(['-', '+whitespace', '-whitespace/indent'],\n                        cpplint._cpplint_state.filters)\n\n      self.assertEquals(['foo.cc', 'foo.h'],\n                        cpplint.ParseArguments(['foo.cc', 'foo.h']))\n\n      cpplint._hpp_headers = old_headers\n      cpplint._valid_extensions = old_valid_extensions\n      self.assertEqual(['foo.h'],\n                       cpplint.ParseArguments(['--linelength=120', 'foo.h']))\n      self.assertEqual(120, cpplint._line_length)\n      self.assertEqual(set(['h', 'hh', 'hpp', 'hxx', 'h++', 'cuh']), cpplint.GetHeaderExtensions())  # Default value\n\n      cpplint._hpp_headers = old_headers\n      cpplint._valid_extensions = old_valid_extensions\n      self.assertEqual(['foo.h'],\n                       cpplint.ParseArguments(['--headers=h', 'foo.h']))\n      self.assertEqual(set(['h', 'c', 'cc', 'cpp', 'cxx', 'c++', 'cu']), cpplint.GetAllExtensions())\n\n      cpplint._hpp_headers = old_headers\n      cpplint._valid_extensions = old_valid_extensions\n      self.assertEqual(['foo.h'],\n                       cpplint.ParseArguments(['--extensions=hpp,cpp,cpp', 'foo.h']))\n      self.assertEqual(set(['hpp', 'cpp']), cpplint.GetAllExtensions())\n      self.assertEqual(set(['hpp']), cpplint.GetHeaderExtensions())\n\n      cpplint._hpp_headers = old_headers\n      cpplint._valid_extensions = old_valid_extensions\n      self.assertEqual(['foo.h'],\n                       cpplint.ParseArguments(['--extensions=cpp,cpp', '--headers=hpp,h', 'foo.h']))\n      self.assertEqual(set(['hpp', 'h']), cpplint.GetHeaderExtensions())\n      self.assertEqual(set(['hpp', 'h', 'cpp']), cpplint.GetAllExtensions())\n\n    finally:\n      sys.stdout == sys.__stdout__\n      sys.stderr == sys.__stderr__\n      cpplint._cpplint_state.output_format = old_output_format\n      cpplint._cpplint_state.verbose_level = old_verbose_level\n      cpplint._cpplint_state.filters = old_filters\n      cpplint._line_length = old_line_length\n      cpplint._valid_extensions = old_valid_extensions\n      cpplint._hpp_headers = old_headers\n\n  def testRecursiveArgument(self):\n    working_dir = os.getcwd()\n    temp_dir = os.path.realpath(tempfile.mkdtemp())\n    try:\n      src_dir = os.path.join(temp_dir, \"src\")\n      nested_dir = os.path.join(temp_dir, \"src\", \"nested\")\n      os.makedirs(nested_dir)\n      open(os.path.join(temp_dir, \"one.cpp\"), 'w').close()\n      open(os.path.join(src_dir, \"two.cpp\"), 'w').close()\n      open(os.path.join(nested_dir, \"three.cpp\"), 'w').close()\n      os.chdir(temp_dir)\n      expected = ['one.cpp', os.path.join('src', 'two.cpp'),\n                  os.path.join('src', 'nested', 'three.cpp')]\n      cpplint._excludes = None\n      actual = cpplint.ParseArguments(['--recursive', 'one.cpp', 'src'])\n      self.assertEquals(set(expected), set(actual))\n    finally:\n        os.chdir(working_dir)\n        shutil.rmtree(temp_dir)\n\n  def testRecursiveExcludeInvalidFileExtension(self):\n    working_dir = os.getcwd()\n    temp_dir = os.path.realpath(tempfile.mkdtemp())\n    try:\n      src_dir = os.path.join(temp_dir, \"src\")\n      os.makedirs(src_dir)\n      open(os.path.join(temp_dir, \"one.cpp\"), 'w').close()\n      open(os.path.join(src_dir, \"two.cpp\"), 'w').close()\n      open(os.path.join(src_dir, \"three.cc\"), 'w').close()\n      os.chdir(temp_dir)\n      expected = ['one.cpp', os.path.join('src', 'two.cpp')]\n      cpplint._excludes = None\n      actual = cpplint.ParseArguments(['--recursive', '--extensions=cpp',\n          'one.cpp', 'src'])\n      self.assertEquals(set(expected), set(actual))\n    finally:\n        os.chdir(working_dir)\n        shutil.rmtree(temp_dir)\n        cpplint._hpp_headers = set([])\n        cpplint._valid_extensions = set([])\n\n  def testRecursiveExclude(self):\n    working_dir = os.getcwd()\n    temp_dir = os.path.realpath(tempfile.mkdtemp())\n    try:\n      src_dir = os.path.join(temp_dir, 'src')\n      src2_dir = os.path.join(temp_dir, 'src2')\n      os.makedirs(src_dir)\n      os.makedirs(src2_dir)\n      open(os.path.join(src_dir, 'one.cc'), 'w').close()\n      open(os.path.join(src_dir, 'two.cc'), 'w').close()\n      open(os.path.join(src_dir, 'three.cc'), 'w').close()\n      open(os.path.join(src2_dir, 'one.cc'), 'w').close()\n      open(os.path.join(src2_dir, 'two.cc'), 'w').close()\n      open(os.path.join(src2_dir, 'three.cc'), 'w').close()\n      os.chdir(temp_dir)\n\n      expected = [\n        os.path.join('src', 'one.cc'),\n        os.path.join('src', 'two.cc'),\n        os.path.join('src', 'three.cc')\n      ]\n      cpplint._excludes = None\n      actual = cpplint.ParseArguments(['src'])\n      self.assertEquals(set(['src']), set(actual))\n\n      cpplint._excludes = None\n      actual = cpplint.ParseArguments(['--recursive', 'src'])\n      self.assertEquals(set(expected), set(actual))\n\n      expected = [os.path.join('src', 'one.cc')]\n      cpplint._excludes = None\n      actual = cpplint.ParseArguments(['--recursive',\n          '--exclude=src{0}t*'.format(os.sep), 'src'])\n      self.assertEquals(set(expected), set(actual))\n\n      expected = [os.path.join('src', 'one.cc')]\n      cpplint._excludes = None\n      actual = cpplint.ParseArguments(['--recursive',\n          '--exclude=src/two.cc', '--exclude=src/three.cc', 'src'])\n      self.assertEquals(set(expected), set(actual))\n\n      expected = set([\n        os.path.join('src2', 'one.cc'),\n        os.path.join('src2', 'two.cc'),\n        os.path.join('src2', 'three.cc')\n      ])\n      cpplint._excludes = None\n      actual = cpplint.ParseArguments(['--recursive',\n          '--exclude=src', '.'])\n      self.assertEquals(expected, set(actual))\n    finally:\n        os.chdir(working_dir)\n        shutil.rmtree(temp_dir)\n\n  def testJUnitXML(self):\n    try:\n      cpplint._cpplint_state._junit_errors = []\n      cpplint._cpplint_state._junit_failures = []\n      expected = ('<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\\n'\n          '<testsuite errors=\"0\" failures=\"0\" name=\"cpplint\" tests=\"1\">'\n          '<testcase name=\"passed\" />'\n          '</testsuite>')\n      self.assertEquals(expected, cpplint._cpplint_state.FormatJUnitXML())\n\n      cpplint._cpplint_state._junit_errors = ['ErrMsg1']\n      cpplint._cpplint_state._junit_failures = []\n      expected = ('<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\\n'\n          '<testsuite errors=\"1\" failures=\"0\" name=\"cpplint\" tests=\"1\">'\n          '<testcase name=\"errors\"><error>ErrMsg1</error></testcase>'\n          '</testsuite>')\n      self.assertEquals(expected, cpplint._cpplint_state.FormatJUnitXML())\n\n      cpplint._cpplint_state._junit_errors = ['ErrMsg1', 'ErrMsg2']\n      cpplint._cpplint_state._junit_failures = []\n      expected = ('<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\\n'\n          '<testsuite errors=\"2\" failures=\"0\" name=\"cpplint\" tests=\"2\">'\n          '<testcase name=\"errors\"><error>ErrMsg1\\nErrMsg2</error></testcase>'\n          '</testsuite>')\n      self.assertEquals(expected, cpplint._cpplint_state.FormatJUnitXML())\n\n      cpplint._cpplint_state._junit_errors = ['ErrMsg']\n      cpplint._cpplint_state._junit_failures = [\n          ('File', 5, 'FailMsg', 'category/subcategory', 3)]\n      expected = ('<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\\n'\n          '<testsuite errors=\"1\" failures=\"1\" name=\"cpplint\" tests=\"2\">'\n          '<testcase name=\"errors\"><error>ErrMsg</error></testcase>'\n          '<testcase name=\"File\"><failure>5: FailMsg [category/subcategory] '\n          '[3]</failure></testcase></testsuite>')\n      self.assertEquals(expected, cpplint._cpplint_state.FormatJUnitXML())\n\n      cpplint._cpplint_state._junit_errors = []\n      cpplint._cpplint_state._junit_failures = [\n          ('File1', 5, 'FailMsg1', 'category/subcategory', 3),\n          ('File2', 99, 'FailMsg2', 'category/subcategory', 3),\n          ('File1', 19, 'FailMsg3', 'category/subcategory', 3)]\n      expected = ('<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\\n'\n          '<testsuite errors=\"0\" failures=\"3\" name=\"cpplint\" tests=\"3\">'\n          '<testcase name=\"File1\"><failure>5: FailMsg1 [category/subcategory]'\n          ' [3]\\n19: FailMsg3 [category/subcategory] [3]</failure></testcase>'\n          '<testcase name=\"File2\"><failure>99: FailMsg2 '\n          '[category/subcategory] [3]</failure></testcase></testsuite>')\n      self.assertEquals(expected, cpplint._cpplint_state.FormatJUnitXML())\n\n      cpplint._cpplint_state._junit_errors = ['&</error>']\n      cpplint._cpplint_state._junit_failures = [\n          ('File1', 5, '&</failure>', 'category/subcategory', 3)]\n      expected = ('<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\\n'\n          '<testsuite errors=\"1\" failures=\"1\" name=\"cpplint\" tests=\"2\">'\n          '<testcase name=\"errors\"><error>&amp;&lt;/error&gt;</error>'\n          '</testcase><testcase name=\"File1\"><failure>5: '\n          '&amp;&lt;/failure&gt; [category/subcategory] [3]</failure>'\n          '</testcase></testsuite>')\n      self.assertEquals(expected, cpplint._cpplint_state.FormatJUnitXML())\n\n    finally:\n      cpplint._cpplint_state._junit_errors = []\n      cpplint._cpplint_state._junit_failures = []\n\n  def testQuiet(self):\n    self.assertEquals(cpplint._cpplint_state.quiet, False)\n    cpplint.ParseArguments(['--quiet', 'one.cpp'])\n    self.assertEquals(cpplint._cpplint_state.quiet, True)\n\n  def testLineLength(self):\n    old_line_length = cpplint._line_length\n    try:\n      cpplint._line_length = 80\n      self.TestLint(\n          '// H %s' % ('H' * 75),\n          '')\n      self.TestLint(\n          '// H %s' % ('H' * 76),\n          'Lines should be <= 80 characters long'\n          '  [whitespace/line_length] [2]')\n      cpplint._line_length = 120\n      self.TestLint(\n          '// H %s' % ('H' * 115),\n          '')\n      self.TestLint(\n          '// H %s' % ('H' * 116),\n          'Lines should be <= 120 characters long'\n          '  [whitespace/line_length] [2]')\n    finally:\n      cpplint._line_length = old_line_length\n\n  def testFilter(self):\n    old_filters = cpplint._cpplint_state.filters\n    try:\n      cpplint._cpplint_state.SetFilters('-,+whitespace,-whitespace/indent')\n      self.TestLint(\n          '// Hello there ',\n          'Line ends in whitespace.  Consider deleting these extra spaces.'\n          '  [whitespace/end_of_line] [4]')\n      self.TestLint('int a = (int)1.0;', '')\n      self.TestLint(' weird opening space', '')\n    finally:\n      cpplint._cpplint_state.filters = old_filters\n\n  def testDefaultFilter(self):\n    default_filters = cpplint._DEFAULT_FILTERS\n    old_filters = cpplint._cpplint_state.filters\n    cpplint._DEFAULT_FILTERS = ['-whitespace']\n    try:\n      # Reset filters\n      cpplint._cpplint_state.SetFilters('')\n      self.TestLint('// Hello there ', '')\n      cpplint._cpplint_state.SetFilters('+whitespace/end_of_line')\n      self.TestLint(\n          '// Hello there ',\n          'Line ends in whitespace.  Consider deleting these extra spaces.'\n          '  [whitespace/end_of_line] [4]')\n      self.TestLint(' weird opening space', '')\n    finally:\n      cpplint._cpplint_state.filters = old_filters\n      cpplint._DEFAULT_FILTERS = default_filters\n\n  def testDuplicateHeader(self):\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData('path/self.cc', 'cc',\n                            ['// Copyright 2014 Your Company. All Rights Reserved.',\n                             '#include \"path/self.h\"',\n                             '#include \"path/duplicate.h\"',\n                             '#include \"path/duplicate.h\"',\n                             '#ifdef MACRO',\n                             '#include \"path/unique.h\"',\n                             '#else',\n                             '#include \"path/unique.h\"',\n                             '#endif',\n                             ''],\n                            error_collector)\n    self.assertEquals(\n        ['\"path/duplicate.h\" already included at path/self.cc:3  '\n         '[build/include] [4]'],\n        error_collector.ResultList())\n\n  def testUnnamedNamespacesInHeaders(self):\n    for extension in ['h', 'hpp', 'hxx', 'h++', 'cuh']:\n      self.doTestUnnamedNamespacesInHeaders(extension)\n\n  def doTestUnnamedNamespacesInHeaders(self, extension):\n    self.TestLanguageRulesCheck(\n        'foo.' + extension, 'namespace {',\n        'Do not use unnamed namespaces in header files.  See'\n        ' https://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Namespaces'\n        ' for more information.  [build/namespaces_headers] [4]')\n    # namespace registration macros are OK.\n    self.TestLanguageRulesCheck('foo.' + extension, 'namespace {  \\\\', '')\n    # named namespaces are OK.\n    self.TestLanguageRulesCheck('foo.' + extension, 'namespace foo {', '')\n    self.TestLanguageRulesCheck('foo.' + extension, 'namespace foonamespace {', '')\n\n  def testUnnamedNamespacesInNonHeaders(self):\n    for extension in ['c', 'cc', 'cpp', 'cxx', 'c++', 'cu']:\n      self.TestLanguageRulesCheck('foo.' + extension, 'namespace {', '')\n      self.TestLanguageRulesCheck('foo.' + extension, 'namespace foo {', '')\n\n  def testBuildClass(self):\n    # Test that the linter can parse to the end of class definitions,\n    # and that it will report when it can't.\n    # Use multi-line linter because it performs the ClassState check.\n    self.TestMultiLineLint(\n        'class Foo {',\n        'Failed to find complete declaration of class Foo'\n        '  [build/class] [5]')\n    # Do the same for namespaces\n    self.TestMultiLineLint(\n        'namespace Foo {',\n        'Failed to find complete declaration of namespace Foo'\n        '  [build/namespaces] [5]')\n    # Don't warn on forward declarations of various types.\n    self.TestMultiLineLint(\n        'class Foo;',\n        '')\n    self.TestMultiLineLint(\n        \"\"\"struct Foo*\n             foo = NewFoo();\"\"\",\n        '')\n    # Test preprocessor.\n    self.TestMultiLineLint(\n        \"\"\"#ifdef DERIVE_FROM_GOO\n          struct Foo : public Goo {\n        #else\n          struct Foo : public Hoo {\n        #endif\n          };\"\"\",\n        '')\n    self.TestMultiLineLint(\n        \"\"\"\n        class Foo\n        #ifdef DERIVE_FROM_GOO\n          : public Goo {\n        #else\n          : public Hoo {\n        #endif\n        };\"\"\",\n        '')\n    # Test incomplete class\n    self.TestMultiLineLint(\n        'class Foo {',\n        'Failed to find complete declaration of class Foo'\n        '  [build/class] [5]')\n\n  def testBuildEndComment(self):\n    # The crosstool compiler we currently use will fail to compile the\n    # code in this test, so we might consider removing the lint check.\n    self.TestMultiLineLint(\n        \"\"\"#if 0\n        #endif Not a comment\"\"\",\n        'Uncommented text after #endif is non-standard.  Use a comment.'\n        '  [build/endif_comment] [5]')\n\n  def testBuildForwardDecl(self):\n    # The crosstool compiler we currently use will fail to compile the\n    # code in this test, so we might consider removing the lint check.\n    self.TestLint('class Foo::Goo;',\n                  'Inner-style forward declarations are invalid.'\n                  '  Remove this line.'\n                  '  [build/forward_decl] [5]')\n\n  def GetBuildHeaderGuardPreprocessorSymbol(self, file_path):\n    # Figure out the expected header guard by processing an empty file.\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData(file_path, 'h', [], error_collector)\n    for error in error_collector.ResultList():\n      matched = re.search(\n          'No #ifndef header guard found, suggested CPP variable is: '\n          '([A-Z0-9_]+)',\n          error)\n      if matched is not None:\n        return matched.group(1)\n\n  def testBuildHeaderGuard(self):\n    file_path = 'mydir/foo.h'\n    expected_guard = self.GetBuildHeaderGuardPreprocessorSymbol(file_path)\n    self.assertTrue(re.search('MYDIR_FOO_H_$', expected_guard))\n\n    # No guard at all: expect one error.\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData(file_path, 'h', [], error_collector)\n    self.assertEquals(\n        1,\n        error_collector.ResultList().count(\n            'No #ifndef header guard found, suggested CPP variable is: %s'\n            '  [build/header_guard] [5]' % expected_guard),\n        error_collector.ResultList())\n\n    # No header guard, but the error is suppressed.\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData(file_path, 'h',\n                            ['// Copyright 2014 Your Company.',\n                             '// NOLINT(build/header_guard)', ''],\n                            error_collector)\n    self.assertEquals([], error_collector.ResultList())\n\n    # Wrong guard\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData(file_path, 'h',\n                            ['#ifndef FOO_H', '#define FOO_H'], error_collector)\n    self.assertEquals(\n        1,\n        error_collector.ResultList().count(\n            '#ifndef header guard has wrong style, please use: %s'\n            '  [build/header_guard] [5]' % expected_guard),\n        error_collector.ResultList())\n\n    # No define\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData(file_path, 'h',\n                            ['#ifndef %s' % expected_guard], error_collector)\n    self.assertEquals(\n        1,\n        error_collector.ResultList().count(\n            'No #ifndef header guard found, suggested CPP variable is: %s'\n            '  [build/header_guard] [5]' % expected_guard),\n        error_collector.ResultList())\n\n    # Mismatched define\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData(file_path, 'h',\n                            ['#ifndef %s' % expected_guard,\n                             '#define FOO_H'],\n                            error_collector)\n    self.assertEquals(\n        1,\n        error_collector.ResultList().count(\n            'No #ifndef header guard found, suggested CPP variable is: %s'\n            '  [build/header_guard] [5]' % expected_guard),\n        error_collector.ResultList())\n\n    # No endif\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData(file_path, 'h',\n                            ['#ifndef %s' % expected_guard,\n                             '#define %s' % expected_guard,\n                             ''],\n                            error_collector)\n    self.assertEquals(\n        1,\n        error_collector.ResultList().count(\n            '#endif line should be \"#endif  // %s\"'\n            '  [build/header_guard] [5]' % expected_guard),\n        error_collector.ResultList())\n\n    # Commentless endif\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData(file_path, 'h',\n                            ['#ifndef %s' % expected_guard,\n                             '#define %s' % expected_guard,\n                             '#endif'],\n                            error_collector)\n    self.assertEquals(\n        1,\n        error_collector.ResultList().count(\n            '#endif line should be \"#endif  // %s\"'\n            '  [build/header_guard] [5]' % expected_guard),\n        error_collector.ResultList())\n\n    # Commentless endif for old-style guard\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData(file_path, 'h',\n                            ['#ifndef %s_' % expected_guard,\n                             '#define %s_' % expected_guard,\n                             '#endif'],\n                            error_collector)\n    self.assertEquals(\n        1,\n        error_collector.ResultList().count(\n            '#endif line should be \"#endif  // %s\"'\n            '  [build/header_guard] [5]' % expected_guard),\n        error_collector.ResultList())\n\n    # No header guard errors\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData(file_path, 'h',\n                            ['#ifndef %s' % expected_guard,\n                             '#define %s' % expected_guard,\n                             '#endif  // %s' % expected_guard],\n                            error_collector)\n    for line in error_collector.ResultList():\n      if line.find('build/header_guard') != -1:\n        self.fail('Unexpected error: %s' % line)\n\n    # No header guard errors for old-style guard\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData(file_path, 'h',\n                            ['#ifndef %s_' % expected_guard,\n                             '#define %s_' % expected_guard,\n                             '#endif  // %s_' % expected_guard],\n                            error_collector)\n    for line in error_collector.ResultList():\n      if line.find('build/header_guard') != -1:\n        self.fail('Unexpected error: %s' % line)\n\n    old_verbose_level = cpplint._cpplint_state.verbose_level\n    try:\n      cpplint._cpplint_state.verbose_level = 0\n      # Warn on old-style guard if verbosity is 0.\n      error_collector = ErrorCollector(self.assert_)\n      cpplint.ProcessFileData(file_path, 'h',\n                              ['#ifndef %s_' % expected_guard,\n                               '#define %s_' % expected_guard,\n                               '#endif  // %s_' % expected_guard],\n                              error_collector)\n      self.assertEquals(\n          1,\n          error_collector.ResultList().count(\n              '#ifndef header guard has wrong style, please use: %s'\n              '  [build/header_guard] [0]' % expected_guard),\n          error_collector.ResultList())\n    finally:\n      cpplint._cpplint_state.verbose_level = old_verbose_level\n\n    # Completely incorrect header guard\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData(file_path, 'h',\n                            ['#ifndef FOO',\n                             '#define FOO',\n                             '#endif  // FOO'],\n                            error_collector)\n    self.assertEquals(\n        1,\n        error_collector.ResultList().count(\n            '#ifndef header guard has wrong style, please use: %s'\n            '  [build/header_guard] [5]' % expected_guard),\n        error_collector.ResultList())\n    self.assertEquals(\n        1,\n        error_collector.ResultList().count(\n            '#endif line should be \"#endif  // %s\"'\n            '  [build/header_guard] [5]' % expected_guard),\n        error_collector.ResultList())\n\n    # incorrect header guard with nolint\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData(file_path, 'h',\n                            ['#ifndef FOO  // NOLINT',\n                             '#define FOO',\n                             '#endif  // FOO NOLINT'],\n                            error_collector)\n    self.assertEquals(\n        0,\n        error_collector.ResultList().count(\n            '#ifndef header guard has wrong style, please use: %s'\n            '  [build/header_guard] [5]' % expected_guard),\n        error_collector.ResultList())\n    self.assertEquals(\n        0,\n        error_collector.ResultList().count(\n            '#endif line should be \"#endif  // %s\"'\n            '  [build/header_guard] [5]' % expected_guard),\n        error_collector.ResultList())\n\n    # Special case for flymake\n    for test_file in ['mydir/foo_flymake.h', 'mydir/.flymake/foo.h']:\n      error_collector = ErrorCollector(self.assert_)\n      cpplint.ProcessFileData(test_file, 'h',\n                              ['// Copyright 2014 Your Company.', ''],\n                              error_collector)\n      self.assertEquals(\n          1,\n          error_collector.ResultList().count(\n              'No #ifndef header guard found, suggested CPP variable is: %s'\n              '  [build/header_guard] [5]' % expected_guard),\n          error_collector.ResultList())\n\n    # Cuda guard\n    file_path = 'mydir/foo.cuh'\n    expected_guard = self.GetBuildHeaderGuardPreprocessorSymbol(file_path)\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData(file_path, 'cuh',\n                            ['#ifndef FOO',\n                             '#define FOO',\n                             '#endif  // FOO'],\n                            error_collector)\n    self.assertEquals(\n        1,\n        error_collector.ResultList().count(\n            '#ifndef header guard has wrong style, please use: %s'\n            '  [build/header_guard] [5]' % expected_guard),\n        error_collector.ResultList())\n    self.assertEquals(\n        1,\n        error_collector.ResultList().count(\n            '#endif line should be \"#endif  // %s\"'\n            '  [build/header_guard] [5]' % expected_guard),\n        error_collector.ResultList())\n\n  def testPragmaOnce(self):\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData('mydir/foo.h', 'h',\n        ['// Copyright 2014 Your Company.', '#pragma once', ''],\n        error_collector)\n    self.assertEquals([], error_collector.ResultList())\n\n  def testBuildHeaderGuardWithRoot(self):\n    temp_directory = os.path.realpath(tempfile.mkdtemp())\n    try:\n      test_directory = os.path.join(temp_directory, \"test\")\n      os.makedirs(test_directory)\n      os.makedirs(os.path.join(test_directory, \".svn\"))\n      header_directory = os.path.join(test_directory, \"cpplint\")\n      os.makedirs(header_directory)\n      self.doTestBuildHeaderGuardWithRoot(header_directory)\n    finally:\n      shutil.rmtree(temp_directory)\n\n  def doTestBuildHeaderGuardWithRoot(self, header_directory):\n\n    # note: Tested file paths must be real, otherwise\n    # the repository name lookup will fail.\n    file_path = os.path.join(header_directory,\n                             'cpplint_test_header.h')\n    open(file_path, 'a').close()\n    file_info = cpplint.FileInfo(file_path)\n    if file_info.FullName() == file_info.RepositoryName():\n      # When FileInfo cannot deduce the root directory of the repository,\n      # FileInfo.RepositoryName returns the same value as FileInfo.FullName.\n      # This can happen when this source file was obtained without .svn or\n      # .git directory. (e.g. using 'svn export' or 'git archive').\n      # Skip this test in such a case because --root flag makes sense only\n      # when the root directory of the repository is properly deduced.\n      return\n\n    self.assertEquals('CPPLINT_CPPLINT_TEST_HEADER_H_',\n                      cpplint.GetHeaderGuardCPPVariable(file_path))\n    #\n    # test --root flags:\n    #   this changes the cpp header guard prefix\n    #\n\n    # left-strip the header guard by using a root dir inside of the repo dir.\n    # relative directory\n    cpplint._root = 'cpplint'\n    self.assertEquals('CPPLINT_TEST_HEADER_H_',\n                      cpplint.GetHeaderGuardCPPVariable(file_path))\n\n    nested_header_directory = os.path.join(header_directory, \"nested\")\n    nested_file_path = os.path.join(nested_header_directory, 'cpplint_test_header.h')\n    os.makedirs(nested_header_directory)\n    open(nested_file_path, 'a').close()\n\n    cpplint._root = os.path.join('cpplint', 'nested')\n    actual = cpplint.GetHeaderGuardCPPVariable(nested_file_path)\n    self.assertEquals('CPPLINT_TEST_HEADER_H_',\n                      actual)\n\n    # absolute directory\n    # (note that CPPLINT.cfg root=setting is always made absolute)\n    cpplint._root = header_directory\n    self.assertEquals('CPPLINT_TEST_HEADER_H_',\n                      cpplint.GetHeaderGuardCPPVariable(file_path))\n\n    cpplint._root = nested_header_directory\n    self.assertEquals('CPPLINT_TEST_HEADER_H_',\n                      cpplint.GetHeaderGuardCPPVariable(nested_file_path))\n\n    # --root flag is ignored if an non-existent directory is specified.\n    cpplint._root = 'NON_EXISTENT_DIR'\n    self.assertEquals('CPPLINT_CPPLINT_TEST_HEADER_H_',\n                      cpplint.GetHeaderGuardCPPVariable(file_path))\n\n    # prepend to the header guard by using a root dir that is more outer\n    # than the repo dir\n\n    # (using absolute paths)\n    # (note that CPPLINT.cfg root=setting is always made absolute)\n    this_files_path = os.path.dirname(os.path.abspath(file_path))\n    (styleguide_path, this_files_dir) = os.path.split(this_files_path)\n    (styleguide_parent_path, styleguide_dir_name) = os.path.split(styleguide_path)\n    # parent dir of styleguide\n    cpplint._root = styleguide_parent_path\n    self.assertIsNotNone(styleguide_parent_path)\n    # do not hardcode the 'styleguide' repository name, it could be anything.\n    expected_prefix = re.sub(r'[^a-zA-Z0-9]', '_', styleguide_dir_name).upper() + '_'\n    # do not have 'styleguide' repo in '/'\n    self.assertEquals('%sCPPLINT_CPPLINT_TEST_HEADER_H_' %(expected_prefix),\n                      cpplint.GetHeaderGuardCPPVariable(file_path))\n\n    # To run the 'relative path' tests, we must be in the directory of this test file.\n    cur_dir = os.getcwd()\n    os.chdir(this_files_path)\n\n    # (using relative paths)\n    styleguide_rel_path = os.path.relpath(styleguide_path, this_files_path)\n    # '..'\n    cpplint._root = styleguide_rel_path\n    self.assertEquals('CPPLINT_CPPLINT_TEST_HEADER_H_',\n                      cpplint.GetHeaderGuardCPPVariable(file_path))\n\n    styleguide_rel_path = os.path.relpath(styleguide_parent_path,\n                                          this_files_path) # '../..'\n    cpplint._root = styleguide_rel_path\n    self.assertEquals('%sCPPLINT_CPPLINT_TEST_HEADER_H_' %(expected_prefix),\n                      cpplint.GetHeaderGuardCPPVariable(file_path))\n\n    cpplint._root = None\n\n    # Restore previous CWD.\n    os.chdir(cur_dir)\n\n  def testIncludeItsHeader(self):\n    temp_directory = os.path.realpath(tempfile.mkdtemp())\n    cur_dir = os.getcwd()\n    try:\n      test_directory = os.path.join(temp_directory, \"test\")\n      os.makedirs(test_directory)\n      file_path = os.path.join(test_directory, 'foo.h')\n      open(file_path, 'a').close()\n      file_path = os.path.join(test_directory, 'Bar.h')\n      open(file_path, 'a').close()\n\n      os.chdir(temp_directory)\n\n      error_collector = ErrorCollector(self.assertTrue)\n      cpplint.ProcessFileData(\n        'test/foo.cc', 'cc',\n        [''],\n        error_collector)\n      expected = \"{dir}/{fn}.cc should include its header file {dir}/{fn}.h  [build/include] [5]\".format(\n          fn=\"foo\",\n          dir=test_directory)\n      self.assertEqual(\n        1,\n        error_collector.Results().count(expected))\n\n      error_collector = ErrorCollector(self.assertTrue)\n      cpplint.ProcessFileData(\n        'test/foo.cc', 'cc',\n        [r'#include \"test/foo.h\"',\n         ''\n         ],\n        error_collector)\n      self.assertEqual(\n        0,\n        error_collector.Results().count(expected))\n\n      # Unix directory aliases are not allowed, and should trigger the\n      # \"include itse header file\" error\n      error_collector = ErrorCollector(self.assertTrue)\n      cpplint.ProcessFileData(\n        'test/foo.cc', 'cc',\n        [r'#include \"./test/foo.h\"',\n         ''\n         ],\n        error_collector)\n      expected = \"{dir}/{fn}.cc should include its header file {dir}/{fn}.h{unix_text}  [build/include] [5]\".format(\n          fn=\"foo\",\n          dir=test_directory,\n          unix_text=\". Relative paths like . and .. are not allowed.\")\n      self.assertEqual(\n        1,\n        error_collector.Results().count(expected))\n\n      # This should continue to work\n      error_collector = ErrorCollector(self.assertTrue)\n      cpplint.ProcessFileData(\n        'test/Bar.cc', 'cc',\n        [r'#include \"test/Bar.h\"',\n         ''\n         ],\n        error_collector)\n      expected = \"{dir}/{fn}.cc should include its header file {dir}/{fn}.h  [build/include] [5]\".format(\n          fn=\"Bar\",\n          dir=test_directory)\n      self.assertEqual(\n        0,\n        error_collector.Results().count(expected))\n\n      # Since Bar.cc & Bar.h look 3rd party-ish, it should be ok without the include dir\n      error_collector = ErrorCollector(self.assertTrue)\n      cpplint.ProcessFileData(\n        'test/Bar.cc', 'cc',\n        [r'#include \"Bar.h\"',\n         ''\n         ],\n        error_collector)\n      self.assertEqual(\n        0,\n        error_collector.Results().count(expected))\n\n    finally:\n      # Restore previous CWD.\n      os.chdir(cur_dir)\n      shutil.rmtree(temp_directory)\n\n  def testPathSplitToList(self):\n    self.assertEquals([''],\n                      cpplint.PathSplitToList(os.path.join('')))\n\n    self.assertEquals(['.'],\n                      cpplint.PathSplitToList(os.path.join('.')))\n\n    self.assertEquals(['..'],\n                      cpplint.PathSplitToList(os.path.join('..')))\n\n    self.assertEquals(['..', 'a', 'b'],\n                      cpplint.PathSplitToList(os.path.join('..', 'a', 'b')))\n\n    self.assertEquals(['a', 'b', 'c', 'd'],\n                      cpplint.PathSplitToList(os.path.join('a', 'b', 'c', 'd')))\n\n  def testBuildHeaderGuardWithRepository(self):\n    temp_directory = os.path.realpath(tempfile.mkdtemp())\n    temp_directory2 = os.path.realpath(tempfile.mkdtemp())\n    try:\n      os.makedirs(os.path.join(temp_directory, \".svn\"))\n      trunk_dir = os.path.join(temp_directory, \"trunk\")\n      os.makedirs(trunk_dir)\n      header_directory = os.path.join(trunk_dir, \"cpplint\")\n      os.makedirs(header_directory)\n      file_path = os.path.join(header_directory, 'cpplint_test_header.h')\n      open(file_path, 'a').close()\n\n      # search for .svn if _repository is not specified\n      self.assertEquals('TRUNK_CPPLINT_CPPLINT_TEST_HEADER_H_',\n                        cpplint.GetHeaderGuardCPPVariable(file_path))\n\n      # use the provided repository root for header guards\n      cpplint._repository = os.path.relpath(trunk_dir)\n      self.assertEquals('CPPLINT_CPPLINT_TEST_HEADER_H_',\n                        cpplint.GetHeaderGuardCPPVariable(file_path))\n      cpplint._repository = os.path.abspath(trunk_dir)\n      self.assertEquals('CPPLINT_CPPLINT_TEST_HEADER_H_',\n                        cpplint.GetHeaderGuardCPPVariable(file_path))\n\n      # ignore _repository if it doesnt exist\n      cpplint._repository = os.path.join(temp_directory, 'NON_EXISTANT')\n      self.assertEquals('TRUNK_CPPLINT_CPPLINT_TEST_HEADER_H_',\n                        cpplint.GetHeaderGuardCPPVariable(file_path))\n\n      # ignore _repository if it exists but file isn't in it\n      cpplint._repository = os.path.relpath(temp_directory2)\n      self.assertEquals('TRUNK_CPPLINT_CPPLINT_TEST_HEADER_H_',\n                        cpplint.GetHeaderGuardCPPVariable(file_path))\n\n      # _root should be relative to _repository\n      cpplint._repository = os.path.relpath(trunk_dir)\n      cpplint._root = 'cpplint'\n      self.assertEquals('CPPLINT_TEST_HEADER_H_',\n                        cpplint.GetHeaderGuardCPPVariable(file_path))\n\n    finally:\n      shutil.rmtree(temp_directory)\n      shutil.rmtree(temp_directory2)\n      cpplint._repository = None\n      cpplint._root = None\n\n  def testBuildInclude(self):\n    # Test that include statements have slashes in them.\n    self.TestLint('#include \"foo.h\"',\n                  'Include the directory when naming .h files'\n                  '  [build/include_subdir] [4]')\n    self.TestLint('#include \"Python.h\"', '')\n    self.TestLint('#include \"lua.h\"', '')\n\n  def testHppInclude(self):\n    code = '\\n'.join([\n      '#include <vector>',\n      '#include <boost/any.hpp>'\n    ])\n    self.TestLanguageRulesCheck('foo.h', code, '')\n\n  def testBuildPrintfFormat(self):\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData(\n        'foo.cc', 'cc',\n        [r'printf(\"\\%%d\", value);',\n         r'snprintf(buffer, sizeof(buffer), \"\\[%d\", value);',\n         r'fprintf(file, \"\\(%d\", value);',\n         r'vsnprintf(buffer, sizeof(buffer), \"\\\\\\{%d\", ap);'],\n        error_collector)\n    self.assertEquals(\n        4,\n        error_collector.Results().count(\n            '%, [, (, and { are undefined character escapes.  Unescape them.'\n            '  [build/printf_format] [3]'))\n\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData(\n        'foo.cc', 'cc',\n        ['// Copyright 2014 Your Company.',\n         r'printf(\"\\\\%%%d\", value);',\n         r'printf(R\"(\\[)\");',\n         r'printf(R\"(\\[%s)\", R\"(\\])\");',\n         ''],\n        error_collector)\n    self.assertEquals('', error_collector.Results())\n\n  def testRuntimePrintfFormat(self):\n    self.TestLint(\n        r'fprintf(file, \"%q\", value);',\n        '%q in format strings is deprecated.  Use %ll instead.'\n        '  [runtime/printf_format] [3]')\n\n    self.TestLint(\n        r'aprintf(file, \"The number is %12q\", value);',\n        '%q in format strings is deprecated.  Use %ll instead.'\n        '  [runtime/printf_format] [3]')\n\n    self.TestLint(\n        r'printf(file, \"The number is\" \"%-12q\", value);',\n        '%q in format strings is deprecated.  Use %ll instead.'\n        '  [runtime/printf_format] [3]')\n\n    self.TestLint(\n        r'printf(file, \"The number is\" \"%+12q\", value);',\n        '%q in format strings is deprecated.  Use %ll instead.'\n        '  [runtime/printf_format] [3]')\n\n    self.TestLint(\n        r'printf(file, \"The number is\" \"% 12q\", value);',\n        '%q in format strings is deprecated.  Use %ll instead.'\n        '  [runtime/printf_format] [3]')\n\n    self.TestLint(\n        r'snprintf(file, \"Never mix %d and %1$d parameters!\", value);',\n        '%N$ formats are unconventional.  Try rewriting to avoid them.'\n        '  [runtime/printf_format] [2]')\n\n  def TestLintLogCodeOnError(self, code, expected_message):\n    # Special TestLint which logs the input code on error.\n    result = self.PerformSingleLineLint(code)\n    if result != expected_message:\n      self.fail('For code: \"%s\"\\nGot: \"%s\"\\nExpected: \"%s\"'\n                % (code, result, expected_message))\n\n  def testBuildStorageClass(self):\n    qualifiers = [None, 'const', 'volatile']\n    signs = [None, 'signed', 'unsigned']\n    types = ['void', 'char', 'int', 'float', 'double',\n             'schar', 'int8', 'uint8', 'int16', 'uint16',\n             'int32', 'uint32', 'int64', 'uint64']\n    storage_classes = ['extern', 'register', 'static', 'typedef']\n\n    build_storage_class_error_message = (\n        'Storage-class specifier (static, extern, typedef, etc) should be '\n        'at the beginning of the declaration.  [build/storage_class] [5]')\n\n    # Some explicit cases. Legal in C++, deprecated in C99.\n    self.TestLint('const int static foo = 5;',\n                  build_storage_class_error_message)\n\n    self.TestLint('char static foo;',\n                  build_storage_class_error_message)\n\n    self.TestLint('double const static foo = 2.0;',\n                  build_storage_class_error_message)\n\n    self.TestLint('uint64 typedef unsigned_long_long;',\n                  build_storage_class_error_message)\n\n    self.TestLint('int register foo = 0;',\n                  build_storage_class_error_message)\n\n    # Since there are a very large number of possibilities, randomly\n    # construct declarations.\n    # Make sure that the declaration is logged if there's an error.\n    # Seed generator with an integer for absolute reproducibility.\n    random.seed(25)\n    for unused_i in range(10):\n      # Build up random list of non-storage-class declaration specs.\n      other_decl_specs = [random.choice(qualifiers), random.choice(signs),\n                          random.choice(types)]\n      # remove None\n      other_decl_specs = [x for x in other_decl_specs if x is not None]\n\n      # shuffle\n      random.shuffle(other_decl_specs)\n\n      # insert storage class after the first\n      storage_class = random.choice(storage_classes)\n      insertion_point = random.randint(1, len(other_decl_specs))\n      decl_specs = (other_decl_specs[0:insertion_point]\n                    + [storage_class]\n                    + other_decl_specs[insertion_point:])\n\n      self.TestLintLogCodeOnError(\n          ' '.join(decl_specs) + ';',\n          build_storage_class_error_message)\n\n      # but no error if storage class is first\n      self.TestLintLogCodeOnError(\n          storage_class + ' ' + ' '.join(other_decl_specs),\n          '')\n\n  def testLegalCopyright(self):\n    legal_copyright_message = (\n        'No copyright message found.  '\n        'You should have a line: \"Copyright [year] <Copyright Owner>\"'\n        '  [legal/copyright] [5]')\n\n    copyright_line = '// Copyright 2014 Google Inc. All Rights Reserved.'\n\n    file_path = 'mydir/googleclient/foo.cc'\n\n    # There should be a copyright message in the first 10 lines\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData(file_path, 'cc', [], error_collector)\n    self.assertEquals(\n        1,\n        error_collector.ResultList().count(legal_copyright_message))\n\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData(\n        file_path, 'cc',\n        ['' for unused_i in range(10)] + [copyright_line],\n        error_collector)\n    self.assertEquals(\n        1,\n        error_collector.ResultList().count(legal_copyright_message))\n\n    # Test that warning isn't issued if Copyright line appears early enough.\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData(file_path, 'cc', [copyright_line], error_collector)\n    for message in error_collector.ResultList():\n      if message.find('legal/copyright') != -1:\n        self.fail('Unexpected error: %s' % message)\n\n    error_collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData(\n        file_path, 'cc',\n        ['' for unused_i in range(9)] + [copyright_line],\n        error_collector)\n    for message in error_collector.ResultList():\n      if message.find('legal/copyright') != -1:\n        self.fail('Unexpected error: %s' % message)\n\n  def testInvalidIncrement(self):\n    self.TestLint('*count++;',\n                  'Changing pointer instead of value (or unused value of '\n                  'operator*).  [runtime/invalid_increment] [5]')\n\n  def testSnprintfSize(self):\n    self.TestLint('vsnprintf(NULL, 0, format)', '')\n    self.TestLint('snprintf(fisk, 1, format)',\n                  'If you can, use sizeof(fisk) instead of 1 as the 2nd arg '\n                  'to snprintf.  [runtime/printf] [3]')\nclass Cxx11Test(CpplintTestBase):\n\n  def Helper(self, package, extension, lines, count):\n    filename = package + '/foo.' + extension\n    lines = lines[:]\n\n    # Header files need to have an ifdef guard wrapped around their code.\n    if extension.startswith('h'):\n      guard = filename.upper().replace('/', '_').replace('.', '_') + '_'\n      lines.insert(0, '#ifndef ' + guard)\n      lines.insert(1, '#define ' + guard)\n      lines.append('#endif  // ' + guard)\n\n    # All files need a final blank line.\n    lines.append('')\n\n    # Process the file and check resulting error count.\n    collector = ErrorCollector(self.assert_)\n    cpplint.ProcessFileData(filename, extension, lines, collector)\n    error_list = collector.ResultList()\n    self.assertEquals(count, len(error_list), error_list)\n\n  def TestCxx11Feature(self, code, expected_error):\n    lines = code.split('\\n')\n    collector = ErrorCollector(self.assert_)\n    cpplint.RemoveMultiLineComments('foo.h', lines, collector)\n    clean_lines = cpplint.CleansedLines(lines)\n    cpplint.FlagCxx11Features('foo.cc', clean_lines, 0, collector)\n    self.assertEquals(expected_error, collector.Results())\n\n  def testBlockedHeaders(self):\n    self.TestCxx11Feature('#include <tr1/regex>',\n                          'C++ TR1 headers such as <tr1/regex> are '\n                          'unapproved.  [build/c++tr1] [5]')\n    self.TestCxx11Feature('#include <mutex>',\n                          '<mutex> is an unapproved C++11 header.'\n                          '  [build/c++11] [5]')\n\n  def testBlockedClasses(self):\n    self.TestCxx11Feature('std::alignment_of<T>',\n                          'std::alignment_of is an unapproved '\n                          'C++11 class or function.  Send c-style an example '\n                          'of where it would make your code more readable, '\n                          'and they may let you use it.'\n                          '  [build/c++11] [5]')\n    self.TestCxx11Feature('std::alignment_offer', '')\n    self.TestCxx11Feature('mystd::alignment_of', '')\n    self.TestCxx11Feature('std::binomial_distribution', '')\n\n  def testBlockedFunctions(self):\n    self.TestCxx11Feature('std::alignment_of<int>',\n                          'std::alignment_of is an unapproved '\n                          'C++11 class or function.  Send c-style an example '\n                          'of where it would make your code more readable, '\n                          'and they may let you use it.'\n                          '  [build/c++11] [5]')\n    # Missed because of the lack of \"std::\".  Compiles because ADL\n    # looks in the namespace of my_shared_ptr, which (presumably) is\n    # std::.  But there will be a lint error somewhere in this file\n    # since my_shared_ptr had to be defined.\n    self.TestCxx11Feature('static_pointer_cast<Base>(my_shared_ptr)', '')\n    self.TestCxx11Feature('std::declval<T>()', '')\n\n  def testExplicitMakePair(self):\n    self.TestLint('make_pair', '')\n    self.TestLint('make_pair(42, 42)', '')\n    self.TestLint('make_pair<',\n                  'For C++11-compatibility, omit template arguments from'\n                  ' make_pair OR use pair directly OR if appropriate,'\n                  ' construct a pair directly'\n                  '  [build/explicit_make_pair] [4]')\n    self.TestLint('make_pair <',\n                  'For C++11-compatibility, omit template arguments from'\n                  ' make_pair OR use pair directly OR if appropriate,'\n                  ' construct a pair directly'\n                  '  [build/explicit_make_pair] [4]')\n    self.TestLint('my_make_pair<int, int>', '')\n\nclass Cxx14Test(CpplintTestBase):\n\n  def TestCxx14Feature(self, code, expected_error):\n    lines = code.split('\\n')\n    collector = ErrorCollector(self.assert_)\n    cpplint.RemoveMultiLineComments('foo.h', lines, collector)\n    clean_lines = cpplint.CleansedLines(lines)\n    cpplint.FlagCxx14Features('foo.cc', clean_lines, 0, collector)\n    self.assertEquals(expected_error, collector.Results())\n\n  def testBlockedHeaders(self):\n    self.TestCxx14Feature('#include <scoped_allocator>',\n                          '<scoped_allocator> is an unapproved C++14 header.'\n                           '  [build/c++14] [5]')\n    self.TestCxx14Feature('#include <shared_mutex>',\n                          '<shared_mutex> is an unapproved C++14 header.'\n                          '  [build/c++14] [5]')\n\n\nclass CleansedLinesTest(unittest.TestCase):\n\n  def testInit(self):\n    lines = ['Line 1',\n             'Line 2',\n             'Line 3 // Comment test',\n             'Line 4 /* Comment test */',\n             'Line 5 \"foo\"']\n\n    clean_lines = cpplint.CleansedLines(lines)\n    self.assertEquals(lines, clean_lines.raw_lines)\n    self.assertEquals(5, clean_lines.NumLines())\n\n    self.assertEquals(['Line 1',\n                       'Line 2',\n                       'Line 3',\n                       'Line 4',\n                       'Line 5 \"foo\"'],\n                      clean_lines.lines)\n\n    self.assertEquals(['Line 1',\n                       'Line 2',\n                       'Line 3',\n                       'Line 4',\n                       'Line 5 \"\"'],\n                      clean_lines.elided)\n\n  def testInitEmpty(self):\n    clean_lines = cpplint.CleansedLines([])\n    self.assertEquals([], clean_lines.raw_lines)\n    self.assertEquals(0, clean_lines.NumLines())\n\n  def testCollapseStrings(self):\n    collapse = cpplint.CleansedLines._CollapseStrings\n    self.assertEquals('\"\"', collapse('\"\"'))             # \"\"     (empty)\n    self.assertEquals('\"\"\"', collapse('\"\"\"'))           # \"\"\"    (bad)\n    self.assertEquals('\"\"', collapse('\"xyz\"'))          # \"xyz\"  (string)\n    self.assertEquals('\"\"', collapse('\"\\\\\\\"\"'))         # \"\\\"\"   (string)\n    self.assertEquals('\"\"', collapse('\"\\'\"'))           # \"'\"    (string)\n    self.assertEquals('\"\\\"', collapse('\"\\\"'))           # \"\\\"    (bad)\n    self.assertEquals('\"\"', collapse('\"\\\\\\\\\"'))         # \"\\\\\"   (string)\n    self.assertEquals('\"', collapse('\"\\\\\\\\\\\\\"'))        # \"\\\\\\\"  (bad)\n    self.assertEquals('\"\"', collapse('\"\\\\\\\\\\\\\\\\\"'))     # \"\\\\\\\\\" (string)\n\n    self.assertEquals('\\'\\'', collapse('\\'\\''))         # ''     (empty)\n    self.assertEquals('\\'\\'', collapse('\\'a\\''))        # 'a'    (char)\n    self.assertEquals('\\'\\'', collapse('\\'\\\\\\'\\''))     # '\\''   (char)\n    self.assertEquals('\\'', collapse('\\'\\\\\\''))         # '\\'    (bad)\n    self.assertEquals('', collapse('\\\\012'))            # '\\012' (char)\n    self.assertEquals('', collapse('\\\\xfF0'))           # '\\xfF0' (char)\n    self.assertEquals('', collapse('\\\\n'))              # '\\n' (char)\n    self.assertEquals(r'\\#', collapse('\\\\#'))           # '\\#' (bad)\n\n    self.assertEquals('\"\" + \"\"', collapse('\"\\'\" + \"\\'\"'))\n    self.assertEquals(\"'', ''\", collapse(\"'\\\"', '\\\"'\"))\n    self.assertEquals('\"\"[0b10]', collapse('\"a\\'b\"[0b1\\'0]'))\n\n    self.assertEquals('42', collapse(\"4'2\"))\n    self.assertEquals('0b0101', collapse(\"0b0'1'0'1\"))\n    self.assertEquals('1048576', collapse(\"1'048'576\"))\n    self.assertEquals('0X100000', collapse(\"0X10'0000\"))\n    self.assertEquals('0004000000', collapse(\"0'004'000'000\"))\n    self.assertEquals('1.602176565e-19', collapse(\"1.602'176'565e-19\"))\n    self.assertEquals('\\'\\' + 0xffff', collapse(\"'i' + 0xf'f'f'f\"))\n    self.assertEquals('sizeof\\'\\' == 1', collapse(\"sizeof'x' == 1\"))\n    self.assertEquals('0x.03p100', collapse('0x.0\\'3p1\\'0\\'0'))\n    self.assertEquals('123.45', collapse('1\\'23.4\\'5'))\n\n    self.assertEquals('StringReplace(body, \"\", \"\");',\n                      collapse('StringReplace(body, \"\\\\\\\\\", \"\\\\\\\\\\\\\\\\\");'))\n    self.assertEquals('\\'\\' \"\"',\n                      collapse('\\'\"\\' \"foo\"'))\n\n\nclass OrderOfIncludesTest(CpplintTestBase):\n\n  def setUp(self):\n    CpplintTestBase.setUp(self)\n    self.include_state = cpplint._IncludeState()\n    os.path.abspath = lambda value: value\n\n  def testCheckNextIncludeOrder_OtherThenCpp(self):\n    self.assertEqual('', self.include_state.CheckNextIncludeOrder(\n        cpplint._OTHER_HEADER))\n    self.assertEqual('Found C++ system header after other header',\n                     self.include_state.CheckNextIncludeOrder(\n                         cpplint._CPP_SYS_HEADER))\n\n  def testCheckNextIncludeOrder_CppThenC(self):\n    self.assertEqual('', self.include_state.CheckNextIncludeOrder(\n        cpplint._CPP_SYS_HEADER))\n    self.assertEqual('Found C system header after C++ system header',\n                     self.include_state.CheckNextIncludeOrder(\n                         cpplint._C_SYS_HEADER))\n\n  def testCheckNextIncludeOrder_OtherSysThenC(self):\n    self.assertEqual('', self.include_state.CheckNextIncludeOrder(\n        cpplint._OTHER_SYS_HEADER))\n    self.assertEqual('Found C system header after other system header',\n                     self.include_state.CheckNextIncludeOrder(\n                         cpplint._C_SYS_HEADER))\n\n  def testCheckNextIncludeOrder_OtherSysThenCpp(self):\n    self.assertEqual('', self.include_state.CheckNextIncludeOrder(\n        cpplint._OTHER_SYS_HEADER))\n    self.assertEqual('Found C++ system header after other system header',\n                     self.include_state.CheckNextIncludeOrder(\n                         cpplint._CPP_SYS_HEADER))\n\n  def testCheckNextIncludeOrder_LikelyThenCpp(self):\n    self.assertEqual('', self.include_state.CheckNextIncludeOrder(\n        cpplint._LIKELY_MY_HEADER))\n    self.assertEqual('', self.include_state.CheckNextIncludeOrder(\n        cpplint._CPP_SYS_HEADER))\n\n  def testCheckNextIncludeOrder_PossibleThenCpp(self):\n    self.assertEqual('', self.include_state.CheckNextIncludeOrder(\n        cpplint._POSSIBLE_MY_HEADER))\n    self.assertEqual('', self.include_state.CheckNextIncludeOrder(\n        cpplint._CPP_SYS_HEADER))\n\n  def testCheckNextIncludeOrder_CppThenLikely(self):\n    self.assertEqual('', self.include_state.CheckNextIncludeOrder(\n        cpplint._CPP_SYS_HEADER))\n    # This will eventually fail.\n    self.assertEqual('', self.include_state.CheckNextIncludeOrder(\n        cpplint._LIKELY_MY_HEADER))\n\n  def testCheckNextIncludeOrder_CppThenPossible(self):\n    self.assertEqual('', self.include_state.CheckNextIncludeOrder(\n        cpplint._CPP_SYS_HEADER))\n    self.assertEqual('', self.include_state.CheckNextIncludeOrder(\n        cpplint._POSSIBLE_MY_HEADER))\n\n  def testCheckNextIncludeOrder_CppThenOtherSys(self):\n    self.assertEqual('', self.include_state.CheckNextIncludeOrder(\n        cpplint._CPP_SYS_HEADER))\n    self.assertEqual('', self.include_state.CheckNextIncludeOrder(\n        cpplint._OTHER_SYS_HEADER))\n\n  def testCheckNextIncludeOrder_OtherSysThenPossible(self):\n    self.assertEqual('', self.include_state.CheckNextIncludeOrder(\n        cpplint._OTHER_SYS_HEADER))\n    self.assertEqual('', self.include_state.CheckNextIncludeOrder(\n        cpplint._POSSIBLE_MY_HEADER))\n\n\n  def testClassifyInclude(self):\n    file_info = cpplint.FileInfo\n    classify_include = cpplint._ClassifyInclude\n    self.assertEqual(cpplint._C_SYS_HEADER,\n                     classify_include(file_info('foo/foo.cc'),\n                                      'stdio.h',\n                                      True))\n    self.assertEqual(cpplint._C_SYS_HEADER,\n                     classify_include(file_info('foo/foo.cc'),\n                                      'sys/time.h',\n                                      True))\n    self.assertEqual(cpplint._C_SYS_HEADER,\n                     classify_include(file_info('foo/foo.cc'),\n                                      'netipx/ipx.h',\n                                      True))\n    self.assertEqual(cpplint._C_SYS_HEADER,\n                     classify_include(file_info('foo/foo.cc'),\n                                      'arpa/ftp.h',\n                                      True))\n    self.assertEqual(cpplint._CPP_SYS_HEADER,\n                     classify_include(file_info('foo/foo.cc'),\n                                      'string',\n                                      True))\n    self.assertEqual(cpplint._CPP_SYS_HEADER,\n                     classify_include(file_info('foo/foo.cc'),\n                                      'typeinfo',\n                                      True))\n    self.assertEqual(cpplint._C_SYS_HEADER,\n                     classify_include(file_info('foo/foo.cc'),\n                                      'foo/foo.h',\n                                      True))\n    self.assertEqual(cpplint._OTHER_SYS_HEADER,\n                     classify_include(file_info('foo/foo.cc'),\n                                      'foo/foo.h',\n                                      True,\n                                      \"standardcfirst\"))\n    self.assertEqual(cpplint._OTHER_HEADER,\n                     classify_include(file_info('foo/foo.cc'),\n                                      'string',\n                                      False))\n    self.assertEquals(cpplint._OTHER_HEADER,\n                     classify_include(file_info('foo/foo.cc'),\n                                      'boost/any.hpp',\n                                      True))\n    self.assertEqual(cpplint._OTHER_HEADER,\n                     classify_include(file_info('foo/foo.hxx'),\n                                      'boost/any.hpp',\n                                      True))\n    self.assertEqual(cpplint._OTHER_HEADER,\n                     classify_include(file_info('foo/foo.h++'),\n                                      'boost/any.hpp',\n                                      True))\n    self.assertEqual(cpplint._LIKELY_MY_HEADER,\n                     classify_include(file_info('foo/foo.cc'),\n                                      'foo/foo-inl.h',\n                                      False))\n    self.assertEqual(cpplint._LIKELY_MY_HEADER,\n                     classify_include(file_info('foo/internal/foo.cc'),\n                                      'foo/public/foo.h',\n                                      False))\n    self.assertEqual(cpplint._POSSIBLE_MY_HEADER,\n                     classify_include(file_info('foo/internal/foo.cc'),\n                                      'foo/other/public/foo.h',\n                                      False))\n    self.assertEqual(cpplint._OTHER_HEADER,\n                     classify_include(file_info('foo/internal/foo.cc'),\n                                      'foo/other/public/foop.h',\n                                      False))\n\n  def testTryDropCommonSuffixes(self):\n    cpplint._hpp_headers = set([])\n    cpplint._valid_extensions = set([])\n    self.assertEqual('foo/foo', cpplint._DropCommonSuffixes('foo/foo-inl.h'))\n    self.assertEqual('foo/foo', cpplint._DropCommonSuffixes('foo/foo-inl.hxx'))\n    self.assertEqual('foo/foo', cpplint._DropCommonSuffixes('foo/foo-inl.h++'))\n    self.assertEqual('foo/foo', cpplint._DropCommonSuffixes('foo/foo-inl.hpp'))\n    self.assertEqual('foo/bar/foo',\n                     cpplint._DropCommonSuffixes('foo/bar/foo_inl.h'))\n    self.assertEqual('foo/foo', cpplint._DropCommonSuffixes('foo/foo.cc'))\n    self.assertEqual('foo/foo', cpplint._DropCommonSuffixes('foo/foo.cxx'))\n    self.assertEqual('foo/foo', cpplint._DropCommonSuffixes('foo/foo.c'))\n    self.assertEqual('foo/foo_unusualinternal',\n                     cpplint._DropCommonSuffixes('foo/foo_unusualinternal.h'))\n    self.assertEqual('foo/foo_unusualinternal',\n                     cpplint._DropCommonSuffixes('foo/foo_unusualinternal.hpp'))\n    self.assertEqual('',\n                     cpplint._DropCommonSuffixes('_test.cc'))\n    self.assertEqual('',\n                     cpplint._DropCommonSuffixes('_test.c'))\n    self.assertEqual('',\n                     cpplint._DropCommonSuffixes('_test.c++'))\n    self.assertEqual('test',\n                     cpplint._DropCommonSuffixes('test.c'))\n    self.assertEqual('test',\n                     cpplint._DropCommonSuffixes('test.cc'))\n    self.assertEqual('test',\n                     cpplint._DropCommonSuffixes('test.c++'))\n\n  def testRegression(self):\n    def Format(includes):\n      include_list = []\n      for item in includes:\n        if item.startswith('\"') or item.startswith('<'):\n          include_list.append('#include %s\\n' % item)\n        else:\n          include_list.append(item + '\\n')\n      return ''.join(include_list)\n\n    # Test singleton cases first.\n    self.TestLanguageRulesCheck('foo/foo.cc', Format(['\"foo/foo.h\"']), '')\n    self.TestLanguageRulesCheck('foo/foo.cc', Format(['<stdio.h>']), '')\n    self.TestLanguageRulesCheck('foo/foo.cc', Format(['<string>']), '')\n    self.TestLanguageRulesCheck('foo/foo.cc', Format(['\"foo/foo-inl.h\"']), '')\n    self.TestLanguageRulesCheck('foo/foo.cc', Format(['\"bar/bar-inl.h\"']), '')\n    self.TestLanguageRulesCheck('foo/foo.cc', Format(['\"bar/bar.h\"']), '')\n\n    # Test everything in a good and new order.\n    self.TestLanguageRulesCheck('foo/foo.cc',\n                                Format(['\"foo/foo.h\"',\n                                        '\"foo/foo-inl.h\"',\n                                        '<stdio.h>',\n                                        '<string>',\n                                        '<unordered_map>',\n                                        '\"bar/bar-inl.h\"',\n                                        '\"bar/bar.h\"']),\n                                '')\n\n    # Test bad orders.\n    self.TestLanguageRulesCheck(\n        'foo/foo.cc',\n        Format(['<string>', '<stdio.h>']),\n        'Found C system header after C++ system header.'\n        ' Should be: foo.h, c system, c++ system, other.'\n        '  [build/include_order] [4]')\n    self.TestLanguageRulesCheck(\n        'foo/foo.cc',\n        Format(['\"foo/bar-inl.h\"',\n                '\"foo/foo-inl.h\"']),\n        '')\n    self.TestLanguageRulesCheck(\n        'foo/foo.cc',\n        Format(['\"foo/e.h\"',\n                '\"foo/b.h\"',  # warning here (e>b)\n                '\"foo/c.h\"',\n                '\"foo/d.h\"',\n                '\"foo/a.h\"']),  # warning here (d>a)\n        ['Include \"foo/b.h\" not in alphabetical order'\n         '  [build/include_alpha] [4]',\n         'Include \"foo/a.h\" not in alphabetical order'\n         '  [build/include_alpha] [4]'])\n    # -inl.h headers are no longer special.\n    self.TestLanguageRulesCheck('foo/foo.cc',\n                                Format(['\"foo/foo-inl.h\"', '<string>']),\n                                '')\n    self.TestLanguageRulesCheck('foo/foo.cc',\n                                Format(['\"foo/bar.h\"', '\"foo/bar-inl.h\"']),\n                                '')\n    # Test componentized header.  OK to have my header in ../public dir.\n    self.TestLanguageRulesCheck('foo/internal/foo.cc',\n                                Format(['\"foo/public/foo.h\"', '<string>']),\n                                '')\n    # OK to have my header in other dir (not stylistically, but\n    # cpplint isn't as good as a human).\n    self.TestLanguageRulesCheck('foo/internal/foo.cc',\n                                Format(['\"foo/other/public/foo.h\"',\n                                        '<string>']),\n                                '')\n    self.TestLanguageRulesCheck('foo/foo.cc',\n                                Format(['\"foo/foo.h\"',\n                                        '<string>',\n                                        '\"base/google.h\"',\n                                        '\"base/flags.h\"']),\n                                'Include \"base/flags.h\" not in alphabetical '\n                                'order  [build/include_alpha] [4]')\n    # According to the style, -inl.h should come before .h, but we don't\n    # complain about that.\n    self.TestLanguageRulesCheck('foo/foo.cc',\n                                Format(['\"foo/foo-inl.h\"',\n                                        '\"foo/foo.h\"',\n                                        '\"base/google.h\"',\n                                        '\"base/google-inl.h\"']),\n                                '')\n    # Allow project includes to be separated by blank lines\n    self.TestLanguageRulesCheck('a/a.cc',\n                                Format(['\"a/a.h\"',\n                                        '<string>',\n                                        '\"base/google.h\"',\n                                        '',\n                                        '\"b/c.h\"',\n                                        '',\n                                        'MACRO',\n                                        '\"a/b.h\"']),\n                                '')\n    self.TestLanguageRulesCheck('a/a.cc',\n                                Format(['\"a/a.h\"',\n                                        '<string>',\n                                        '\"base/google.h\"',\n                                        '\"a/b.h\"']),\n                                'Include \"a/b.h\" not in alphabetical '\n                                'order  [build/include_alpha] [4]')\n\n    # Test conditional includes\n    self.TestLanguageRulesCheck(\n        'a/a.cc',\n        ''.join(['#include <string.h>\\n',\n                 '#include \"base/port.h\"\\n',\n                 '#include <initializer_list>\\n']),\n        ('Found C++ system header after other header. '\n         'Should be: a.h, c system, c++ system, other.  '\n         '[build/include_order] [4]'))\n    self.TestLanguageRulesCheck(\n        'a/a.cc',\n        ''.join(['#include <string.h>\\n',\n                 '#include \"base/port.h\"\\n',\n                 '#ifdef LANG_CXX11\\n',\n                 '#include <initializer_list>\\n',\n                 '#endif  // LANG_CXX11\\n']),\n        '')\n    self.TestLanguageRulesCheck(\n        'a/a.cc',\n        ''.join(['#include <string.h>\\n',\n                 '#ifdef LANG_CXX11\\n',\n                 '#include \"base/port.h\"\\n',\n                 '#include <initializer_list>\\n',\n                 '#endif  // LANG_CXX11\\n']),\n        ('Found C++ system header after other header. '\n         'Should be: a.h, c system, c++ system, other.  '\n         '[build/include_order] [4]'))\n\n    # Third party headers are exempt from order checks\n    self.TestLanguageRulesCheck('foo/foo.cc',\n                                Format(['<string>', '\"Python.h\"', '<vector>']),\n                                '')\n\n\nclass CheckForFunctionLengthsTest(CpplintTestBase):\n\n  def setUp(self):\n    # Reducing these thresholds for the tests speeds up tests significantly.\n    self.old_normal_trigger = cpplint._FunctionState._NORMAL_TRIGGER\n    self.old_test_trigger = cpplint._FunctionState._TEST_TRIGGER\n\n    cpplint._FunctionState._NORMAL_TRIGGER = 10\n    cpplint._FunctionState._TEST_TRIGGER = 25\n\n  def tearDown(self):\n    cpplint._FunctionState._NORMAL_TRIGGER = self.old_normal_trigger\n    cpplint._FunctionState._TEST_TRIGGER = self.old_test_trigger\n\n  def TestFunctionLengthsCheck(self, code, expected_message):\n    \"\"\"Check warnings for long function bodies are as expected.\n\n    Args:\n      code: C++ source code expected to generate a warning message.\n      expected_message: Message expected to be generated by the C++ code.\n    \"\"\"\n    self.assertEquals(expected_message,\n                      self.PerformFunctionLengthsCheck(code))\n\n  def TriggerLines(self, error_level):\n    \"\"\"Return number of lines needed to trigger a function length warning.\n\n    Args:\n      error_level: --v setting for cpplint.\n\n    Returns:\n      Number of lines needed to trigger a function length warning.\n    \"\"\"\n    return cpplint._FunctionState._NORMAL_TRIGGER * 2**error_level\n\n  def TestLines(self, error_level):\n    \"\"\"Return number of lines needed to trigger a test function length warning.\n\n    Args:\n      error_level: --v setting for cpplint.\n\n    Returns:\n      Number of lines needed to trigger a test function length warning.\n    \"\"\"\n    return cpplint._FunctionState._TEST_TRIGGER * 2**error_level\n\n  def TestFunctionLengthCheckDefinition(self, lines, error_level):\n    \"\"\"Generate long function definition and check warnings are as expected.\n\n    Args:\n      lines: Number of lines to generate.\n      error_level:  --v setting for cpplint.\n    \"\"\"\n    trigger_level = self.TriggerLines(cpplint._VerboseLevel())\n    self.TestFunctionLengthsCheck(\n        'void test(int x)' + self.FunctionBody(lines),\n        ('Small and focused functions are preferred: '\n         'test() has %d non-comment lines '\n         '(error triggered by exceeding %d lines).'\n         '  [readability/fn_size] [%d]'\n         % (lines, trigger_level, error_level)))\n\n  def TestFunctionLengthCheckDefinitionOK(self, lines):\n    \"\"\"Generate shorter function definition and check no warning is produced.\n\n    Args:\n      lines: Number of lines to generate.\n    \"\"\"\n    self.TestFunctionLengthsCheck(\n        'void test(int x)' + self.FunctionBody(lines),\n        '')\n\n  def TestFunctionLengthCheckAtErrorLevel(self, error_level):\n    \"\"\"Generate and check function at the trigger level for --v setting.\n\n    Args:\n      error_level: --v setting for cpplint.\n    \"\"\"\n    self.TestFunctionLengthCheckDefinition(self.TriggerLines(error_level),\n                                           error_level)\n\n  def TestFunctionLengthCheckBelowErrorLevel(self, error_level):\n    \"\"\"Generate and check function just below the trigger level for --v setting.\n\n    Args:\n      error_level: --v setting for cpplint.\n    \"\"\"\n    self.TestFunctionLengthCheckDefinition(self.TriggerLines(error_level)-1,\n                                           error_level-1)\n\n  def TestFunctionLengthCheckAboveErrorLevel(self, error_level):\n    \"\"\"Generate and check function just above the trigger level for --v setting.\n\n    Args:\n      error_level: --v setting for cpplint.\n    \"\"\"\n    self.TestFunctionLengthCheckDefinition(self.TriggerLines(error_level)+1,\n                                           error_level)\n\n  def FunctionBody(self, number_of_lines):\n    return ' {\\n' + '    this_is_just_a_test();\\n'*number_of_lines + '}'\n\n  def FunctionBodyWithBlankLines(self, number_of_lines):\n    return ' {\\n' + '    this_is_just_a_test();\\n\\n'*number_of_lines + '}'\n\n  def FunctionBodyWithNoLints(self, number_of_lines):\n    return (' {\\n' +\n            '    this_is_just_a_test();  // NOLINT\\n'*number_of_lines + '}')\n\n  # Test line length checks.\n  def testFunctionLengthCheckDeclaration(self):\n    self.TestFunctionLengthsCheck(\n        'void test();',  # Not a function definition\n        '')\n\n  def testFunctionLengthCheckDeclarationWithBlockFollowing(self):\n    self.TestFunctionLengthsCheck(\n        ('void test();\\n'\n         + self.FunctionBody(66)),  # Not a function definition\n        '')\n\n  def testFunctionLengthCheckClassDefinition(self):\n    self.TestFunctionLengthsCheck(  # Not a function definition\n        'class Test' + self.FunctionBody(66) + ';',\n        '')\n\n  def testFunctionLengthCheckTrivial(self):\n    self.TestFunctionLengthsCheck(\n        'void test() {}',  # Not counted\n        '')\n\n  def testFunctionLengthCheckEmpty(self):\n    self.TestFunctionLengthsCheck(\n        'void test() {\\n}',\n        '')\n\n  def testFunctionLengthCheckDefinitionBelowSeverity0(self):\n    old_verbosity = cpplint._SetVerboseLevel(0)\n    self.TestFunctionLengthCheckDefinitionOK(self.TriggerLines(0)-1)\n    cpplint._SetVerboseLevel(old_verbosity)\n\n  def testFunctionLengthCheckDefinitionAtSeverity0(self):\n    old_verbosity = cpplint._SetVerboseLevel(0)\n    self.TestFunctionLengthCheckDefinitionOK(self.TriggerLines(0))\n    cpplint._SetVerboseLevel(old_verbosity)\n\n  def testFunctionLengthCheckDefinitionAboveSeverity0(self):\n    old_verbosity = cpplint._SetVerboseLevel(0)\n    self.TestFunctionLengthCheckAboveErrorLevel(0)\n    cpplint._SetVerboseLevel(old_verbosity)\n\n  def testFunctionLengthCheckDefinitionBelowSeverity1v0(self):\n    old_verbosity = cpplint._SetVerboseLevel(0)\n    self.TestFunctionLengthCheckBelowErrorLevel(1)\n    cpplint._SetVerboseLevel(old_verbosity)\n\n  def testFunctionLengthCheckDefinitionAtSeverity1v0(self):\n    old_verbosity = cpplint._SetVerboseLevel(0)\n    self.TestFunctionLengthCheckAtErrorLevel(1)\n    cpplint._SetVerboseLevel(old_verbosity)\n\n  def testFunctionLengthCheckDefinitionBelowSeverity1(self):\n    self.TestFunctionLengthCheckDefinitionOK(self.TriggerLines(1)-1)\n\n  def testFunctionLengthCheckDefinitionAtSeverity1(self):\n    self.TestFunctionLengthCheckDefinitionOK(self.TriggerLines(1))\n\n  def testFunctionLengthCheckDefinitionAboveSeverity1(self):\n    self.TestFunctionLengthCheckAboveErrorLevel(1)\n\n  def testFunctionLengthCheckDefinitionSeverity1PlusBlanks(self):\n    error_level = 1\n    error_lines = self.TriggerLines(error_level) + 1\n    trigger_level = self.TriggerLines(cpplint._VerboseLevel())\n    self.TestFunctionLengthsCheck(\n        'void test_blanks(int x)' + self.FunctionBody(error_lines),\n        ('Small and focused functions are preferred: '\n         'test_blanks() has %d non-comment lines '\n         '(error triggered by exceeding %d lines).'\n         '  [readability/fn_size] [%d]')\n        % (error_lines, trigger_level, error_level))\n\n  def testFunctionLengthCheckComplexDefinitionSeverity1(self):\n    error_level = 1\n    error_lines = self.TriggerLines(error_level) + 1\n    trigger_level = self.TriggerLines(cpplint._VerboseLevel())\n    self.TestFunctionLengthsCheck(\n        ('my_namespace::my_other_namespace::MyVeryLongTypeName*\\n'\n         'my_namespace::my_other_namespace::MyFunction(int arg1, char* arg2)'\n         + self.FunctionBody(error_lines)),\n        ('Small and focused functions are preferred: '\n         'my_namespace::my_other_namespace::MyFunction()'\n         ' has %d non-comment lines '\n         '(error triggered by exceeding %d lines).'\n         '  [readability/fn_size] [%d]')\n        % (error_lines, trigger_level, error_level))\n\n  def testFunctionLengthCheckDefinitionSeverity1ForTest(self):\n    error_level = 1\n    error_lines = self.TestLines(error_level) + 1\n    trigger_level = self.TestLines(cpplint._VerboseLevel())\n    self.TestFunctionLengthsCheck(\n        'TEST_F(Test, Mutator)' + self.FunctionBody(error_lines),\n        ('Small and focused functions are preferred: '\n         'TEST_F(Test, Mutator) has %d non-comment lines '\n         '(error triggered by exceeding %d lines).'\n         '  [readability/fn_size] [%d]')\n        % (error_lines, trigger_level, error_level))\n\n  def testFunctionLengthCheckDefinitionSeverity1ForSplitLineTest(self):\n    error_level = 1\n    error_lines = self.TestLines(error_level) + 1\n    trigger_level = self.TestLines(cpplint._VerboseLevel())\n    self.TestFunctionLengthsCheck(\n        ('TEST_F(GoogleUpdateRecoveryRegistryProtectedTest,\\n'\n         '    FixGoogleUpdate_AllValues_MachineApp)'  # note: 4 spaces\n         + self.FunctionBody(error_lines)),\n        ('Small and focused functions are preferred: '\n         'TEST_F(GoogleUpdateRecoveryRegistryProtectedTest, '  # 1 space\n         'FixGoogleUpdate_AllValues_MachineApp) has %d non-comment lines '\n         '(error triggered by exceeding %d lines).'\n         '  [readability/fn_size] [%d]')\n        % (error_lines+1, trigger_level, error_level))\n\n  def testFunctionLengthCheckDefinitionSeverity1ForBadTestDoesntBreak(self):\n    error_level = 1\n    error_lines = self.TestLines(error_level) + 1\n    trigger_level = self.TestLines(cpplint._VerboseLevel())\n    self.TestFunctionLengthsCheck(\n        ('TEST_F('\n         + self.FunctionBody(error_lines)),\n        ('Small and focused functions are preferred: '\n         'TEST_F has %d non-comment lines '\n         '(error triggered by exceeding %d lines).'\n         '  [readability/fn_size] [%d]')\n        % (error_lines, trigger_level, error_level))\n\n  def testFunctionLengthCheckDefinitionSeverity1WithEmbeddedNoLints(self):\n    error_level = 1\n    error_lines = self.TriggerLines(error_level)+1\n    trigger_level = self.TriggerLines(cpplint._VerboseLevel())\n    self.TestFunctionLengthsCheck(\n        'void test(int x)' + self.FunctionBodyWithNoLints(error_lines),\n        ('Small and focused functions are preferred: '\n         'test() has %d non-comment lines '\n         '(error triggered by exceeding %d lines).'\n         '  [readability/fn_size] [%d]')\n        % (error_lines, trigger_level, error_level))\n\n  def testFunctionLengthCheckDefinitionSeverity1WithNoLint(self):\n    self.TestFunctionLengthsCheck(\n        ('void test(int x)' + self.FunctionBody(self.TriggerLines(1))\n         + '  // NOLINT -- long function'),\n        '')\n\n  def testFunctionLengthCheckDefinitionBelowSeverity2(self):\n    self.TestFunctionLengthCheckBelowErrorLevel(2)\n\n  def testFunctionLengthCheckDefinitionSeverity2(self):\n    self.TestFunctionLengthCheckAtErrorLevel(2)\n\n  def testFunctionLengthCheckDefinitionAboveSeverity2(self):\n    self.TestFunctionLengthCheckAboveErrorLevel(2)\n\n  def testFunctionLengthCheckDefinitionBelowSeverity3(self):\n    self.TestFunctionLengthCheckBelowErrorLevel(3)\n\n  def testFunctionLengthCheckDefinitionSeverity3(self):\n    self.TestFunctionLengthCheckAtErrorLevel(3)\n\n  def testFunctionLengthCheckDefinitionAboveSeverity3(self):\n    self.TestFunctionLengthCheckAboveErrorLevel(3)\n\n  def testFunctionLengthCheckDefinitionBelowSeverity4(self):\n    self.TestFunctionLengthCheckBelowErrorLevel(4)\n\n  def testFunctionLengthCheckDefinitionSeverity4(self):\n    self.TestFunctionLengthCheckAtErrorLevel(4)\n\n  def testFunctionLengthCheckDefinitionAboveSeverity4(self):\n    self.TestFunctionLengthCheckAboveErrorLevel(4)\n\n  def testFunctionLengthCheckDefinitionBelowSeverity5(self):\n    self.TestFunctionLengthCheckBelowErrorLevel(5)\n\n  def testFunctionLengthCheckDefinitionAtSeverity5(self):\n    self.TestFunctionLengthCheckAtErrorLevel(5)\n\n  def testFunctionLengthCheckDefinitionAboveSeverity5(self):\n    self.TestFunctionLengthCheckAboveErrorLevel(5)\n\n  def testFunctionLengthCheckDefinitionHugeLines(self):\n    # 5 is the limit\n    self.TestFunctionLengthCheckDefinition(self.TriggerLines(10), 5)\n\n  def testFunctionLengthNotDeterminable(self):\n    # Macro invocation without terminating semicolon.\n    self.TestFunctionLengthsCheck(\n        'MACRO(arg)',\n        '')\n\n    # Macro with underscores\n    self.TestFunctionLengthsCheck(\n        'MACRO_WITH_UNDERSCORES(arg1, arg2, arg3)',\n        '')\n\n    self.TestFunctionLengthsCheck(\n        'NonMacro(arg)',\n        'Lint failed to find start of function body.'\n        '  [readability/fn_size] [5]')\n\n  def testFunctionLengthCheckWithNamespace(self):\n    old_verbosity = cpplint._SetVerboseLevel(1)\n    self.TestFunctionLengthsCheck(\n        ('namespace {\\n'\n         'void CodeCoverageCL35256059() {\\n' +\n         ('  X++;\\n' * 3000) +\n         '}\\n'\n         '}  // namespace\\n'),\n        ('Small and focused functions are preferred: '\n         'CodeCoverageCL35256059() has 3000 non-comment lines '\n         '(error triggered by exceeding 20 lines).'\n         '  [readability/fn_size] [5]'))\n    cpplint._SetVerboseLevel(old_verbosity)\n\n\ndef TrimExtraIndent(text_block):\n  \"\"\"Trim a uniform amount of whitespace off of each line in a string.\n\n  Compute the minimum indent on all non blank lines and trim that from each, so\n  that the block of text has no extra indentation.\n\n  Args:\n    text_block: a multiline string\n\n  Returns:\n    text_block with the common whitespace indent of each line removed.\n  \"\"\"\n\n  def CountLeadingWhitespace(s):\n    count = 0\n    for c in s:\n      if not c.isspace():\n        break\n      count += 1\n    return count\n  # find the minimum indent (except for blank lines)\n  min_indent = min([CountLeadingWhitespace(line)\n                    for line in text_block.split('\\n') if line])\n  return '\\n'.join([line[min_indent:] for line in text_block.split('\\n')])\n\n\nclass CloseExpressionTest(unittest.TestCase):\n\n  def setUp(self):\n    self.lines = cpplint.CleansedLines(\n        #           1         2         3         4         5\n        # 0123456789012345678901234567890123456789012345678901234567890\n        ['// Line 0',\n         'inline RCULocked<X>::ReadPtr::ReadPtr(const RCULocked* rcu) {',\n         '  DCHECK(!(data & kFlagMask)) << \"Error\";',\n         '}',\n         '// Line 4',\n         'RCULocked<X>::WritePtr::WritePtr(RCULocked* rcu)',\n         '    : lock_(&rcu_->mutex_) {',\n         '}',\n         '// Line 8',\n         'template <typename T, typename... A>',\n         'typename std::enable_if<',\n         '    std::is_array<T>::value && (std::extent<T>::value > 0)>::type',\n         'MakeUnique(A&&... a) = delete;',\n         '// Line 13',\n         'auto x = []() {};',\n         '// Line 15',\n         'template <typename U>',\n         'friend bool operator==(const reffed_ptr& a,',\n         '                       const reffed_ptr<U>& b) {',\n         '  return a.get() == b.get();',\n         '}',\n         '// Line 21'])\n\n  def testCloseExpression(self):\n    # List of positions to test:\n    # (start line, start position, end line, end position + 1)\n    positions = [(1, 16, 1, 19),\n                 (1, 37, 1, 59),\n                 (1, 60, 3, 1),\n                 (2, 8, 2, 29),\n                 (2, 30, 22, -1),  # Left shift operator\n                 (9, 9, 9, 36),\n                 (10, 23, 11, 59),\n                 (11, 54, 22, -1),  # Greater than operator\n                 (14, 9, 14, 11),\n                 (14, 11, 14, 13),\n                 (14, 14, 14, 16),\n                 (17, 22, 18, 46),\n                 (18, 47, 20, 1)]\n    for p in positions:\n      (_, line, column) = cpplint.CloseExpression(self.lines, p[0], p[1])\n      self.assertEquals((p[2], p[3]), (line, column))\n\n  def testReverseCloseExpression(self):\n    # List of positions to test:\n    # (end line, end position, start line, start position)\n    positions = [(1, 18, 1, 16),\n                 (1, 58, 1, 37),\n                 (2, 27, 2, 10),\n                 (2, 28, 2, 8),\n                 (6, 18, 0, -1),  # -> operator\n                 (9, 35, 9, 9),\n                 (11, 54, 0, -1),  # Greater than operator\n                 (11, 57, 11, 31),\n                 (14, 10, 14, 9),\n                 (14, 12, 14, 11),\n                 (14, 15, 14, 14),\n                 (18, 45, 17, 22),\n                 (20, 0, 18, 47)]\n    for p in positions:\n      (_, line, column) = cpplint.ReverseCloseExpression(self.lines, p[0], p[1])\n      self.assertEquals((p[2], p[3]), (line, column))\n\n\nclass NestingStateTest(unittest.TestCase):\n\n  def setUp(self):\n    self.nesting_state = cpplint.NestingState()\n    self.error_collector = ErrorCollector(self.assert_)\n\n  def UpdateWithLines(self, lines):\n    clean_lines = cpplint.CleansedLines(lines)\n    for line in xrange(clean_lines.NumLines()):\n      self.nesting_state.Update('test.cc',\n                                clean_lines, line, self.error_collector)\n\n  def testEmpty(self):\n    self.UpdateWithLines([])\n    self.assertEquals(self.nesting_state.stack, [])\n\n  def testNamespace(self):\n    self.UpdateWithLines(['namespace {'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertTrue(isinstance(self.nesting_state.stack[0],\n                               cpplint._NamespaceInfo))\n    self.assertTrue(self.nesting_state.stack[0].seen_open_brace)\n    self.assertEquals(self.nesting_state.stack[0].name, '')\n\n    self.UpdateWithLines(['namespace outer { namespace inner'])\n    self.assertEquals(len(self.nesting_state.stack), 3)\n    self.assertTrue(self.nesting_state.stack[0].seen_open_brace)\n    self.assertTrue(self.nesting_state.stack[1].seen_open_brace)\n    self.assertFalse(self.nesting_state.stack[2].seen_open_brace)\n    self.assertEquals(self.nesting_state.stack[0].name, '')\n    self.assertEquals(self.nesting_state.stack[1].name, 'outer')\n    self.assertEquals(self.nesting_state.stack[2].name, 'inner')\n\n    self.UpdateWithLines(['{'])\n    self.assertTrue(self.nesting_state.stack[2].seen_open_brace)\n\n    self.UpdateWithLines(['}', '}}'])\n    self.assertEquals(len(self.nesting_state.stack), 0)\n\n  def testDecoratedClass(self):\n    self.UpdateWithLines(['class Decorated_123 API A {'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertTrue(isinstance(self.nesting_state.stack[0], cpplint._ClassInfo))\n    self.assertEquals(self.nesting_state.stack[0].name, 'A')\n    self.assertFalse(self.nesting_state.stack[0].is_derived)\n    self.assertEquals(self.nesting_state.stack[0].class_indent, 0)\n    self.UpdateWithLines(['}'])\n    self.assertEquals(len(self.nesting_state.stack), 0)\n\n  def testInnerClass(self):\n    self.UpdateWithLines(['class A::B::C {'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertTrue(isinstance(self.nesting_state.stack[0], cpplint._ClassInfo))\n    self.assertEquals(self.nesting_state.stack[0].name, 'A::B::C')\n    self.assertFalse(self.nesting_state.stack[0].is_derived)\n    self.assertEquals(self.nesting_state.stack[0].class_indent, 0)\n    self.UpdateWithLines(['}'])\n    self.assertEquals(len(self.nesting_state.stack), 0)\n    \n  def testClass(self):\n    self.UpdateWithLines(['class A {'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertTrue(isinstance(self.nesting_state.stack[0], cpplint._ClassInfo))\n    self.assertEquals(self.nesting_state.stack[0].name, 'A')\n    self.assertFalse(self.nesting_state.stack[0].is_derived)\n    self.assertEquals(self.nesting_state.stack[0].class_indent, 0)\n\n    self.UpdateWithLines(['};',\n                          'struct B : public A {'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertTrue(isinstance(self.nesting_state.stack[0], cpplint._ClassInfo))\n    self.assertEquals(self.nesting_state.stack[0].name, 'B')\n    self.assertTrue(self.nesting_state.stack[0].is_derived)\n\n    self.UpdateWithLines(['};',\n                          'class C',\n                          ': public A {'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertTrue(isinstance(self.nesting_state.stack[0], cpplint._ClassInfo))\n    self.assertEquals(self.nesting_state.stack[0].name, 'C')\n    self.assertTrue(self.nesting_state.stack[0].is_derived)\n\n    self.UpdateWithLines(['};',\n                          'template<T>'])\n    self.assertEquals(len(self.nesting_state.stack), 0)\n\n    self.UpdateWithLines(['class D {', '  class E {'])\n    self.assertEquals(len(self.nesting_state.stack), 2)\n    self.assertTrue(isinstance(self.nesting_state.stack[0], cpplint._ClassInfo))\n    self.assertEquals(self.nesting_state.stack[0].name, 'D')\n    self.assertFalse(self.nesting_state.stack[0].is_derived)\n    self.assertTrue(isinstance(self.nesting_state.stack[1], cpplint._ClassInfo))\n    self.assertEquals(self.nesting_state.stack[1].name, 'E')\n    self.assertFalse(self.nesting_state.stack[1].is_derived)\n    self.assertEquals(self.nesting_state.stack[1].class_indent, 2)\n    self.assertEquals(self.nesting_state.InnermostClass().name, 'E')\n\n    self.UpdateWithLines(['}', '}'])\n    self.assertEquals(len(self.nesting_state.stack), 0)\n\n  def testClassAccess(self):\n    self.UpdateWithLines(['class A {'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertTrue(isinstance(self.nesting_state.stack[0], cpplint._ClassInfo))\n    self.assertEquals(self.nesting_state.stack[0].access, 'private')\n\n    self.UpdateWithLines([' public:'])\n    self.assertEquals(self.nesting_state.stack[0].access, 'public')\n    self.UpdateWithLines([' protracted:'])\n    self.assertEquals(self.nesting_state.stack[0].access, 'public')\n    self.UpdateWithLines([' protected:'])\n    self.assertEquals(self.nesting_state.stack[0].access, 'protected')\n    self.UpdateWithLines([' private:'])\n    self.assertEquals(self.nesting_state.stack[0].access, 'private')\n\n    self.UpdateWithLines(['  struct B {'])\n    self.assertEquals(len(self.nesting_state.stack), 2)\n    self.assertTrue(isinstance(self.nesting_state.stack[1], cpplint._ClassInfo))\n    self.assertEquals(self.nesting_state.stack[1].access, 'public')\n    self.assertEquals(self.nesting_state.stack[0].access, 'private')\n\n    self.UpdateWithLines(['   protected  :'])\n    self.assertEquals(self.nesting_state.stack[1].access, 'protected')\n    self.assertEquals(self.nesting_state.stack[0].access, 'private')\n\n    self.UpdateWithLines(['  }', '}'])\n    self.assertEquals(len(self.nesting_state.stack), 0)\n\n  def testStruct(self):\n    self.UpdateWithLines(['struct A {'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertTrue(isinstance(self.nesting_state.stack[0], cpplint._ClassInfo))\n    self.assertEquals(self.nesting_state.stack[0].name, 'A')\n    self.assertFalse(self.nesting_state.stack[0].is_derived)\n\n    self.UpdateWithLines(['}',\n                          'void Func(struct B arg) {'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertFalse(isinstance(self.nesting_state.stack[0],\n                                cpplint._ClassInfo))\n\n    self.UpdateWithLines(['}'])\n    self.assertEquals(len(self.nesting_state.stack), 0)\n\n  def testPreprocessor(self):\n    self.assertEquals(len(self.nesting_state.pp_stack), 0)\n    self.UpdateWithLines(['#if MACRO1'])\n    self.assertEquals(len(self.nesting_state.pp_stack), 1)\n    self.UpdateWithLines(['#endif'])\n    self.assertEquals(len(self.nesting_state.pp_stack), 0)\n\n    self.UpdateWithLines(['#ifdef MACRO2'])\n    self.assertEquals(len(self.nesting_state.pp_stack), 1)\n    self.UpdateWithLines(['#else'])\n    self.assertEquals(len(self.nesting_state.pp_stack), 1)\n    self.UpdateWithLines(['#ifdef MACRO3'])\n    self.assertEquals(len(self.nesting_state.pp_stack), 2)\n    self.UpdateWithLines(['#elif MACRO4'])\n    self.assertEquals(len(self.nesting_state.pp_stack), 2)\n    self.UpdateWithLines(['#endif'])\n    self.assertEquals(len(self.nesting_state.pp_stack), 1)\n    self.UpdateWithLines(['#endif'])\n    self.assertEquals(len(self.nesting_state.pp_stack), 0)\n\n    self.UpdateWithLines(['#ifdef MACRO5',\n                          'class A {',\n                          '#elif MACRO6',\n                          'class B {',\n                          '#else',\n                          'class C {',\n                          '#endif'])\n    self.assertEquals(len(self.nesting_state.pp_stack), 0)\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertTrue(isinstance(self.nesting_state.stack[0], cpplint._ClassInfo))\n    self.assertEquals(self.nesting_state.stack[0].name, 'A')\n    self.UpdateWithLines(['};'])\n    self.assertEquals(len(self.nesting_state.stack), 0)\n\n    self.UpdateWithLines(['class D',\n                          '#ifdef MACRO7'])\n    self.assertEquals(len(self.nesting_state.pp_stack), 1)\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertTrue(isinstance(self.nesting_state.stack[0], cpplint._ClassInfo))\n    self.assertEquals(self.nesting_state.stack[0].name, 'D')\n    self.assertFalse(self.nesting_state.stack[0].is_derived)\n\n    self.UpdateWithLines(['#elif MACRO8',\n                          ': public E'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertEquals(self.nesting_state.stack[0].name, 'D')\n    self.assertTrue(self.nesting_state.stack[0].is_derived)\n    self.assertFalse(self.nesting_state.stack[0].seen_open_brace)\n\n    self.UpdateWithLines(['#else',\n                          '{'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertEquals(self.nesting_state.stack[0].name, 'D')\n    self.assertFalse(self.nesting_state.stack[0].is_derived)\n    self.assertTrue(self.nesting_state.stack[0].seen_open_brace)\n\n    self.UpdateWithLines(['#endif'])\n    self.assertEquals(len(self.nesting_state.pp_stack), 0)\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertEquals(self.nesting_state.stack[0].name, 'D')\n    self.assertFalse(self.nesting_state.stack[0].is_derived)\n    self.assertFalse(self.nesting_state.stack[0].seen_open_brace)\n\n    self.UpdateWithLines([';'])\n    self.assertEquals(len(self.nesting_state.stack), 0)\n\n  def testTemplate(self):\n    self.UpdateWithLines(['template <T,',\n                          '          class Arg1 = tmpl<T> >'])\n    self.assertEquals(len(self.nesting_state.stack), 0)\n    self.UpdateWithLines(['class A {'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertTrue(isinstance(self.nesting_state.stack[0], cpplint._ClassInfo))\n    self.assertEquals(self.nesting_state.stack[0].name, 'A')\n\n    self.UpdateWithLines(['};',\n                          'template <T,',\n                          '  template <typename, typename> class B>',\n                          'class C'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertTrue(isinstance(self.nesting_state.stack[0], cpplint._ClassInfo))\n    self.assertEquals(self.nesting_state.stack[0].name, 'C')\n    self.UpdateWithLines([';'])\n    self.assertEquals(len(self.nesting_state.stack), 0)\n\n    self.UpdateWithLines(['class D : public Tmpl<E>'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertTrue(isinstance(self.nesting_state.stack[0], cpplint._ClassInfo))\n    self.assertEquals(self.nesting_state.stack[0].name, 'D')\n\n    self.UpdateWithLines(['{', '};'])\n    self.assertEquals(len(self.nesting_state.stack), 0)\n\n    self.UpdateWithLines(['template <class F,',\n                          '          class G,',\n                          '          class H,',\n                          '          typename I>',\n                          'static void Func() {'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertFalse(isinstance(self.nesting_state.stack[0],\n                                cpplint._ClassInfo))\n    self.UpdateWithLines(['}',\n                          'template <class J> class K {'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertTrue(isinstance(self.nesting_state.stack[0], cpplint._ClassInfo))\n    self.assertEquals(self.nesting_state.stack[0].name, 'K')\n\n  def testTemplateDefaultArg(self):\n    self.UpdateWithLines([\n      'template <class T, class D = default_delete<T>> class unique_ptr {',])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertTrue(self.nesting_state.stack[0], isinstance(self.nesting_state.stack[0], cpplint._ClassInfo))\n\n  def testTemplateInnerClass(self):\n    self.UpdateWithLines(['class A {',\n                          ' public:'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertTrue(isinstance(self.nesting_state.stack[0], cpplint._ClassInfo))\n\n    self.UpdateWithLines(['  template <class B>',\n                          '  class C<alloc<B> >',\n                          '      : public A {'])\n    self.assertEquals(len(self.nesting_state.stack), 2)\n    self.assertTrue(isinstance(self.nesting_state.stack[1], cpplint._ClassInfo))\n\n  def testArguments(self):\n    self.UpdateWithLines(['class A {'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertTrue(isinstance(self.nesting_state.stack[0], cpplint._ClassInfo))\n    self.assertEquals(self.nesting_state.stack[0].name, 'A')\n    self.assertEquals(self.nesting_state.stack[-1].open_parentheses, 0)\n\n    self.UpdateWithLines(['  void Func(',\n                          '    struct X arg1,'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertEquals(self.nesting_state.stack[-1].open_parentheses, 1)\n    self.UpdateWithLines(['    struct X *arg2);'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertEquals(self.nesting_state.stack[-1].open_parentheses, 0)\n\n    self.UpdateWithLines(['};'])\n    self.assertEquals(len(self.nesting_state.stack), 0)\n\n    self.UpdateWithLines(['struct B {'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertTrue(isinstance(self.nesting_state.stack[0], cpplint._ClassInfo))\n    self.assertEquals(self.nesting_state.stack[0].name, 'B')\n\n    self.UpdateWithLines(['#ifdef MACRO',\n                          '  void Func(',\n                          '    struct X arg1'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertEquals(self.nesting_state.stack[-1].open_parentheses, 1)\n    self.UpdateWithLines(['#else'])\n\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertEquals(self.nesting_state.stack[-1].open_parentheses, 0)\n    self.UpdateWithLines(['  void Func(',\n                          '    struct X arg1'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertEquals(self.nesting_state.stack[-1].open_parentheses, 1)\n\n    self.UpdateWithLines(['#endif'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertEquals(self.nesting_state.stack[-1].open_parentheses, 1)\n    self.UpdateWithLines(['    struct X *arg2);'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertEquals(self.nesting_state.stack[-1].open_parentheses, 0)\n\n    self.UpdateWithLines(['};'])\n    self.assertEquals(len(self.nesting_state.stack), 0)\n\n  def testInlineAssembly(self):\n    self.UpdateWithLines(['void CopyRow_SSE2(const uint8* src, uint8* dst,',\n                          '                  int count) {'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertEquals(self.nesting_state.stack[-1].open_parentheses, 0)\n    self.assertEquals(self.nesting_state.stack[-1].inline_asm, cpplint._NO_ASM)\n\n    self.UpdateWithLines(['  asm volatile ('])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertEquals(self.nesting_state.stack[-1].open_parentheses, 1)\n    self.assertEquals(self.nesting_state.stack[-1].inline_asm,\n                      cpplint._INSIDE_ASM)\n\n    self.UpdateWithLines(['    \"sub        %0,%1                         \\\\n\"',\n                          '  \"1:                                         \\\\n\"',\n                          '    \"movdqa    (%0),%%xmm0                    \\\\n\"',\n                          '    \"movdqa    0x10(%0),%%xmm1                \\\\n\"',\n                          '    \"movdqa    %%xmm0,(%0,%1)                 \\\\n\"',\n                          '    \"movdqa    %%xmm1,0x10(%0,%1)             \\\\n\"',\n                          '    \"lea       0x20(%0),%0                    \\\\n\"',\n                          '    \"sub       $0x20,%2                       \\\\n\"',\n                          '    \"jg        1b                             \\\\n\"',\n                          '  : \"+r\"(src),   // %0',\n                          '    \"+r\"(dst),   // %1',\n                          '    \"+r\"(count)  // %2',\n                          '  :',\n                          '  : \"memory\", \"cc\"'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertEquals(self.nesting_state.stack[-1].open_parentheses, 1)\n    self.assertEquals(self.nesting_state.stack[-1].inline_asm,\n                      cpplint._INSIDE_ASM)\n\n    self.UpdateWithLines(['#if defined(__SSE2__)',\n                          '    , \"xmm0\", \"xmm1\"'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertEquals(self.nesting_state.stack[-1].open_parentheses, 1)\n    self.assertEquals(self.nesting_state.stack[-1].inline_asm,\n                      cpplint._INSIDE_ASM)\n\n    self.UpdateWithLines(['#endif'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertEquals(self.nesting_state.stack[-1].open_parentheses, 1)\n    self.assertEquals(self.nesting_state.stack[-1].inline_asm,\n                      cpplint._INSIDE_ASM)\n\n    self.UpdateWithLines(['  );'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n    self.assertEquals(self.nesting_state.stack[-1].open_parentheses, 0)\n    self.assertEquals(self.nesting_state.stack[-1].inline_asm, cpplint._END_ASM)\n\n    self.UpdateWithLines(['__asm {'])\n    self.assertEquals(len(self.nesting_state.stack), 2)\n    self.assertEquals(self.nesting_state.stack[-1].open_parentheses, 0)\n    self.assertEquals(self.nesting_state.stack[-1].inline_asm,\n                      cpplint._BLOCK_ASM)\n\n    self.UpdateWithLines(['}'])\n    self.assertEquals(len(self.nesting_state.stack), 1)\n\n    self.UpdateWithLines(['}'])\n    self.assertEquals(len(self.nesting_state.stack), 0)\n\n\nclass QuietTest(unittest.TestCase):\n\n  def setUp(self):\n    self.temp_dir = os.path.realpath(tempfile.mkdtemp())\n    self.this_dir_path = os.path.abspath(self.temp_dir)\n    self.python_executable = sys.executable or 'python'\n    self.cpplint_test_h = os.path.join(self.this_dir_path,\n                                       'cpplint_test_header.h')\n    open(self.cpplint_test_h, 'w').close()\n\n  def tearDown(self):\n    shutil.rmtree(self.temp_dir)\n\n  def _runCppLint(self, *args):\n    cpplint_abspath = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'cpplint.py')\n\n    cmd_line = [self.python_executable, cpplint_abspath] +                     \\\n        list(args) +                                                           \\\n        [ self.cpplint_test_h ]\n\n    return_code = 0\n    try:\n      output = subprocess.check_output(cmd_line,\n                                       stderr=subprocess.STDOUT)\n    except subprocess.CalledProcessError as err:\n      return_code = err.returncode\n      output = err.output\n    if isinstance(output, bytes):\n        output = output.decode('utf-8')\n    return (return_code, output)\n\n  def testNonQuietWithErrors(self):\n    # This will fail: the test header is missing a copyright and header guard.\n    (return_code, output) = self._runCppLint()\n    self.assertEquals(1, return_code)\n    # Always-on behavior: Print error messages as they come up.\n    self.assertIn(\"[legal/copyright]\", output)\n    self.assertIn(\"[build/header_guard]\", output)\n    # If --quiet was unspecified: Print 'Done processing' and 'Total errors..'\n    self.assertIn(\"Done processing\", output)\n    self.assertIn(\"Total errors found:\", output)\n\n  def testQuietWithErrors(self):\n    # When there are errors, behavior is identical to not passing --quiet.\n    (return_code, output) = self._runCppLint('--quiet')\n    self.assertEquals(1, return_code)\n    self.assertIn(\"[legal/copyright]\", output)\n    self.assertIn(\"[build/header_guard]\", output)\n    # Even though --quiet was used, print these since there were errors.\n    self.assertIn(\"Done processing\", output)\n    self.assertIn(\"Total errors found:\", output)\n\n  def testNonQuietWithoutErrors(self):\n    # This will succeed. We filtered out all the known errors for that file.\n    (return_code, output) = self._runCppLint('--filter=' +\n                                                '-legal/copyright,' +\n                                                '-build/header_guard')\n    self.assertEquals(0, return_code, output)\n    # No cpplint errors are printed since there were no errors.\n    self.assertNotIn(\"[legal/copyright]\", output)\n    self.assertNotIn(\"[build/header_guard]\", output)\n    # Print 'Done processing' since\n    # --quiet was not specified.\n    self.assertIn(\"Done processing\", output)\n\n  def testQuietWithoutErrors(self):\n    # This will succeed. We filtered out all the known errors for that file.\n    (return_code, output) = self._runCppLint('--quiet',\n                                             '--filter=' +\n                                                 '-legal/copyright,' +\n                                                 '-build/header_guard')\n    self.assertEquals(0, return_code, output)\n    # No cpplint errors are printed since there were no errors.\n    self.assertNotIn(\"[legal/copyright]\", output)\n    self.assertNotIn(\"[build/header_guard]\", output)\n    # --quiet was specified and there were no errors:\n    # skip the printing of 'Done processing' and 'Total errors..'\n    self.assertNotIn(\"Done processing\", output)\n    self.assertNotIn(\"Total errors found:\", output)\n    # Output with no errors must be completely blank!\n    self.assertEquals(\"\", output)\n\n#class FileFilterTest(unittest.TestCase):\n#  def testFilterExcludedFiles(self):\n#    self.assertEquals([], _FilterExcludedFiles([]))\n\n# pylint: disable=C6409\ndef setUp():\n  \"\"\"Runs before all tests are executed.\n  \"\"\"\n  # Enable all filters, so we don't miss anything that is off by default.\n  cpplint._DEFAULT_FILTERS = []\n  cpplint._cpplint_state.SetFilters('')\n\n\n# pylint: disable=C6409\ndef tearDown():\n  \"\"\"A global check to make sure all error-categories have been tested.\n\n  The main tearDown() routine is the only code we can guarantee will be\n  run after all other tests have been executed.\n  \"\"\"\n  try:\n    if _run_verifyallcategoriesseen:\n      ErrorCollector(None).VerifyAllCategoriesAreSeen()\n  except NameError:\n    # If nobody set the global _run_verifyallcategoriesseen, then\n    # we assume we should silently not run the test\n    pass\n\n\n@pytest.fixture(autouse=True)\ndef run_around_tests():\n  setUp()\n  yield\n  tearDown()\n\n\nif __name__ == '__main__':\n  # We don't want to run the VerifyAllCategoriesAreSeen() test unless\n  # we're running the full test suite: if we only run one test,\n  # obviously we're not going to see all the error categories.  So we\n  # only run VerifyAllCategoriesAreSeen() when no commandline flags\n  # are passed in.\n  global _run_verifyallcategoriesseen\n  _run_verifyallcategoriesseen = (len(sys.argv) == 1)\n\n  setUp()\n  unittest.main()\n  tearDown()\n"
  },
  {
    "path": "deps/cpplint/dev-requirements",
    "content": "# requirements to run development steps\n\n# also change in tox.ini\nflake8>=3.7.8\npylint>=1.8.4\ntox>=3.0.0\ntox-pyenv\n\n# Below only run with python3, installed in tox.ini\n# mypy\n# coala\n# coala-bears\n"
  },
  {
    "path": "deps/cpplint/samples/boost-sample/LICENSE",
    "content": "Boost Software License - Version 1.0 - August 17th, 2003\n\nPermission is hereby granted, free of charge, to any person or organization\nobtaining a copy of the software and accompanying documentation covered by\nthis license (the \"Software\") to use, reproduce, display, distribute,\nexecute, and transmit the Software, and to prepare derivative works of the\nSoftware, and to permit third-parties to whom the Software is furnished to\ndo so, all subject to the following:\n\nThe copyright notices in the Software and this entire statement, including\nthe above license grant, this restriction and the following disclaimer,\nmust be included in all copies of the Software, in whole or in part, and\nall derivative works of the Software, unless such copies or derivative\nworks are solely in the form of machine-executable object code generated by\na source language processor.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT\nSHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE\nFOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,\nARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE.\n\n"
  },
  {
    "path": "deps/cpplint/samples/boost-sample/README.md",
    "content": "# VLC sample\n\ncode taken for regression testing from https://github.com/boostorg\n"
  },
  {
    "path": "deps/cpplint/samples/boost-sample/exclude.def",
    "content": "--recursive --exclude=headers/* src\n1\n4\nDone processing src/inspect/unnamed_namespace_check.hpp\nDone processing src/tr1/c_policy.hpp\nTotal errors found: 106\n\nsrc/inspect/unnamed_namespace_check.hpp:0:  No #ifndef header guard found, suggested CPP variable is: SAMPLES_BOOST_SAMPLE_SRC_INSPECT_UNNAMED_NAMESPACE_CHECK_HPP_  [build/header_guard] [5]\nsrc/inspect/unnamed_namespace_check.hpp:14:  Do not use unnamed namespaces in header files.  See https://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Namespaces for more information.  [build/namespaces_headers] [4]\nsrc/inspect/unnamed_namespace_check.hpp:18:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/inspect/unnamed_namespace_check.hpp:19:  Closing ) should be moved to the previous line  [whitespace/parens] [2]\nsrc/inspect/unnamed_namespace_check.hpp:21:  Anonymous namespace should be terminated with \"// namespace\"  [readability/namespace] [5]\nsrc/inspect/unnamed_namespace_check.hpp:21:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/inspect/unnamed_namespace_check.hpp:26:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/inspect/unnamed_namespace_check.hpp:27:  Do not indent within a namespace  [runtime/indentation_namespace] [4]\nsrc/inspect/unnamed_namespace_check.hpp:28:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/inspect/unnamed_namespace_check.hpp:29:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/inspect/unnamed_namespace_check.hpp:30:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/inspect/unnamed_namespace_check.hpp:30:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/inspect/unnamed_namespace_check.hpp:31:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/inspect/unnamed_namespace_check.hpp:31:  Extra space before )  [whitespace/parens] [2]\nsrc/inspect/unnamed_namespace_check.hpp:32:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/inspect/unnamed_namespace_check.hpp:32:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/inspect/unnamed_namespace_check.hpp:32:  Extra space before )  [whitespace/parens] [2]\nsrc/inspect/unnamed_namespace_check.hpp:33:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/inspect/unnamed_namespace_check.hpp:33:  Extra space before )  [whitespace/parens] [2]\nsrc/inspect/unnamed_namespace_check.hpp:34:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/inspect/unnamed_namespace_check.hpp:34:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/inspect/unnamed_namespace_check.hpp:34:  Extra space before )  [whitespace/parens] [2]\nsrc/inspect/unnamed_namespace_check.hpp:35:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/inspect/unnamed_namespace_check.hpp:35:  Extra space before )  [whitespace/parens] [2]\nsrc/inspect/unnamed_namespace_check.hpp:36:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/inspect/unnamed_namespace_check.hpp:36:  Extra space before )  [whitespace/parens] [2]\nsrc/inspect/unnamed_namespace_check.hpp:37:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/inspect/unnamed_namespace_check.hpp:37:  Extra space before )  [whitespace/parens] [2]\nsrc/inspect/unnamed_namespace_check.hpp:38:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/inspect/unnamed_namespace_check.hpp:40:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/inspect/unnamed_namespace_check.hpp:44:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/inspect/unnamed_namespace_check.hpp:48:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/inspect/unnamed_namespace_check.hpp:49:  Missing space before ( in for(  [whitespace/parens] [5]\nsrc/inspect/unnamed_namespace_check.hpp:50:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/inspect/unnamed_namespace_check.hpp:54:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/inspect/unnamed_namespace_check.hpp:54:  Extra space before )  [whitespace/parens] [2]\nsrc/inspect/unnamed_namespace_check.hpp:57:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\nsrc/inspect/unnamed_namespace_check.hpp:59:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/inspect/unnamed_namespace_check.hpp:60:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/inspect/unnamed_namespace_check.hpp:51:  Add #include <string> for string  [build/include_what_you_use] [4]\nsrc/tr1/c_policy.hpp:0:  No #ifndef header guard found, suggested CPP variable is: SAMPLES_BOOST_SAMPLE_SRC_TR1_C_POLICY_HPP_  [build/header_guard] [5]\nsrc/tr1/c_policy.hpp:9:  Missing space before {  [whitespace/braces] [5]\nsrc/tr1/c_policy.hpp:13:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/tr1/c_policy.hpp:14:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/tr1/c_policy.hpp:15:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/tr1/c_policy.hpp:16:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/tr1/c_policy.hpp:17:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/tr1/c_policy.hpp:18:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/tr1/c_policy.hpp:19:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/tr1/c_policy.hpp:20:  public: should be indented +1 space inside struct policy  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:21:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:22:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:23:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:24:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:25:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:26:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:27:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:28:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:30:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:32:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:34:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:35:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:36:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:37:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:38:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:39:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:44:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/tr1/c_policy.hpp:45:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/tr1/c_policy.hpp:46:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/tr1/c_policy.hpp:47:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/tr1/c_policy.hpp:48:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/tr1/c_policy.hpp:49:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/tr1/c_policy.hpp:50:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/tr1/c_policy.hpp:51:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/tr1/c_policy.hpp:52:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/tr1/c_policy.hpp:53:  public: should be indented +1 space inside struct policy  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:54:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:55:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:56:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:57:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:58:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:59:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:60:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:61:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:63:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:65:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:67:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:68:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:69:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:70:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:71:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:72:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:76:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/tr1/c_policy.hpp:88:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/tr1/c_policy.hpp:89:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:89:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/tr1/c_policy.hpp:93:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/tr1/c_policy.hpp:105:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/tr1/c_policy.hpp:106:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:106:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/tr1/c_policy.hpp:109:  Namespace should be terminated with \"// namespace policies\"  [readability/namespace] [5]\nsrc/tr1/c_policy.hpp:109:  Namespace should be terminated with \"// namespace math\"  [readability/namespace] [5]\nsrc/tr1/c_policy.hpp:109:  Namespace should be terminated with \"// namespace boost\"  [readability/namespace] [5]\nsrc/tr1/c_policy.hpp:109:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/tr1/c_policy.hpp:111:  Missing space before {  [whitespace/braces] [5]\nsrc/tr1/c_policy.hpp:131:  Namespace should be terminated with \"// namespace c_policies\"  [readability/namespace] [5]\n\n"
  },
  {
    "path": "deps/cpplint/samples/boost-sample/headers_inspect.def",
    "content": "src/inspect/*\n1\n3\nDone processing src/inspect/unnamed_namespace_check.hpp\nTotal errors found: 40\n\nsrc/inspect/unnamed_namespace_check.hpp:0:  No #ifndef header guard found, suggested CPP variable is: SAMPLES_BOOST_SAMPLE_SRC_INSPECT_UNNAMED_NAMESPACE_CHECK_HPP_  [build/header_guard] [5]\nsrc/inspect/unnamed_namespace_check.hpp:14:  Do not use unnamed namespaces in header files.  See https://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Namespaces for more information.  [build/namespaces_headers] [4]\nsrc/inspect/unnamed_namespace_check.hpp:18:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/inspect/unnamed_namespace_check.hpp:19:  Closing ) should be moved to the previous line  [whitespace/parens] [2]\nsrc/inspect/unnamed_namespace_check.hpp:21:  Anonymous namespace should be terminated with \"// namespace\"  [readability/namespace] [5]\nsrc/inspect/unnamed_namespace_check.hpp:21:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/inspect/unnamed_namespace_check.hpp:26:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/inspect/unnamed_namespace_check.hpp:27:  Do not indent within a namespace  [runtime/indentation_namespace] [4]\nsrc/inspect/unnamed_namespace_check.hpp:28:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/inspect/unnamed_namespace_check.hpp:29:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/inspect/unnamed_namespace_check.hpp:30:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/inspect/unnamed_namespace_check.hpp:30:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/inspect/unnamed_namespace_check.hpp:31:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/inspect/unnamed_namespace_check.hpp:31:  Extra space before )  [whitespace/parens] [2]\nsrc/inspect/unnamed_namespace_check.hpp:32:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/inspect/unnamed_namespace_check.hpp:32:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/inspect/unnamed_namespace_check.hpp:32:  Extra space before )  [whitespace/parens] [2]\nsrc/inspect/unnamed_namespace_check.hpp:33:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/inspect/unnamed_namespace_check.hpp:33:  Extra space before )  [whitespace/parens] [2]\nsrc/inspect/unnamed_namespace_check.hpp:34:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/inspect/unnamed_namespace_check.hpp:34:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/inspect/unnamed_namespace_check.hpp:34:  Extra space before )  [whitespace/parens] [2]\nsrc/inspect/unnamed_namespace_check.hpp:35:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/inspect/unnamed_namespace_check.hpp:35:  Extra space before )  [whitespace/parens] [2]\nsrc/inspect/unnamed_namespace_check.hpp:36:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/inspect/unnamed_namespace_check.hpp:36:  Extra space before )  [whitespace/parens] [2]\nsrc/inspect/unnamed_namespace_check.hpp:37:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/inspect/unnamed_namespace_check.hpp:37:  Extra space before )  [whitespace/parens] [2]\nsrc/inspect/unnamed_namespace_check.hpp:38:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/inspect/unnamed_namespace_check.hpp:40:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/inspect/unnamed_namespace_check.hpp:44:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/inspect/unnamed_namespace_check.hpp:48:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/inspect/unnamed_namespace_check.hpp:49:  Missing space before ( in for(  [whitespace/parens] [5]\nsrc/inspect/unnamed_namespace_check.hpp:50:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/inspect/unnamed_namespace_check.hpp:54:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/inspect/unnamed_namespace_check.hpp:54:  Extra space before )  [whitespace/parens] [2]\nsrc/inspect/unnamed_namespace_check.hpp:57:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\nsrc/inspect/unnamed_namespace_check.hpp:59:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/inspect/unnamed_namespace_check.hpp:60:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/inspect/unnamed_namespace_check.hpp:51:  Add #include <string> for string  [build/include_what_you_use] [4]\n\n"
  },
  {
    "path": "deps/cpplint/samples/boost-sample/headers_simple.def",
    "content": "src/tr1/*\n1\n3\nDone processing src/tr1/c_policy.hpp\nTotal errors found: 66\n\nsrc/tr1/c_policy.hpp:0:  No #ifndef header guard found, suggested CPP variable is: SAMPLES_BOOST_SAMPLE_SRC_TR1_C_POLICY_HPP_  [build/header_guard] [5]\nsrc/tr1/c_policy.hpp:9:  Missing space before {  [whitespace/braces] [5]\nsrc/tr1/c_policy.hpp:13:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/tr1/c_policy.hpp:14:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/tr1/c_policy.hpp:15:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/tr1/c_policy.hpp:16:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/tr1/c_policy.hpp:17:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/tr1/c_policy.hpp:18:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/tr1/c_policy.hpp:19:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/tr1/c_policy.hpp:20:  public: should be indented +1 space inside struct policy  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:21:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:22:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:23:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:24:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:25:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:26:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:27:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:28:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:30:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:32:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:34:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:35:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:36:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:37:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:38:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:39:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:44:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/tr1/c_policy.hpp:45:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/tr1/c_policy.hpp:46:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/tr1/c_policy.hpp:47:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/tr1/c_policy.hpp:48:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/tr1/c_policy.hpp:49:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/tr1/c_policy.hpp:50:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/tr1/c_policy.hpp:51:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/tr1/c_policy.hpp:52:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/tr1/c_policy.hpp:53:  public: should be indented +1 space inside struct policy  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:54:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:55:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:56:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:57:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:58:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:59:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:60:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:61:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:63:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:65:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:67:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:68:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:69:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:70:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:71:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:72:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:76:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/tr1/c_policy.hpp:88:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/tr1/c_policy.hpp:89:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:89:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/tr1/c_policy.hpp:93:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/tr1/c_policy.hpp:105:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/tr1/c_policy.hpp:106:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/tr1/c_policy.hpp:106:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/tr1/c_policy.hpp:109:  Namespace should be terminated with \"// namespace policies\"  [readability/namespace] [5]\nsrc/tr1/c_policy.hpp:109:  Namespace should be terminated with \"// namespace math\"  [readability/namespace] [5]\nsrc/tr1/c_policy.hpp:109:  Namespace should be terminated with \"// namespace boost\"  [readability/namespace] [5]\nsrc/tr1/c_policy.hpp:109:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/tr1/c_policy.hpp:111:  Missing space before {  [whitespace/braces] [5]\nsrc/tr1/c_policy.hpp:131:  Namespace should be terminated with \"// namespace c_policies\"  [readability/namespace] [5]\n\n"
  },
  {
    "path": "deps/cpplint/samples/boost-sample/simple.def",
    "content": "include/boost/math/*\n1\n3\nDone processing include/boost/math/octonion.hpp\nTotal errors found: 2572\n\ninclude/boost/math/octonion.hpp:11:  #ifndef header guard has wrong style, please use: SAMPLES_BOOST_SAMPLE_INCLUDE_BOOST_MATH_OCTONION_HPP_  [build/header_guard] [5]\ninclude/boost/math/octonion.hpp:4250:  #endif line should be \"#endif  // SAMPLES_BOOST_SAMPLE_INCLUDE_BOOST_MATH_OCTONION_HPP_\"  [build/header_guard] [5]\ninclude/boost/math/octonion.hpp:18:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:19:  Do not indent within a namespace  [runtime/indentation_namespace] [4]\ninclude/boost/math/octonion.hpp:20:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:21:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:30:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:75:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:80:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:85:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:90:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:95:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:100:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:102:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:103:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:104:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:105:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:106:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:107:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:108:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:109:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:110:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:111:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:112:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:113:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:114:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:115:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:116:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:117:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:118:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:119:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:120:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:121:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:122:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:123:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:124:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:125:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:126:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:127:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:128:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:129:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:130:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:131:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:132:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:133:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:134:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:135:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:136:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:137:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:138:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:138:  Missing spaces around =  [whitespace/operators] [4]\ninclude/boost/math/octonion.hpp:139:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:140:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:141:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:142:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:143:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:144:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:145:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:146:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:147:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:148:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:149:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:150:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:151:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:152:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:153:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:154:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:155:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:156:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:157:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:158:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:159:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:160:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:161:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:162:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:164:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:165:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:175:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:176:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:178:  Do not indent within a namespace  [runtime/indentation_namespace] [4]\ninclude/boost/math/octonion.hpp:179:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:180:  public: should be indented +1 space inside class octonion  [whitespace/indent] [3]\ninclude/boost/math/octonion.hpp:181:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:181:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\ninclude/boost/math/octonion.hpp:183:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:186:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:187:  Extra space after ( in function call  [whitespace/parens] [4]\ninclude/boost/math/octonion.hpp:203:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:206:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:207:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:209:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:210:  Extra space after ( in function call  [whitespace/parens] [4]\ninclude/boost/math/octonion.hpp:211:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:212:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:213:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:222:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:225:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:226:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:228:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:229:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:229:  Extra space after ( in function call  [whitespace/parens] [4]\ninclude/boost/math/octonion.hpp:230:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:239:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:242:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:243:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:246:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:247:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:249:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:260:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:263:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:264:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:267:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:268:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:271:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:272:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:273:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:274:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:275:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:276:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:277:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:279:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:281:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:283:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:290:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:292:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:294:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:296:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:299:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:300:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:302:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:305:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:306:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:308:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:311:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:312:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:313:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:314:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:319:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:320:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:324:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:327:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:328:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:331:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:332:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:333:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:334:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:335:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:336:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:337:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:338:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:339:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:340:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:349:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:352:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:353:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:354:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:356:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:358:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:360:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:363:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:364:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:366:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:369:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:370:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:372:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:375:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:376:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:377:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:378:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:383:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:384:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:388:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:391:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:392:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:395:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:396:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:397:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:398:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:399:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:400:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:401:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:402:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:403:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:404:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:413:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:416:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:417:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:419:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:428:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:437:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:440:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:441:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:443:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:446:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:455:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:464:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:467:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:468:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:469:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:470:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:475:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:484:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:493:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:496:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:497:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:500:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:509:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:518:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:527:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:530:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:531:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:533:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:542:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:551:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:554:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:555:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:557:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:560:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:562:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:571:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:580:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:583:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:584:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:585:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:586:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:591:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:593:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:602:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:611:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:614:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:615:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:618:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:627:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:628:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:629:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:630:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:631:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:632:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:633:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:634:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:635:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:636:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:637:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:638:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:647:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:650:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:651:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:652:  protected: should be indented +1 space inside class octonion  [whitespace/indent] [3]\ninclude/boost/math/octonion.hpp:653:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:653:  Do not leave a blank line after \"protected:\"  [whitespace/blank_line] [3]\ninclude/boost/math/octonion.hpp:655:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:656:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:657:  private: should be indented +1 space inside class octonion  [whitespace/indent] [3]\ninclude/boost/math/octonion.hpp:658:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:658:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\ninclude/boost/math/octonion.hpp:658:  Do not leave a blank line after \"private:\"  [whitespace/blank_line] [3]\ninclude/boost/math/octonion.hpp:660:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:661:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:663:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:667:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:668:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:670:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:671:  Do not indent within a namespace  [runtime/indentation_namespace] [4]\ninclude/boost/math/octonion.hpp:672:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:673:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:679:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:680:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:682:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:683:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:684:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:685:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:685:  Extra space after ( in function call  [whitespace/parens] [4]\ninclude/boost/math/octonion.hpp:686:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:687:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:688:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:689:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:690:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:691:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:692:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:693:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:694:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:695:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:696:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:697:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:698:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:699:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:700:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:701:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:702:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:703:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:704:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:704:  Extra space after ( in function call  [whitespace/parens] [4]\ninclude/boost/math/octonion.hpp:705:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:706:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:707:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:708:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:709:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:710:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:711:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:712:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:713:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:714:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:715:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:716:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:717:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:718:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:719:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:719:  Extra space after ( in function call  [whitespace/parens] [4]\ninclude/boost/math/octonion.hpp:720:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:721:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:722:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:723:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:724:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:725:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:726:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:727:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:728:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:729:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:731:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:732:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:740:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:741:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:742:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:743:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:744:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:745:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:746:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:747:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:749:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:750:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:751:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:752:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:753:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:754:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:755:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:756:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:757:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:758:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:760:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:761:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:762:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:763:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:764:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:765:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:766:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:767:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:768:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:769:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:770:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:771:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:772:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:773:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:774:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:776:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:784:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:785:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:786:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:787:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:788:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:789:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:790:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:791:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:793:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:794:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:795:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:796:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:797:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:798:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:799:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:800:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:801:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:802:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:804:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:820:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:835:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:836:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:837:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:838:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:839:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:840:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:841:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:842:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:843:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:844:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:845:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:846:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:847:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:848:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:849:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:850:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:851:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:852:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:853:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:854:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:855:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:856:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:857:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:858:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:859:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:860:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:862:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:863:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:864:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:865:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:866:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:867:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:868:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:869:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:870:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:871:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:872:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:873:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:874:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:875:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:876:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:877:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:878:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:879:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:880:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:881:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:882:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:883:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:884:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:885:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:886:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:887:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:888:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:889:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:891:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:892:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:893:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:894:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:895:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:896:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:897:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:898:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:899:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:900:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:901:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:902:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:903:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:904:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:905:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:906:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:907:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:908:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:909:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:910:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:911:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:912:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:913:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:914:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:915:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:916:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:917:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:918:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:919:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:920:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:921:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:922:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:923:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:925:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:932:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:943:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:945:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:946:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:947:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:948:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:949:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:950:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:951:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:952:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:953:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:954:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:955:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:956:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:957:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:958:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:959:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:960:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:961:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:962:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:963:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:964:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:965:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:966:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:967:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:968:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:969:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:970:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:971:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:972:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:973:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:974:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:975:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:976:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:977:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:978:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:979:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:980:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:981:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:982:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:983:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:984:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:987:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:988:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:989:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:990:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:991:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:992:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:993:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:994:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:995:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:996:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:997:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:998:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:999:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1000:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1001:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1002:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1003:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1004:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1005:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1006:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1007:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1008:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1009:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1010:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1011:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1012:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1013:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1014:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1015:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1016:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1017:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1018:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1019:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1020:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1021:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1022:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1023:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1024:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1025:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1028:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1030:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1031:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1032:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1033:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1034:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1035:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1036:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1037:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1038:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1039:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1040:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1041:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1042:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1043:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1044:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1045:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1046:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1047:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1048:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1049:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1050:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1051:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1052:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1053:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1054:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1055:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1056:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1057:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1058:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1059:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1060:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1061:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1062:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1063:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1064:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1065:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1066:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1067:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1068:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1069:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1070:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1071:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1074:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1075:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1076:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1077:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1078:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1079:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1080:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1081:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1082:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1083:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1084:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1085:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1086:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1087:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1088:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1089:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1090:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1091:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1092:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1093:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1094:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1095:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1096:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1097:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1098:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1099:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1100:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1101:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1102:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1103:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1104:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1105:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1106:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1107:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1108:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1109:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1110:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1111:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1112:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1113:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1114:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1117:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1119:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1120:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1121:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1122:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1123:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1124:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1125:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1126:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1127:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1128:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1129:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1130:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1131:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1132:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1133:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1134:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1135:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1136:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1137:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1138:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1139:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1140:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1141:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1142:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1143:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1144:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1145:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1146:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1147:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1148:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1149:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1150:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1151:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1152:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1153:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1154:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1155:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1156:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1157:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1158:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1159:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1160:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1161:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1162:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1163:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1164:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1165:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1168:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1169:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1170:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1171:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1172:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1173:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1174:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1175:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1176:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1177:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1178:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1179:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1180:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1181:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1182:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1183:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1184:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1185:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1186:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1187:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1188:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1189:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1190:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1191:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1192:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1193:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1194:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1195:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1196:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1197:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1198:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1199:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1200:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1201:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1202:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1203:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1204:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1205:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1206:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1207:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1208:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1209:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1210:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1211:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1212:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1213:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1216:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1217:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1223:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1229:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1235:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1241:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1247:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1248:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1250:  Do not indent within a namespace  [runtime/indentation_namespace] [4]\ninclude/boost/math/octonion.hpp:1251:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1252:  public: should be indented +1 space inside class octonion  [whitespace/indent] [3]\ninclude/boost/math/octonion.hpp:1253:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1253:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\ninclude/boost/math/octonion.hpp:1255:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1257:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1260:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1262:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1263:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1264:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1265:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1267:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1268:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1269:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1270:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1272:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1275:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1278:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1279:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1280:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1281:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1282:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1283:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1284:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1286:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1288:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1290:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1297:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1299:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1300:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1301:  protected: should be indented +1 space inside class octonion  [whitespace/indent] [3]\ninclude/boost/math/octonion.hpp:1302:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1302:  Do not leave a blank line after \"protected:\"  [whitespace/blank_line] [3]\ninclude/boost/math/octonion.hpp:1304:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1305:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1306:  private: should be indented +1 space inside class octonion  [whitespace/indent] [3]\ninclude/boost/math/octonion.hpp:1307:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1307:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\ninclude/boost/math/octonion.hpp:1307:  Do not leave a blank line after \"private:\"  [whitespace/blank_line] [3]\ninclude/boost/math/octonion.hpp:1309:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1310:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1312:  Do not indent within a namespace  [runtime/indentation_namespace] [4]\ninclude/boost/math/octonion.hpp:1313:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1314:  public: should be indented +1 space inside class octonion  [whitespace/indent] [3]\ninclude/boost/math/octonion.hpp:1315:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1315:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\ninclude/boost/math/octonion.hpp:1317:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1319:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1322:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1324:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1325:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1326:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1327:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1329:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1331:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1332:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1333:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1334:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1336:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1339:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1342:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1343:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1344:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1345:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1346:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1347:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1348:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1350:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1352:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1354:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1361:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1363:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1364:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1365:  protected: should be indented +1 space inside class octonion  [whitespace/indent] [3]\ninclude/boost/math/octonion.hpp:1366:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1366:  Do not leave a blank line after \"protected:\"  [whitespace/blank_line] [3]\ninclude/boost/math/octonion.hpp:1368:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1369:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1370:  private: should be indented +1 space inside class octonion  [whitespace/indent] [3]\ninclude/boost/math/octonion.hpp:1371:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1371:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\ninclude/boost/math/octonion.hpp:1371:  Do not leave a blank line after \"private:\"  [whitespace/blank_line] [3]\ninclude/boost/math/octonion.hpp:1373:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1374:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1376:  Do not indent within a namespace  [runtime/indentation_namespace] [4]\ninclude/boost/math/octonion.hpp:1377:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1378:  public: should be indented +1 space inside class octonion  [whitespace/indent] [3]\ninclude/boost/math/octonion.hpp:1379:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1379:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\ninclude/boost/math/octonion.hpp:1381:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1383:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1386:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1388:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1389:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1390:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1391:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1393:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1394:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1395:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1396:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1397:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1399:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1400:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1403:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1406:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1407:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1408:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1409:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1410:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1411:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1412:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1414:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1416:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1418:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1425:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1427:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1428:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1429:  protected: should be indented +1 space inside class octonion  [whitespace/indent] [3]\ninclude/boost/math/octonion.hpp:1430:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1430:  Do not leave a blank line after \"protected:\"  [whitespace/blank_line] [3]\ninclude/boost/math/octonion.hpp:1432:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1433:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1434:  private: should be indented +1 space inside class octonion  [whitespace/indent] [3]\ninclude/boost/math/octonion.hpp:1435:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1435:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\ninclude/boost/math/octonion.hpp:1435:  Do not leave a blank line after \"private:\"  [whitespace/blank_line] [3]\ninclude/boost/math/octonion.hpp:1437:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1438:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1440:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1442:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1447:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1464:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1465:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1467:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1469:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1471:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1472:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1474:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1481:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1482:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1483:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1484:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1486:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1487:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1488:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1489:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1491:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1492:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1493:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1494:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1496:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1497:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1498:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1499:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1501:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1502:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1503:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1504:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1506:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1507:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1508:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1509:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1511:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1512:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1513:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1514:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1516:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1525:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1526:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1531:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1532:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1534:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1542:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1544:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1545:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1547:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1548:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1551:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1552:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1554:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1555:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1556:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1556:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:1558:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1559:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1561:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1562:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1572:  Closing ) should be moved to the previous line  [whitespace/parens] [2]\ninclude/boost/math/octonion.hpp:1574:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1575:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1577:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1578:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1588:  Closing ) should be moved to the previous line  [whitespace/parens] [2]\ninclude/boost/math/octonion.hpp:1590:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1591:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1593:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1594:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1604:  Closing ) should be moved to the previous line  [whitespace/parens] [2]\ninclude/boost/math/octonion.hpp:1606:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1607:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1609:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1610:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1620:  Closing ) should be moved to the previous line  [whitespace/parens] [2]\ninclude/boost/math/octonion.hpp:1622:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1623:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1625:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1626:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1636:  Closing ) should be moved to the previous line  [whitespace/parens] [2]\ninclude/boost/math/octonion.hpp:1638:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1639:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1641:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1642:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1652:  Closing ) should be moved to the previous line  [whitespace/parens] [2]\ninclude/boost/math/octonion.hpp:1654:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1655:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1657:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1658:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1668:  Closing ) should be moved to the previous line  [whitespace/parens] [2]\ninclude/boost/math/octonion.hpp:1670:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1671:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1676:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1678:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1680:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1682:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1684:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1686:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1688:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1690:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1692:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1694:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1696:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1698:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1700:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1702:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1704:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1706:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1707:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1708:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1709:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1711:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1711:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:1711:  Extra space after (  [whitespace/parens] [2]\ninclude/boost/math/octonion.hpp:1713:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1716:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1718:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1727:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1732:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1735:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1738:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1739:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1740:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1742:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1748:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1750:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1751:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1752:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1754:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1760:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1762:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1763:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1764:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1766:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1772:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1773:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1774:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1776:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1778:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1780:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1781:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1782:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1784:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1790:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1791:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1792:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1793:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1794:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1796:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1802:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1803:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1804:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1807:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1807:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:1808:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1810:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1811:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1812:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1814:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1815:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1816:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1818:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1824:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1825:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1826:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1827:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:1829:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:1830:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1834:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:1835:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1839:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1839:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:1840:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1841:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1842:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1844:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1845:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1846:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1854:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1855:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1856:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1857:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:1858:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1859:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1860:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1868:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1869:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1870:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1873:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1873:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:1874:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1875:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1876:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1878:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1879:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1880:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1888:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1889:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1890:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1891:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:1893:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1893:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:1894:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1898:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:1899:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1903:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:1904:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1908:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:1909:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1913:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:1914:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1916:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1917:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1918:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1920:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1921:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1922:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1930:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1931:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1932:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1933:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1934:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1942:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1943:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1944:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1947:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1947:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:1948:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1949:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1950:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1952:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1958:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1959:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1960:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1961:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1962:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1970:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1971:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1972:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1974:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1975:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1976:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1977:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1978:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1980:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1981:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1982:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1990:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1991:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1992:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1994:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:1995:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:1997:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:1997:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:1998:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:1999:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2002:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2002:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2003:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2005:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2007:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2009:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2010:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2011:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2013:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2019:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2020:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2021:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2022:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2023:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2025:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2031:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2032:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2033:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2034:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2036:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2036:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2037:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2039:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2041:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2042:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2043:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2044:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2045:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2046:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2047:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2048:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2049:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2055:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2056:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2057:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2058:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2060:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2060:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2061:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2062:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2063:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2064:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2065:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2066:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2067:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2068:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2069:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2075:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2076:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2077:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2078:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2078:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2080:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2080:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2081:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2082:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2085:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2085:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2086:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2087:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2090:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2090:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2091:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2092:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2095:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2095:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2096:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2097:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2098:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2106:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2107:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2108:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2109:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2110:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2111:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2112:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2113:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2114:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2115:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2116:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2117:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2118:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2119:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2120:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2126:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2127:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2128:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2129:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2129:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2130:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2131:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2138:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2139:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2140:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2141:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2143:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2143:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2144:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2145:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2148:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2148:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2149:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2150:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2153:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2153:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2154:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2156:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2158:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2159:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2160:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2161:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2162:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2163:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2164:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2170:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2171:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2172:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2173:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2174:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2175:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2182:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2183:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2184:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2185:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2185:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2187:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2187:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2188:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2189:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2190:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2191:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2191:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2192:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2193:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2194:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2195:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2196:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2197:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2198:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2199:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2200:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2204:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2206:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2207:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2208:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2209:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2209:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2211:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2211:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2212:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2213:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2214:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2215:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2216:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2217:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2218:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2219:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2220:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2224:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2226:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2227:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2228:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2229:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2229:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2231:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2231:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2232:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2233:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2236:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2236:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2237:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2238:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2241:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2241:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2242:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2243:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2246:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2246:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2247:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2248:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2249:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2250:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2251:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2252:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2253:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2254:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2255:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2256:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2257:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2263:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2264:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2265:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2266:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2266:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2267:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2268:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2269:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2270:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2271:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2275:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2277:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2278:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2279:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2280:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2280:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2282:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2282:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2283:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2284:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2287:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2287:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2288:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2289:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2290:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2291:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2292:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2293:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2294:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2295:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2296:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2300:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2302:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2303:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2304:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2305:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2305:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2306:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2307:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2308:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2309:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2310:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2314:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2316:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2317:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2318:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2319:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2319:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2321:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2321:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2322:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2323:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2326:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2326:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2327:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2328:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2331:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2331:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2332:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2333:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2336:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2336:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2337:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2338:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2342:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2342:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2343:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2344:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2348:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2348:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2349:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2351:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2352:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2353:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2355:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2356:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2357:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2359:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2365:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2366:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2367:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2368:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2370:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2370:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2371:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2372:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2373:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2375:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2376:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2377:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2379:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2385:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2386:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2387:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2388:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2388:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2390:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2390:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2391:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2392:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2392:  If/else bodies with multiple statements require braces  [readability/braces] [4]\ninclude/boost/math/octonion.hpp:2392:  Missing space after ;  [whitespace/semicolon] [3]\ninclude/boost/math/octonion.hpp:2393:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2394:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2395:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2397:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2403:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2404:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2405:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2406:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2406:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2408:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2408:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2409:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2410:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2413:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2413:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2414:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2415:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2418:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2418:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2419:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2424:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2425:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2429:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2429:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2430:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2431:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2432:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2434:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2440:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2441:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2442:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2444:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2445:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2446:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2447:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2448:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2450:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2451:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2452:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2454:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2460:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2461:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2462:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2463:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2464:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2472:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2473:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2474:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2475:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2477:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2477:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2478:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2479:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2480:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2481:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2482:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2484:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2485:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2486:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2488:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2494:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2495:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2496:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2497:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2499:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2499:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2500:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2501:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2504:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2504:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2505:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2509:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2509:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2510:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2514:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2515:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2517:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2518:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2519:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2521:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2522:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2523:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2525:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2531:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2532:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2533:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2534:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2535:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2537:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2543:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2544:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2545:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2546:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2548:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2548:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2549:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2550:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2551:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2559:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2560:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2561:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2562:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2563:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2565:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2571:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2572:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2573:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2574:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2574:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2575:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2577:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2578:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2579:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2580:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2581:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2582:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2583:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2584:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2585:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2586:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2587:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2593:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2594:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2595:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2596:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2598:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2598:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2599:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2600:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2603:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2603:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2604:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2606:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2608:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2609:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2610:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2611:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2612:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2613:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2614:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2620:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2621:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2622:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2623:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2624:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2625:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2626:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2632:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2633:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2634:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2635:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2637:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2637:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2638:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2639:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2639:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2640:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2641:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2642:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2643:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2644:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2645:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2646:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2647:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2648:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2649:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2650:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2654:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2656:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2657:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2658:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2659:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2659:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2661:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2661:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2662:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2663:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2664:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2665:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2666:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2667:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2668:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2669:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2670:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2674:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2676:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2677:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2678:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2679:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2679:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2681:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2681:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2682:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2683:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2686:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2686:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2687:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2688:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2691:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2691:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2692:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2693:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2696:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2696:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2697:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2698:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2699:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2700:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2701:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2707:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2708:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2709:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2710:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2710:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2711:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2712:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2713:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2715:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2716:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2717:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2718:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2719:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2720:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2721:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2722:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2723:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2727:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2729:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2730:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2731:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2732:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2733:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2734:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2739:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2741:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2742:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2743:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2744:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2744:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2746:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2746:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2747:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2748:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2751:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2751:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2752:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2753:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2756:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2756:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2757:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2759:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2761:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2762:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2763:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2764:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2765:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2766:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2767:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2771:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2773:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2774:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2775:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2776:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2776:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2777:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2778:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2778:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2779:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2780:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2781:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2782:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2783:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2787:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2789:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2790:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2791:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2792:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2792:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2794:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2794:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2795:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2796:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2797:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2798:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2799:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2800:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2801:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2802:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2803:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2807:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2809:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2810:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2811:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2812:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2812:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2814:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2814:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2815:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2816:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2817:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2818:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2819:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2820:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2821:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2822:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2823:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2827:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2829:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2830:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2831:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2832:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2832:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2834:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2834:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2835:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2836:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2839:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2839:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2840:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2841:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2844:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2844:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2845:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2846:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2849:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2849:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2850:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2851:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2851:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2852:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2853:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2854:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2855:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2856:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2857:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2858:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2859:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2860:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2864:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2866:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2867:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2868:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2869:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2870:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2871:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2872:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2876:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2878:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2879:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2880:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2881:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2881:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2882:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2883:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2883:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2885:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2885:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2886:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2887:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2890:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2890:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2891:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2892:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2893:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2894:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2895:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2896:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2897:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2898:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2899:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2903:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2905:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2906:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2907:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2908:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2909:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2910:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2911:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2915:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2917:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2918:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2919:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2920:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2920:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2921:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2922:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2922:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2924:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2924:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2925:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2926:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2929:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2929:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2930:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2931:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2934:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2934:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2935:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2936:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2939:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2939:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2940:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2941:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2945:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2945:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2946:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2947:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2951:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2951:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2952:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2953:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2956:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2956:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2957:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2961:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2961:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2962:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2963:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2964:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2966:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2967:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2968:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2970:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2976:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2977:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2978:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2979:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2980:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2982:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2988:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2989:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2990:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2991:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2993:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2993:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:2994:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:2995:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2995:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:2996:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:2997:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:2998:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3000:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3001:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3002:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3004:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3010:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3011:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3012:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3013:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3015:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3015:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3016:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3017:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3020:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3020:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3021:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3022:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3025:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3025:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3026:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3027:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3028:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3030:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3031:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3032:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3034:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3040:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3041:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3042:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3043:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3044:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3046:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3052:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3053:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3054:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3055:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3057:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3057:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3058:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3059:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3059:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3060:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3061:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3062:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3063:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3064:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3065:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3066:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3067:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3068:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3074:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3075:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3076:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3077:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3079:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3079:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3080:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3081:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3084:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3084:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3085:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3086:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3089:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3089:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3090:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3091:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3094:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3094:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3095:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3099:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3099:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3100:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3105:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3106:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3111:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3112:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3114:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3115:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3116:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3118:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3119:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3120:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3122:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3128:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3129:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3130:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3133:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3133:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3134:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3135:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3136:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3138:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3144:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3145:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3146:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3147:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3148:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3156:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3157:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3158:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3160:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3162:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3163:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3164:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3165:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3166:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3168:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3169:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3170:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3172:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3178:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3179:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3180:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3181:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3183:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3183:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3184:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3188:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3188:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3189:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3191:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3193:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3195:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3196:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3197:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3199:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3205:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3206:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3207:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3208:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3209:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3211:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3217:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3218:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3219:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3220:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3222:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3222:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3223:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3225:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3227:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3228:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3229:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3231:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3232:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3233:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3241:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3242:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3243:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3244:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3246:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3246:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3247:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3248:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3249:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3251:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3252:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3253:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3255:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3261:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3262:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3263:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3264:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3266:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3266:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3267:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3268:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3271:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3271:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3272:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3273:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3276:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3276:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3277:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3281:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3281:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3282:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3283:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3284:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3286:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3292:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3293:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3294:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3296:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3297:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3298:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3299:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3300:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3301:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3302:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3304:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3305:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3306:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3308:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3314:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3315:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3316:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3317:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3318:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3320:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3326:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3327:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3328:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3329:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3331:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3331:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3332:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3333:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3336:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3336:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3337:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3338:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3341:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3341:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3342:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3344:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3346:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3348:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3349:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3350:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3352:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3358:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3359:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3360:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3361:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3362:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3364:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3370:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3371:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3372:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3373:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3375:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3375:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3376:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3378:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3379:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3380:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3381:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3382:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3383:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3384:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3385:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3386:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3387:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3388:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3394:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3395:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3396:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3397:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3399:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3399:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3400:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3401:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3402:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3403:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3404:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3405:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3406:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3407:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3408:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3414:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3415:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3416:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3417:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3417:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3419:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3419:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3420:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3421:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3424:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3424:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3425:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3426:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3429:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3429:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3430:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3431:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3434:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3434:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3435:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3437:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3438:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3439:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3441:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3442:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3443:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3445:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3451:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3452:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3453:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3454:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3455:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3456:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3457:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3463:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3464:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3465:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3466:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3466:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3467:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3468:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3470:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3470:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3471:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3472:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3475:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3475:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3476:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3477:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3478:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3479:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3480:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3481:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3482:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3483:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3484:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3490:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3491:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3492:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3493:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3494:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3495:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3496:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3502:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3503:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3504:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3505:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3505:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3506:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3507:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3509:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3509:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3510:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3511:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3514:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3514:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3515:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3516:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3519:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3519:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3520:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3521:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3524:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3524:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3525:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3526:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3530:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3530:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3531:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3536:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3536:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3537:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3539:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3541:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3543:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3544:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3545:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3547:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3553:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3554:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3555:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3556:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3558:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3558:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3559:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3560:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3561:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3563:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3569:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3570:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3571:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3573:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3574:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3575:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3576:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3577:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3578:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3579:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3581:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3582:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3583:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3585:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3591:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3592:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3593:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3594:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3596:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3596:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3597:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3598:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3599:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3601:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3602:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3603:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3605:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3611:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3612:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3613:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3614:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3616:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3616:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3617:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3618:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3621:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3621:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3622:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3626:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3626:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3627:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3629:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3631:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3633:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3634:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3635:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3637:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3643:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3644:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3645:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3646:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3648:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3648:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3649:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3650:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3651:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3653:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3659:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3660:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3661:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3663:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3664:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3665:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3666:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3667:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3668:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3669:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3670:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3671:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3673:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3674:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3675:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3677:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3683:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3684:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3685:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3686:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3688:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3688:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3689:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3690:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3693:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3693:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3694:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3695:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3696:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3698:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3700:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3701:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3702:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3704:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3710:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3711:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3712:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3713:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3715:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3715:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3716:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3717:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3718:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3719:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3720:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3721:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3722:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3723:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3724:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3730:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3731:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3732:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3733:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3735:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3735:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3736:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3737:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3738:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3739:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3740:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3741:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3742:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3743:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3744:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3750:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3751:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3752:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3753:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3753:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3755:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3755:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3756:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3757:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3758:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3759:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3760:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3761:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3762:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3762:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3763:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3764:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3768:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3770:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3771:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3772:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3773:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3773:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3775:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3775:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3776:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3777:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3778:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3779:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3780:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3781:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3782:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3782:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3783:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3784:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3788:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3790:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3791:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3792:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3793:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3793:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3795:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3795:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3796:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3797:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3800:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3800:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3801:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3802:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3805:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3805:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3806:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3807:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3810:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3810:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3811:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3812:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3815:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3815:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3816:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3817:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3821:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3821:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3822:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3827:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3828:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3833:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3834:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3839:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3840:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3842:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3843:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3844:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3846:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3849:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3853:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3854:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3856:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3856:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3856:  Extra space after (  [whitespace/parens] [2]\ninclude/boost/math/octonion.hpp:3857:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3858:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3859:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:3860:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3867:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3876:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3879:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3880:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3882:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3885:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3888:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3889:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3892:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3895:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3896:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3910:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3911:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3914:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3918:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3920:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3923:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3924:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3927:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3931:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3933:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3936:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3937:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3940:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3944:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3946:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3948:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3950:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3952:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3955:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:3956:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3957:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3958:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3960:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3962:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3965:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3966:  Should have a space between // and comment  [whitespace/comments] [4]\ninclude/boost/math/octonion.hpp:3968:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3969:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3971:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3972:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3974:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3977:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3980:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3981:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3984:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:3994:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3995:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3996:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:3998:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:3999:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4009:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:4012:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4013:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:4013:  Should have a space between // and comment  [whitespace/comments] [4]\ninclude/boost/math/octonion.hpp:4014:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:4014:  Should have a space between // and comment  [whitespace/comments] [4]\ninclude/boost/math/octonion.hpp:4015:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\ninclude/boost/math/octonion.hpp:4015:  Should have a space between // and comment  [whitespace/comments] [4]\ninclude/boost/math/octonion.hpp:4016:  Should have a space between // and comment  [whitespace/comments] [4]\ninclude/boost/math/octonion.hpp:4017:  Should have a space between // and comment  [whitespace/comments] [4]\ninclude/boost/math/octonion.hpp:4018:  Should have a space between // and comment  [whitespace/comments] [4]\ninclude/boost/math/octonion.hpp:4019:  Should have a space between // and comment  [whitespace/comments] [4]\ninclude/boost/math/octonion.hpp:4020:  Should have a space between // and comment  [whitespace/comments] [4]\ninclude/boost/math/octonion.hpp:4021:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4023:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4025:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4027:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4029:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4031:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4033:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4035:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4037:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4039:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4041:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4043:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4045:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4047:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4050:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4051:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:4053:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4054:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4064:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:4067:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4076:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4077:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:4079:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4080:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4090:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:4093:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4096:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4097:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:4099:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4100:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4103:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:4106:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4108:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4110:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4112:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4114:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4121:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4122:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4125:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:4129:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4131:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4133:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4135:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4142:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4143:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4146:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:4150:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4152:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4154:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4156:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4163:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4164:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4167:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:4170:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4171:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4174:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:4177:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4178:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4181:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:4184:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4185:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4188:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:4191:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4192:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4196:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:4198:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:4200:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4202:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4204:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4205:  Missing spaces around <<  [whitespace/operators] [3]\ninclude/boost/math/octonion.hpp:4206:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:4207:  At least two spaces is best between code and comments  [whitespace/comments] [2]\ninclude/boost/math/octonion.hpp:4209:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4212:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:4213:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:4216:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:4217:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:4220:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\ninclude/boost/math/octonion.hpp:4221:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:4222:  Missing space after ,  [whitespace/comma] [3]\ninclude/boost/math/octonion.hpp:4225:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4226:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4228:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4229:  Do not indent within a namespace  [runtime/indentation_namespace] [4]\ninclude/boost/math/octonion.hpp:4230:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:4231:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\ninclude/boost/math/octonion.hpp:4236:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\ninclude/boost/math/octonion.hpp:4246:  Namespace should be terminated with \"// namespace detail\"  [readability/namespace] [5]\ninclude/boost/math/octonion.hpp:4247:  Namespace should be terminated with \"// namespace math\"  [readability/namespace] [5]\ninclude/boost/math/octonion.hpp:4248:  Namespace should be terminated with \"// namespace boost\"  [readability/namespace] [5]\n\n"
  },
  {
    "path": "deps/cpplint/samples/boost-sample/src/inspect/unnamed_namespace_check.hpp",
    "content": "//  unnamed_namespace_check -----------------------------------------//\n\n//  Copyright Gennaro Prota 2006.\n//\n//  Distributed under the Boost Software License, Version 1.0.\n//  (See accompanying file LICENSE_1_0.txt or copy at\n//  http://www.boost.org/LICENSE_1_0.txt)\n\n#include \"boost/regex.hpp\"\n#include \"boost/lexical_cast.hpp\"\n#include \"unnamed_namespace_check.hpp\"\n\n\nnamespace {\n\n\n  boost::regex unnamed_namespace_regex(\n     \"\\\\<namespace\\\\s*(\\\\?\\\\?<|\\\\{)\" // trigraph ??< or {\n  );\n\n} // unnamed namespace (ironical? :-)\n\n\n\nnamespace boost\n{\n  namespace inspect\n  {\n   unnamed_namespace_check::unnamed_namespace_check() : m_errors(0)\n   {\n     register_signature( \".h\" );\n     register_signature( \".hh\" ); // just in case\n     register_signature( \".hpp\" );\n     register_signature( \".hxx\" ); // just in case\n     register_signature( \".inc\" );\n     register_signature( \".ipp\" );\n     register_signature( \".inl\" );\n   }\n\n   void unnamed_namespace_check::inspect(\n      const string & library_name,\n      const path & full_path,   // example: c:/foo/boost/filesystem/path.hpp\n      const string & contents )     // contents of file to be inspected\n    {\n      if (contents.find( \"boostinspect:\" \"nounnamed\" ) != string::npos) return;\n\n\n      boost::sregex_iterator cur(contents.begin(), contents.end(), unnamed_namespace_regex), end;\n      for( ; cur != end; ++cur, ++m_errors )\n      {\n        const string::size_type\n         ln = std::count( contents.begin(), (*cur)[0].first, '\\n' ) + 1;\n\n        error( library_name, full_path, \"Unnamed namespace\", ln );\n      }\n\n\n    }\n  } // namespace inspect\n} // namespace boost\n\n\n"
  },
  {
    "path": "deps/cpplint/samples/boost-sample/src/tr1/c_policy.hpp",
    "content": "//  Copyright John Maddock 2008.\n//  Use, modification and distribution are subject to the\n//  Boost Software License, Version 1.0.  (See accompanying file\n//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)\n//\n#include <boost/math/policies/policy.hpp>\n#include <boost/math/special_functions/math_fwd.hpp>\n\nnamespace boost{ namespace math{ namespace policies{\n\ntemplate <>\nstruct policy<\n   domain_error<errno_on_error>, \n   pole_error<errno_on_error>, \n   overflow_error<errno_on_error>, \n   evaluation_error<errno_on_error>, \n   rounding_error<errno_on_error>, \n   default_policy, default_policy, default_policy, default_policy, default_policy, default_policy>\n{\npublic:\n   typedef domain_error<errno_on_error> domain_error_type;\n   typedef pole_error<errno_on_error> pole_error_type;\n   typedef overflow_error<errno_on_error> overflow_error_type;\n   typedef underflow_error<errno_on_error> underflow_error_type;\n   typedef denorm_error<errno_on_error> denorm_error_type;\n   typedef evaluation_error<errno_on_error> evaluation_error_type;\n   typedef rounding_error<errno_on_error> rounding_error_type;\n   typedef indeterminate_result_error<> indeterminate_result_error_type;\n#if BOOST_MATH_DIGITS10_POLICY == 0\n   typedef digits2<> precision_type;\n#else\n   typedef detail::precision<digits10<>, digits2<> >::type precision_type;\n#endif\n   typedef promote_float<> promote_float_type;\n   typedef promote_double<> promote_double_type;\n   typedef discrete_quantile<> discrete_quantile_type;\n   typedef assert_undefined<> assert_undefined_type;\n   typedef max_series_iterations<> max_series_iterations_type;\n   typedef max_root_iterations<> max_root_iterations_type;\n};\n\ntemplate <>\nstruct policy<\n   domain_error<errno_on_error>, \n   pole_error<errno_on_error>, \n   overflow_error<errno_on_error>, \n   evaluation_error<errno_on_error>, \n   rounding_error<errno_on_error>, \n   detail::forwarding_arg1, \n   detail::forwarding_arg2, \n   default_policy, default_policy, default_policy, default_policy, default_policy, default_policy>\n{\npublic:\n   typedef domain_error<errno_on_error> domain_error_type;\n   typedef pole_error<errno_on_error> pole_error_type;\n   typedef overflow_error<errno_on_error> overflow_error_type;\n   typedef underflow_error<errno_on_error> underflow_error_type;\n   typedef denorm_error<errno_on_error> denorm_error_type;\n   typedef evaluation_error<errno_on_error> evaluation_error_type;\n   typedef rounding_error<errno_on_error> rounding_error_type;\n   typedef indeterminate_result_error<> indeterminate_result_error_type;\n#if BOOST_MATH_DIGITS10_POLICY == 0\n   typedef digits2<> precision_type;\n#else\n   typedef detail::precision<digits10<>, digits2<> >::type precision_type;\n#endif\n   typedef promote_float<false> promote_float_type;\n   typedef promote_double<false> promote_double_type;\n   typedef discrete_quantile<> discrete_quantile_type;\n   typedef assert_undefined<> assert_undefined_type;\n   typedef max_series_iterations<> max_series_iterations_type;\n   typedef max_root_iterations<> max_root_iterations_type;\n};\n\ntemplate <>\nstruct normalise<policy<domain_error<errno_on_error>, pole_error<errno_on_error>, overflow_error<errno_on_error>, evaluation_error<errno_on_error>, rounding_error<errno_on_error> >,\n          promote_float<false>,\n          promote_double<false>,\n          discrete_quantile<>,\n          assert_undefined<>,\n          default_policy,\n          default_policy,\n          default_policy,\n          default_policy,\n          default_policy,\n          default_policy,\n          default_policy>\n{\n   typedef policy<domain_error<errno_on_error>, pole_error<errno_on_error>, overflow_error<errno_on_error>, evaluation_error<errno_on_error>, rounding_error<errno_on_error>, detail::forwarding_arg1, detail::forwarding_arg2> type;\n};\n\ntemplate <>\nstruct normalise<policy<domain_error<errno_on_error>, pole_error<errno_on_error>, overflow_error<errno_on_error>, evaluation_error<errno_on_error>, rounding_error<errno_on_error>, detail::forwarding_arg1, detail::forwarding_arg2 >,\n          promote_float<false>,\n          promote_double<false>,\n          discrete_quantile<>,\n          assert_undefined<>,\n          default_policy,\n          default_policy,\n          default_policy,\n          default_policy,\n          default_policy,\n          default_policy,\n          default_policy>\n{\n   typedef policy<domain_error<errno_on_error>, pole_error<errno_on_error>, overflow_error<errno_on_error>, evaluation_error<errno_on_error>, rounding_error<errno_on_error>, detail::forwarding_arg1, detail::forwarding_arg2> type;\n};\n\n}}} // namespaces\n\nnamespace c_policies{\n\nusing boost::math::policies::policy;\nusing boost::math::policies::errno_on_error;\nusing boost::math::policies::domain_error;\nusing boost::math::policies::pole_error;\nusing boost::math::policies::overflow_error;\nusing boost::math::policies::rounding_error;\nusing boost::math::policies::evaluation_error;\n\ntypedef policy<\n   domain_error<errno_on_error>,\n   pole_error<errno_on_error>,\n   overflow_error<errno_on_error>,\n   evaluation_error<errno_on_error>,\n   rounding_error<errno_on_error>\n> c_policy;\n\nBOOST_MATH_DECLARE_SPECIAL_FUNCTIONS(c_policy)\n\n}\n"
  },
  {
    "path": "deps/cpplint/samples/chromium-sample/README.md",
    "content": "# VLC sample\n\ncode taken for regression testing from https://github.com/chromium/chromium\n"
  },
  {
    "path": "deps/cpplint/samples/chromium-sample/simple.def",
    "content": "src/*\n1\n6\nDone processing src/chrome_content_renderer_client.cc\nDone processing src/chrome_content_renderer_client.h\nDone processing src/io_thread.cc\nDone processing src/io_thread.h\nTotal errors found: 13\n\nsrc/chrome_content_renderer_client.cc:113:  Include the directory when naming .h files  [build/include_subdir] [4]\nsrc/chrome_content_renderer_client.cc:1156:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]\nsrc/chrome_content_renderer_client.cc:1161:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]\nsrc/chrome_content_renderer_client.cc:5:  samples/chromium-sample/src/chrome_content_renderer_client.cc should include its header file samples/chromium-sample/src/chrome_content_renderer_client.h  [build/include] [5]\nsrc/chrome_content_renderer_client.h:5:  #ifndef header guard has wrong style, please use: SAMPLES_CHROMIUM_SAMPLE_SRC_CHROME_CONTENT_RENDERER_CLIENT_H_  [build/header_guard] [5]\nsrc/chrome_content_renderer_client.h:225:  #endif line should be \"#endif  // SAMPLES_CHROMIUM_SAMPLE_SRC_CHROME_CONTENT_RENDERER_CLIENT_H_\"  [build/header_guard] [5]\nsrc/chrome_content_renderer_client.h:115:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]\nsrc/chrome_content_renderer_client.h:117:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]\nsrc/io_thread.cc:1148:  Closing ) should be moved to the previous line  [whitespace/parens] [2]\nsrc/io_thread.cc:1547:  Missing space around colon in range-based for loop  [whitespace/forcolon] [2]\nsrc/io_thread.cc:5:  samples/chromium-sample/src/io_thread.cc should include its header file samples/chromium-sample/src/io_thread.h  [build/include] [5]\nsrc/io_thread.h:5:  #ifndef header guard has wrong style, please use: SAMPLES_CHROMIUM_SAMPLE_SRC_IO_THREAD_H_  [build/header_guard] [5]\nsrc/io_thread.h:565:  #endif line should be \"#endif  // SAMPLES_CHROMIUM_SAMPLE_SRC_IO_THREAD_H_\"  [build/header_guard] [5]\n\n"
  },
  {
    "path": "deps/cpplint/samples/chromium-sample/src/chrome_content_renderer_client.cc",
    "content": "// Copyright (c) 2012 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#include \"chrome/renderer/chrome_content_renderer_client.h\"\n\n#include <memory>\n#include <utility>\n\n#include \"base/command_line.h\"\n#include \"base/debug/crash_logging.h\"\n#include \"base/logging.h\"\n#include \"base/macros.h\"\n#include \"base/metrics/field_trial.h\"\n#include \"base/metrics/histogram.h\"\n#include \"base/metrics/user_metrics_action.h\"\n#include \"base/strings/string_number_conversions.h\"\n#include \"base/strings/string_util.h\"\n#include \"base/strings/utf_string_conversions.h\"\n#include \"base/time/time.h\"\n#include \"base/values.h\"\n#include \"build/build_config.h\"\n#include \"chrome/common/channel_info.h\"\n#include \"chrome/common/chrome_isolated_world_ids.h\"\n#include \"chrome/common/chrome_paths.h\"\n#include \"chrome/common/chrome_switches.h\"\n#include \"chrome/common/crash_keys.h\"\n#include \"chrome/common/pepper_permission_util.h\"\n#include \"chrome/common/render_messages.h\"\n#include \"chrome/common/secure_origin_whitelist.h\"\n#include \"chrome/common/url_constants.h\"\n#include \"chrome/grit/generated_resources.h\"\n#include \"chrome/grit/locale_settings.h\"\n#include \"chrome/grit/renderer_resources.h\"\n#include \"chrome/renderer/banners/app_banner_client.h\"\n#include \"chrome/renderer/benchmarking_extension.h\"\n#include \"chrome/renderer/chrome_render_frame_observer.h\"\n#include \"chrome/renderer/chrome_render_thread_observer.h\"\n#include \"chrome/renderer/chrome_render_view_observer.h\"\n#include \"chrome/renderer/content_settings_observer.h\"\n#include \"chrome/renderer/external_extension.h\"\n#include \"chrome/renderer/loadtimes_extension_bindings.h\"\n#include \"chrome/renderer/media/chrome_key_systems.h\"\n#include \"chrome/renderer/net/net_error_helper.h\"\n#include \"chrome/renderer/net_benchmarking_extension.h\"\n#include \"chrome/renderer/page_load_histograms.h\"\n#include \"chrome/renderer/pepper/pepper_helper.h\"\n#include \"chrome/renderer/plugins/non_loadable_plugin_placeholder.h\"\n#include \"chrome/renderer/plugins/plugin_preroller.h\"\n#include \"chrome/renderer/plugins/plugin_uma.h\"\n#include \"chrome/renderer/prerender/prerender_dispatcher.h\"\n#include \"chrome/renderer/prerender/prerender_helper.h\"\n#include \"chrome/renderer/prerender/prerenderer_client.h\"\n#include \"chrome/renderer/safe_browsing/phishing_classifier_delegate.h\"\n#include \"chrome/renderer/safe_browsing/threat_dom_details.h\"\n#include \"chrome/renderer/searchbox/search_bouncer.h\"\n#include \"chrome/renderer/searchbox/searchbox.h\"\n#include \"chrome/renderer/searchbox/searchbox_extension.h\"\n#include \"chrome/renderer/tts_dispatcher.h\"\n#include \"chrome/renderer/worker_content_settings_client_proxy.h\"\n#include \"components/autofill/content/renderer/autofill_agent.h\"\n#include \"components/autofill/content/renderer/password_autofill_agent.h\"\n#include \"components/autofill/content/renderer/password_generation_agent.h\"\n#include \"components/content_settings/core/common/content_settings_pattern.h\"\n#include \"components/contextual_search/renderer/overlay_js_render_frame_observer.h\"\n#include \"components/data_reduction_proxy/core/common/data_reduction_proxy_headers.h\"\n#include \"components/dom_distiller/content/renderer/distillability_agent.h\"\n#include \"components/dom_distiller/content/renderer/distiller_js_render_frame_observer.h\"\n#include \"components/dom_distiller/core/url_constants.h\"\n#include \"components/error_page/common/localized_error.h\"\n#include \"components/network_hints/renderer/prescient_networking_dispatcher.h\"\n#include \"components/page_load_metrics/renderer/metrics_render_frame_observer.h\"\n#include \"components/password_manager/content/renderer/credential_manager_client.h\"\n#include \"components/pdf/renderer/pepper_pdf_host.h\"\n#include \"components/plugins/renderer/mobile_youtube_plugin.h\"\n#include \"components/signin/core/common/profile_management_switches.h\"\n#include \"components/startup_metric_utils/common/startup_metric_messages.h\"\n#include \"components/version_info/version_info.h\"\n#include \"components/visitedlink/renderer/visitedlink_slave.h\"\n#include \"components/web_cache/renderer/web_cache_impl.h\"\n#include \"content/public/common/content_constants.h\"\n#include \"content/public/common/content_switches.h\"\n#include \"content/public/common/url_constants.h\"\n#include \"content/public/renderer/plugin_instance_throttler.h\"\n#include \"content/public/renderer/render_frame.h\"\n#include \"content/public/renderer/render_thread.h\"\n#include \"content/public/renderer/render_view.h\"\n#include \"content/public/renderer/render_view_visitor.h\"\n#include \"extensions/common/constants.h\"\n#include \"ipc/ipc_sync_channel.h\"\n#include \"net/base/net_errors.h\"\n#include \"ppapi/c/private/ppb_pdf.h\"\n#include \"ppapi/shared_impl/ppapi_switches.h\"\n#include \"third_party/WebKit/public/platform/URLConversion.h\"\n#include \"third_party/WebKit/public/platform/WebCachePolicy.h\"\n#include \"third_party/WebKit/public/platform/WebSecurityOrigin.h\"\n#include \"third_party/WebKit/public/platform/WebURL.h\"\n#include \"third_party/WebKit/public/platform/WebURLError.h\"\n#include \"third_party/WebKit/public/platform/WebURLRequest.h\"\n#include \"third_party/WebKit/public/platform/WebURLResponse.h\"\n#include \"third_party/WebKit/public/web/WebCache.h\"\n#include \"third_party/WebKit/public/web/WebDataSource.h\"\n#include \"third_party/WebKit/public/web/WebDocument.h\"\n#include \"third_party/WebKit/public/web/WebElement.h\"\n#include \"third_party/WebKit/public/web/WebLocalFrame.h\"\n#include \"third_party/WebKit/public/web/WebPluginContainer.h\"\n#include \"third_party/WebKit/public/web/WebPluginParams.h\"\n#include \"third_party/WebKit/public/web/WebSecurityPolicy.h\"\n#include \"ui/base/l10n/l10n_util.h\"\n#include \"ui/base/layout.h\"\n#include \"ui/base/resource/resource_bundle.h\"\n#include \"ui/base/webui/jstemplate_builder.h\"\n#include \"widevine_cdm_version.h\"  // In SHARED_INTERMEDIATE_DIR.\n\n#if !defined(DISABLE_NACL)\n#include \"components/nacl/common/nacl_constants.h\"\n#include \"components/nacl/renderer/nacl_helper.h\"\n#endif\n\n#if defined(ENABLE_EXTENSIONS)\n#include \"chrome/common/extensions/chrome_extensions_client.h\"\n#include \"chrome/renderer/extensions/chrome_extensions_renderer_client.h\"\n#include \"extensions/common/extension_urls.h\"\n#include \"extensions/common/switches.h\"\n#include \"extensions/renderer/dispatcher.h\"\n#include \"extensions/renderer/renderer_extension_registry.h\"\n#endif\n\n#if defined(ENABLE_IPC_FUZZER)\n#include \"chrome/common/external_ipc_dumper.h\"\n#endif\n\n#if defined(ENABLE_PLUGINS)\n#include \"chrome/renderer/plugins/chrome_plugin_placeholder.h\"\n#include \"chrome/renderer/plugins/power_saver_info.h\"\n#endif\n\n#if defined(ENABLE_PRINTING)\n#include \"chrome/common/chrome_content_client.h\"\n#include \"chrome/renderer/printing/chrome_print_web_view_helper_delegate.h\"\n#include \"components/printing/renderer/print_web_view_helper.h\"\n#include \"printing/print_settings.h\"\n#endif\n\n#if defined(ENABLE_PRINT_PREVIEW)\n#include \"chrome/renderer/pepper/chrome_pdf_print_client.h\"\n#endif\n\n#if defined(ENABLE_SPELLCHECK)\n#include \"chrome/renderer/spellchecker/spellcheck.h\"\n#include \"chrome/renderer/spellchecker/spellcheck_provider.h\"\n#endif\n\n#if defined(ENABLE_WEBRTC)\n#include \"chrome/renderer/media/webrtc_logging_message_filter.h\"\n#endif\n\nusing autofill::AutofillAgent;\nusing autofill::PasswordAutofillAgent;\nusing autofill::PasswordGenerationAgent;\nusing base::ASCIIToUTF16;\nusing base::UserMetricsAction;\nusing blink::WebCache;\nusing blink::WebCachePolicy;\nusing blink::WebConsoleMessage;\nusing blink::WebDataSource;\nusing blink::WebDocument;\nusing blink::WebFrame;\nusing blink::WebLocalFrame;\nusing blink::WebPlugin;\nusing blink::WebPluginParams;\nusing blink::WebSecurityOrigin;\nusing blink::WebSecurityPolicy;\nusing blink::WebString;\nusing blink::WebURL;\nusing blink::WebURLError;\nusing blink::WebURLRequest;\nusing blink::WebURLResponse;\nusing blink::WebVector;\nusing content::PluginInstanceThrottler;\nusing content::RenderFrame;\nusing content::RenderThread;\nusing content::WebPluginInfo;\nusing extensions::Extension;\n\nnamespace {\n\n// Whitelist PPAPI for Android Runtime for Chromium. (See crbug.com/383937)\n#if defined(ENABLE_PLUGINS)\nconst char* const kPredefinedAllowedCameraDeviceOrigins[] = {\n  \"6EAED1924DB611B6EEF2A664BD077BE7EAD33B8F\",\n  \"4EB74897CB187C7633357C2FE832E0AD6A44883A\"\n};\n\nconst char* const kPredefinedAllowedCompositorOrigins[] = {\n  \"6EAED1924DB611B6EEF2A664BD077BE7EAD33B8F\",\n  \"4EB74897CB187C7633357C2FE832E0AD6A44883A\"\n};\n#endif\n\n#if defined(ENABLE_PLUGINS)\nvoid AppendParams(const std::vector<base::string16>& additional_names,\n                  const std::vector<base::string16>& additional_values,\n                  WebVector<WebString>* existing_names,\n                  WebVector<WebString>* existing_values) {\n  DCHECK(additional_names.size() == additional_values.size());\n  DCHECK(existing_names->size() == existing_values->size());\n\n  size_t existing_size = existing_names->size();\n  size_t total_size = existing_size + additional_names.size();\n\n  WebVector<WebString> names(total_size);\n  WebVector<WebString> values(total_size);\n\n  for (size_t i = 0; i < existing_size; ++i) {\n    names[i] = (*existing_names)[i];\n    values[i] = (*existing_values)[i];\n  }\n\n  for (size_t i = 0; i < additional_names.size(); ++i) {\n    names[existing_size + i] = additional_names[i];\n    values[existing_size + i] = additional_values[i];\n  }\n\n  existing_names->swap(names);\n  existing_values->swap(values);\n}\n\n// For certain sandboxed Pepper plugins, use the JavaScript Content Settings.\nbool ShouldUseJavaScriptSettingForPlugin(const WebPluginInfo& plugin) {\n  if (plugin.type != WebPluginInfo::PLUGIN_TYPE_PEPPER_IN_PROCESS &&\n      plugin.type != WebPluginInfo::PLUGIN_TYPE_PEPPER_OUT_OF_PROCESS) {\n    return false;\n  }\n\n#if !defined(DISABLE_NACL)\n  // Treat Native Client invocations like JavaScript.\n  if (plugin.name == ASCIIToUTF16(nacl::kNaClPluginName))\n    return true;\n#endif\n\n#if defined(WIDEVINE_CDM_AVAILABLE) && defined(ENABLE_PEPPER_CDMS)\n  // Treat CDM invocations like JavaScript.\n  if (plugin.name == ASCIIToUTF16(kWidevineCdmDisplayName)) {\n    DCHECK(plugin.type == WebPluginInfo::PLUGIN_TYPE_PEPPER_OUT_OF_PROCESS);\n    return true;\n  }\n#endif  // defined(WIDEVINE_CDM_AVAILABLE) && defined(ENABLE_PEPPER_CDMS)\n\n  return false;\n}\n#endif  // defined(ENABLE_PLUGINS)\n\n#if defined(ENABLE_SPELLCHECK)\nclass SpellCheckReplacer : public content::RenderViewVisitor {\n public:\n  explicit SpellCheckReplacer(SpellCheck* spellcheck)\n      : spellcheck_(spellcheck) {}\n  bool Visit(content::RenderView* render_view) override;\n\n private:\n  SpellCheck* spellcheck_;  // New shared spellcheck for all views. Weak Ptr.\n  DISALLOW_COPY_AND_ASSIGN(SpellCheckReplacer);\n};\n\nbool SpellCheckReplacer::Visit(content::RenderView* render_view) {\n  SpellCheckProvider* provider = SpellCheckProvider::Get(render_view);\n  DCHECK(provider);\n  provider->set_spellcheck(spellcheck_);\n  return true;\n}\n#endif\n\n#if defined(ENABLE_EXTENSIONS)\nbool IsStandaloneExtensionProcess() {\n  return base::CommandLine::ForCurrentProcess()->HasSwitch(\n      extensions::switches::kExtensionProcess);\n}\n#endif\n\n// Defers media player loading in background pages until they're visible.\n// TODO(dalecurtis): Include an idle listener too.  http://crbug.com/509135\nclass MediaLoadDeferrer : public content::RenderFrameObserver {\n public:\n  MediaLoadDeferrer(content::RenderFrame* render_frame,\n                    const base::Closure& continue_loading_cb)\n      : content::RenderFrameObserver(render_frame),\n        continue_loading_cb_(continue_loading_cb) {}\n  ~MediaLoadDeferrer() override {}\n\n private:\n  // content::RenderFrameObserver implementation:\n  void WasShown() override {\n    continue_loading_cb_.Run();\n    delete this;\n  }\n\n  const base::Closure continue_loading_cb_;\n\n  DISALLOW_COPY_AND_ASSIGN(MediaLoadDeferrer);\n};\n\n}  // namespace\n\nChromeContentRendererClient::ChromeContentRendererClient()\n    : main_entry_time_(base::TimeTicks::Now()) {\n#if defined(ENABLE_EXTENSIONS)\n  extensions::ExtensionsClient::Set(\n      extensions::ChromeExtensionsClient::GetInstance());\n  extensions::ExtensionsRendererClient::Set(\n      ChromeExtensionsRendererClient::GetInstance());\n#endif\n#if defined(ENABLE_PLUGINS)\n  for (size_t i = 0; i < arraysize(kPredefinedAllowedCameraDeviceOrigins); ++i)\n    allowed_camera_device_origins_.insert(\n        kPredefinedAllowedCameraDeviceOrigins[i]);\n  for (size_t i = 0; i < arraysize(kPredefinedAllowedCompositorOrigins); ++i)\n    allowed_compositor_origins_.insert(kPredefinedAllowedCompositorOrigins[i]);\n#endif\n#if defined(ENABLE_PRINTING)\n  printing::SetAgent(GetUserAgent());\n#endif\n}\n\nChromeContentRendererClient::~ChromeContentRendererClient() {\n}\n\nvoid ChromeContentRendererClient::RenderThreadStarted() {\n  RenderThread* thread = RenderThread::Get();\n\n  thread->Send(new StartupMetricHostMsg_RecordRendererMainEntryTime(\n      main_entry_time_));\n\n  chrome_observer_.reset(new ChromeRenderThreadObserver());\n  web_cache_impl_.reset(new web_cache::WebCacheImpl());\n\n#if defined(ENABLE_EXTENSIONS)\n  ChromeExtensionsRendererClient::GetInstance()->RenderThreadStarted();\n#endif\n\n  prescient_networking_dispatcher_.reset(\n      new network_hints::PrescientNetworkingDispatcher());\n#if defined(ENABLE_SPELLCHECK)\n  // ChromeRenderViewTest::SetUp() creates a Spellcheck and injects it using\n  // SetSpellcheck(). Don't overwrite it.\n  if (!spellcheck_) {\n    spellcheck_.reset(new SpellCheck());\n    thread->AddObserver(spellcheck_.get());\n  }\n#endif\n  visited_link_slave_.reset(new visitedlink::VisitedLinkSlave());\n#if defined(FULL_SAFE_BROWSING)\n  phishing_classifier_.reset(safe_browsing::PhishingClassifierFilter::Create());\n#endif\n  prerender_dispatcher_.reset(new prerender::PrerenderDispatcher());\n#if defined(ENABLE_WEBRTC)\n  webrtc_logging_message_filter_ = new WebRtcLoggingMessageFilter(\n      thread->GetIOMessageLoopProxy());\n#endif\n\n  thread->AddObserver(chrome_observer_.get());\n#if defined(FULL_SAFE_BROWSING)\n  thread->AddObserver(phishing_classifier_.get());\n#endif\n  thread->AddObserver(visited_link_slave_.get());\n  thread->AddObserver(prerender_dispatcher_.get());\n  thread->AddObserver(SearchBouncer::GetInstance());\n\n#if defined(ENABLE_WEBRTC)\n  thread->AddFilter(webrtc_logging_message_filter_.get());\n#endif\n\n  thread->RegisterExtension(extensions_v8::ExternalExtension::Get());\n  thread->RegisterExtension(extensions_v8::LoadTimesExtension::Get());\n\n  base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();\n  if (command_line->HasSwitch(switches::kEnableBenchmarking))\n    thread->RegisterExtension(extensions_v8::BenchmarkingExtension::Get());\n  if (command_line->HasSwitch(switches::kEnableNetBenchmarking))\n    thread->RegisterExtension(extensions_v8::NetBenchmarkingExtension::Get());\n  if (command_line->HasSwitch(switches::kInstantProcess))\n    thread->RegisterExtension(extensions_v8::SearchBoxExtension::Get());\n\n  // chrome-search: and chrome-distiller: pages  should not be accessible by\n  // normal content, and should also be unable to script anything but themselves\n  // (to help limit the damage that a corrupt page could cause).\n  WebString chrome_search_scheme(ASCIIToUTF16(chrome::kChromeSearchScheme));\n\n  // The Instant process can only display the content but not read it.  Other\n  // processes can't display it or read it.\n  if (!command_line->HasSwitch(switches::kInstantProcess))\n    WebSecurityPolicy::registerURLSchemeAsDisplayIsolated(chrome_search_scheme);\n\n  WebString dom_distiller_scheme(\n      ASCIIToUTF16(dom_distiller::kDomDistillerScheme));\n  // TODO(nyquist): Add test to ensure this happens when the flag is set.\n  WebSecurityPolicy::registerURLSchemeAsDisplayIsolated(dom_distiller_scheme);\n\n#if defined(OS_CHROMEOS)\n  WebSecurityPolicy::registerURLSchemeAsLocal(\n      WebString::fromUTF8(content::kExternalFileScheme));\n#endif\n\n#if defined(OS_ANDROID)\n  WebSecurityPolicy::registerURLSchemeAsAllowedForReferrer(\n      WebString::fromUTF8(chrome::kAndroidAppScheme));\n#endif\n\n#if defined(ENABLE_IPC_FUZZER)\n  if (command_line->HasSwitch(switches::kIpcDumpDirectory)) {\n    base::FilePath dump_directory =\n        command_line->GetSwitchValuePath(switches::kIpcDumpDirectory);\n    IPC::ChannelProxy::OutgoingMessageFilter* filter =\n        LoadExternalIPCDumper(dump_directory);\n    thread->GetChannel()->set_outgoing_message_filter(filter);\n  }\n#endif\n\n  // chrome-search: pages should not be accessible by bookmarklets\n  // or javascript: URLs typed in the omnibox.\n  WebSecurityPolicy::registerURLSchemeAsNotAllowingJavascriptURLs(\n      chrome_search_scheme);\n\n  // chrome-search: resources shouldn't trigger insecure content warnings. Note\n  // that chrome-extension: and chrome-extension-resource: schemes are taken\n  // care of in extensions::Dispatcher.\n  WebSecurityPolicy::registerURLSchemeAsSecure(chrome_search_scheme);\n\n#if defined(ENABLE_PRINT_PREVIEW)\n  pdf_print_client_.reset(new ChromePDFPrintClient());\n  pdf::PepperPDFHost::SetPrintClient(pdf_print_client_.get());\n#endif\n\n  std::set<GURL> origins;\n  GetSecureOriginWhitelist(&origins);\n  for (const GURL& origin : origins) {\n    WebSecurityPolicy::addOriginTrustworthyWhiteList(\n        WebSecurityOrigin::create(origin));\n  }\n\n  std::set<std::string> schemes;\n  GetSchemesBypassingSecureContextCheckWhitelist(&schemes);\n  for (const std::string& scheme : schemes) {\n    WebSecurityPolicy::addSchemeToBypassSecureContextWhitelist(\n        WebString::fromUTF8(scheme));\n  }\n}\n\nvoid ChromeContentRendererClient::RenderFrameCreated(\n    content::RenderFrame* render_frame) {\n  new ChromeRenderFrameObserver(render_frame);\n\n  bool should_whitelist_for_content_settings =\n      base::CommandLine::ForCurrentProcess()->HasSwitch(\n          switches::kInstantProcess);\n  extensions::Dispatcher* ext_dispatcher = NULL;\n#if defined(ENABLE_EXTENSIONS)\n  ext_dispatcher =\n      ChromeExtensionsRendererClient::GetInstance()->extension_dispatcher();\n#endif\n  ContentSettingsObserver* content_settings = new ContentSettingsObserver(\n      render_frame, ext_dispatcher, should_whitelist_for_content_settings);\n  if (chrome_observer_.get()) {\n    content_settings->SetContentSettingRules(\n        chrome_observer_->content_setting_rules());\n  }\n\n#if defined(ENABLE_EXTENSIONS)\n  ChromeExtensionsRendererClient::GetInstance()->RenderFrameCreated(\n      render_frame);\n#endif\n\n#if defined(ENABLE_PLUGINS)\n  new PepperHelper(render_frame);\n#endif\n\n#if !defined(DISABLE_NACL)\n  new nacl::NaClHelper(render_frame);\n#endif\n\n#if defined(FULL_SAFE_BROWSING)\n  safe_browsing::ThreatDOMDetails::Create(render_frame);\n#endif\n\n  new NetErrorHelper(render_frame);\n\n  if (render_frame->IsMainFrame()) {\n    // Only attach MainRenderFrameObserver to the main frame, since\n    // we only want to log page load metrics for the main frame.\n    new page_load_metrics::MetricsRenderFrameObserver(render_frame);\n  } else {\n    // Avoid any race conditions from having the browser tell subframes that\n    // they're prerendering.\n    if (prerender::PrerenderHelper::IsPrerendering(\n            render_frame->GetRenderView()->GetMainRenderFrame())) {\n      new prerender::PrerenderHelper(render_frame);\n    }\n  }\n\n  // Set up a mojo service to test if this page is a distiller page.\n  new dom_distiller::DistillerJsRenderFrameObserver(\n      render_frame, chrome::ISOLATED_WORLD_ID_CHROME_INTERNAL);\n\n  // Create DistillabilityAgent to send distillability updates to\n  // DistillabilityDriver in the browser process.\n  new dom_distiller::DistillabilityAgent(render_frame);\n\n  // Set up a mojo service to test if this page is a contextual search page.\n  new contextual_search::OverlayJsRenderFrameObserver(render_frame);\n\n  PasswordAutofillAgent* password_autofill_agent =\n      new PasswordAutofillAgent(render_frame);\n  PasswordGenerationAgent* password_generation_agent =\n      new PasswordGenerationAgent(render_frame, password_autofill_agent);\n  new AutofillAgent(render_frame, password_autofill_agent,\n                    password_generation_agent);\n}\n\nvoid ChromeContentRendererClient::RenderViewCreated(\n    content::RenderView* render_view) {\n#if defined(ENABLE_EXTENSIONS)\n  ChromeExtensionsRendererClient::GetInstance()->RenderViewCreated(render_view);\n#endif\n  new PageLoadHistograms(render_view);\n#if defined(ENABLE_PRINTING)\n  new printing::PrintWebViewHelper(\n      render_view, std::unique_ptr<printing::PrintWebViewHelper::Delegate>(\n                       new ChromePrintWebViewHelperDelegate()));\n#endif\n#if defined(ENABLE_SPELLCHECK)\n  new SpellCheckProvider(render_view, spellcheck_.get());\n#endif\n  new prerender::PrerendererClient(render_view);\n\n  base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();\n  if (command_line->HasSwitch(switches::kInstantProcess))\n    new SearchBox(render_view);\n\n  new ChromeRenderViewObserver(render_view, web_cache_impl_.get());\n\n  new password_manager::CredentialManagerClient(render_view);\n}\n\n\nSkBitmap* ChromeContentRendererClient::GetSadPluginBitmap() {\n  return const_cast<SkBitmap*>(ResourceBundle::GetSharedInstance().\n      GetImageNamed(IDR_SAD_PLUGIN).ToSkBitmap());\n}\n\nSkBitmap* ChromeContentRendererClient::GetSadWebViewBitmap() {\n  return const_cast<SkBitmap*>(ResourceBundle::GetSharedInstance().\n      GetImageNamed(IDR_SAD_WEBVIEW).ToSkBitmap());\n}\n\nbool ChromeContentRendererClient::OverrideCreatePlugin(\n    content::RenderFrame* render_frame,\n    WebLocalFrame* frame,\n    const WebPluginParams& params,\n    WebPlugin** plugin) {\n  std::string orig_mime_type = params.mimeType.utf8();\n#if defined(ENABLE_EXTENSIONS)\n  if (!ChromeExtensionsRendererClient::GetInstance()->OverrideCreatePlugin(\n          render_frame, params)) {\n    return false;\n  }\n#endif\n\n  GURL url(params.url);\n#if defined(ENABLE_PLUGINS)\n  ChromeViewHostMsg_GetPluginInfo_Output output;\n  WebString top_origin = frame->top()->getSecurityOrigin().toString();\n  render_frame->Send(new ChromeViewHostMsg_GetPluginInfo(\n      render_frame->GetRoutingID(), url, blink::WebStringToGURL(top_origin),\n      orig_mime_type, &output));\n  *plugin = CreatePlugin(render_frame, frame, params, output);\n#else  // !defined(ENABLE_PLUGINS)\n\n#if defined(OS_ANDROID)\n  if (plugins::MobileYouTubePlugin::IsYouTubeURL(url, orig_mime_type)) {\n    base::StringPiece template_html(\n        ResourceBundle::GetSharedInstance().GetRawDataResource(\n            IDR_MOBILE_YOUTUBE_PLUGIN_HTML));\n    *plugin = (new plugins::MobileYouTubePlugin(render_frame, frame, params,\n                                                template_html))->plugin();\n    return true;\n  }\n#endif  // defined(OS_ANDROID)\n\n  PluginUMAReporter::GetInstance()->ReportPluginMissing(orig_mime_type, url);\n  *plugin = NonLoadablePluginPlaceholder::CreateNotSupportedPlugin(\n                render_frame, frame, params)->plugin();\n\n#endif  // defined(ENABLE_PLUGINS)\n  return true;\n}\n\nWebPlugin* ChromeContentRendererClient::CreatePluginReplacement(\n    content::RenderFrame* render_frame,\n    const base::FilePath& plugin_path) {\n  return NonLoadablePluginPlaceholder::CreateErrorPlugin(render_frame,\n                                                         plugin_path)->plugin();\n}\n\nvoid ChromeContentRendererClient::DeferMediaLoad(\n    content::RenderFrame* render_frame,\n    bool has_played_media_before,\n    const base::Closure& closure) {\n  // Don't allow autoplay/autoload of media resources in a RenderFrame that is\n  // hidden and has never played any media before.  We want to allow future\n  // loads even when hidden to allow playlist-like functionality.\n  //\n  // NOTE: This is also used to defer media loading for prerender.\n  // NOTE: Switch can be used to allow autoplay, unless frame is prerendered.\n  //\n  // TODO(dalecurtis): Include an idle check too.  http://crbug.com/509135\n  if ((render_frame->IsHidden() && !has_played_media_before &&\n       !base::CommandLine::ForCurrentProcess()->HasSwitch(\n           switches::kDisableGestureRequirementForMediaPlayback)) ||\n      prerender::PrerenderHelper::IsPrerendering(render_frame)) {\n    new MediaLoadDeferrer(render_frame, closure);\n    return;\n  }\n\n  closure.Run();\n}\n\n#if defined(ENABLE_PLUGINS)\nWebPlugin* ChromeContentRendererClient::CreatePlugin(\n    content::RenderFrame* render_frame,\n    WebLocalFrame* frame,\n    const WebPluginParams& original_params,\n    const ChromeViewHostMsg_GetPluginInfo_Output& output) {\n  const WebPluginInfo& info = output.plugin;\n  const std::string& actual_mime_type = output.actual_mime_type;\n  const base::string16& group_name = output.group_name;\n  const std::string& identifier = output.group_identifier;\n  ChromeViewHostMsg_GetPluginInfo_Status status = output.status;\n  GURL url(original_params.url);\n  std::string orig_mime_type = original_params.mimeType.utf8();\n  ChromePluginPlaceholder* placeholder = NULL;\n\n  // If the browser plugin is to be enabled, this should be handled by the\n  // renderer, so the code won't reach here due to the early exit in\n  // OverrideCreatePlugin.\n  if (status == ChromeViewHostMsg_GetPluginInfo_Status::kNotFound ||\n      orig_mime_type == content::kBrowserPluginMimeType) {\n    PluginUMAReporter::GetInstance()->ReportPluginMissing(orig_mime_type, url);\n    placeholder = ChromePluginPlaceholder::CreateLoadableMissingPlugin(\n        render_frame, frame, original_params);\n  } else {\n    // TODO(bauerb): This should be in content/.\n    WebPluginParams params(original_params);\n    for (size_t i = 0; i < info.mime_types.size(); ++i) {\n      if (info.mime_types[i].mime_type == actual_mime_type) {\n        AppendParams(info.mime_types[i].additional_param_names,\n                     info.mime_types[i].additional_param_values,\n                     &params.attributeNames, &params.attributeValues);\n        break;\n      }\n    }\n    if (params.mimeType.isNull() && (actual_mime_type.size() > 0)) {\n      // Webkit might say that mime type is null while we already know the\n      // actual mime type via ChromeViewHostMsg_GetPluginInfo. In that case\n      // we should use what we know since WebpluginDelegateProxy does some\n      // specific initializations based on this information.\n      params.mimeType = WebString::fromUTF8(actual_mime_type.c_str());\n    }\n\n    ContentSettingsObserver* observer =\n        ContentSettingsObserver::Get(render_frame);\n\n    const ContentSettingsType content_type =\n        ShouldUseJavaScriptSettingForPlugin(info)\n            ? CONTENT_SETTINGS_TYPE_JAVASCRIPT\n            : CONTENT_SETTINGS_TYPE_PLUGINS;\n\n    if ((status == ChromeViewHostMsg_GetPluginInfo_Status::kUnauthorized ||\n         status == ChromeViewHostMsg_GetPluginInfo_Status::kBlocked) &&\n        observer->IsPluginTemporarilyAllowed(identifier)) {\n      status = ChromeViewHostMsg_GetPluginInfo_Status::kAllowed;\n    }\n\n    auto create_blocked_plugin = [&render_frame, &frame, &params, &info,\n                                  &identifier, &group_name](\n        int template_id, const base::string16& message) {\n      return ChromePluginPlaceholder::CreateBlockedPlugin(\n          render_frame, frame, params, info, identifier, group_name,\n          template_id, message, PowerSaverInfo());\n    };\n    switch (status) {\n      case ChromeViewHostMsg_GetPluginInfo_Status::kNotFound: {\n        NOTREACHED();\n        break;\n      }\n      case ChromeViewHostMsg_GetPluginInfo_Status::kAllowed:\n      case ChromeViewHostMsg_GetPluginInfo_Status::kPlayImportantContent: {\n#if !defined(DISABLE_NACL) && defined(ENABLE_EXTENSIONS)\n        const bool is_nacl_plugin =\n            info.name == ASCIIToUTF16(nacl::kNaClPluginName);\n        const bool is_nacl_mime_type =\n            actual_mime_type == nacl::kNaClPluginMimeType;\n        const bool is_pnacl_mime_type =\n            actual_mime_type == nacl::kPnaclPluginMimeType;\n        if (is_nacl_plugin || is_nacl_mime_type || is_pnacl_mime_type) {\n          bool is_nacl_unrestricted = false;\n          if (is_nacl_mime_type) {\n            is_nacl_unrestricted =\n                base::CommandLine::ForCurrentProcess()->HasSwitch(\n                    switches::kEnableNaCl);\n          } else if (is_pnacl_mime_type) {\n            is_nacl_unrestricted = true;\n          }\n          GURL manifest_url;\n          GURL app_url;\n          if (is_nacl_mime_type || is_pnacl_mime_type) {\n            // Normal NaCl/PNaCl embed. The app URL is the page URL.\n            manifest_url = url;\n            app_url = frame->top()->document().url();\n          } else {\n            // NaCl is being invoked as a content handler. Look up the NaCl\n            // module using the MIME type. The app URL is the manifest URL.\n            manifest_url = GetNaClContentHandlerURL(actual_mime_type, info);\n            app_url = manifest_url;\n          }\n          const Extension* extension =\n              extensions::RendererExtensionRegistry::Get()\n                  ->GetExtensionOrAppByURL(manifest_url);\n          if (!IsNaClAllowed(manifest_url,\n                             app_url,\n                             is_nacl_unrestricted,\n                             extension,\n                             &params)) {\n            WebString error_message;\n            if (is_nacl_mime_type) {\n              error_message =\n                  \"Only unpacked extensions and apps installed from the Chrome \"\n                  \"Web Store can load NaCl modules without enabling Native \"\n                  \"Client in about:flags.\";\n            } else if (is_pnacl_mime_type) {\n              error_message =\n                  \"Portable Native Client must not be disabled in about:flags.\";\n            }\n            frame->addMessageToConsole(\n                WebConsoleMessage(WebConsoleMessage::LevelError,\n                                  error_message));\n            placeholder = create_blocked_plugin(\n                IDR_BLOCKED_PLUGIN_HTML,\n#if defined(OS_CHROMEOS)\n                l10n_util::GetStringUTF16(IDS_NACL_PLUGIN_BLOCKED));\n#else\n                l10n_util::GetStringFUTF16(IDS_PLUGIN_BLOCKED, group_name));\n#endif\n            break;\n          }\n        }\n#endif  // !defined(DISABLE_NACL) && defined(ENABLE_EXTENSIONS)\n\n        // Delay loading plugins if prerendering.\n        // TODO(mmenke):  In the case of prerendering, feed into\n        //                ChromeContentRendererClient::CreatePlugin instead, to\n        //                reduce the chance of future regressions.\n        bool is_prerendering =\n            prerender::PrerenderHelper::IsPrerendering(render_frame);\n\n        bool power_saver_setting_on =\n            status ==\n            ChromeViewHostMsg_GetPluginInfo_Status::kPlayImportantContent;\n        PowerSaverInfo power_saver_info =\n            PowerSaverInfo::Get(render_frame, power_saver_setting_on, params,\n                                info, frame->document().url());\n        if (power_saver_info.blocked_for_background_tab || is_prerendering ||\n            !power_saver_info.poster_attribute.empty()) {\n          placeholder = ChromePluginPlaceholder::CreateBlockedPlugin(\n              render_frame, frame, params, info, identifier, group_name,\n              power_saver_info.poster_attribute.empty()\n                  ? IDR_BLOCKED_PLUGIN_HTML\n                  : IDR_PLUGIN_POSTER_HTML,\n              l10n_util::GetStringFUTF16(IDS_PLUGIN_BLOCKED, group_name),\n              power_saver_info);\n          placeholder->set_blocked_for_prerendering(is_prerendering);\n          placeholder->AllowLoading();\n          break;\n        }\n\n        std::unique_ptr<content::PluginInstanceThrottler> throttler;\n        if (power_saver_info.power_saver_enabled) {\n          throttler = PluginInstanceThrottler::Create();\n          // PluginPreroller manages its own lifetime.\n          new PluginPreroller(\n              render_frame, frame, params, info, identifier, group_name,\n              l10n_util::GetStringFUTF16(IDS_PLUGIN_BLOCKED, group_name),\n              throttler.get());\n        }\n\n        return render_frame->CreatePlugin(frame, info, params,\n                                          std::move(throttler));\n      }\n      case ChromeViewHostMsg_GetPluginInfo_Status::kDisabled: {\n        PluginUMAReporter::GetInstance()->ReportPluginDisabled(orig_mime_type,\n                                                               url);\n        placeholder = create_blocked_plugin(\n            IDR_DISABLED_PLUGIN_HTML,\n            l10n_util::GetStringFUTF16(IDS_PLUGIN_DISABLED, group_name));\n        break;\n      }\n      case ChromeViewHostMsg_GetPluginInfo_Status::kOutdatedBlocked: {\n#if defined(ENABLE_PLUGIN_INSTALLATION)\n        placeholder = create_blocked_plugin(\n            IDR_BLOCKED_PLUGIN_HTML,\n            l10n_util::GetStringFUTF16(IDS_PLUGIN_OUTDATED, group_name));\n        placeholder->AllowLoading();\n        render_frame->Send(new ChromeViewHostMsg_BlockedOutdatedPlugin(\n            render_frame->GetRoutingID(), placeholder->CreateRoutingId(),\n            identifier));\n#else\n        NOTREACHED();\n#endif\n        break;\n      }\n      case ChromeViewHostMsg_GetPluginInfo_Status::kOutdatedDisallowed: {\n        placeholder = create_blocked_plugin(\n            IDR_BLOCKED_PLUGIN_HTML,\n            l10n_util::GetStringFUTF16(IDS_PLUGIN_OUTDATED, group_name));\n        break;\n      }\n      case ChromeViewHostMsg_GetPluginInfo_Status::kUnauthorized: {\n        placeholder = create_blocked_plugin(\n            IDR_BLOCKED_PLUGIN_HTML,\n            l10n_util::GetStringFUTF16(IDS_PLUGIN_NOT_AUTHORIZED, group_name));\n        placeholder->AllowLoading();\n        render_frame->Send(new ChromeViewHostMsg_BlockedUnauthorizedPlugin(\n            render_frame->GetRoutingID(), group_name, identifier));\n        observer->DidBlockContentType(content_type, group_name);\n        break;\n      }\n      case ChromeViewHostMsg_GetPluginInfo_Status::kBlocked: {\n        placeholder = create_blocked_plugin(\n            IDR_BLOCKED_PLUGIN_HTML,\n            l10n_util::GetStringFUTF16(IDS_PLUGIN_BLOCKED, group_name));\n        placeholder->AllowLoading();\n        RenderThread::Get()->RecordAction(UserMetricsAction(\"Plugin_Blocked\"));\n        observer->DidBlockContentType(content_type, group_name);\n        break;\n      }\n      case ChromeViewHostMsg_GetPluginInfo_Status::kBlockedByPolicy: {\n        placeholder = create_blocked_plugin(\n            IDR_BLOCKED_PLUGIN_HTML,\n            l10n_util::GetStringFUTF16(IDS_PLUGIN_BLOCKED_BY_POLICY,\n                                       group_name));\n        RenderThread::Get()->RecordAction(\n            UserMetricsAction(\"Plugin_BlockedByPolicy\"));\n        observer->DidBlockContentType(content_type, group_name);\n        break;\n      }\n    }\n  }\n  placeholder->SetStatus(status);\n  return placeholder->plugin();\n}\n#endif  // defined(ENABLE_PLUGINS)\n\n// For NaCl content handling plugins, the NaCl manifest is stored in an\n// additonal 'nacl' param associated with the MIME type.\n//  static\nGURL ChromeContentRendererClient::GetNaClContentHandlerURL(\n    const std::string& actual_mime_type,\n    const content::WebPluginInfo& plugin) {\n  // Look for the manifest URL among the MIME type's additonal parameters.\n  const char kNaClPluginManifestAttribute[] = \"nacl\";\n  base::string16 nacl_attr = ASCIIToUTF16(kNaClPluginManifestAttribute);\n  for (size_t i = 0; i < plugin.mime_types.size(); ++i) {\n    if (plugin.mime_types[i].mime_type == actual_mime_type) {\n      const content::WebPluginMimeType& content_type = plugin.mime_types[i];\n      for (size_t i = 0; i < content_type.additional_param_names.size(); ++i) {\n        if (content_type.additional_param_names[i] == nacl_attr)\n          return GURL(content_type.additional_param_values[i]);\n      }\n      break;\n    }\n  }\n  return GURL();\n}\n\n#if !defined(DISABLE_NACL)\n//  static\nbool ChromeContentRendererClient::IsNaClAllowed(\n    const GURL& manifest_url,\n    const GURL& app_url,\n    bool is_nacl_unrestricted,\n    const Extension* extension,\n    WebPluginParams* params) {\n  // Temporarily allow these whitelisted apps and WebUIs to use NaCl.\n  std::string app_url_host = app_url.host();\n  std::string manifest_url_path = manifest_url.path();\n\n  bool is_whitelisted_web_ui =\n      app_url.spec() == chrome::kChromeUIAppListStartPageURL;\n\n  bool is_photo_app =\n      // Whitelisted apps must be served over https.\n      app_url.SchemeIsCryptographic() && manifest_url.SchemeIsCryptographic() &&\n      (base::EndsWith(app_url_host, \"plus.google.com\",\n                      base::CompareCase::INSENSITIVE_ASCII) ||\n       base::EndsWith(app_url_host, \"plus.sandbox.google.com\",\n                      base::CompareCase::INSENSITIVE_ASCII)) &&\n      manifest_url.DomainIs(\"ssl.gstatic.com\") &&\n      (manifest_url_path.find(\"s2/oz/nacl/\") == 1 ||\n       manifest_url_path.find(\"photos/nacl/\") == 1);\n\n  std::string manifest_fs_host;\n  if (manifest_url.SchemeIsFileSystem() && manifest_url.inner_url()) {\n    manifest_fs_host = manifest_url.inner_url()->host();\n  }\n  bool is_hangouts_app =\n      // Whitelisted apps must be served over secure scheme.\n      app_url.SchemeIsCryptographic() && manifest_url.SchemeIsFileSystem() &&\n      manifest_url.inner_url()->SchemeIsCryptographic() &&\n      (base::EndsWith(app_url_host, \"talkgadget.google.com\",\n                      base::CompareCase::INSENSITIVE_ASCII) ||\n       base::EndsWith(app_url_host, \"plus.google.com\",\n                      base::CompareCase::INSENSITIVE_ASCII) ||\n       base::EndsWith(app_url_host, \"plus.sandbox.google.com\",\n                      base::CompareCase::INSENSITIVE_ASCII) ||\n       base::EndsWith(app_url_host, \"hangouts.google.com\",\n                      base::CompareCase::INSENSITIVE_ASCII)) &&\n      // The manifest must be loaded from the host's FileSystem.\n      (manifest_fs_host == app_url_host);\n\n  bool is_whitelisted_app = is_photo_app || is_hangouts_app;\n\n  bool is_invoked_by_webstore_installed_extension = false;\n  bool is_extension_unrestricted = false;\n  bool is_extension_force_installed = false;\n#if defined(ENABLE_EXTENSIONS)\n  bool is_extension_from_webstore = extension && extension->from_webstore();\n\n  bool is_invoked_by_extension = app_url.SchemeIs(\"chrome-extension\");\n  bool is_invoked_by_hosted_app = extension &&\n      extension->is_hosted_app() &&\n      extension->web_extent().MatchesURL(app_url);\n\n  is_invoked_by_webstore_installed_extension = is_extension_from_webstore &&\n      (is_invoked_by_extension || is_invoked_by_hosted_app);\n\n  // Allow built-in extensions and developer mode extensions.\n  is_extension_unrestricted = extension &&\n       (extensions::Manifest::IsUnpackedLocation(extension->location()) ||\n        extensions::Manifest::IsComponentLocation(extension->location()));\n  // Allow extensions force installed by admin policy.\n  is_extension_force_installed = extension &&\n       extensions::Manifest::IsPolicyLocation(extension->location());\n#endif  // defined(ENABLE_EXTENSIONS)\n\n  // Allow NaCl under any of the following circumstances:\n  //  1) An app or URL is explictly whitelisted above.\n  //  2) An extension is loaded unpacked or built-in (component) to Chrome.\n  //  3) An extension is force installed by policy.\n  //  4) An extension is installed from the webstore, and invoked in that\n  //     context (hosted app URL or chrome-extension:// scheme).\n  //  5) --enable-nacl is set.\n  bool is_nacl_allowed_by_location =\n      is_whitelisted_web_ui ||\n      is_whitelisted_app ||\n      is_extension_unrestricted ||\n      is_extension_force_installed ||\n      is_invoked_by_webstore_installed_extension;\n  bool is_nacl_allowed = is_nacl_allowed_by_location || is_nacl_unrestricted;\n  if (is_nacl_allowed) {\n    // Make sure that PPAPI 'dev' interfaces are only available for unpacked\n    // and component extensions.  Also allow dev interfaces when --enable-nacl\n    // is set, but do not allow --enable-nacl to provide dev interfaces to\n    // webstore installed and other normally allowed URLs.\n    WebString dev_attribute = WebString::fromUTF8(\"@dev\");\n    if (is_extension_unrestricted ||\n        (is_nacl_unrestricted && !is_nacl_allowed_by_location)) {\n      // Add the special '@dev' attribute.\n      std::vector<base::string16> param_names;\n      std::vector<base::string16> param_values;\n      param_names.push_back(dev_attribute);\n      param_values.push_back(WebString());\n      AppendParams(\n          param_names,\n          param_values,\n          &params->attributeNames,\n          &params->attributeValues);\n    } else {\n      // If the params somehow contain '@dev', remove it.\n      size_t attribute_count = params->attributeNames.size();\n      for (size_t i = 0; i < attribute_count; ++i) {\n        if (params->attributeNames[i].equals(dev_attribute))\n          params->attributeNames[i] = WebString();\n      }\n    }\n  }\n  return is_nacl_allowed;\n}\n#endif  // defined(DISABLE_NACL)\n\nbool ChromeContentRendererClient::HasErrorPage(int http_status_code,\n                                               std::string* error_domain) {\n  // Use an internal error page, if we have one for the status code.\n  if (!error_page::LocalizedError::HasStrings(\n          error_page::LocalizedError::kHttpErrorDomain, http_status_code)) {\n    return false;\n  }\n\n  *error_domain = error_page::LocalizedError::kHttpErrorDomain;\n  return true;\n}\n\nbool ChromeContentRendererClient::ShouldSuppressErrorPage(\n    content::RenderFrame* render_frame,\n    const GURL& url) {\n  // Unit tests for ChromeContentRendererClient pass a NULL RenderFrame here.\n  // Unfortunately it's very difficult to construct a mock RenderView, so skip\n  // this functionality in this case.\n  if (render_frame &&\n      NetErrorHelper::Get(render_frame)->ShouldSuppressErrorPage(url)) {\n    return true;\n  }\n  // Do not flash an error page if the Instant new tab page fails to load.\n  return SearchBouncer::GetInstance()->IsNewTabPage(url);\n}\n\nvoid ChromeContentRendererClient::GetNavigationErrorStrings(\n    content::RenderFrame* render_frame,\n    const WebURLRequest& failed_request,\n    const WebURLError& error,\n    std::string* error_html,\n    base::string16* error_description) {\n  const GURL failed_url = error.unreachableURL;\n\n  bool is_post = base::EqualsASCII(\n      base::StringPiece16(failed_request.httpMethod()), \"POST\");\n  bool is_ignoring_cache =\n      failed_request.getCachePolicy() == WebCachePolicy::BypassingCache;\n  if (error_html) {\n    NetErrorHelper::Get(render_frame)\n        ->GetErrorHTML(error, is_post, is_ignoring_cache, error_html);\n  }\n\n  if (error_description) {\n    *error_description = error_page::LocalizedError::GetErrorDetails(\n        error.domain.utf8(), error.reason, is_post);\n  }\n}\n\nbool ChromeContentRendererClient::RunIdleHandlerWhenWidgetsHidden() {\n#if defined(ENABLE_EXTENSIONS)\n  return !IsStandaloneExtensionProcess();\n#else\n  return true;\n#endif\n}\n\nbool ChromeContentRendererClient::\n    AllowTimerSuspensionWhenProcessBackgrounded() {\n#if defined(OS_ANDROID)\n  return true;\n#else\n  return false;\n#endif\n}\n\nbool ChromeContentRendererClient::AllowPopup() {\n#if defined(ENABLE_EXTENSIONS)\n  return ChromeExtensionsRendererClient::GetInstance()->AllowPopup();\n#else\n  return false;\n#endif\n}\n\nbool ChromeContentRendererClient::ShouldFork(WebLocalFrame* frame,\n                                             const GURL& url,\n                                             const std::string& http_method,\n                                             bool is_initial_navigation,\n                                             bool is_server_redirect,\n                                             bool* send_referrer) {\n  DCHECK(!frame->parent());\n\n  // If this is the Instant process, fork all navigations originating from the\n  // renderer.  The destination page will then be bucketed back to this Instant\n  // process if it is an Instant url, or to another process if not.  Conversely,\n  // fork if this is a non-Instant process navigating to an Instant url, so that\n  // such navigations can also be bucketed into an Instant renderer.\n  if (base::CommandLine::ForCurrentProcess()->HasSwitch(\n          switches::kInstantProcess) ||\n      SearchBouncer::GetInstance()->ShouldFork(url)) {\n    *send_referrer = true;\n    return true;\n  }\n\n  // For now, we skip the rest for POST submissions.  This is because\n  // http://crbug.com/101395 is more likely to cause compatibility issues\n  // with hosted apps and extensions than WebUI pages.  We will remove this\n  // check when cross-process POST submissions are supported.\n  if (http_method != \"GET\")\n    return false;\n\n  // If |url| matches one of the prerendered URLs, stop this navigation and try\n  // to swap in the prerendered page on the browser process. If the prerendered\n  // page no longer exists by the time the OpenURL IPC is handled, a normal\n  // navigation is attempted.\n  if (prerender_dispatcher_.get() &&\n      prerender_dispatcher_->IsPrerenderURL(url)) {\n    *send_referrer = true;\n    return true;\n  }\n\n#if defined(ENABLE_EXTENSIONS)\n  bool should_fork = ChromeExtensionsRendererClient::ShouldFork(\n      frame, url, is_initial_navigation, is_server_redirect, send_referrer);\n  if (should_fork)\n    return true;\n#endif  // defined(ENABLE_EXTENSIONS)\n\n  return false;\n}\n\nbool ChromeContentRendererClient::WillSendRequest(\n    WebFrame* frame,\n    ui::PageTransition transition_type,\n    const GURL& url,\n    const GURL& first_party_for_cookies,\n    GURL* new_url) {\n  // Check whether the request should be allowed. If not allowed, we reset the\n  // URL to something invalid to prevent the request and cause an error.\n#if defined(ENABLE_EXTENSIONS)\n  if (ChromeExtensionsRendererClient::GetInstance()->WillSendRequest(\n          frame, transition_type, url, new_url)) {\n    return true;\n  }\n#endif\n\n  const content::RenderView* render_view =\n      content::RenderView::FromWebView(frame->view());\n  SearchBox* search_box = SearchBox::Get(render_view);\n  if (search_box && url.SchemeIs(chrome::kChromeSearchScheme)) {\n    SearchBox::ImageSourceType type = SearchBox::NONE;\n    if (url.host() == chrome::kChromeUIFaviconHost)\n      type = SearchBox::FAVICON;\n    else if (url.host() == chrome::kChromeUILargeIconHost)\n      type = SearchBox::LARGE_ICON;\n    else if (url.host() == chrome::kChromeUIFallbackIconHost)\n      type = SearchBox::FALLBACK_ICON;\n    else if (url.host() == chrome::kChromeUIThumbnailHost)\n      type = SearchBox::THUMB;\n\n    if (type != SearchBox::NONE)\n      return search_box->GenerateImageURLFromTransientURL(url, type, new_url);\n  }\n\n  return false;\n}\n\nunsigned long long ChromeContentRendererClient::VisitedLinkHash(\n    const char* canonical_url, size_t length) {\n  return visited_link_slave_->ComputeURLFingerprint(canonical_url, length);\n}\n\nbool ChromeContentRendererClient::IsLinkVisited(unsigned long long link_hash) {\n  return visited_link_slave_->IsVisited(link_hash);\n}\n\nblink::WebPrescientNetworking*\nChromeContentRendererClient::GetPrescientNetworking() {\n  return prescient_networking_dispatcher_.get();\n}\n\nbool ChromeContentRendererClient::ShouldOverridePageVisibilityState(\n    const content::RenderFrame* render_frame,\n    blink::WebPageVisibilityState* override_state) {\n  if (!prerender::PrerenderHelper::IsPrerendering(render_frame))\n    return false;\n\n  *override_state = blink::WebPageVisibilityStatePrerender;\n  return true;\n}\n\n#if defined(ENABLE_SPELLCHECK)\nvoid ChromeContentRendererClient::SetSpellcheck(SpellCheck* spellcheck) {\n  RenderThread* thread = RenderThread::Get();\n  if (spellcheck_.get() && thread)\n    thread->RemoveObserver(spellcheck_.get());\n  spellcheck_.reset(spellcheck);\n  SpellCheckReplacer replacer(spellcheck_.get());\n  content::RenderView::ForEach(&replacer);\n  if (thread)\n    thread->AddObserver(spellcheck_.get());\n}\n#endif\n\nbool ChromeContentRendererClient::IsExternalPepperPlugin(\n    const std::string& module_name) {\n  // TODO(bbudge) remove this when the trusted NaCl plugin has been removed.\n  // We must defer certain plugin events for NaCl instances since we switch\n  // from the in-process to the out-of-process proxy after instantiating them.\n  return module_name == \"Native Client\";\n}\n\n#if defined(ENABLE_PLUGINS) && defined(ENABLE_EXTENSIONS)\nbool ChromeContentRendererClient::IsExtensionOrSharedModuleWhitelisted(\n    const GURL& url, const std::set<std::string>& whitelist) {\n  const extensions::ExtensionSet* extension_set =\n      extensions::RendererExtensionRegistry::Get()->GetMainThreadExtensionSet();\n  return chrome::IsExtensionOrSharedModuleWhitelisted(url, extension_set,\n      whitelist);\n}\n#endif\n\nblink::WebSpeechSynthesizer*\nChromeContentRendererClient::OverrideSpeechSynthesizer(\n    blink::WebSpeechSynthesizerClient* client) {\n  return new TtsDispatcher(client);\n}\n\nbool ChromeContentRendererClient::AllowPepperMediaStreamAPI(\n    const GURL& url) {\n#if !defined(OS_ANDROID)\n  // Allow only the Hangouts app to use the MediaStream APIs. It's OK to check\n  // the whitelist in the renderer, since we're only preventing access until\n  // these APIs are public and stable.\n  std::string url_host = url.host();\n  if (url.SchemeIs(\"https\") &&\n      (base::EndsWith(url_host, \"talkgadget.google.com\",\n                      base::CompareCase::INSENSITIVE_ASCII) ||\n       base::EndsWith(url_host, \"plus.google.com\",\n                      base::CompareCase::INSENSITIVE_ASCII) ||\n       base::EndsWith(url_host, \"plus.sandbox.google.com\",\n                      base::CompareCase::INSENSITIVE_ASCII)) &&\n      base::StartsWith(url.path(), \"/hangouts/\",\n                       base::CompareCase::INSENSITIVE_ASCII)) {\n    return true;\n  }\n  // Allow access for tests.\n  if (base::CommandLine::ForCurrentProcess()->HasSwitch(\n          switches::kEnablePepperTesting)) {\n    return true;\n  }\n#endif  // !defined(OS_ANDROID)\n  return false;\n}\n\nvoid ChromeContentRendererClient::AddSupportedKeySystems(\n    std::vector<std::unique_ptr<::media::KeySystemProperties>>* key_systems) {\n  AddChromeKeySystems(key_systems);\n}\n\nbool ChromeContentRendererClient::ShouldReportDetailedMessageForSource(\n    const base::string16& source) const {\n#if defined(ENABLE_EXTENSIONS)\n  return extensions::IsSourceFromAnExtension(source);\n#else\n  return false;\n#endif\n}\n\nbool ChromeContentRendererClient::ShouldGatherSiteIsolationStats() const {\n  // Site isolation stats are gathered currently for non-extension renderer\n  // processes running a normal web page from the Internet.\n  // TODO(nick): https://crbug.com/268640 Gather stats for extension processes\n  // too; we would need to check the extension's manifest to know which sites\n  // it's allowed to access.\n#if defined(ENABLE_EXTENSIONS)\n  base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();\n  return !command_line->HasSwitch(extensions::switches::kExtensionProcess);\n#else\n  return true;\n#endif\n}\n\nblink::WebWorkerContentSettingsClientProxy*\nChromeContentRendererClient::CreateWorkerContentSettingsClientProxy(\n    content::RenderFrame* render_frame,\n    WebFrame* frame) {\n  return new WorkerContentSettingsClientProxy(render_frame, frame);\n}\n\nbool ChromeContentRendererClient::IsPluginAllowedToUseDevChannelAPIs() {\n#if defined(ENABLE_PLUGINS)\n  // Allow access for tests.\n  if (base::CommandLine::ForCurrentProcess()->HasSwitch(\n          switches::kEnablePepperTesting)) {\n    return true;\n  }\n\n  version_info::Channel channel = chrome::GetChannel();\n  // Allow dev channel APIs to be used on \"Canary\", \"Dev\", and \"Unknown\"\n  // releases of Chrome. Permitting \"Unknown\" allows these APIs to be used on\n  // Chromium builds as well.\n  return channel <= version_info::Channel::DEV;\n#else\n  return false;\n#endif\n}\n\nbool ChromeContentRendererClient::IsPluginAllowedToUseCameraDeviceAPI(\n    const GURL& url) {\n#if defined(ENABLE_PLUGINS) && defined(ENABLE_EXTENSIONS)\n  if (base::CommandLine::ForCurrentProcess()->HasSwitch(\n          switches::kEnablePepperTesting))\n    return true;\n\n  if (IsExtensionOrSharedModuleWhitelisted(url, allowed_camera_device_origins_))\n    return true;\n#endif\n\n  return false;\n}\n\nbool ChromeContentRendererClient::IsPluginAllowedToUseCompositorAPI(\n    const GURL& url) {\n#if defined(ENABLE_PLUGINS) && defined(ENABLE_EXTENSIONS)\n  if (base::CommandLine::ForCurrentProcess()->HasSwitch(\n          switches::kEnablePepperTesting))\n    return true;\n  if (IsExtensionOrSharedModuleWhitelisted(url, allowed_compositor_origins_))\n    return true;\n\n  version_info::Channel channel = chrome::GetChannel();\n  return channel <= version_info::Channel::DEV;\n#else\n  return false;\n#endif\n}\n\ncontent::BrowserPluginDelegate*\nChromeContentRendererClient::CreateBrowserPluginDelegate(\n    content::RenderFrame* render_frame,\n    const std::string& mime_type,\n    const GURL& original_url) {\n#if defined(ENABLE_EXTENSIONS)\n  return ChromeExtensionsRendererClient::CreateBrowserPluginDelegate(\n    render_frame, mime_type, original_url);\n#else\n  return nullptr;\n#endif\n}\n\nvoid ChromeContentRendererClient::RecordRappor(const std::string& metric,\n                                               const std::string& sample) {\n  RenderThread::Get()->Send(new ChromeViewHostMsg_RecordRappor(metric, sample));\n}\n\nvoid ChromeContentRendererClient::RecordRapporURL(const std::string& metric,\n                                                  const GURL& url) {\n  RenderThread::Get()->Send(new ChromeViewHostMsg_RecordRapporURL(metric, url));\n}\n\nstd::unique_ptr<blink::WebAppBannerClient>\nChromeContentRendererClient::CreateAppBannerClient(\n    content::RenderFrame* render_frame) {\n  return std::unique_ptr<blink::WebAppBannerClient>(\n      new AppBannerClient(render_frame));\n}\n\nvoid ChromeContentRendererClient::AddImageContextMenuProperties(\n    const WebURLResponse& response,\n    std::map<std::string, std::string>* properties) {\n  DCHECK(properties);\n  WebString header_key(ASCIIToUTF16(\n      data_reduction_proxy::chrome_proxy_header()));\n  if (!response.httpHeaderField(header_key).isNull() &&\n      response.httpHeaderField(header_key).utf8().find(\n          data_reduction_proxy::chrome_proxy_lo_fi_directive()) !=\n              std::string::npos) {\n    (*properties)[data_reduction_proxy::chrome_proxy_header()] =\n        data_reduction_proxy::chrome_proxy_lo_fi_directive();\n  }\n}\n\nvoid ChromeContentRendererClient::RunScriptsAtDocumentStart(\n    content::RenderFrame* render_frame) {\n#if defined(ENABLE_EXTENSIONS)\n  ChromeExtensionsRendererClient::GetInstance()->RunScriptsAtDocumentStart(\n      render_frame);\n  // |render_frame| might be dead by now.\n#endif\n}\n\nvoid ChromeContentRendererClient::RunScriptsAtDocumentEnd(\n    content::RenderFrame* render_frame) {\n#if defined(ENABLE_EXTENSIONS)\n  ChromeExtensionsRendererClient::GetInstance()->RunScriptsAtDocumentEnd(\n      render_frame);\n  // |render_frame| might be dead by now.\n#endif\n}\n\nvoid\nChromeContentRendererClient::DidInitializeServiceWorkerContextOnWorkerThread(\n    v8::Local<v8::Context> context,\n    const GURL& url) {\n#if defined(ENABLE_EXTENSIONS)\n  extensions::Dispatcher::DidInitializeServiceWorkerContextOnWorkerThread(\n      context, url);\n#endif\n}\n\nvoid ChromeContentRendererClient::WillDestroyServiceWorkerContextOnWorkerThread(\n    v8::Local<v8::Context> context,\n    const GURL& url) {\n#if defined(ENABLE_EXTENSIONS)\n  extensions::Dispatcher::WillDestroyServiceWorkerContextOnWorkerThread(context,\n                                                                        url);\n#endif\n}\n\n// If we're in an extension, there is no need disabling multiple routes as\n// chrome.system.network.getNetworkInterfaces provides the same\n// information. Also, the enforcement of sending and binding UDP is already done\n// by chrome extension permission model.\nbool ChromeContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() {\n#if defined(ENABLE_EXTENSIONS)\n  return !IsStandaloneExtensionProcess();\n#else\n  return true;\n#endif\n}\n"
  },
  {
    "path": "deps/cpplint/samples/chromium-sample/src/chrome_content_renderer_client.h",
    "content": "// Copyright (c) 2012 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_\n#define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_\n\n#include <stddef.h>\n\n#include <map>\n#include <memory>\n#include <set>\n#include <string>\n#include <vector>\n\n#include \"base/compiler_specific.h\"\n#include \"base/gtest_prod_util.h\"\n#include \"base/strings/string16.h\"\n#include \"content/public/renderer/content_renderer_client.h\"\n#include \"ipc/ipc_channel_proxy.h\"\n#include \"v8/include/v8.h\"\n\nclass ChromeRenderThreadObserver;\n#if defined(ENABLE_PRINT_PREVIEW)\nclass ChromePDFPrintClient;\n#endif\nclass PrescientNetworkingDispatcher;\n#if defined(ENABLE_SPELLCHECK)\nclass SpellCheck;\nclass SpellCheckProvider;\n#endif\n\nstruct ChromeViewHostMsg_GetPluginInfo_Output;\n\nnamespace content {\nclass BrowserPluginDelegate;\nstruct WebPluginInfo;\n}\n\nnamespace network_hints {\nclass PrescientNetworkingDispatcher;\n}\n\nnamespace extensions {\nclass Dispatcher;\nclass Extension;\n}\n\nnamespace prerender {\nclass PrerenderDispatcher;\n}\n\nnamespace safe_browsing {\nclass PhishingClassifierFilter;\n}\n\nnamespace visitedlink {\nclass VisitedLinkSlave;\n}\n\nnamespace web_cache {\nclass WebCacheImpl;\n}\n\nnamespace blink {\nclass WebSecurityOrigin;\n}\n\n#if defined(ENABLE_WEBRTC)\nclass WebRtcLoggingMessageFilter;\n#endif\n\nclass ChromeContentRendererClient : public content::ContentRendererClient {\n public:\n  ChromeContentRendererClient();\n  ~ChromeContentRendererClient() override;\n\n  void RenderThreadStarted() override;\n  void RenderFrameCreated(content::RenderFrame* render_frame) override;\n  void RenderViewCreated(content::RenderView* render_view) override;\n  SkBitmap* GetSadPluginBitmap() override;\n  SkBitmap* GetSadWebViewBitmap() override;\n  bool OverrideCreatePlugin(content::RenderFrame* render_frame,\n                            blink::WebLocalFrame* frame,\n                            const blink::WebPluginParams& params,\n                            blink::WebPlugin** plugin) override;\n  blink::WebPlugin* CreatePluginReplacement(\n      content::RenderFrame* render_frame,\n      const base::FilePath& plugin_path) override;\n  bool HasErrorPage(int http_status_code, std::string* error_domain) override;\n  bool ShouldSuppressErrorPage(content::RenderFrame* render_frame,\n                               const GURL& url) override;\n  void GetNavigationErrorStrings(content::RenderFrame* render_frame,\n                                 const blink::WebURLRequest& failed_request,\n                                 const blink::WebURLError& error,\n                                 std::string* error_html,\n                                 base::string16* error_description) override;\n  void DeferMediaLoad(content::RenderFrame* render_frame,\n                      bool has_played_media_before,\n                      const base::Closure& closure) override;\n  bool RunIdleHandlerWhenWidgetsHidden() override;\n  bool AllowTimerSuspensionWhenProcessBackgrounded() override;\n  bool AllowPopup() override;\n  bool ShouldFork(blink::WebLocalFrame* frame,\n                  const GURL& url,\n                  const std::string& http_method,\n                  bool is_initial_navigation,\n                  bool is_server_redirect,\n                  bool* send_referrer) override;\n  bool WillSendRequest(blink::WebFrame* frame,\n                       ui::PageTransition transition_type,\n                       const GURL& url,\n                       const GURL& first_party_for_cookies,\n                       GURL* new_url) override;\n  unsigned long long VisitedLinkHash(const char* canonical_url,\n                                     size_t length) override;\n  bool IsLinkVisited(unsigned long long link_hash) override;\n  blink::WebPrescientNetworking* GetPrescientNetworking() override;\n  bool ShouldOverridePageVisibilityState(\n      const content::RenderFrame* render_frame,\n      blink::WebPageVisibilityState* override_state) override;\n  bool IsExternalPepperPlugin(const std::string& module_name) override;\n  blink::WebSpeechSynthesizer* OverrideSpeechSynthesizer(\n      blink::WebSpeechSynthesizerClient* client) override;\n  bool ShouldReportDetailedMessageForSource(\n      const base::string16& source) const override;\n  bool ShouldGatherSiteIsolationStats() const override;\n  blink::WebWorkerContentSettingsClientProxy*\n  CreateWorkerContentSettingsClientProxy(content::RenderFrame* render_frame,\n                                         blink::WebFrame* frame) override;\n  bool AllowPepperMediaStreamAPI(const GURL& url) override;\n  void AddSupportedKeySystems(\n      std::vector<std::unique_ptr<::media::KeySystemProperties>>* key_systems)\n      override;\n  bool IsPluginAllowedToUseDevChannelAPIs() override;\n  bool IsPluginAllowedToUseCameraDeviceAPI(const GURL& url) override;\n  bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override;\n  content::BrowserPluginDelegate* CreateBrowserPluginDelegate(\n      content::RenderFrame* render_frame,\n      const std::string& mime_type,\n      const GURL& original_url) override;\n  void RecordRappor(const std::string& metric,\n                    const std::string& sample) override;\n  void RecordRapporURL(const std::string& metric, const GURL& url) override;\n  std::unique_ptr<blink::WebAppBannerClient> CreateAppBannerClient(\n      content::RenderFrame* render_frame) override;\n  void AddImageContextMenuProperties(\n      const blink::WebURLResponse& response,\n      std::map<std::string, std::string>* properties) override;\n  void RunScriptsAtDocumentStart(content::RenderFrame* render_frame) override;\n  void RunScriptsAtDocumentEnd(content::RenderFrame* render_frame) override;\n  void DidInitializeServiceWorkerContextOnWorkerThread(\n      v8::Local<v8::Context> context,\n      const GURL& url) override;\n  void WillDestroyServiceWorkerContextOnWorkerThread(\n      v8::Local<v8::Context> context,\n      const GURL& url) override;\n  bool ShouldEnforceWebRTCRoutingPreferences() override;\n\n#if defined(ENABLE_SPELLCHECK)\n  // Sets a new |spellcheck|. Used for testing only.\n  // Takes ownership of |spellcheck|.\n  void SetSpellcheck(SpellCheck* spellcheck);\n#endif\n\n#if defined(ENABLE_PLUGINS)\n  static blink::WebPlugin* CreatePlugin(\n      content::RenderFrame* render_frame,\n      blink::WebLocalFrame* frame,\n      const blink::WebPluginParams& params,\n      const ChromeViewHostMsg_GetPluginInfo_Output& output);\n#endif\n\n#if defined(ENABLE_PLUGINS) && defined(ENABLE_EXTENSIONS)\n  static bool IsExtensionOrSharedModuleWhitelisted(\n      const GURL& url, const std::set<std::string>& whitelist);\n#endif\n\n private:\n  FRIEND_TEST_ALL_PREFIXES(ChromeContentRendererClientTest, NaClRestriction);\n  FRIEND_TEST_ALL_PREFIXES(ChromeContentRendererClientTest,\n                           ShouldSuppressErrorPage);\n\n  static GURL GetNaClContentHandlerURL(const std::string& actual_mime_type,\n                                       const content::WebPluginInfo& plugin);\n\n  // Time at which this object was created. This is very close to the time at\n  // which the RendererMain function was entered.\n  base::TimeTicks main_entry_time_;\n\n#if !defined(DISABLE_NACL)\n  // Determines if a NaCl app is allowed, and modifies params to pass the app's\n  // permissions to the trusted NaCl plugin.\n  static bool IsNaClAllowed(const GURL& manifest_url,\n                            const GURL& app_url,\n                            bool is_nacl_unrestricted,\n                            const extensions::Extension* extension,\n                            blink::WebPluginParams* params);\n#endif\n\n  std::unique_ptr<ChromeRenderThreadObserver> chrome_observer_;\n  std::unique_ptr<web_cache::WebCacheImpl> web_cache_impl_;\n\n  std::unique_ptr<network_hints::PrescientNetworkingDispatcher>\n      prescient_networking_dispatcher_;\n\n#if defined(ENABLE_SPELLCHECK)\n  std::unique_ptr<SpellCheck> spellcheck_;\n#endif\n  std::unique_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_;\n  std::unique_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_;\n  std::unique_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_;\n#if defined(ENABLE_WEBRTC)\n  scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_;\n#endif\n#if defined(ENABLE_PRINT_PREVIEW)\n  std::unique_ptr<ChromePDFPrintClient> pdf_print_client_;\n#endif\n#if defined(ENABLE_PLUGINS)\n  std::set<std::string> allowed_camera_device_origins_;\n  std::set<std::string> allowed_compositor_origins_;\n#endif\n};\n\n#endif  // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_\n"
  },
  {
    "path": "deps/cpplint/samples/chromium-sample/src/io_thread.cc",
    "content": "// Copyright (c) 2012 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#include \"chrome/browser/io_thread.h\"\n\n#include <utility>\n#include <vector>\n\n#include \"base/base64.h\"\n#include \"base/bind.h\"\n#include \"base/bind_helpers.h\"\n#include \"base/command_line.h\"\n#include \"base/compiler_specific.h\"\n#include \"base/debug/leak_tracker.h\"\n#include \"base/environment.h\"\n#include \"base/files/file_path.h\"\n#include \"base/logging.h\"\n#include \"base/macros.h\"\n#include \"base/memory/ptr_util.h\"\n#include \"base/metrics/field_trial.h\"\n#include \"base/metrics/histogram_macros.h\"\n#include \"base/profiler/scoped_tracker.h\"\n#include \"base/stl_util.h\"\n#include \"base/strings/string_number_conversions.h\"\n#include \"base/strings/string_piece.h\"\n#include \"base/strings/string_split.h\"\n#include \"base/strings/string_util.h\"\n#include \"base/strings/utf_string_conversions.h\"\n#include \"base/threading/sequenced_worker_pool.h\"\n#include \"base/threading/thread.h\"\n#include \"base/threading/worker_pool.h\"\n#include \"base/time/time.h\"\n#include \"base/trace_event/trace_event.h\"\n#include \"build/build_config.h\"\n#include \"chrome/browser/browser_process.h\"\n#include \"chrome/browser/data_usage/tab_id_annotator.h\"\n#include \"chrome/browser/net/async_dns_field_trial.h\"\n#include \"chrome/browser/net/chrome_network_delegate.h\"\n#include \"chrome/browser/net/connect_interceptor.h\"\n#include \"chrome/browser/net/dns_probe_service.h\"\n#include \"chrome/browser/net/proxy_service_factory.h\"\n#include \"chrome/common/channel_info.h\"\n#include \"chrome/common/chrome_content_client.h\"\n#include \"chrome/common/chrome_switches.h\"\n#include \"chrome/common/pref_names.h\"\n#include \"components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.h\"\n#include \"components/data_usage/core/data_use_aggregator.h\"\n#include \"components/data_usage/core/data_use_amortizer.h\"\n#include \"components/data_usage/core/data_use_annotator.h\"\n#include \"components/metrics/metrics_service.h\"\n#include \"components/net_log/chrome_net_log.h\"\n#include \"components/policy/core/common/policy_service.h\"\n#include \"components/prefs/pref_registry_simple.h\"\n#include \"components/prefs/pref_service.h\"\n#include \"components/proxy_config/pref_proxy_config_tracker.h\"\n#include \"components/variations/variations_associated_data.h\"\n#include \"components/version_info/version_info.h\"\n#include \"content/public/browser/browser_thread.h\"\n#include \"content/public/browser/cookie_store_factory.h\"\n#include \"content/public/common/content_features.h\"\n#include \"content/public/common/content_switches.h\"\n#include \"content/public/common/user_agent.h\"\n#include \"net/base/host_mapping_rules.h\"\n#include \"net/base/sdch_manager.h\"\n#include \"net/cert/cert_verifier.h\"\n#include \"net/cert/cert_verify_proc.h\"\n#include \"net/cert/ct_known_logs.h\"\n#include \"net/cert/ct_log_verifier.h\"\n#include \"net/cert/ct_policy_enforcer.h\"\n#include \"net/cert/ct_verifier.h\"\n#include \"net/cert/multi_log_ct_verifier.h\"\n#include \"net/cert/multi_threaded_cert_verifier.h\"\n#include \"net/cookies/cookie_store.h\"\n#include \"net/dns/host_cache.h\"\n#include \"net/dns/host_resolver.h\"\n#include \"net/dns/mapped_host_resolver.h\"\n#include \"net/ftp/ftp_network_layer.h\"\n#include \"net/http/http_auth_filter.h\"\n#include \"net/http/http_auth_handler_factory.h\"\n#include \"net/http/http_auth_preferences.h\"\n#include \"net/http/http_network_layer.h\"\n#include \"net/http/http_server_properties_impl.h\"\n#include \"net/nqe/external_estimate_provider.h\"\n#include \"net/nqe/network_quality_estimator.h\"\n#include \"net/proxy/proxy_config_service.h\"\n#include \"net/proxy/proxy_script_fetcher_impl.h\"\n#include \"net/proxy/proxy_service.h\"\n#include \"net/quic/crypto/crypto_protocol.h\"\n#include \"net/quic/quic_protocol.h\"\n#include \"net/quic/quic_utils.h\"\n#include \"net/socket/ssl_client_socket.h\"\n#include \"net/socket/tcp_client_socket.h\"\n#include \"net/spdy/spdy_session.h\"\n#include \"net/ssl/channel_id_service.h\"\n#include \"net/ssl/default_channel_id_store.h\"\n#include \"net/url_request/data_protocol_handler.h\"\n#include \"net/url_request/file_protocol_handler.h\"\n#include \"net/url_request/ftp_protocol_handler.h\"\n#include \"net/url_request/static_http_user_agent_settings.h\"\n#include \"net/url_request/url_fetcher.h\"\n#include \"net/url_request/url_request_backoff_manager.h\"\n#include \"net/url_request/url_request_context.h\"\n#include \"net/url_request/url_request_context_builder.h\"\n#include \"net/url_request/url_request_context_getter.h\"\n#include \"net/url_request/url_request_job_factory_impl.h\"\n#include \"policy/policy_constants.h\"\n#include \"url/url_constants.h\"\n\n#if defined(ENABLE_EXTENSIONS)\n#include \"chrome/browser/extensions/event_router_forwarder.h\"\n#endif\n\n#if defined(USE_NSS_CERTS)\n#include \"net/cert_net/nss_ocsp.h\"\n#endif\n\n#if BUILDFLAG(ANDROID_JAVA_UI)\n#include \"base/android/build_info.h\"\n#include \"chrome/browser/android/data_usage/external_data_use_observer.h\"\n#include \"chrome/browser/android/net/external_estimate_provider_android.h\"\n#include \"components/data_usage/android/traffic_stats_amortizer.h\"\n#endif\n\n#if defined(OS_CHROMEOS)\n#include \"chrome/browser/chromeos/net/cert_verify_proc_chromeos.h\"\n#include \"chromeos/network/host_resolver_impl_chromeos.h\"\n#endif\n\n#if defined(OS_ANDROID) && defined(ARCH_CPU_ARMEL)\n#include <openssl/cpu.h>\n#include \"crypto/openssl_util.h\"\n#endif\n\nusing content::BrowserThread;\n\nclass SafeBrowsingURLRequestContext;\n\n// The IOThread object must outlive any tasks posted to the IO thread before the\n// Quit task, so base::Bind() calls are not refcounted.\n\nnamespace {\n\nconst char kTCPFastOpenFieldTrialName[] = \"TCPFastOpen\";\nconst char kTCPFastOpenHttpsEnabledGroupName[] = \"HttpsEnabled\";\n\nconst char kQuicFieldTrialName[] = \"QUIC\";\nconst char kQuicFieldTrialEnabledGroupName[] = \"Enabled\";\nconst char kQuicFieldTrialHttpsEnabledGroupName[] = \"HttpsEnabled\";\n\n// The SPDY trial composes two different trial plus control groups:\n//  * A \"holdback\" group with SPDY disabled, and corresponding control\n//  (SPDY/3.1). The primary purpose of the holdback group is to encourage site\n//  operators to do feature detection rather than UA-sniffing. As such, this\n//  trial runs continuously.\n//  * A SPDY/4 experiment, for SPDY/4 (aka HTTP/2) vs SPDY/3.1 comparisons and\n//  eventual SPDY/4 deployment.\nconst char kSpdyFieldTrialName[] = \"SPDY\";\nconst char kSpdyFieldTrialHoldbackGroupNamePrefix[] = \"SpdyDisabled\";\nconst char kSpdyFieldTrialSpdy31GroupNamePrefix[] = \"Spdy31Enabled\";\nconst char kSpdyFieldTrialSpdy4GroupNamePrefix[] = \"Spdy4Enabled\";\nconst char kSpdyFieldTrialParametrizedPrefix[] = \"Parametrized\";\n\n// The AltSvc trial controls whether Alt-Svc headers are parsed.\n// Disabled:\n//     Alt-Svc headers are not parsed.\n//     Alternate-Protocol headers are parsed.\n// Enabled:\n//     Alt-Svc headers are parsed, but only same-host entries are used by\n//     default.  (Use \"enable_alternative_service_with_different_host\" QUIC\n//     parameter to enable entries with different hosts.)\n//     Alternate-Protocol headers are ignored for responses that have an Alt-Svc\n//     header.\nconst char kAltSvcFieldTrialName[] = \"ParseAltSvc\";\nconst char kAltSvcFieldTrialDisabledPrefix[] = \"AltSvcDisabled\";\nconst char kAltSvcFieldTrialEnabledPrefix[] = \"AltSvcEnabled\";\n\n// Field trial for network quality estimator. Seeds RTT and downstream\n// throughput observations with values that correspond to the connection type\n// determined by the operating system.\nconst char kNetworkQualityEstimatorFieldTrialName[] = \"NetworkQualityEstimator\";\n\n// Field trial for NPN.\nconst char kNpnTrialName[] = \"NPN\";\nconst char kNpnTrialEnabledGroupNamePrefix[] = \"Enable\";\nconst char kNpnTrialDisabledGroupNamePrefix[] = \"Disable\";\n\n// Field trial for priority dependencies.\nconst char kSpdyDependenciesFieldTrial[] = \"SpdyEnableDependencies\";\nconst char kSpdyDependenciesFieldTrialEnable[] = \"Enable\";\nconst char kSpdyDepencenciesFieldTrialDisable[] = \"Disable\";\n\n#if defined(OS_MACOSX)\nvoid ObserveKeychainEvents() {\n  DCHECK_CURRENTLY_ON(BrowserThread::UI);\n  net::CertDatabase::GetInstance()->SetMessageLoopForKeychainEvents();\n}\n#endif\n\n// Gets file path into ssl_keylog_file from command line argument or\n// environment variable. Command line argument has priority when\n// both specified.\nbase::FilePath GetSSLKeyLogFile(const base::CommandLine& command_line) {\n  if (command_line.HasSwitch(switches::kSSLKeyLogFile)) {\n    base::FilePath path =\n        command_line.GetSwitchValuePath(switches::kSSLKeyLogFile);\n    if (!path.empty())\n      return path;\n    LOG(WARNING) << \"ssl-key-log-file argument missing\";\n  }\n\n  std::unique_ptr<base::Environment> env(base::Environment::Create());\n  std::string path_str;\n  env->GetVar(\"SSLKEYLOGFILE\", &path_str);\n#if defined(OS_WIN)\n  // base::Environment returns environment variables in UTF-8 on Windows.\n  return base::FilePath(base::UTF8ToUTF16(path_str));\n#else\n  return base::FilePath(path_str);\n#endif\n}\n\n// Used for the \"system\" URLRequestContext.\nclass SystemURLRequestContext : public net::URLRequestContext {\n public:\n  SystemURLRequestContext() {\n#if defined(USE_NSS_CERTS)\n    net::SetURLRequestContextForNSSHttpIO(this);\n#endif\n  }\n\n private:\n  ~SystemURLRequestContext() override {\n    AssertNoURLRequests();\n#if defined(USE_NSS_CERTS)\n    net::SetURLRequestContextForNSSHttpIO(NULL);\n#endif\n  }\n};\n\nstd::unique_ptr<net::HostResolver> CreateGlobalHostResolver(\n    net::NetLog* net_log) {\n  TRACE_EVENT0(\"startup\", \"IOThread::CreateGlobalHostResolver\");\n  const base::CommandLine& command_line =\n      *base::CommandLine::ForCurrentProcess();\n\n  net::HostResolver::Options options;\n\n  // Use the retry attempts override from the command-line, if any.\n  if (command_line.HasSwitch(switches::kHostResolverRetryAttempts)) {\n    std::string s =\n        command_line.GetSwitchValueASCII(switches::kHostResolverRetryAttempts);\n    // Parse the switch (it should be a non-negative integer).\n    int n;\n    if (base::StringToInt(s, &n) && n >= 0) {\n      options.max_retry_attempts = static_cast<size_t>(n);\n    } else {\n      LOG(ERROR) << \"Invalid switch for host resolver retry attempts: \" << s;\n    }\n  }\n\n  std::unique_ptr<net::HostResolver> global_host_resolver;\n#if defined OS_CHROMEOS\n  global_host_resolver =\n      chromeos::HostResolverImplChromeOS::CreateSystemResolver(options,\n                                                               net_log);\n#else\n  global_host_resolver =\n      net::HostResolver::CreateSystemResolver(options, net_log);\n#endif\n\n  // If hostname remappings were specified on the command-line, layer these\n  // rules on top of the real host resolver. This allows forwarding all requests\n  // through a designated test server.\n  if (!command_line.HasSwitch(switches::kHostResolverRules))\n    return global_host_resolver;\n\n  std::unique_ptr<net::MappedHostResolver> remapped_resolver(\n      new net::MappedHostResolver(std::move(global_host_resolver)));\n  remapped_resolver->SetRulesFromString(\n      command_line.GetSwitchValueASCII(switches::kHostResolverRules));\n  return std::move(remapped_resolver);\n}\n\nint GetSwitchValueAsInt(const base::CommandLine& command_line,\n                        const std::string& switch_name) {\n  int value;\n  if (!base::StringToInt(command_line.GetSwitchValueASCII(switch_name),\n                         &value)) {\n    return 0;\n  }\n  return value;\n}\n\n// Returns the value associated with |key| in |params| or \"\" if the\n// key is not present in the map.\nconst std::string& GetVariationParam(\n    const std::map<std::string, std::string>& params,\n    const std::string& key) {\n  std::map<std::string, std::string>::const_iterator it = params.find(key);\n  if (it == params.end())\n    return base::EmptyString();\n\n  return it->second;\n}\n\n}  // namespace\n\nclass IOThread::LoggingNetworkChangeObserver\n    : public net::NetworkChangeNotifier::IPAddressObserver,\n      public net::NetworkChangeNotifier::ConnectionTypeObserver,\n      public net::NetworkChangeNotifier::NetworkChangeObserver {\n public:\n  // |net_log| must remain valid throughout our lifetime.\n  explicit LoggingNetworkChangeObserver(net::NetLog* net_log)\n      : net_log_(net_log) {\n    net::NetworkChangeNotifier::AddIPAddressObserver(this);\n    net::NetworkChangeNotifier::AddConnectionTypeObserver(this);\n    net::NetworkChangeNotifier::AddNetworkChangeObserver(this);\n  }\n\n  ~LoggingNetworkChangeObserver() override {\n    net::NetworkChangeNotifier::RemoveIPAddressObserver(this);\n    net::NetworkChangeNotifier::RemoveConnectionTypeObserver(this);\n    net::NetworkChangeNotifier::RemoveNetworkChangeObserver(this);\n  }\n\n  // NetworkChangeNotifier::IPAddressObserver implementation.\n  void OnIPAddressChanged() override {\n    VLOG(1) << \"Observed a change to the network IP addresses\";\n\n    net_log_->AddGlobalEntry(net::NetLog::TYPE_NETWORK_IP_ADDRESSES_CHANGED);\n  }\n\n  // NetworkChangeNotifier::ConnectionTypeObserver implementation.\n  void OnConnectionTypeChanged(\n      net::NetworkChangeNotifier::ConnectionType type) override {\n    std::string type_as_string =\n        net::NetworkChangeNotifier::ConnectionTypeToString(type);\n\n    VLOG(1) << \"Observed a change to network connectivity state \"\n            << type_as_string;\n\n    net_log_->AddGlobalEntry(\n        net::NetLog::TYPE_NETWORK_CONNECTIVITY_CHANGED,\n        net::NetLog::StringCallback(\"new_connection_type\", &type_as_string));\n  }\n\n  // NetworkChangeNotifier::NetworkChangeObserver implementation.\n  void OnNetworkChanged(\n      net::NetworkChangeNotifier::ConnectionType type) override {\n    std::string type_as_string =\n        net::NetworkChangeNotifier::ConnectionTypeToString(type);\n\n    VLOG(1) << \"Observed a network change to state \" << type_as_string;\n\n    net_log_->AddGlobalEntry(\n        net::NetLog::TYPE_NETWORK_CHANGED,\n        net::NetLog::StringCallback(\"new_connection_type\", &type_as_string));\n  }\n\n private:\n  net::NetLog* net_log_;\n  DISALLOW_COPY_AND_ASSIGN(LoggingNetworkChangeObserver);\n};\n\nclass SystemURLRequestContextGetter : public net::URLRequestContextGetter {\n public:\n  explicit SystemURLRequestContextGetter(IOThread* io_thread);\n\n  // Implementation for net::UrlRequestContextGetter.\n  net::URLRequestContext* GetURLRequestContext() override;\n  scoped_refptr<base::SingleThreadTaskRunner> GetNetworkTaskRunner()\n      const override;\n\n protected:\n  ~SystemURLRequestContextGetter() override;\n\n private:\n  IOThread* const io_thread_;  // Weak pointer, owned by BrowserProcess.\n  scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_;\n\n  base::debug::LeakTracker<SystemURLRequestContextGetter> leak_tracker_;\n};\n\nSystemURLRequestContextGetter::SystemURLRequestContextGetter(\n    IOThread* io_thread)\n    : io_thread_(io_thread),\n      network_task_runner_(\n          BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO)) {\n}\n\nSystemURLRequestContextGetter::~SystemURLRequestContextGetter() {}\n\nnet::URLRequestContext* SystemURLRequestContextGetter::GetURLRequestContext() {\n  DCHECK_CURRENTLY_ON(BrowserThread::IO);\n  DCHECK(io_thread_->globals()->system_request_context.get());\n\n  return io_thread_->globals()->system_request_context.get();\n}\n\nscoped_refptr<base::SingleThreadTaskRunner>\nSystemURLRequestContextGetter::GetNetworkTaskRunner() const {\n  return network_task_runner_;\n}\n\nIOThread::Globals::\nSystemRequestContextLeakChecker::SystemRequestContextLeakChecker(\n    Globals* globals)\n    : globals_(globals) {\n  DCHECK(globals_);\n}\n\nIOThread::Globals::\nSystemRequestContextLeakChecker::~SystemRequestContextLeakChecker() {\n  if (globals_->system_request_context.get())\n    globals_->system_request_context->AssertNoURLRequests();\n}\n\nIOThread::Globals::Globals() : system_request_context_leak_checker(this),\n                               enable_brotli(false) {}\n\nIOThread::Globals::~Globals() {}\n\n// |local_state| is passed in explicitly in order to (1) reduce implicit\n// dependencies and (2) make IOThread more flexible for testing.\nIOThread::IOThread(\n    PrefService* local_state,\n    policy::PolicyService* policy_service,\n    net_log::ChromeNetLog* net_log,\n    extensions::EventRouterForwarder* extension_event_router_forwarder)\n    : net_log_(net_log),\n#if defined(ENABLE_EXTENSIONS)\n      extension_event_router_forwarder_(extension_event_router_forwarder),\n#endif\n      globals_(NULL),\n      is_spdy_allowed_by_policy_(true),\n      is_quic_allowed_by_policy_(true),\n      creation_time_(base::TimeTicks::Now()),\n      weak_factory_(this) {\n  scoped_refptr<base::SingleThreadTaskRunner> io_thread_proxy =\n      BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO);\n  auth_schemes_ = local_state->GetString(prefs::kAuthSchemes);\n  negotiate_disable_cname_lookup_.Init(\n      prefs::kDisableAuthNegotiateCnameLookup, local_state,\n      base::Bind(&IOThread::UpdateNegotiateDisableCnameLookup,\n                 base::Unretained(this)));\n  negotiate_disable_cname_lookup_.MoveToThread(io_thread_proxy);\n  negotiate_enable_port_.Init(\n      prefs::kEnableAuthNegotiatePort, local_state,\n      base::Bind(&IOThread::UpdateNegotiateEnablePort, base::Unretained(this)));\n  negotiate_enable_port_.MoveToThread(io_thread_proxy);\n  auth_server_whitelist_.Init(\n      prefs::kAuthServerWhitelist, local_state,\n      base::Bind(&IOThread::UpdateServerWhitelist, base::Unretained(this)));\n  auth_server_whitelist_.MoveToThread(io_thread_proxy);\n  auth_delegate_whitelist_.Init(\n      prefs::kAuthNegotiateDelegateWhitelist, local_state,\n      base::Bind(&IOThread::UpdateDelegateWhitelist, base::Unretained(this)));\n  auth_delegate_whitelist_.MoveToThread(io_thread_proxy);\n#if defined(OS_ANDROID)\n  auth_android_negotiate_account_type_.Init(\n      prefs::kAuthAndroidNegotiateAccountType, local_state,\n      base::Bind(&IOThread::UpdateAndroidAuthNegotiateAccountType,\n                 base::Unretained(this)));\n  auth_android_negotiate_account_type_.MoveToThread(io_thread_proxy);\n#endif\n#if defined(OS_POSIX) && !defined(OS_ANDROID)\n  gssapi_library_name_ = local_state->GetString(prefs::kGSSAPILibraryName);\n#endif\n  pref_proxy_config_tracker_.reset(\n      ProxyServiceFactory::CreatePrefProxyConfigTrackerOfLocalState(\n          local_state));\n  ChromeNetworkDelegate::InitializePrefsOnUIThread(\n      &system_enable_referrers_,\n      NULL,\n      NULL,\n      NULL,\n      local_state);\n  ssl_config_service_manager_.reset(\n      ssl_config::SSLConfigServiceManager::CreateDefaultManager(\n          local_state,\n          BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO)));\n\n  base::Value* dns_client_enabled_default = new base::FundamentalValue(\n      chrome_browser_net::ConfigureAsyncDnsFieldTrial());\n  local_state->SetDefaultPrefValue(prefs::kBuiltInDnsClientEnabled,\n                                   dns_client_enabled_default);\n  chrome_browser_net::LogAsyncDnsPrefSource(\n      local_state->FindPreference(prefs::kBuiltInDnsClientEnabled));\n\n  dns_client_enabled_.Init(prefs::kBuiltInDnsClientEnabled,\n                           local_state,\n                           base::Bind(&IOThread::UpdateDnsClientEnabled,\n                                      base::Unretained(this)));\n  dns_client_enabled_.MoveToThread(io_thread_proxy);\n\n  quick_check_enabled_.Init(prefs::kQuickCheckEnabled,\n                            local_state);\n  quick_check_enabled_.MoveToThread(io_thread_proxy);\n\n  is_spdy_allowed_by_policy_ =\n      policy_service\n          ->GetPolicies(policy::PolicyNamespace(policy::POLICY_DOMAIN_CHROME,\n                                                std::string()))\n          .Get(policy::key::kDisableSpdy) == nullptr;\n\n  const base::Value* value = policy_service->GetPolicies(\n      policy::PolicyNamespace(policy::POLICY_DOMAIN_CHROME,\n      std::string())).GetValue(policy::key::kQuicAllowed);\n  if (value)\n    value->GetAsBoolean(&is_quic_allowed_by_policy_);\n\n  // Some unit tests use IOThread but do not initialize MetricsService. In that\n  // case it is fine not to have |metrics_data_use_forwarder_|.\n  if (g_browser_process->metrics_service()) {\n    // Callback for updating data use prefs should be obtained on UI thread.\n    metrics_data_use_forwarder_ =\n        g_browser_process->metrics_service()->GetDataUseForwardingCallback();\n  }\n\n  BrowserThread::SetDelegate(BrowserThread::IO, this);\n}\n\nIOThread::~IOThread() {\n  // This isn't needed for production code, but in tests, IOThread may\n  // be multiply constructed.\n  BrowserThread::SetDelegate(BrowserThread::IO, NULL);\n\n  pref_proxy_config_tracker_->DetachFromPrefService();\n  DCHECK(!globals_);\n}\n\nIOThread::Globals* IOThread::globals() {\n  DCHECK_CURRENTLY_ON(BrowserThread::IO);\n  return globals_;\n}\n\nvoid IOThread::SetGlobalsForTesting(Globals* globals) {\n  DCHECK_CURRENTLY_ON(BrowserThread::IO);\n  DCHECK(!globals || !globals_);\n  globals_ = globals;\n}\n\nnet_log::ChromeNetLog* IOThread::net_log() {\n  return net_log_;\n}\n\nvoid IOThread::ChangedToOnTheRecord() {\n  DCHECK_CURRENTLY_ON(BrowserThread::UI);\n  BrowserThread::PostTask(\n      BrowserThread::IO,\n      FROM_HERE,\n      base::Bind(&IOThread::ChangedToOnTheRecordOnIOThread,\n                 base::Unretained(this)));\n}\n\nnet::URLRequestContextGetter* IOThread::system_url_request_context_getter() {\n  DCHECK_CURRENTLY_ON(BrowserThread::UI);\n  if (!system_url_request_context_getter_.get()) {\n    InitSystemRequestContext();\n  }\n  return system_url_request_context_getter_.get();\n}\n\nvoid IOThread::Init() {\n  // TODO(erikchen): Remove ScopedTracker below once http://crbug.com/466432\n  // is fixed.\n  tracked_objects::ScopedTracker tracking_profile1(\n      FROM_HERE_WITH_EXPLICIT_FUNCTION(\"466432 IOThread::InitAsync::Start\"));\n  TRACE_EVENT0(\"startup\", \"IOThread::InitAsync\");\n  DCHECK_CURRENTLY_ON(BrowserThread::IO);\n\n#if defined(USE_NSS_CERTS)\n  net::SetMessageLoopForNSSHttpIO();\n#endif\n\n  // TODO(erikchen): Remove ScopedTracker below once http://crbug.com/466432\n  // is fixed.\n  tracked_objects::ScopedTracker tracking_profile2(\n      FROM_HERE_WITH_EXPLICIT_FUNCTION(\n          \"466432 IOThread::InitAsync::CommandLineForCurrentProcess\"));\n  const base::CommandLine& command_line =\n      *base::CommandLine::ForCurrentProcess();\n\n  // Export ssl keys if log file specified.\n  base::FilePath ssl_keylog_file = GetSSLKeyLogFile(command_line);\n  if (!ssl_keylog_file.empty()) {\n    net::SSLClientSocket::SetSSLKeyLogFile(\n        ssl_keylog_file,\n        BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE));\n  }\n\n  DCHECK(!globals_);\n  globals_ = new Globals;\n\n  // Add an observer that will emit network change events to the ChromeNetLog.\n  // Assuming NetworkChangeNotifier dispatches in FIFO order, we should be\n  // logging the network change before other IO thread consumers respond to it.\n  network_change_observer_.reset(\n      new LoggingNetworkChangeObserver(net_log_));\n\n  // Setup the HistogramWatcher to run on the IO thread.\n  net::NetworkChangeNotifier::InitHistogramWatcher();\n\n#if defined(ENABLE_EXTENSIONS)\n  globals_->extension_event_router_forwarder =\n      extension_event_router_forwarder_;\n#endif\n\n  std::unique_ptr<data_usage::DataUseAmortizer> data_use_amortizer;\n#if BUILDFLAG(ANDROID_JAVA_UI)\n  data_use_amortizer.reset(new data_usage::android::TrafficStatsAmortizer());\n#endif\n\n  globals_->data_use_aggregator.reset(new data_usage::DataUseAggregator(\n      std::unique_ptr<data_usage::DataUseAnnotator>(\n          new chrome_browser_data_usage::TabIdAnnotator()),\n      std::move(data_use_amortizer)));\n\n  // TODO(erikchen): Remove ScopedTracker below once http://crbug.com/466432\n  // is fixed.\n  tracked_objects::ScopedTracker tracking_profile3(\n      FROM_HERE_WITH_EXPLICIT_FUNCTION(\n          \"466432 IOThread::InitAsync::ChromeNetworkDelegate\"));\n  std::unique_ptr<ChromeNetworkDelegate> chrome_network_delegate(\n      new ChromeNetworkDelegate(extension_event_router_forwarder(),\n                                &system_enable_referrers_,\n                                metrics_data_use_forwarder_));\n  // By default, data usage is considered off the record.\n  chrome_network_delegate->set_data_use_aggregator(\n      globals_->data_use_aggregator.get(),\n      true /* is_data_usage_off_the_record */);\n\n#if BUILDFLAG(ANDROID_JAVA_UI)\n  globals_->external_data_use_observer.reset(\n      new chrome::android::ExternalDataUseObserver(\n          globals_->data_use_aggregator.get(),\n          BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO),\n          BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI)));\n#endif\n\n  // TODO(erikchen): Remove ScopedTracker below once http://crbug.com/466432\n  // is fixed.\n  tracked_objects::ScopedTracker tracking_profile4(\n      FROM_HERE_WITH_EXPLICIT_FUNCTION(\n          \"466432 IOThread::InitAsync::CreateGlobalHostResolver\"));\n  globals_->system_network_delegate = std::move(chrome_network_delegate);\n  globals_->host_resolver = CreateGlobalHostResolver(net_log_);\n\n  std::map<std::string, std::string> network_quality_estimator_params;\n  variations::GetVariationParams(kNetworkQualityEstimatorFieldTrialName,\n                                 &network_quality_estimator_params);\n\n  std::unique_ptr<net::ExternalEstimateProvider> external_estimate_provider;\n#if BUILDFLAG(ANDROID_JAVA_UI)\n  external_estimate_provider.reset(\n      new chrome::android::ExternalEstimateProviderAndroid());\n#endif\n  // Pass ownership.\n  globals_->network_quality_estimator.reset(new net::NetworkQualityEstimator(\n      std::move(external_estimate_provider), network_quality_estimator_params));\n\n  // TODO(erikchen): Remove ScopedTracker below once http://crbug.com/466432\n  // is fixed.\n  tracked_objects::ScopedTracker tracking_profile5(\n      FROM_HERE_WITH_EXPLICIT_FUNCTION(\n          \"466432 IOThread::InitAsync::UpdateDnsClientEnabled::Start\"));\n  UpdateDnsClientEnabled();\n  // TODO(erikchen): Remove ScopedTracker below once http://crbug.com/466432\n  // is fixed.\n  tracked_objects::ScopedTracker tracking_profile6(\n      FROM_HERE_WITH_EXPLICIT_FUNCTION(\n          \"466432 IOThread::InitAsync::UpdateDnsClientEnabled::End\"));\n#if defined(OS_CHROMEOS)\n  // Creates a CertVerifyProc that doesn't allow any profile-provided certs.\n  globals_->cert_verifier.reset(new net::MultiThreadedCertVerifier(\n      new chromeos::CertVerifyProcChromeOS()));\n#else\n  globals_->cert_verifier.reset(new net::MultiThreadedCertVerifier(\n      net::CertVerifyProc::CreateDefault()));\n#endif\n\n  globals_->transport_security_state.reset(new net::TransportSecurityState());\n\n  // TODO(erikchen): Remove ScopedTracker below once http://crbug.com/466432\n  // is fixed.\n  tracked_objects::ScopedTracker tracking_profile8(\n      FROM_HERE_WITH_EXPLICIT_FUNCTION(\n          \"466432 IOThread::InitAsync::CreateLogVerifiers::Start\"));\n  std::vector<scoped_refptr<const net::CTLogVerifier>> ct_logs(\n      net::ct::CreateLogVerifiersForKnownLogs());\n\n  // Add logs from command line\n  if (command_line.HasSwitch(switches::kCertificateTransparencyLog)) {\n    std::string switch_value = command_line.GetSwitchValueASCII(\n        switches::kCertificateTransparencyLog);\n    for (const base::StringPiece& curr_log : base::SplitStringPiece(\n             switch_value, \",\", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL)) {\n      std::vector<std::string> log_metadata = base::SplitString(\n          curr_log, \":\", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);\n      CHECK_GE(log_metadata.size(), 3u)\n          << \"CT log metadata missing: Switch format is \"\n          << \"'description:base64_key:url_without_schema'.\";\n      std::string log_description(log_metadata[0]);\n      std::string log_url(std::string(\"https://\") + log_metadata[2]);\n      std::string ct_public_key_data;\n      CHECK(base::Base64Decode(log_metadata[1], &ct_public_key_data))\n          << \"Unable to decode CT public key.\";\n      scoped_refptr<const net::CTLogVerifier> external_log_verifier(\n          net::CTLogVerifier::Create(ct_public_key_data, log_description,\n                                     log_url));\n      CHECK(external_log_verifier) << \"Unable to parse CT public key.\";\n      VLOG(1) << \"Adding log with description \" << log_description;\n      ct_logs.push_back(external_log_verifier);\n    }\n  }\n\n  globals_->ct_logs.assign(ct_logs.begin(), ct_logs.end());\n\n  // TODO(erikchen): Remove ScopedTracker below once http://crbug.com/466432\n  // is fixed.\n  tracked_objects::ScopedTracker tracking_profile9(\n      FROM_HERE_WITH_EXPLICIT_FUNCTION(\n          \"466432 IOThread::InitAsync::CreateLogVerifiers::End\"));\n  // TODO(erikchen): Remove ScopedTracker below once http://crbug.com/466432\n  // is fixed.\n  tracked_objects::ScopedTracker tracking_profile7(\n      FROM_HERE_WITH_EXPLICIT_FUNCTION(\n          \"466432 IOThread::InitAsync::CreateMultiLogVerifier\"));\n  net::MultiLogCTVerifier* ct_verifier = new net::MultiLogCTVerifier();\n  globals_->cert_transparency_verifier.reset(ct_verifier);\n  // Add built-in logs\n  ct_verifier->AddLogs(globals_->ct_logs);\n\n  // TODO(erikchen): Remove ScopedTracker below once http://crbug.com/466432\n  // is fixed.\n  tracked_objects::ScopedTracker tracking_profile10(\n      FROM_HERE_WITH_EXPLICIT_FUNCTION(\n          \"466432 IOThread::InitAsync::CTPolicyEnforcer\"));\n  globals_->ct_policy_enforcer.reset(new net::CTPolicyEnforcer());\n  params_.ct_policy_enforcer = globals_->ct_policy_enforcer.get();\n\n  globals_->ssl_config_service = GetSSLConfigService();\n\n  CreateDefaultAuthHandlerFactory();\n  globals_->http_server_properties.reset(new net::HttpServerPropertiesImpl());\n  // For the ProxyScriptFetcher, we use a direct ProxyService.\n  globals_->proxy_script_fetcher_proxy_service =\n      net::ProxyService::CreateDirectWithNetLog(net_log_);\n  // In-memory cookie store.\n  // TODO(erikchen): Remove ScopedTracker below once http://crbug.com/466432\n  // is fixed.\n  tracked_objects::ScopedTracker tracking_profile11(\n      FROM_HERE_WITH_EXPLICIT_FUNCTION(\n          \"466432 IOThread::InitAsync::CreateCookieStore::Start\"));\n  globals_->system_cookie_store =\n      content::CreateCookieStore(content::CookieStoreConfig());\n  // TODO(erikchen): Remove ScopedTracker below once http://crbug.com/466432\n  // is fixed.\n  tracked_objects::ScopedTracker tracking_profile12(\n      FROM_HERE_WITH_EXPLICIT_FUNCTION(\n          \"466432 IOThread::InitAsync::CreateCookieStore::End\"));\n  // In-memory channel ID store.\n  globals_->system_channel_id_service.reset(\n      new net::ChannelIDService(\n          new net::DefaultChannelIDStore(NULL),\n          base::WorkerPool::GetTaskRunner(true)));\n  globals_->system_cookie_store->SetChannelIDServiceID(\n      globals_->system_channel_id_service->GetUniqueID());\n  // TODO(erikchen): Remove ScopedTracker below once http://crbug.com/466432\n  // is fixed.\n  tracked_objects::ScopedTracker tracking_profile12_1(\n      FROM_HERE_WITH_EXPLICIT_FUNCTION(\n          \"466432 IOThread::InitAsync::CreateDnsProbeService\"));\n  globals_->dns_probe_service.reset(new chrome_browser_net::DnsProbeService());\n  // TODO(erikchen): Remove ScopedTracker below once http://crbug.com/466432\n  // is fixed.\n  tracked_objects::ScopedTracker tracking_profile12_2(\n      FROM_HERE_WITH_EXPLICIT_FUNCTION(\n          \"466432 IOThread::InitAsync::CreateHostMappingRules\"));\n  globals_->host_mapping_rules.reset(new net::HostMappingRules());\n  params_.host_mapping_rules = globals_->host_mapping_rules.get();\n  // TODO(erikchen): Remove ScopedTracker below once http://crbug.com/466432\n  // is fixed.\n  tracked_objects::ScopedTracker tracking_profile12_3(\n      FROM_HERE_WITH_EXPLICIT_FUNCTION(\n          \"466432 IOThread::InitAsync::CreateHTTPUserAgentSettings\"));\n  globals_->http_user_agent_settings.reset(\n      new net::StaticHttpUserAgentSettings(std::string(), GetUserAgent()));\n  // TODO(erikchen): Remove ScopedTracker below once http://crbug.com/466432\n  // is fixed.\n  tracked_objects::ScopedTracker tracking_profile12_4(\n      FROM_HERE_WITH_EXPLICIT_FUNCTION(\n          \"466432 IOThread::InitAsync::CommandLineConfiguration\"));\n  if (command_line.HasSwitch(switches::kHostRules)) {\n    TRACE_EVENT_BEGIN0(\"startup\", \"IOThread::InitAsync:SetRulesFromString\");\n    globals_->host_mapping_rules->SetRulesFromString(\n        command_line.GetSwitchValueASCII(switches::kHostRules));\n    TRACE_EVENT_END0(\"startup\", \"IOThread::InitAsync:SetRulesFromString\");\n  }\n  // TODO(erikchen): Remove ScopedTracker below once http://crbug.com/466432\n  // is fixed.\n  tracked_objects::ScopedTracker tracking_profile12_5(\n      FROM_HERE_WITH_EXPLICIT_FUNCTION(\n          \"466432 IOThread::InitAsync::QuicConfiguration\"));\n  if (command_line.HasSwitch(\n          switches::kEnableUserAlternateProtocolPorts)) {\n    params_.enable_user_alternate_protocol_ports = true;\n  }\n  globals_->enable_brotli =\n      base::FeatureList::IsEnabled(features::kBrotliEncoding);\n  params_.enable_token_binding =\n      base::FeatureList::IsEnabled(features::kTokenBinding);\n  // TODO(erikchen): Remove ScopedTracker below once http://crbug.com/466432\n  // is fixed.\n  tracked_objects::ScopedTracker tracking_profile13(\n      FROM_HERE_WITH_EXPLICIT_FUNCTION(\n          \"466432 IOThread::InitAsync::InitializeNetworkOptions\"));\n  // TODO(rch): Make the client socket factory a per-network session instance,\n  // constructed from a NetworkSession::Params, to allow us to move this option\n  // to IOThread::Globals & HttpNetworkSession::Params.\n  network_session_configurator_.ParseFieldTrialsAndCommandLine(\n      is_spdy_allowed_by_policy_, is_quic_allowed_by_policy_, &params_);\n  bool always_enable_tfo_if_supported =\n      command_line.HasSwitch(switches::kEnableTcpFastOpen);\n  // Check for OS support of TCP FastOpen, and turn it on for all connections if\n  // indicated by user.\n  net::CheckSupportAndMaybeEnableTCPFastOpen(always_enable_tfo_if_supported);\n\n  TRACE_EVENT_BEGIN0(\"startup\",\n                     \"IOThread::Init:ProxyScriptFetcherRequestContext\");\n  globals_->proxy_script_fetcher_context.reset(\n      ConstructProxyScriptFetcherContext(globals_, params_, net_log_));\n  TRACE_EVENT_END0(\"startup\",\n                   \"IOThread::Init:ProxyScriptFetcherRequestContext\");\n\n  const version_info::Channel channel = chrome::GetChannel();\n  if (channel == version_info::Channel::UNKNOWN ||\n      channel == version_info::Channel::CANARY ||\n      channel == version_info::Channel::DEV) {\n    globals_->url_request_backoff_manager.reset(\n        new net::URLRequestBackoffManager());\n  }\n\n#if defined(OS_MACOSX)\n  // Start observing Keychain events. This needs to be done on the UI thread,\n  // as Keychain services requires a CFRunLoop.\n  BrowserThread::PostTask(BrowserThread::UI,\n                          FROM_HERE,\n                          base::Bind(&ObserveKeychainEvents));\n#endif\n\n  // InitSystemRequestContext turns right around and posts a task back\n  // to the IO thread, so we can't let it run until we know the IO\n  // thread has started.\n  //\n  // Note that since we are at BrowserThread::Init time, the UI thread\n  // is blocked waiting for the thread to start.  Therefore, posting\n  // this task to the main thread's message loop here is guaranteed to\n  // get it onto the message loop while the IOThread object still\n  // exists.  However, the message might not be processed on the UI\n  // thread until after IOThread is gone, so use a weak pointer.\n  BrowserThread::PostTask(BrowserThread::UI,\n                          FROM_HERE,\n                          base::Bind(&IOThread::InitSystemRequestContext,\n                                     weak_factory_.GetWeakPtr()));\n\n#if defined(OS_ANDROID) && defined(ARCH_CPU_ARMEL)\n  // Record how common CPUs with broken NEON units are. See\n  // https://crbug.com/341598.\n  crypto::EnsureOpenSSLInit();\n  UMA_HISTOGRAM_BOOLEAN(\"Net.HasBrokenNEON\", CRYPTO_has_broken_NEON());\n#endif\n}\n\nvoid IOThread::CleanUp() {\n  base::debug::LeakTracker<SafeBrowsingURLRequestContext>::CheckForLeaks();\n\n#if defined(USE_NSS_CERTS)\n  net::ShutdownNSSHttpIO();\n#endif\n\n  system_url_request_context_getter_ = NULL;\n\n  // Release objects that the net::URLRequestContext could have been pointing\n  // to.\n\n  // Shutdown the HistogramWatcher on the IO thread.\n  net::NetworkChangeNotifier::ShutdownHistogramWatcher();\n\n  // This must be reset before the ChromeNetLog is destroyed.\n  network_change_observer_.reset();\n\n  system_proxy_config_service_.reset();\n  delete globals_;\n  globals_ = NULL;\n\n  base::debug::LeakTracker<SystemURLRequestContextGetter>::CheckForLeaks();\n}\n\n// static\nvoid IOThread::NetworkSessionConfigurator::ParseFieldTrials(\n    bool is_spdy_allowed_by_policy,\n    bool is_quic_allowed_by_policy,\n    net::HttpNetworkSession::Params* params) {\n  const base::CommandLine command_line(base::CommandLine::NO_PROGRAM);\n  ParseFieldTrialsAndCommandLineInternal(command_line,\n                                         is_spdy_allowed_by_policy,\n                                         is_quic_allowed_by_policy, params);\n}\n\n// static\nvoid IOThread::NetworkSessionConfigurator::ParseFieldTrialsAndCommandLine(\n    bool is_spdy_allowed_by_policy,\n    bool is_quic_allowed_by_policy,\n    net::HttpNetworkSession::Params* params) {\n  const base::CommandLine& command_line =\n      *base::CommandLine::ForCurrentProcess();\n  ParseFieldTrialsAndCommandLineInternal(command_line,\n                                         is_spdy_allowed_by_policy,\n                                         is_quic_allowed_by_policy, params);\n}\n\n// static\nvoid IOThread::NetworkSessionConfigurator::\n    ParseFieldTrialsAndCommandLineInternal(\n        const base::CommandLine& command_line,\n        bool is_spdy_allowed_by_policy,\n        bool is_quic_allowed_by_policy,\n        net::HttpNetworkSession::Params* params) {\n  // Parameters only controlled by command line.\n  if (command_line.HasSwitch(switches::kIgnoreCertificateErrors))\n    params->ignore_certificate_errors = true;\n  if (command_line.HasSwitch(switches::kTestingFixedHttpPort)) {\n    params->testing_fixed_http_port =\n        GetSwitchValueAsInt(command_line, switches::kTestingFixedHttpPort);\n  }\n  if (command_line.HasSwitch(switches::kTestingFixedHttpsPort)) {\n    params->testing_fixed_https_port =\n        GetSwitchValueAsInt(command_line, switches::kTestingFixedHttpsPort);\n  }\n\n  // Always fetch the field trial groups to ensure they are reported correctly.\n  // The command line flags will be associated with a group that is reported so\n  // long as trial is actually queried.\n\n  std::string altsvc_trial_group =\n      base::FieldTrialList::FindFullName(kAltSvcFieldTrialName);\n  ConfigureAltSvcParams(command_line, altsvc_trial_group, params);\n\n  std::string quic_trial_group =\n      base::FieldTrialList::FindFullName(kQuicFieldTrialName);\n  VariationParameters quic_trial_params;\n  if (!variations::GetVariationParams(kQuicFieldTrialName, &quic_trial_params))\n    quic_trial_params.clear();\n  ConfigureQuicParams(command_line, quic_trial_group, quic_trial_params,\n                      is_quic_allowed_by_policy, params);\n\n  if (!is_spdy_allowed_by_policy) {\n    base::FieldTrial* trial = base::FieldTrialList::Find(kSpdyFieldTrialName);\n    if (trial)\n      trial->Disable();\n  }\n  std::string spdy_trial_group =\n      base::FieldTrialList::FindFullName(kSpdyFieldTrialName);\n  VariationParameters spdy_trial_params;\n  if (!variations::GetVariationParams(kSpdyFieldTrialName, &spdy_trial_params))\n    spdy_trial_params.clear();\n  ConfigureSpdyParams(command_line, spdy_trial_group, spdy_trial_params,\n                      is_spdy_allowed_by_policy, params);\n\n  const std::string tfo_trial_group =\n      base::FieldTrialList::FindFullName(kTCPFastOpenFieldTrialName);\n  ConfigureTCPFastOpenParams(tfo_trial_group, params);\n\n  std::string npn_trial_group =\n      base::FieldTrialList::FindFullName(kNpnTrialName);\n  ConfigureNPNParams(command_line, npn_trial_group, params);\n\n  std::string priority_dependencies_trial_group =\n      base::FieldTrialList::FindFullName(kSpdyDependenciesFieldTrial);\n  ConfigurePriorityDependencies(priority_dependencies_trial_group, params);\n}\n\n// static\nvoid IOThread::NetworkSessionConfigurator::ConfigureTCPFastOpenParams(\n    base::StringPiece tfo_trial_group,\n    net::HttpNetworkSession::Params* params) {\n  if (tfo_trial_group == kTCPFastOpenHttpsEnabledGroupName)\n    params->enable_tcp_fast_open_for_ssl = true;\n}\n\n// static\nvoid IOThread::NetworkSessionConfigurator::ConfigureSpdyParams(\n    const base::CommandLine& command_line,\n    base::StringPiece spdy_trial_group,\n    const VariationParameters& spdy_trial_params,\n    bool is_spdy_allowed_by_policy,\n    net::HttpNetworkSession::Params* params) {\n  // Only handle SPDY field trial parameters and command line flags if\n  // \"spdy.disabled\" preference is not forced via policy.\n  if (!is_spdy_allowed_by_policy) {\n    params->enable_spdy31 = false;\n    params->enable_http2 = false;\n    return;\n  }\n\n  if (command_line.HasSwitch(switches::kIgnoreUrlFetcherCertRequests))\n    net::URLFetcher::SetIgnoreCertificateRequests(true);\n\n  if (command_line.HasSwitch(switches::kDisableHttp2)) {\n    params->enable_spdy31 = false;\n    params->enable_http2 = false;\n    return;\n  }\n\n  if (spdy_trial_group.starts_with(kSpdyFieldTrialHoldbackGroupNamePrefix)) {\n    net::HttpStreamFactory::set_spdy_enabled(false);\n    return;\n  }\n  if (spdy_trial_group.starts_with(kSpdyFieldTrialSpdy31GroupNamePrefix)) {\n    params->enable_spdy31 = true;\n    params->enable_http2 = false;\n    return;\n  }\n  if (spdy_trial_group.starts_with(kSpdyFieldTrialSpdy4GroupNamePrefix)) {\n    params->enable_spdy31 = true;\n    params->enable_http2 = true;\n    return;\n  }\n  if (spdy_trial_group.starts_with(kSpdyFieldTrialParametrizedPrefix)) {\n    bool spdy_enabled = false;\n    params->enable_spdy31 = false;\n    params->enable_http2 = false;\n    if (base::LowerCaseEqualsASCII(\n            GetVariationParam(spdy_trial_params, \"enable_http2\"), \"true\")) {\n      spdy_enabled = true;\n      params->enable_http2 = true;\n    }\n    if (base::LowerCaseEqualsASCII(\n            GetVariationParam(spdy_trial_params, \"enable_spdy31\"), \"true\")) {\n      spdy_enabled = true;\n      params->enable_spdy31 = true;\n    }\n    // TODO(bnc): https://crbug.com/521597\n    // HttpStreamFactory::spdy_enabled_ is redundant with params->enable_http2\n    // and enable_spdy31, can it be eliminated?\n    net::HttpStreamFactory::set_spdy_enabled(spdy_enabled);\n    return;\n  }\n}\n\n// static\nvoid IOThread::NetworkSessionConfigurator::ConfigureAltSvcParams(\n    const base::CommandLine& command_line,\n    base::StringPiece altsvc_trial_group,\n    net::HttpNetworkSession::Params* params) {\n  if (command_line.HasSwitch(switches::kEnableAlternativeServices) ||\n      altsvc_trial_group.starts_with(kAltSvcFieldTrialEnabledPrefix)) {\n    params->parse_alternative_services = true;\n    return;\n  }\n  if (altsvc_trial_group.starts_with(kAltSvcFieldTrialDisabledPrefix)) {\n    params->parse_alternative_services = false;\n  }\n}\n\n// static\nvoid IOThread::NetworkSessionConfigurator::ConfigureNPNParams(\n    const base::CommandLine& command_line,\n    base::StringPiece npn_trial_group,\n    net::HttpNetworkSession::Params* params) {\n  if (npn_trial_group.starts_with(kNpnTrialEnabledGroupNamePrefix)) {\n    params->enable_npn = true;\n  } else if (npn_trial_group.starts_with(kNpnTrialDisabledGroupNamePrefix)) {\n    params->enable_npn = false;\n  }\n}\n\n// static\nvoid IOThread::NetworkSessionConfigurator::ConfigurePriorityDependencies(\n    base::StringPiece priority_dependencies_trial_group,\n    net::HttpNetworkSession::Params* params) {\n  if (priority_dependencies_trial_group.starts_with(\n          kSpdyDependenciesFieldTrialEnable)) {\n    params->enable_priority_dependencies = true;\n  } else if (priority_dependencies_trial_group.starts_with(\n                 kSpdyDepencenciesFieldTrialDisable)) {\n    params->enable_priority_dependencies = false;\n  }\n}\n\n// static\nvoid IOThread::RegisterPrefs(PrefRegistrySimple* registry) {\n  registry->RegisterStringPref(prefs::kAuthSchemes,\n                               \"basic,digest,ntlm,negotiate\");\n  registry->RegisterBooleanPref(prefs::kDisableAuthNegotiateCnameLookup, false);\n  registry->RegisterBooleanPref(prefs::kEnableAuthNegotiatePort, false);\n  registry->RegisterStringPref(prefs::kAuthServerWhitelist, std::string());\n  registry->RegisterStringPref(prefs::kAuthNegotiateDelegateWhitelist,\n                               std::string());\n  registry->RegisterStringPref(prefs::kGSSAPILibraryName, std::string());\n  registry->RegisterStringPref(prefs::kAuthAndroidNegotiateAccountType,\n                               std::string());\n  registry->RegisterBooleanPref(prefs::kEnableReferrers, true);\n  data_reduction_proxy::RegisterPrefs(registry);\n  registry->RegisterBooleanPref(prefs::kBuiltInDnsClientEnabled, true);\n  registry->RegisterBooleanPref(prefs::kQuickCheckEnabled, true);\n}\n\nvoid IOThread::UpdateServerWhitelist() {\n  globals_->http_auth_preferences->set_server_whitelist(\n      auth_server_whitelist_.GetValue());\n}\n\nvoid IOThread::UpdateDelegateWhitelist() {\n  globals_->http_auth_preferences->set_delegate_whitelist(\n      auth_delegate_whitelist_.GetValue());\n}\n\n#if defined(OS_ANDROID)\nvoid IOThread::UpdateAndroidAuthNegotiateAccountType() {\n  globals_->http_auth_preferences->set_auth_android_negotiate_account_type(\n      auth_android_negotiate_account_type_.GetValue());\n}\n#endif\n\nvoid IOThread::UpdateNegotiateDisableCnameLookup() {\n  globals_->http_auth_preferences->set_negotiate_disable_cname_lookup(\n      negotiate_disable_cname_lookup_.GetValue());\n}\n\nvoid IOThread::UpdateNegotiateEnablePort() {\n  globals_->http_auth_preferences->set_negotiate_enable_port(\n      negotiate_enable_port_.GetValue());\n}\n\nvoid IOThread::CreateDefaultAuthHandlerFactory() {\n  std::vector<std::string> supported_schemes = base::SplitString(\n      auth_schemes_, \",\", base::TRIM_WHITESPACE, base::SPLIT_WANT_NONEMPTY);\n  globals_->http_auth_preferences.reset(new net::HttpAuthPreferences(\n      supported_schemes\n#if defined(OS_POSIX) && !defined(OS_ANDROID)\n      ,\n      gssapi_library_name_\n#endif\n      ));\n  UpdateServerWhitelist();\n  UpdateDelegateWhitelist();\n  UpdateNegotiateDisableCnameLookup();\n  UpdateNegotiateEnablePort();\n#if defined(OS_ANDROID)\n  UpdateAndroidAuthNegotiateAccountType();\n#endif\n  globals_->http_auth_handler_factory =\n      net::HttpAuthHandlerRegistryFactory::Create(\n          globals_->http_auth_preferences.get(), globals_->host_resolver.get());\n}\n\nvoid IOThread::ClearHostCache() {\n  DCHECK_CURRENTLY_ON(BrowserThread::IO);\n\n  net::HostCache* host_cache = globals_->host_resolver->GetHostCache();\n  if (host_cache)\n    host_cache->clear();\n}\n\nconst net::HttpNetworkSession::Params& IOThread::NetworkSessionParams() const {\n  return params_;\n}\n\nbase::TimeTicks IOThread::creation_time() const {\n  return creation_time_;\n}\n\n// static\nnet::SSLConfigService* IOThread::GetSSLConfigService() {\n  return ssl_config_service_manager_->Get();\n}\n\nvoid IOThread::ChangedToOnTheRecordOnIOThread() {\n  DCHECK_CURRENTLY_ON(BrowserThread::IO);\n\n  // Clear the host cache to avoid showing entries from the OTR session\n  // in about:net-internals.\n  ClearHostCache();\n}\n\nvoid IOThread::InitSystemRequestContext() {\n  if (system_url_request_context_getter_.get())\n    return;\n  // If we're in unit_tests, IOThread may not be run.\n  if (!BrowserThread::IsMessageLoopValid(BrowserThread::IO))\n    return;\n  system_proxy_config_service_ = ProxyServiceFactory::CreateProxyConfigService(\n      pref_proxy_config_tracker_.get());\n  system_url_request_context_getter_ =\n      new SystemURLRequestContextGetter(this);\n  // Safe to post an unretained this pointer, since IOThread is\n  // guaranteed to outlive the IO BrowserThread.\n  BrowserThread::PostTask(\n      BrowserThread::IO,\n      FROM_HERE,\n      base::Bind(&IOThread::InitSystemRequestContextOnIOThread,\n                 base::Unretained(this)));\n}\n\nvoid IOThread::InitSystemRequestContextOnIOThread() {\n  DCHECK_CURRENTLY_ON(BrowserThread::IO);\n  DCHECK(!globals_->system_proxy_service.get());\n  DCHECK(system_proxy_config_service_.get());\n\n  const base::CommandLine& command_line =\n      *base::CommandLine::ForCurrentProcess();\n  globals_->system_proxy_service = ProxyServiceFactory::CreateProxyService(\n      net_log_, globals_->proxy_script_fetcher_context.get(),\n      globals_->system_network_delegate.get(),\n      std::move(system_proxy_config_service_), command_line,\n      quick_check_enabled_.GetValue());\n\n  globals_->system_request_context.reset(\n      ConstructSystemRequestContext(globals_, params_, net_log_));\n}\n\nvoid IOThread::UpdateDnsClientEnabled() {\n  globals()->host_resolver->SetDnsClientEnabled(*dns_client_enabled_);\n}\n\n// static\nvoid IOThread::NetworkSessionConfigurator::ConfigureQuicParams(\n    const base::CommandLine& command_line,\n    base::StringPiece quic_trial_group,\n    const VariationParameters& quic_trial_params,\n    bool is_quic_allowed_by_policy,\n    net::HttpNetworkSession::Params* params) {\n  params->enable_quic = ShouldEnableQuic(command_line, quic_trial_group,\n                                         is_quic_allowed_by_policy);\n  params->disable_quic_on_timeout_with_open_streams =\n      ShouldDisableQuicWhenConnectionTimesOutWithOpenStreams(quic_trial_params);\n\n  if (ShouldQuicEnableAlternativeServicesForDifferentHost(command_line,\n                                                          quic_trial_params)) {\n    params->enable_alternative_service_with_different_host = true;\n    params->parse_alternative_services = true;\n  } else {\n    params->enable_alternative_service_with_different_host = false;\n  }\n\n  if (params->enable_quic) {\n    params->quic_always_require_handshake_confirmation =\n        ShouldQuicAlwaysRequireHandshakeConfirmation(quic_trial_params);\n    params->quic_disable_connection_pooling =\n        ShouldQuicDisableConnectionPooling(quic_trial_params);\n    int receive_buffer_size = GetQuicSocketReceiveBufferSize(quic_trial_params);\n    if (receive_buffer_size != 0) {\n      params->quic_socket_receive_buffer_size = receive_buffer_size;\n    }\n    float load_server_info_timeout_srtt_multiplier =\n        GetQuicLoadServerInfoTimeoutSrttMultiplier(quic_trial_params);\n    if (load_server_info_timeout_srtt_multiplier != 0) {\n      params->quic_load_server_info_timeout_srtt_multiplier =\n          load_server_info_timeout_srtt_multiplier;\n    }\n    params->quic_enable_connection_racing =\n        ShouldQuicEnableConnectionRacing(quic_trial_params);\n    params->quic_enable_non_blocking_io =\n        ShouldQuicEnableNonBlockingIO(quic_trial_params);\n    params->quic_disable_disk_cache =\n        ShouldQuicDisableDiskCache(quic_trial_params);\n    params->quic_prefer_aes = ShouldQuicPreferAes(quic_trial_params);\n    int max_number_of_lossy_connections = GetQuicMaxNumberOfLossyConnections(\n        quic_trial_params);\n    if (max_number_of_lossy_connections != 0) {\n      params->quic_max_number_of_lossy_connections =\n          max_number_of_lossy_connections;\n    }\n    float packet_loss_threshold = GetQuicPacketLossThreshold(quic_trial_params);\n    if (packet_loss_threshold != 0)\n      params->quic_packet_loss_threshold = packet_loss_threshold;\n    params->enable_quic_port_selection =\n        ShouldEnableQuicPortSelection(command_line);\n    params->quic_connection_options =\n        GetQuicConnectionOptions(command_line, quic_trial_params);\n    params->quic_close_sessions_on_ip_change =\n        ShouldQuicCloseSessionsOnIpChange(quic_trial_params);\n    int idle_connection_timeout_seconds = GetQuicIdleConnectionTimeoutSeconds(\n        quic_trial_params);\n    if (idle_connection_timeout_seconds != 0) {\n      params->quic_idle_connection_timeout_seconds =\n          idle_connection_timeout_seconds;\n    }\n    params->quic_disable_preconnect_if_0rtt =\n        ShouldQuicDisablePreConnectIfZeroRtt(quic_trial_params);\n    params->quic_host_whitelist =\n        GetQuicHostWhitelist(command_line, quic_trial_params);\n    params->quic_migrate_sessions_on_network_change =\n        ShouldQuicMigrateSessionsOnNetworkChange(quic_trial_params);\n    params->quic_migrate_sessions_early =\n        ShouldQuicMigrateSessionsEarly(quic_trial_params);\n  }\n\n  size_t max_packet_length = GetQuicMaxPacketLength(command_line,\n                                                    quic_trial_params);\n  if (max_packet_length != 0) {\n    params->quic_max_packet_length = max_packet_length;\n  }\n\n  params->quic_user_agent_id = chrome::GetChannelString();\n  if (!params->quic_user_agent_id.empty())\n    params->quic_user_agent_id.push_back(' ');\n  params->quic_user_agent_id.append(\n      version_info::GetProductNameAndVersionForUserAgent());\n  params->quic_user_agent_id.push_back(' ');\n  params->quic_user_agent_id.append(content::BuildOSCpuInfo());\n\n  net::QuicVersion version = GetQuicVersion(command_line, quic_trial_params);\n  if (version != net::QUIC_VERSION_UNSUPPORTED) {\n    net::QuicVersionVector supported_versions;\n    supported_versions.push_back(version);\n    params->quic_supported_versions = supported_versions;\n  }\n\n  if (command_line.HasSwitch(switches::kOriginToForceQuicOn)) {\n    std::string origins =\n        command_line.GetSwitchValueASCII(switches::kOriginToForceQuicOn);\n    for (const std::string& host_port : base::SplitString(\n             origins, \",\", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL)) {\n      net::HostPortPair quic_origin = net::HostPortPair::FromString(host_port);\n      if (!quic_origin.IsEmpty())\n        params->origins_to_force_quic_on.insert(quic_origin);\n    }\n  }\n}\n\n// static\nbool IOThread::NetworkSessionConfigurator::\n    ShouldDisableQuicWhenConnectionTimesOutWithOpenStreams(\n        const VariationParameters& quic_trial_params) {\n  return base::LowerCaseEqualsASCII(\n    GetVariationParam(quic_trial_params,\n      \"disable_quic_on_timeout_with_open_streams\"),\n      \"true\");\n}\n\n// static\nbool IOThread::NetworkSessionConfigurator::ShouldEnableQuic(\n    const base::CommandLine& command_line,\n    base::StringPiece quic_trial_group,\n    bool is_quic_allowed_by_policy) {\n  if (command_line.HasSwitch(switches::kDisableQuic) ||\n      !is_quic_allowed_by_policy)\n    return false;\n\n  if (command_line.HasSwitch(switches::kEnableQuic))\n    return true;\n\n  return quic_trial_group.starts_with(kQuicFieldTrialEnabledGroupName) ||\n         quic_trial_group.starts_with(kQuicFieldTrialHttpsEnabledGroupName);\n}\n\n// static\nbool IOThread::NetworkSessionConfigurator::ShouldEnableQuicPortSelection(\n    const base::CommandLine& command_line) {\n  if (command_line.HasSwitch(switches::kDisableQuicPortSelection))\n    return false;\n\n  if (command_line.HasSwitch(switches::kEnableQuicPortSelection))\n    return true;\n\n  return false;  // Default to disabling port selection on all channels.\n}\n\n// static\nnet::QuicTagVector\nIOThread::NetworkSessionConfigurator::GetQuicConnectionOptions(\n    const base::CommandLine& command_line,\n    const VariationParameters& quic_trial_params) {\n  if (command_line.HasSwitch(switches::kQuicConnectionOptions)) {\n    return net::QuicUtils::ParseQuicConnectionOptions(\n        command_line.GetSwitchValueASCII(switches::kQuicConnectionOptions));\n  }\n\n  VariationParameters::const_iterator it =\n      quic_trial_params.find(\"connection_options\");\n  if (it == quic_trial_params.end()) {\n    return net::QuicTagVector();\n  }\n\n  return net::QuicUtils::ParseQuicConnectionOptions(it->second);\n}\n\n// static\nbool IOThread::NetworkSessionConfigurator::\n    ShouldQuicAlwaysRequireHandshakeConfirmation(\n        const VariationParameters& quic_trial_params) {\n  return base::LowerCaseEqualsASCII(\n      GetVariationParam(quic_trial_params,\n                        \"always_require_handshake_confirmation\"),\n      \"true\");\n}\n\n// static\nbool IOThread::NetworkSessionConfigurator::ShouldQuicDisableConnectionPooling(\n    const VariationParameters& quic_trial_params) {\n  return base::LowerCaseEqualsASCII(\n      GetVariationParam(quic_trial_params, \"disable_connection_pooling\"),\n      \"true\");\n}\n\n// static\nfloat IOThread::NetworkSessionConfigurator::\n    GetQuicLoadServerInfoTimeoutSrttMultiplier(\n        const VariationParameters& quic_trial_params) {\n  double value;\n  if (base::StringToDouble(GetVariationParam(quic_trial_params,\n                                             \"load_server_info_time_to_srtt\"),\n                           &value)) {\n    return static_cast<float>(value);\n  }\n  return 0.0f;\n}\n\n// static\nbool IOThread::NetworkSessionConfigurator::ShouldQuicEnableConnectionRacing(\n    const VariationParameters& quic_trial_params) {\n  return base::LowerCaseEqualsASCII(\n      GetVariationParam(quic_trial_params, \"enable_connection_racing\"),\n      \"true\");\n}\n\n// static\nbool IOThread::NetworkSessionConfigurator::ShouldQuicEnableNonBlockingIO(\n    const VariationParameters& quic_trial_params) {\n  return base::LowerCaseEqualsASCII(\n      GetVariationParam(quic_trial_params, \"enable_non_blocking_io\"),\n      \"true\");\n}\n\n// static\nbool IOThread::NetworkSessionConfigurator::ShouldQuicDisableDiskCache(\n    const VariationParameters& quic_trial_params) {\n  return base::LowerCaseEqualsASCII(\n      GetVariationParam(quic_trial_params, \"disable_disk_cache\"), \"true\");\n}\n\n// static\nbool IOThread::NetworkSessionConfigurator::ShouldQuicPreferAes(\n    const VariationParameters& quic_trial_params) {\n  return base::LowerCaseEqualsASCII(\n      GetVariationParam(quic_trial_params, \"prefer_aes\"), \"true\");\n}\n\n// static\nbool IOThread::NetworkSessionConfigurator::\n    ShouldQuicEnableAlternativeServicesForDifferentHost(\n        const base::CommandLine& command_line,\n        const VariationParameters& quic_trial_params) {\n  // TODO(bnc): Remove inaccurately named \"use_alternative_services\" parameter.\n  return command_line.HasSwitch(switches::kEnableAlternativeServices) ||\n         base::LowerCaseEqualsASCII(\n             GetVariationParam(quic_trial_params, \"use_alternative_services\"),\n             \"true\") ||\n         base::LowerCaseEqualsASCII(\n             GetVariationParam(\n                 quic_trial_params,\n                 \"enable_alternative_service_with_different_host\"),\n             \"true\");\n}\n\n// static\nint IOThread::NetworkSessionConfigurator::GetQuicMaxNumberOfLossyConnections(\n    const VariationParameters& quic_trial_params) {\n  int value;\n  if (base::StringToInt(GetVariationParam(quic_trial_params,\n                                          \"max_number_of_lossy_connections\"),\n                        &value)) {\n    return value;\n  }\n  return 0;\n}\n\n// static\nfloat IOThread::NetworkSessionConfigurator::GetQuicPacketLossThreshold(\n    const VariationParameters& quic_trial_params) {\n  double value;\n  if (base::StringToDouble(GetVariationParam(quic_trial_params,\n                                             \"packet_loss_threshold\"),\n                           &value)) {\n    return static_cast<float>(value);\n  }\n  return 0.0f;\n}\n\n// static\nint IOThread::NetworkSessionConfigurator::GetQuicSocketReceiveBufferSize(\n    const VariationParameters& quic_trial_params) {\n  int value;\n  if (base::StringToInt(GetVariationParam(quic_trial_params,\n                                          \"receive_buffer_size\"),\n                        &value)) {\n    return value;\n  }\n  return 0;\n}\n\n// static\nbool IOThread::NetworkSessionConfigurator::ShouldQuicCloseSessionsOnIpChange(\n    const VariationParameters& quic_trial_params) {\n  return base::LowerCaseEqualsASCII(\n      GetVariationParam(quic_trial_params, \"close_sessions_on_ip_change\"),\n      \"true\");\n}\n\n// static\nint IOThread::NetworkSessionConfigurator::GetQuicIdleConnectionTimeoutSeconds(\n    const VariationParameters& quic_trial_params) {\n  int value;\n  if (base::StringToInt(GetVariationParam(quic_trial_params,\n                                          \"idle_connection_timeout_seconds\"),\n                        &value)) {\n    return value;\n  }\n  return 0;\n}\n\n// static\nbool IOThread::NetworkSessionConfigurator::ShouldQuicDisablePreConnectIfZeroRtt(\n    const VariationParameters& quic_trial_params) {\n  return base::LowerCaseEqualsASCII(\n      GetVariationParam(quic_trial_params, \"disable_preconnect_if_0rtt\"),\n      \"true\");\n}\n\n// static\nstd::unordered_set<std::string>\nIOThread::NetworkSessionConfigurator::GetQuicHostWhitelist(\n    const base::CommandLine& command_line,\n    const VariationParameters& quic_trial_params) {\n  std::string whitelist;\n  if (command_line.HasSwitch(switches::kQuicHostWhitelist)) {\n    whitelist = command_line.GetSwitchValueASCII(switches::kQuicHostWhitelist);\n  } else {\n    whitelist = GetVariationParam(quic_trial_params, \"quic_host_whitelist\");\n  }\n  std::unordered_set<std::string> hosts;\n  for (const std::string& host :base::SplitString(whitelist, \",\",\n                                                  base::TRIM_WHITESPACE,\n                                                  base::SPLIT_WANT_ALL)) {\n    hosts.insert(host);\n  }\n  return hosts;\n}\n\n// static\nbool IOThread::NetworkSessionConfigurator::\n    ShouldQuicMigrateSessionsOnNetworkChange(\n        const VariationParameters& quic_trial_params) {\n  return base::LowerCaseEqualsASCII(\n      GetVariationParam(quic_trial_params,\n                        \"migrate_sessions_on_network_change\"),\n      \"true\");\n}\n\n// static\nbool IOThread::NetworkSessionConfigurator::ShouldQuicMigrateSessionsEarly(\n    const VariationParameters& quic_trial_params) {\n  return base::LowerCaseEqualsASCII(\n      GetVariationParam(quic_trial_params, \"migrate_sessions_early\"), \"true\");\n}\n\n// static\nsize_t IOThread::NetworkSessionConfigurator::GetQuicMaxPacketLength(\n    const base::CommandLine& command_line,\n    const VariationParameters& quic_trial_params) {\n  if (command_line.HasSwitch(switches::kQuicMaxPacketLength)) {\n    unsigned value;\n    if (!base::StringToUint(\n            command_line.GetSwitchValueASCII(switches::kQuicMaxPacketLength),\n            &value)) {\n      return 0;\n    }\n    return value;\n  }\n\n  unsigned value;\n  if (base::StringToUint(GetVariationParam(quic_trial_params,\n                                           \"max_packet_length\"),\n                         &value)) {\n    return value;\n  }\n  return 0;\n}\n\n// static\nnet::QuicVersion IOThread::NetworkSessionConfigurator::GetQuicVersion(\n    const base::CommandLine& command_line,\n    const VariationParameters& quic_trial_params) {\n  if (command_line.HasSwitch(switches::kQuicVersion)) {\n    return ParseQuicVersion(\n        command_line.GetSwitchValueASCII(switches::kQuicVersion));\n  }\n\n  return ParseQuicVersion(GetVariationParam(quic_trial_params, \"quic_version\"));\n}\n\n// static\nnet::QuicVersion IOThread::NetworkSessionConfigurator::ParseQuicVersion(\n    const std::string& quic_version) {\n  net::QuicVersionVector supported_versions = net::QuicSupportedVersions();\n  for (size_t i = 0; i < supported_versions.size(); ++i) {\n    net::QuicVersion version = supported_versions[i];\n    if (net::QuicVersionToString(version) == quic_version) {\n      return version;\n    }\n  }\n\n  return net::QUIC_VERSION_UNSUPPORTED;\n}\n\n// static\nnet::URLRequestContext* IOThread::ConstructSystemRequestContext(\n    IOThread::Globals* globals,\n    const net::HttpNetworkSession::Params& params,\n    net::NetLog* net_log) {\n  net::URLRequestContext* context = new SystemURLRequestContext;\n  context->set_net_log(net_log);\n  context->set_host_resolver(globals->host_resolver.get());\n  context->set_cert_verifier(globals->cert_verifier.get());\n  context->set_transport_security_state(\n      globals->transport_security_state.get());\n  context->set_cert_transparency_verifier(\n      globals->cert_transparency_verifier.get());\n  context->set_ssl_config_service(globals->ssl_config_service.get());\n  context->set_http_auth_handler_factory(\n      globals->http_auth_handler_factory.get());\n  context->set_proxy_service(globals->system_proxy_service.get());\n\n  globals->system_url_request_job_factory.reset(\n      new net::URLRequestJobFactoryImpl());\n  context->set_job_factory(globals->system_url_request_job_factory.get());\n\n  context->set_cookie_store(globals->system_cookie_store.get());\n  context->set_channel_id_service(\n      globals->system_channel_id_service.get());\n  context->set_network_delegate(globals->system_network_delegate.get());\n  context->set_http_user_agent_settings(\n      globals->http_user_agent_settings.get());\n  context->set_network_quality_estimator(\n      globals->network_quality_estimator.get());\n  context->set_backoff_manager(globals->url_request_backoff_manager.get());\n\n  context->set_http_server_properties(\n      globals->http_server_properties->GetWeakPtr());\n\n  context->set_enable_brotli(globals->enable_brotli);\n\n  net::HttpNetworkSession::Params system_params(params);\n  net::URLRequestContextBuilder::SetHttpNetworkSessionComponents(\n      context, &system_params);\n\n  globals->system_http_network_session.reset(\n      new net::HttpNetworkSession(system_params));\n  globals->system_http_transaction_factory.reset(\n      new net::HttpNetworkLayer(globals->system_http_network_session.get()));\n  context->set_http_transaction_factory(\n      globals->system_http_transaction_factory.get());\n\n  return context;\n}\n\n// static\nnet::URLRequestContext* IOThread::ConstructProxyScriptFetcherContext(\n    IOThread::Globals* globals,\n    const net::HttpNetworkSession::Params& params,\n    net::NetLog* net_log) {\n  // TODO(erikchen): Remove ScopedTracker below once http://crbug.com/466432\n  // is fixed.\n  tracked_objects::ScopedTracker tracking_profile1(\n      FROM_HERE_WITH_EXPLICIT_FUNCTION(\n          \"466432 IOThread::ConstructProxyScriptFetcherContext1\"));\n  net::URLRequestContext* context = new net::URLRequestContext;\n  context->set_net_log(net_log);\n  context->set_host_resolver(globals->host_resolver.get());\n  context->set_cert_verifier(globals->cert_verifier.get());\n  context->set_transport_security_state(\n      globals->transport_security_state.get());\n  context->set_cert_transparency_verifier(\n      globals->cert_transparency_verifier.get());\n  context->set_ssl_config_service(globals->ssl_config_service.get());\n  context->set_http_auth_handler_factory(\n      globals->http_auth_handler_factory.get());\n  context->set_proxy_service(globals->proxy_script_fetcher_proxy_service.get());\n\n  context->set_job_factory(\n      globals->proxy_script_fetcher_url_request_job_factory.get());\n\n  context->set_cookie_store(globals->system_cookie_store.get());\n  context->set_channel_id_service(\n      globals->system_channel_id_service.get());\n  context->set_network_delegate(globals->system_network_delegate.get());\n  context->set_http_user_agent_settings(\n      globals->http_user_agent_settings.get());\n  context->set_http_server_properties(\n      globals->http_server_properties->GetWeakPtr());\n\n  context->set_enable_brotli(globals->enable_brotli);\n\n  net::HttpNetworkSession::Params session_params(params);\n  net::URLRequestContextBuilder::SetHttpNetworkSessionComponents(\n      context, &session_params);\n\n  // TODO(erikchen): Remove ScopedTracker below once http://crbug.com/466432\n  // is fixed.\n  tracked_objects::ScopedTracker tracking_profile2(\n      FROM_HERE_WITH_EXPLICIT_FUNCTION(\n          \"466432 IOThread::ConstructProxyScriptFetcherContext2\"));\n  globals->proxy_script_fetcher_http_network_session.reset(\n      new net::HttpNetworkSession(session_params));\n  // TODO(erikchen): Remove ScopedTracker below once http://crbug.com/466432\n  // is fixed.\n  tracked_objects::ScopedTracker tracking_profile3(\n      FROM_HERE_WITH_EXPLICIT_FUNCTION(\n          \"466432 IOThread::ConstructProxyScriptFetcherContext3\"));\n  globals->proxy_script_fetcher_http_transaction_factory.reset(\n      new net::HttpNetworkLayer(\n          globals->proxy_script_fetcher_http_network_session.get()));\n  context->set_http_transaction_factory(\n      globals->proxy_script_fetcher_http_transaction_factory.get());\n\n  std::unique_ptr<net::URLRequestJobFactoryImpl> job_factory(\n      new net::URLRequestJobFactoryImpl());\n\n  job_factory->SetProtocolHandler(\n      url::kDataScheme, base::WrapUnique(new net::DataProtocolHandler()));\n  job_factory->SetProtocolHandler(\n      url::kFileScheme,\n      base::WrapUnique(new net::FileProtocolHandler(\n          content::BrowserThread::GetBlockingPool()\n              ->GetTaskRunnerWithShutdownBehavior(\n                  base::SequencedWorkerPool::SKIP_ON_SHUTDOWN))));\n#if !defined(DISABLE_FTP_SUPPORT)\n  globals->proxy_script_fetcher_ftp_transaction_factory.reset(\n      new net::FtpNetworkLayer(globals->host_resolver.get()));\n  job_factory->SetProtocolHandler(\n      url::kFtpScheme,\n      base::WrapUnique(new net::FtpProtocolHandler(\n          globals->proxy_script_fetcher_ftp_transaction_factory.get())));\n#endif\n  globals->proxy_script_fetcher_url_request_job_factory =\n      std::move(job_factory);\n\n  context->set_job_factory(\n      globals->proxy_script_fetcher_url_request_job_factory.get());\n\n  // TODO(rtenneti): We should probably use HttpServerPropertiesManager for the\n  // system URLRequestContext too. There's no reason this should be tied to a\n  // profile.\n  return context;\n}\n\nconst metrics::UpdateUsagePrefCallbackType&\nIOThread::GetMetricsDataUseForwarder() {\n  return metrics_data_use_forwarder_;\n}\n"
  },
  {
    "path": "deps/cpplint/samples/chromium-sample/src/io_thread.h",
    "content": "// Copyright (c) 2012 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_IO_THREAD_H_\n#define CHROME_BROWSER_IO_THREAD_H_\n\n#include <stddef.h>\n#include <stdint.h>\n\n#include <map>\n#include <memory>\n#include <set>\n#include <string>\n#include <unordered_set>\n#include <vector>\n\n#include \"base/compiler_specific.h\"\n#include \"base/macros.h\"\n#include \"base/memory/ref_counted.h\"\n#include \"base/memory/weak_ptr.h\"\n#include \"base/strings/string_piece.h\"\n#include \"base/time/time.h\"\n#include \"build/build_config.h\"\n#include \"chrome/browser/net/chrome_network_delegate.h\"\n#include \"chrome/common/features.h\"\n#include \"components/prefs/pref_member.h\"\n#include \"components/ssl_config/ssl_config_service_manager.h\"\n#include \"content/public/browser/browser_thread.h\"\n#include \"content/public/browser/browser_thread_delegate.h\"\n#include \"net/base/network_change_notifier.h\"\n#include \"net/http/http_network_session.h\"\n\nclass PrefProxyConfigTracker;\nclass PrefService;\nclass PrefRegistrySimple;\nclass SystemURLRequestContextGetter;\n\nnamespace base {\nclass CommandLine;\n}\n\n#if BUILDFLAG(ANDROID_JAVA_UI)\nnamespace chrome {\nnamespace android {\nclass ExternalDataUseObserver;\n}\n}\n#endif  // BUILDFLAG(ANDROID_JAVA_UI)\n\nnamespace chrome_browser_net {\nclass DnsProbeService;\n}\n\nnamespace data_usage {\nclass DataUseAggregator;\n}\n\nnamespace extensions {\nclass EventRouterForwarder;\n}\n\nnamespace net {\nclass CTPolicyEnforcer;\nclass CertVerifier;\nclass ChannelIDService;\nclass CookieStore;\nclass CTLogVerifier;\nclass FtpTransactionFactory;\nclass HostMappingRules;\nclass HostResolver;\nclass HttpAuthHandlerRegistryFactory;\nclass HttpAuthPreferences;\nclass HttpServerProperties;\nclass HttpTransactionFactory;\nclass HttpUserAgentSettings;\nclass NetworkDelegate;\nclass NetworkQualityEstimator;\nclass ProxyConfigService;\nclass ProxyService;\nclass SSLConfigService;\nclass TransportSecurityState;\nclass URLRequestBackoffManager;\nclass URLRequestContext;\nclass URLRequestContextGetter;\nclass URLRequestJobFactory;\n}  // namespace net\n\nnamespace net_log {\nclass ChromeNetLog;\n}\n\nnamespace policy {\nclass PolicyService;\n}  // namespace policy\n\nnamespace test {\nclass IOThreadPeer;\n}  // namespace test\n\n// Contains state associated with, initialized and cleaned up on, and\n// primarily used on, the IO thread.\n//\n// If you are looking to interact with the IO thread (e.g. post tasks\n// to it or check if it is the current thread), see\n// content::BrowserThread.\nclass IOThread : public content::BrowserThreadDelegate {\n public:\n  struct Globals {\n    class SystemRequestContextLeakChecker {\n     public:\n      explicit SystemRequestContextLeakChecker(Globals* globals);\n      ~SystemRequestContextLeakChecker();\n\n     private:\n      Globals* const globals_;\n    };\n\n    Globals();\n    ~Globals();\n\n    // Global aggregator of data use. It must outlive the\n    // |system_network_delegate|.\n    std::unique_ptr<data_usage::DataUseAggregator> data_use_aggregator;\n#if BUILDFLAG(ANDROID_JAVA_UI)\n    // An external observer of data use.\n    std::unique_ptr<chrome::android::ExternalDataUseObserver>\n        external_data_use_observer;\n#endif  // BUILDFLAG(ANDROID_JAVA_UI)\n    // The \"system\" NetworkDelegate, used for Profile-agnostic network events.\n    std::unique_ptr<net::NetworkDelegate> system_network_delegate;\n    std::unique_ptr<net::HostResolver> host_resolver;\n    std::unique_ptr<net::CertVerifier> cert_verifier;\n    // The ChannelIDService must outlive the HttpTransactionFactory.\n    std::unique_ptr<net::ChannelIDService> system_channel_id_service;\n    // This TransportSecurityState doesn't load or save any state. It's only\n    // used to enforce pinning for system requests and will only use built-in\n    // pins.\n    std::unique_ptr<net::TransportSecurityState> transport_security_state;\n    std::vector<scoped_refptr<const net::CTLogVerifier>> ct_logs;\n    std::unique_ptr<net::CTVerifier> cert_transparency_verifier;\n    std::unique_ptr<net::CTPolicyEnforcer> ct_policy_enforcer;\n    scoped_refptr<net::SSLConfigService> ssl_config_service;\n    std::unique_ptr<net::HttpAuthHandlerFactory> http_auth_handler_factory;\n    std::unique_ptr<net::HttpServerProperties> http_server_properties;\n    std::unique_ptr<net::ProxyService> proxy_script_fetcher_proxy_service;\n    std::unique_ptr<net::HttpNetworkSession>\n        proxy_script_fetcher_http_network_session;\n    std::unique_ptr<net::HttpTransactionFactory>\n        proxy_script_fetcher_http_transaction_factory;\n    std::unique_ptr<net::FtpTransactionFactory>\n        proxy_script_fetcher_ftp_transaction_factory;\n    std::unique_ptr<net::URLRequestJobFactory>\n        proxy_script_fetcher_url_request_job_factory;\n    std::unique_ptr<net::URLRequestBackoffManager> url_request_backoff_manager;\n    std::unique_ptr<net::HttpAuthPreferences> http_auth_preferences;\n    // TODO(willchan): Remove proxy script fetcher context since it's not\n    // necessary now that I got rid of refcounting URLRequestContexts.\n    //\n    // The first URLRequestContext is |system_url_request_context|. We introduce\n    // |proxy_script_fetcher_context| for the second context. It has a direct\n    // ProxyService, since we always directly connect to fetch the PAC script.\n    std::unique_ptr<net::URLRequestContext> proxy_script_fetcher_context;\n    std::unique_ptr<net::ProxyService> system_proxy_service;\n    std::unique_ptr<net::HttpNetworkSession> system_http_network_session;\n    std::unique_ptr<net::HttpTransactionFactory>\n        system_http_transaction_factory;\n    std::unique_ptr<net::URLRequestJobFactory> system_url_request_job_factory;\n    std::unique_ptr<net::URLRequestContext> system_request_context;\n    SystemRequestContextLeakChecker system_request_context_leak_checker;\n    // |system_cookie_store| and |system_channel_id_service| are shared\n    // between |proxy_script_fetcher_context| and |system_request_context|.\n    std::unique_ptr<net::CookieStore> system_cookie_store;\n#if defined(ENABLE_EXTENSIONS)\n    scoped_refptr<extensions::EventRouterForwarder>\n        extension_event_router_forwarder;\n#endif\n    std::unique_ptr<net::HostMappingRules> host_mapping_rules;\n    std::unique_ptr<net::HttpUserAgentSettings> http_user_agent_settings;\n    std::unique_ptr<net::NetworkQualityEstimator> network_quality_estimator;\n\n    // NetErrorTabHelper uses |dns_probe_service| to send DNS probes when a\n    // main frame load fails with a DNS error in order to provide more useful\n    // information to the renderer so it can show a more specific error page.\n    std::unique_ptr<chrome_browser_net::DnsProbeService> dns_probe_service;\n\n    // Enables Brotli Content-Encoding support\n    bool enable_brotli;\n  };\n\n  // Helper class to configure HttpNetworkSession::Params and\n  // HttpServerProperties based on field trials, policy, and command line.\n  class NetworkSessionConfigurator {\n   public:\n    // Configure |params| based on field trials and policy arguments.\n    static void ParseFieldTrials(bool is_spdy_allowed_by_policy,\n                                 bool is_quic_allowed_by_policy,\n                                 net::HttpNetworkSession::Params* params);\n\n    // Configure |params| based on field trials, policy arguments,\n    // and command line.\n    static void ParseFieldTrialsAndCommandLine(\n        bool is_spdy_allowed_by_policy,\n        bool is_quic_allowed_by_policy,\n        net::HttpNetworkSession::Params* params);\n\n   private:\n    // Map from name to value for all parameters associate with a field trial.\n    using VariationParameters = std::map<std::string, std::string>;\n\n    static void ParseFieldTrialsAndCommandLineInternal(\n        const base::CommandLine& command_line,\n        bool is_spdy_allowed_by_policy,\n        bool is_quic_allowed_by_policy,\n        net::HttpNetworkSession::Params* params);\n\n    // Configures Alternative Services based on command line options and the\n    // field trial group.\n    static void ConfigureAltSvcParams(const base::CommandLine& command_line,\n                                      base::StringPiece altsvc_trial_group,\n                                      net::HttpNetworkSession::Params* params);\n\n    // Configures QUIC options based on the flags in |command_line| as well as\n    // the QUIC field trial group and parameters.  Must be called before\n    // ConfigureSpdyParams.\n    static void ConfigureQuicParams(\n        const base::CommandLine& command_line,\n        base::StringPiece quic_trial_group,\n        const VariationParameters& quic_trial_params,\n        bool is_quic_allowed_by_policy,\n        net::HttpNetworkSession::Params* params);\n\n    // Configures available SPDY protocol versions and parameters based on\n    // command line flags as well as SPDY field trial group and parameters.\n    // Must be called after ConfigureQuicParams.\n    static void ConfigureSpdyParams(\n        const base::CommandLine& command_line,\n        base::StringPiece spdy_trial_group,\n        const VariationParameters& spdy_trial_params,\n        bool is_spdy_allowed_by_policy,\n        net::HttpNetworkSession::Params* params);\n\n    // Configure TCP FastOpen based on the field trial group.\n    static void ConfigureTCPFastOpenParams(\n        base::StringPiece tfo_trial_group,\n        net::HttpNetworkSession::Params* params);\n\n    // Configures NPN based on command line and the field trial group.\n    static void ConfigureNPNParams(const base::CommandLine& command_line,\n                                   base::StringPiece npn_trial_group,\n                                   net::HttpNetworkSession::Params* params);\n\n    // Configures the use of priority dependencies based on the field trial\n    // group.\n    static void ConfigurePriorityDependencies(\n        base::StringPiece priority_dependencies_trial_group,\n        net::HttpNetworkSession::Params* params);\n\n    // Returns true if QUIC should be disabled when a connection times out with\n    // open streams.\n    static bool ShouldDisableQuicWhenConnectionTimesOutWithOpenStreams(\n        const VariationParameters& quic_trial_params);\n\n    // Returns true if QUIC should be enabled, either as a result of a field\n    // trial or a command line flag.\n    static bool ShouldEnableQuic(const base::CommandLine& command_line,\n                                 base::StringPiece quic_trial_group,\n                                 bool quic_allowed_by_policy);\n\n    // Returns true if the selection of the ephemeral port in bind() should be\n    // performed by Chromium, and false if the OS should select the port.  The\n    // OS option is used to prevent Windows from posting a security warning\n    // dialog.\n    static bool ShouldEnableQuicPortSelection(\n        const base::CommandLine& command_line);\n\n    // Returns true if QUIC should always require handshake confirmation during\n    // the QUIC handshake.\n    static bool ShouldQuicAlwaysRequireHandshakeConfirmation(\n        const VariationParameters& quic_trial_params);\n\n    // Returns true if QUIC should disable connection pooling.\n    static bool ShouldQuicDisableConnectionPooling(\n        const VariationParameters& quic_trial_params);\n\n    // Returns the ratio of time to load QUIC sever information from disk cache\n    // to 'smoothed RTT' based on field trial. Returns 0 if there is an error\n    // parsing the field trial params, or if the default value should be used.\n    static float GetQuicLoadServerInfoTimeoutSrttMultiplier(\n        const VariationParameters& quic_trial_params);\n\n    // Returns true if QUIC's connection racing should be enabled.\n    static bool ShouldQuicEnableConnectionRacing(\n        const VariationParameters& quic_trial_params);\n\n    // Returns true if QUIC's should use non-blocking IO.\n    static bool ShouldQuicEnableNonBlockingIO(\n        const VariationParameters& quic_trial_params);\n\n    // Returns true if QUIC shouldn't load QUIC server information from the disk\n    // cache.\n    static bool ShouldQuicDisableDiskCache(\n        const VariationParameters& quic_trial_params);\n\n    // Returns true if QUIC should prefer AES-GCN even without hardware support.\n    static bool ShouldQuicPreferAes(\n        const VariationParameters& quic_trial_params);\n\n    // Returns true if QUIC should enable alternative services for different\n    // host.\n    static bool ShouldQuicEnableAlternativeServicesForDifferentHost(\n        const base::CommandLine& command_line,\n        const VariationParameters& quic_trial_params);\n\n    // Returns the maximum number of QUIC connections with high packet loss in a\n    // row after which QUIC should be disabled.  Returns 0 if the default value\n    // should be used.\n    static int GetQuicMaxNumberOfLossyConnections(\n        const VariationParameters& quic_trial_params);\n\n    // Returns the packet loss rate in fraction after which a QUIC connection is\n    // closed and is considered as a lossy connection. Returns 0 if the default\n    // value should be used.\n    static float GetQuicPacketLossThreshold(\n        const VariationParameters& quic_trial_params);\n\n    // Returns the size of the QUIC receive buffer to use, or 0 if the default\n    // should be used.\n    static int GetQuicSocketReceiveBufferSize(\n        const VariationParameters& quic_trial_params);\n\n    // Returns true if QUIC should close sessions when any of the client's IP\n    // addresses change.\n    static bool ShouldQuicCloseSessionsOnIpChange(\n        const VariationParameters& quic_trial_params);\n\n    // Returns the idle connection timeout for QUIC connections.  Returns 0 if\n    // there is an error parsing any of the options, or if the default value\n    // should be used.\n    static int GetQuicIdleConnectionTimeoutSeconds(\n        const VariationParameters& quic_trial_params);\n\n    // Returns true if PreConnect should be disabled if QUIC can do 0RTT.\n    static bool ShouldQuicDisablePreConnectIfZeroRtt(\n        const VariationParameters& quic_trial_params);\n\n    // Returns the set of hosts to whitelist for QUIC.\n    static std::unordered_set<std::string> GetQuicHostWhitelist(\n        const base::CommandLine& command_line,\n        const VariationParameters& quic_trial_params);\n\n    // Returns true if QUIC should migrate sessions when primary network\n    // changes.\n    static bool ShouldQuicMigrateSessionsOnNetworkChange(\n        const VariationParameters& quic_trial_params);\n\n    // Returns true if QUIC should migrate sessions early.\n    static bool ShouldQuicMigrateSessionsEarly(\n        const VariationParameters& quic_trial_params);\n\n    // Returns the maximum length for QUIC packets, based on any flags in\n    // |command_line| or the field trial.  Returns 0 if there is an error\n    // parsing any of the options, or if the default value should be used.\n    static size_t GetQuicMaxPacketLength(\n        const base::CommandLine& command_line,\n        const VariationParameters& quic_trial_params);\n\n    // Returns the QUIC versions specified by any flags in |command_line| or\n    // |quic_trial_params|.\n    static net::QuicVersion GetQuicVersion(\n        const base::CommandLine& command_line,\n        const VariationParameters& quic_trial_params);\n\n    // Returns the QUIC version specified by |quic_version| or\n    // QUIC_VERSION_UNSUPPORTED if |quic_version| is invalid.\n    static net::QuicVersion ParseQuicVersion(const std::string& quic_version);\n\n    // Returns the QUIC connection options specified by any flags in\n    // |command_line| or |quic_trial_params|.\n    static net::QuicTagVector GetQuicConnectionOptions(\n        const base::CommandLine& command_line,\n        const VariationParameters& quic_trial_params);\n  };\n\n  // |net_log| must either outlive the IOThread or be NULL.\n  IOThread(PrefService* local_state,\n           policy::PolicyService* policy_service,\n           net_log::ChromeNetLog* net_log,\n           extensions::EventRouterForwarder* extension_event_router_forwarder);\n\n  ~IOThread() override;\n\n  static void RegisterPrefs(PrefRegistrySimple* registry);\n\n  // Can only be called on the IO thread.\n  Globals* globals();\n\n  // Allows overriding Globals in tests where IOThread::Init() and\n  // IOThread::CleanUp() are not called.  This allows for injecting mocks into\n  // IOThread global objects.\n  void SetGlobalsForTesting(Globals* globals);\n\n  net_log::ChromeNetLog* net_log();\n\n  // Handles changing to On The Record mode, discarding confidential data.\n  void ChangedToOnTheRecord();\n\n  // Returns a getter for the URLRequestContext.  Only called on the UI thread.\n  net::URLRequestContextGetter* system_url_request_context_getter();\n\n  // Clears the host cache.  Intended to be used to prevent exposing recently\n  // visited sites on about:net-internals/#dns and about:dns pages.  Must be\n  // called on the IO thread.\n  void ClearHostCache();\n\n  const net::HttpNetworkSession::Params& NetworkSessionParams() const;\n\n  base::TimeTicks creation_time() const;\n\n  // Returns the callback for updating data use prefs.\n  const metrics::UpdateUsagePrefCallbackType& GetMetricsDataUseForwarder();\n\n private:\n  // Provide SystemURLRequestContextGetter with access to\n  // InitSystemRequestContext().\n  friend class SystemURLRequestContextGetter;\n\n  friend class test::IOThreadPeer;\n\n  // BrowserThreadDelegate implementation, runs on the IO thread.\n  // This handles initialization and destruction of state that must\n  // live on the IO thread.\n  void Init() override;\n  void CleanUp() override;\n\n  void InitializeNetworkOptions(const base::CommandLine& parsed_command_line);\n\n  // Global state must be initialized on the IO thread, then this\n  // method must be invoked on the UI thread.\n  void InitSystemRequestContext();\n\n  // Lazy initialization of system request context for\n  // SystemURLRequestContextGetter. To be called on IO thread only\n  // after global state has been initialized on the IO thread, and\n  // SystemRequestContext state has been initialized on the UI thread.\n  void InitSystemRequestContextOnIOThread();\n\n  void CreateDefaultAuthHandlerFactory();\n\n  // Returns an SSLConfigService instance.\n  net::SSLConfigService* GetSSLConfigService();\n\n  void ChangedToOnTheRecordOnIOThread();\n\n  void UpdateDnsClientEnabled();\n  void UpdateServerWhitelist();\n  void UpdateDelegateWhitelist();\n  void UpdateAndroidAuthNegotiateAccountType();\n  void UpdateNegotiateDisableCnameLookup();\n  void UpdateNegotiateEnablePort();\n\n  extensions::EventRouterForwarder* extension_event_router_forwarder() {\n#if defined(ENABLE_EXTENSIONS)\n    return extension_event_router_forwarder_;\n#else\n    return NULL;\n#endif\n  }\n  static net::URLRequestContext* ConstructSystemRequestContext(\n      IOThread::Globals* globals,\n      const net::HttpNetworkSession::Params& params,\n      net::NetLog* net_log);\n\n  // TODO(willchan): Remove proxy script fetcher context since it's not\n  // necessary now that I got rid of refcounting URLRequestContexts.\n  // See IOThread::Globals for details.\n  static net::URLRequestContext* ConstructProxyScriptFetcherContext(\n      IOThread::Globals* globals,\n      const net::HttpNetworkSession::Params& params,\n      net::NetLog* net_log);\n\n  // The NetLog is owned by the browser process, to allow logging from other\n  // threads during shutdown, but is used most frequently on the IOThread.\n  net_log::ChromeNetLog* net_log_;\n\n#if defined(ENABLE_EXTENSIONS)\n  // The extensions::EventRouterForwarder allows for sending events to\n  // extensions from the IOThread.\n  extensions::EventRouterForwarder* extension_event_router_forwarder_;\n#endif\n\n  // These member variables are basically global, but their lifetimes are tied\n  // to the IOThread.  IOThread owns them all, despite not using scoped_ptr.\n  // This is because the destructor of IOThread runs on the wrong thread.  All\n  // member variables should be deleted in CleanUp().\n\n  // These member variables are initialized in Init() and do not change for the\n  // lifetime of the IO thread.\n\n  Globals* globals_;\n\n  net::HttpNetworkSession::Params params_;\n  NetworkSessionConfigurator network_session_configurator_;\n\n  // Observer that logs network changes to the ChromeNetLog.\n  class LoggingNetworkChangeObserver;\n  std::unique_ptr<LoggingNetworkChangeObserver> network_change_observer_;\n\n  BooleanPrefMember system_enable_referrers_;\n\n  BooleanPrefMember dns_client_enabled_;\n\n  BooleanPrefMember quick_check_enabled_;\n\n  // Store HTTP Auth-related policies in this thread.\n  // TODO(aberent) Make the list of auth schemes a PrefMember, so that the\n  // policy can change after startup (https://crbug/549273).\n  std::string auth_schemes_;\n  BooleanPrefMember negotiate_disable_cname_lookup_;\n  BooleanPrefMember negotiate_enable_port_;\n  StringPrefMember auth_server_whitelist_;\n  StringPrefMember auth_delegate_whitelist_;\n\n#if defined(OS_ANDROID)\n  StringPrefMember auth_android_negotiate_account_type_;\n#endif\n#if defined(OS_POSIX) && !defined(OS_ANDROID)\n  // No PrefMember for the GSSAPI library name, since changing it after startup\n  // requires unloading the existing GSSAPI library, which could cause all sorts\n  // of problems for, for example, active Negotiate transactions.\n  std::string gssapi_library_name_;\n#endif\n\n  // This is an instance of the default SSLConfigServiceManager for the current\n  // platform and it gets SSL preferences from local_state object.\n  std::unique_ptr<ssl_config::SSLConfigServiceManager>\n      ssl_config_service_manager_;\n\n  // These member variables are initialized by a task posted to the IO thread,\n  // which gets posted by calling certain member functions of IOThread.\n  std::unique_ptr<net::ProxyConfigService> system_proxy_config_service_;\n\n  std::unique_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;\n\n  scoped_refptr<net::URLRequestContextGetter>\n      system_url_request_context_getter_;\n\n  // True if SPDY is allowed by policy.\n  bool is_spdy_allowed_by_policy_;\n\n  // True if QUIC is allowed by policy.\n  bool is_quic_allowed_by_policy_;\n\n  const base::TimeTicks creation_time_;\n\n  // Callback for updating data use prefs which needs to be initialized on UI\n  // thread and passed to |ChromeNetworkDelegate|.\n  metrics::UpdateUsagePrefCallbackType metrics_data_use_forwarder_;\n\n  base::WeakPtrFactory<IOThread> weak_factory_;\n\n  DISALLOW_COPY_AND_ASSIGN(IOThread);\n};\n\n#endif  // CHROME_BROWSER_IO_THREAD_H_\n"
  },
  {
    "path": "deps/cpplint/samples/codelite-sample/LICENSE",
    "content": "\t\t    GNU GENERAL PUBLIC LICENSE\n\t\t       Version 2, June 1991\n\n Copyright (C) 1989, 1991 Free Software Foundation, Inc.,\n 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n\t\t\t    Preamble\n\n  The licenses for most software are designed to take away your\nfreedom to share and change it.  By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users.  This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it.  (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.)  You can apply it to\nyour programs, too.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\n  To protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\n  For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have.  You must make sure that they, too, receive or can get the\nsource code.  And you must show them these terms so they know their\nrights.\n\n  We protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\n  Also, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware.  If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\n  Finally, any free program is threatened constantly by software\npatents.  We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary.  To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n\t\t    GNU GENERAL PUBLIC LICENSE\n   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n  0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License.  The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage.  (Hereinafter, translation is included without limitation in\nthe term \"modification\".)  Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope.  The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n  1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n  2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\n    a) You must cause the modified files to carry prominent notices\n    stating that you changed the files and the date of any change.\n\n    b) You must cause any work that you distribute or publish, that in\n    whole or in part contains or is derived from the Program or any\n    part thereof, to be licensed as a whole at no charge to all third\n    parties under the terms of this License.\n\n    c) If the modified program normally reads commands interactively\n    when run, you must cause it, when started running for such\n    interactive use in the most ordinary way, to print or display an\n    announcement including an appropriate copyright notice and a\n    notice that there is no warranty (or else, saying that you provide\n    a warranty) and that users may redistribute the program under\n    these conditions, and telling the user how to view a copy of this\n    License.  (Exception: if the Program itself is interactive but\n    does not normally print such an announcement, your work based on\n    the Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole.  If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works.  But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n  3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\n    a) Accompany it with the complete corresponding machine-readable\n    source code, which must be distributed under the terms of Sections\n    1 and 2 above on a medium customarily used for software interchange; or,\n\n    b) Accompany it with a written offer, valid for at least three\n    years, to give any third party, for a charge no more than your\n    cost of physically performing source distribution, a complete\n    machine-readable copy of the corresponding source code, to be\n    distributed under the terms of Sections 1 and 2 above on a medium\n    customarily used for software interchange; or,\n\n    c) Accompany it with the information you received as to the offer\n    to distribute corresponding source code.  (This alternative is\n    allowed only for noncommercial distribution and only if you\n    received the program in object code or executable form with such\n    an offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it.  For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable.  However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n  4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License.  Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n  5. You are not required to accept this License, since you have not\nsigned it.  However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works.  These actions are\nprohibited by law if you do not accept this License.  Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n  6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions.  You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n  7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all.  For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices.  Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n  8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded.  In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n  9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation.  If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n  10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission.  For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this.  Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\n\t\t\t    NO WARRANTY\n\n  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\n\t\t     END OF TERMS AND CONDITIONS\n\n\t    How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software; you can redistribute it and/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation; either version 2 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License along\n    with this program; if not, write to the Free Software Foundation, Inc.,\n    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\n    Gnomovision version 69, Copyright (C) year name of author\n    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n    This is free software, and you are welcome to redistribute it\n    under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License.  Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary.  Here is a sample; alter the names:\n\n  Yoyodyne, Inc., hereby disclaims all copyright interest in the program\n  `Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n  <signature of Ty Coon>, 1 April 1989\n  Ty Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs.  If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary.  If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License.\n\nEXCEPTION:\n==========\n\nThe only exception is that plugins developed for CodeLite and are linking \nagainst CodeLite sources (either static linking or dynamic linking),\nand the plugin is NOT one of the official plugins (i.e. a plugin that was developed by CodeLite's team),\nCan be distributed under any license\n\n"
  },
  {
    "path": "deps/cpplint/samples/codelite-sample/README.md",
    "content": "Canary sample taken from codelite https://github.com/eranif/codelite\nLicense applies as per LICENSE file in this folder\n"
  },
  {
    "path": "deps/cpplint/samples/codelite-sample/simple.def",
    "content": "src/*\n1\n4\nDone processing src/pptable.cpp\nDone processing src/pptable.h\nTotal errors found: 680\n\nsrc/pptable.cpp:0:  No copyright message found.  You should have a line: \"Copyright [year] <Copyright Owner>\"  [legal/copyright] [5]\nsrc/pptable.cpp:1:  Include the directory when naming .h files  [build/include_subdir] [4]\nsrc/pptable.cpp:6:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:7:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:8:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:8:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/pptable.cpp:10:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:11:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:11:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/pptable.cpp:12:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:16:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:17:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:18:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:18:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/pptable.cpp:19:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:19:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/pptable.cpp:20:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:20:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/pptable.cpp:21:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:23:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:24:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:24:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/pptable.cpp:25:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:25:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/pptable.cpp:26:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:27:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:30:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/pptable.cpp:31:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:32:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:33:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:34:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:35:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:37:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:37:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/pptable.cpp:37:  Extra space before )  [whitespace/parens] [2]\nsrc/pptable.cpp:39:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:39:  Missing spaces around =  [whitespace/operators] [4]\nsrc/pptable.cpp:39:  Missing spaces around <  [whitespace/operators] [3]\nsrc/pptable.cpp:40:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:41:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:42:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:43:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:44:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:45:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:46:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:48:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:49:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:49:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/pptable.cpp:50:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:51:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:53:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:54:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/pptable.cpp:55:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:56:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:57:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:59:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:59:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/pptable.cpp:59:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/pptable.cpp:60:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:61:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:63:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:64:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:65:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:66:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:67:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\nsrc/pptable.cpp:68:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:69:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:70:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:74:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/pptable.cpp:75:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:76:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:77:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:78:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:79:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:80:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:80:  Missing spaces around =  [whitespace/operators] [4]\nsrc/pptable.cpp:80:  Missing spaces around <  [whitespace/operators] [3]\nsrc/pptable.cpp:81:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:82:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:83:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:84:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:85:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:86:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:87:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:89:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:90:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:90:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/pptable.cpp:91:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:92:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:94:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:95:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/pptable.cpp:96:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:97:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:98:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:100:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:100:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/pptable.cpp:100:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/pptable.cpp:101:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:102:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:104:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:105:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:106:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:107:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:108:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\nsrc/pptable.cpp:109:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:110:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:111:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:115:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:116:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:117:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:118:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:119:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:120:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:120:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/pptable.cpp:121:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:122:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:123:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:124:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:125:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:126:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:127:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:128:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:129:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:131:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:132:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:132:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/pptable.cpp:133:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:135:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:136:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/pptable.cpp:137:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:138:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:139:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:141:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:142:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/pptable.cpp:143:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:144:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:145:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:146:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\nsrc/pptable.cpp:147:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:148:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:149:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:153:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:153:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/pptable.cpp:155:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:156:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:158:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:159:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:159:  Missing spaces around =  [whitespace/operators] [4]\nsrc/pptable.cpp:159:  Missing spaces around <  [whitespace/operators] [3]\nsrc/pptable.cpp:160:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:160:  Using C-style cast.  Use static_cast<int>(...) instead  [readability/casting] [4]\nsrc/pptable.cpp:162:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:164:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:164:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/pptable.cpp:165:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:166:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:167:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:167:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/pptable.cpp:168:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:169:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:170:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:170:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/pptable.cpp:170:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\nsrc/pptable.cpp:171:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:173:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:177:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:179:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:180:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:181:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:182:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:183:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:184:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:184:  Missing spaces around =  [whitespace/operators] [4]\nsrc/pptable.cpp:184:  Missing spaces around <  [whitespace/operators] [3]\nsrc/pptable.cpp:185:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:186:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:187:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:188:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:189:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:191:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:192:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:192:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/pptable.cpp:193:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:198:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:199:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:200:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:201:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:202:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:203:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:203:  Missing spaces around =  [whitespace/operators] [4]\nsrc/pptable.cpp:203:  Missing spaces around <  [whitespace/operators] [3]\nsrc/pptable.cpp:204:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:205:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:206:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:207:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:208:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:209:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:210:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:211:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:215:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:216:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:218:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:219:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:219:  Missing spaces around =  [whitespace/operators] [4]\nsrc/pptable.cpp:220:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:222:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:223:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:224:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:226:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:227:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:228:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:229:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:230:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:231:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:232:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:233:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:233:  Missing spaces around =  [whitespace/operators] [4]\nsrc/pptable.cpp:233:  Missing spaces around <  [whitespace/operators] [3]\nsrc/pptable.cpp:234:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:234:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/pptable.cpp:234:  Missing space before {  [whitespace/braces] [5]\nsrc/pptable.cpp:235:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:236:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:237:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:238:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:240:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:240:  Missing spaces around =  [whitespace/operators] [4]\nsrc/pptable.cpp:240:  Missing spaces around <  [whitespace/operators] [3]\nsrc/pptable.cpp:241:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:242:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:243:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:244:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:245:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:246:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:247:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:248:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:248:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/pptable.cpp:248:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/pptable.cpp:249:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:251:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:252:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:253:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:254:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:255:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:256:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:258:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:259:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:260:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:261:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:262:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:263:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:264:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:266:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:267:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:268:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:269:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:272:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/pptable.cpp:273:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:274:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:275:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:276:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:278:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:279:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:280:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:280:  Mismatching spaces inside () in if  [whitespace/parens] [5]\nsrc/pptable.cpp:281:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:282:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:284:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:285:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:287:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:287:  Missing spaces around =  [whitespace/operators] [4]\nsrc/pptable.cpp:287:  Missing spaces around <  [whitespace/operators] [3]\nsrc/pptable.cpp:288:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:289:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:291:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:292:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:293:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:295:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:295:  Missing spaces around =  [whitespace/operators] [4]\nsrc/pptable.cpp:295:  Missing spaces around <  [whitespace/operators] [3]\nsrc/pptable.cpp:296:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:297:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:298:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:299:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:300:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:300:  Extra space for operator  --;  [whitespace/operators] [4]\nsrc/pptable.cpp:301:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:302:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:303:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:304:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:305:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:306:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:307:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:308:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:309:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:310:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:311:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:312:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:313:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:314:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:315:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:316:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:317:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:318:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:319:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:320:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:321:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:322:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:323:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:324:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:325:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:328:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/pptable.cpp:329:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:330:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:330:  Using C-style cast.  Use static_cast<int>(...) instead  [readability/casting] [4]\nsrc/pptable.cpp:331:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:332:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:334:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:335:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:336:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:336:  Mismatching spaces inside () in if  [whitespace/parens] [5]\nsrc/pptable.cpp:337:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:338:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:339:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:341:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:341:  Missing spaces around =  [whitespace/operators] [4]\nsrc/pptable.cpp:341:  Missing spaces around <  [whitespace/operators] [3]\nsrc/pptable.cpp:342:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:343:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:345:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:346:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:347:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:349:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:349:  Missing spaces around =  [whitespace/operators] [4]\nsrc/pptable.cpp:349:  Missing spaces around <  [whitespace/operators] [3]\nsrc/pptable.cpp:350:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:351:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:352:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:353:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:354:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:354:  Extra space for operator  --;  [whitespace/operators] [4]\nsrc/pptable.cpp:355:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:356:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:357:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:358:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:359:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:360:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:361:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:362:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:363:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:364:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:365:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:366:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:367:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:368:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:369:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:370:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:371:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:372:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:373:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:374:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:375:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:376:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:377:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:378:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:379:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:383:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:384:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:385:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:387:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:387:  Missing spaces around =  [whitespace/operators] [4]\nsrc/pptable.cpp:387:  Missing spaces around <  [whitespace/operators] [3]\nsrc/pptable.cpp:388:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:389:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:390:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:390:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/pptable.cpp:391:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:392:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:393:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:393:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/pptable.cpp:394:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:395:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:396:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:396:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/pptable.cpp:397:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:398:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:402:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:403:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:404:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:405:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:406:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:406:  Missing spaces around =  [whitespace/operators] [4]\nsrc/pptable.cpp:406:  Missing spaces around <  [whitespace/operators] [3]\nsrc/pptable.cpp:407:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:408:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:409:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:410:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:411:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:412:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:413:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:414:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:420:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:424:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:428:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:429:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:430:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:431:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:432:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:436:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:437:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:438:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:439:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:440:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:444:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:445:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:446:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:447:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:448:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:450:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:454:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:455:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:456:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:458:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:459:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:460:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:461:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:462:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:463:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:463:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]\nsrc/pptable.cpp:464:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:465:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:466:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:466:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/pptable.cpp:467:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:468:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:469:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:473:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:474:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:475:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:476:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:477:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:481:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:482:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:483:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:484:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:485:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:489:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:490:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:491:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:495:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:496:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:497:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:498:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:499:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:500:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:501:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:502:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:502:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/pptable.cpp:503:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:504:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:504:  Missing space before {  [whitespace/braces] [5]\nsrc/pptable.cpp:505:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:505:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/pptable.cpp:506:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:507:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:509:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:509:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/pptable.cpp:510:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:512:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:513:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:514:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:515:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:515:  Use int16/int64/etc, rather than the C type long  [runtime/int] [4]\nsrc/pptable.cpp:516:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:516:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/pptable.cpp:517:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:518:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:519:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:520:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:521:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:525:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:526:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:527:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:528:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:529:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:533:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:534:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:538:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:539:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:542:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/pptable.cpp:542:  Is this a non-const reference? If so, make const or use a pointer: wxString &outStr  [runtime/references] [2]\nsrc/pptable.cpp:543:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:544:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:545:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:546:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:548:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:549:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:550:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:551:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:552:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:553:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:555:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:556:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:557:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:557:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/pptable.cpp:558:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:560:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:561:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:562:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:562:  Missing spaces around =  [whitespace/operators] [4]\nsrc/pptable.cpp:562:  Missing spaces around <  [whitespace/operators] [3]\nsrc/pptable.cpp:563:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:564:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:565:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:566:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:568:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:569:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:570:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:572:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:573:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:574:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:575:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:576:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:577:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:578:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:579:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:582:  Static/global string variables are not permitted.  [runtime/string] [4]\nsrc/pptable.cpp:584:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/pptable.cpp:584:  Is this a non-const reference? If so, make const or use a pointer: std::string& outStr  [runtime/references] [2]\nsrc/pptable.cpp:585:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:586:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:587:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:588:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:589:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:591:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:592:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:593:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:593:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/pptable.cpp:594:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:596:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:597:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:598:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:599:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:599:  Missing spaces around =  [whitespace/operators] [4]\nsrc/pptable.cpp:599:  Missing spaces around <  [whitespace/operators] [3]\nsrc/pptable.cpp:600:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/pptable.cpp:602:  Using C-style cast.  Use static_cast<int>(...) instead  [readability/casting] [4]\nsrc/pptable.cpp:602:  Never use sprintf. Use snprintf instead.  [runtime/printf] [5]\nsrc/pptable.cpp:604:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:605:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:606:  Missing space before ( in while(  [whitespace/parens] [5]\nsrc/pptable.cpp:607:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:609:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:612:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:614:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:615:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:616:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:617:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:619:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:619:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/pptable.cpp:620:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:622:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:623:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/pptable.cpp:624:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:625:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:626:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:627:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:629:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:631:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:631:  Should have a space between // and comment  [whitespace/comments] [4]\nsrc/pptable.cpp:632:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:632:  Should have a space between // and comment  [whitespace/comments] [4]\nsrc/pptable.cpp:634:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:635:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:636:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:639:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/pptable.cpp:640:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.cpp:641:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:642:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:643:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:644:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:645:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:646:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:647:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:648:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:649:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:650:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:651:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:653:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:654:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:654:  Missing space before {  [whitespace/braces] [5]\nsrc/pptable.cpp:655:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:656:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:657:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:659:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:660:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:661:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:662:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.cpp:663:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:0:  No copyright message found.  You should have a line: \"Copyright [year] <Copyright Owner>\"  [legal/copyright] [5]\nsrc/pptable.h:1:  #ifndef header guard has wrong style, please use: SAMPLES_CODELITE_SAMPLE_SRC_PPTABLE_H_  [build/header_guard] [5]\nsrc/pptable.h:131:  #endif line should be \"#endif  // SAMPLES_CODELITE_SAMPLE_SRC_PPTABLE_H_\"  [build/header_guard] [5]\nsrc/pptable.h:6:  Found C system header after C++ system header. Should be: pptable.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/pptable.h:19:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/pptable.h:27:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:28:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:29:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:30:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:31:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:32:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:49:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/pptable.h:49:  Is this a non-const reference? If so, make const or use a pointer: wxString &output  [runtime/references] [2]\nsrc/pptable.h:63:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/pptable.h:63:  Is this a non-const reference? If so, make const or use a pointer: std::string& outStr  [runtime/references] [2]\nsrc/pptable.h:69:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:70:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:71:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:72:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:73:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:75:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:76:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:77:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:78:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:78:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/pptable.h:79:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:80:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:82:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:83:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:83:  Missing space before {  [whitespace/braces] [5]\nsrc/pptable.h:85:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:86:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:86:  Missing space before {  [whitespace/braces] [5]\nsrc/pptable.h:88:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:89:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:90:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:91:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:91:  Is this a non-const reference? If so, make const or use a pointer: wxFFile &fp  [runtime/references] [2]\nsrc/pptable.h:92:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:92:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/pptable.h:92:  Is this a non-const reference? If so, make const or use a pointer: wxString& initList  [runtime/references] [2]\nsrc/pptable.h:92:  Is this a non-const reference? If so, make const or use a pointer: wxArrayString &initListArr  [runtime/references] [2]\nsrc/pptable.h:93:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:93:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/pptable.h:93:  Is this a non-const reference? If so, make const or use a pointer: std::string& initList  [runtime/references] [2]\nsrc/pptable.h:93:  Is this a non-const reference? If so, make const or use a pointer: std::vector<std::string> &initListArr  [runtime/references] [2]\nsrc/pptable.h:94:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:95:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:96:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:96:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/pptable.h:96:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\nsrc/pptable.h:100:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/pptable.h:101:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:102:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:104:  public: should be indented +1 space inside class PPTable  [whitespace/indent] [3]\nsrc/pptable.h:105:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:106:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:108:  private: should be indented +1 space inside class PPTable  [whitespace/indent] [3]\nsrc/pptable.h:109:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:110:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:112:  public: should be indented +1 space inside class PPTable  [whitespace/indent] [3]\nsrc/pptable.h:113:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:114:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:115:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:115:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/pptable.h:116:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:117:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:117:  Is this a non-const reference? If so, make const or use a pointer: wxFFile &fp  [runtime/references] [2]\nsrc/pptable.h:118:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:119:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:120:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:121:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:123:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:124:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:125:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:126:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:126:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/pptable.h:127:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:128:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:129:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/pptable.h:131:  At least two spaces is best between code and comments  [whitespace/comments] [2]\n\n"
  },
  {
    "path": "deps/cpplint/samples/codelite-sample/src/pptable.cpp",
    "content": "#include \"pptable.h\"\r\n#include <wx/tokenzr.h>\r\n#include <set>\r\n\r\nbool IsWordChar(const wxString &s, int strSize)\r\n{\r\n\tif(strSize) {\r\n\t\treturn s.find_first_of(wxT(\"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_\")) != wxString::npos;\r\n\r\n\t} else {\r\n\t\treturn s.find_first_of(wxT(\"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_\")) != wxString::npos;\r\n\t}\r\n}\r\n\r\nbool IsWordCharA(char c, int strSize)\r\n{\r\n\tif(strSize) {\r\n\t\treturn ((c >= 97 && c <= 122) ||// a-z\r\n\t\t\t\t(c >= 65 && c <= 90)  ||// A-Z\r\n\t\t\t\t(c >= 48 && c <= 57)  ||// 0-9\r\n\t\t\t\t(c == '_'));\r\n\r\n\t} else {\r\n\t\treturn ((c >= 97 && c <= 122) ||// a-z\r\n\t\t\t\t(c >= 65 && c <= 90)  ||// A-Z\r\n\t\t\t\t(c == '_'));\r\n\t}\r\n}\r\n\r\nstd::string ReplaceWordA(const std::string &str, const std::string &word, const std::string &replaceWith)\r\n{\r\n\tchar        currChar;\r\n\tchar        nextChar;\r\n\tstd::string currentWord;\r\n\tstd::string output;\r\n\r\n\toutput.reserve( str.length() * 2 );\r\n\r\n\tfor(size_t i=0; i<str.length(); i++) {\r\n\t\t// Look ahead\r\n\t\tif( str.length() > i + 1 ) {\r\n\t\t\tnextChar = str[i+1];\r\n\t\t} else {\r\n\t\t\t// we are at the end of buffer\r\n\t\t\tnextChar = '\\0';\r\n\t\t}\r\n\r\n\t\tcurrChar = str[i];\r\n\t\tif(!IsWordCharA( currChar, currentWord.length() )) {\r\n\t\t\toutput += str[i];\r\n\t\t\tcurrentWord.clear();\r\n\r\n\t\t} else {\r\n\r\n\t\t\tcurrentWord += currChar;\r\n\t\t\tif(IsWordCharA(nextChar, currentWord.length())) {\r\n\t\t\t\t// do nothing\r\n\r\n\t\t\t} else if( !IsWordCharA(nextChar, currentWord.length()) && currentWord == word ) {\r\n\t\t\t\toutput += replaceWith;\r\n\t\t\t\tcurrentWord.clear();\r\n\r\n\t\t\t} else {\r\n\t\t\t\toutput += currentWord;\r\n\t\t\t\tcurrentWord.clear();\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t}\r\n\treturn output;\r\n}\r\n\r\n// Helper string find metho\r\nwxString ReplaceWord(const wxString &str, const wxString &word, const wxString &replaceWith)\r\n{\r\n\twxString currChar;\r\n\twxString nextChar;\r\n\twxString currentWord;\r\n\twxString output;\r\n\tfor(size_t i=0; i<str.Length(); i++) {\r\n\t\t// Look ahead\r\n\t\tif( str.Length() > i + 1 ) {\r\n\t\t\tnextChar = str[i+1];\r\n\t\t} else {\r\n\t\t\t// we are at the end of buffer\r\n\t\t\tnextChar = wxT('\\0');\r\n\t\t}\r\n\r\n\t\tcurrChar = str[i];\r\n\t\tif(!IsWordChar( currChar, currentWord.Length() )) {\r\n\t\t\toutput << str[i];\r\n\t\t\tcurrentWord.Clear();\r\n\r\n\t\t} else {\r\n\r\n\t\t\tcurrentWord << currChar;\r\n\t\t\tif(IsWordChar(nextChar, currentWord.Length())) {\r\n\t\t\t\t// do nothing\r\n\r\n\t\t\t} else if( !IsWordChar(nextChar, currentWord.Length()) && currentWord == word ) {\r\n\t\t\t\toutput << replaceWith;\r\n\t\t\t\tcurrentWord.Clear();\r\n\r\n\t\t\t} else {\r\n\t\t\t\toutput << currentWord;\r\n\t\t\t\tcurrentWord.Clear();\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t}\r\n\treturn output;\r\n}\r\n\r\nwxArrayString TokenizeWords(const wxString &str)\r\n{\r\n\twxString currChar;\r\n\twxString nextChar;\r\n\twxString currentWord;\r\n\twxArrayString outputArr;\r\n\t\r\n\twxString::const_iterator iter = str.begin();\r\n\tfor(; iter != str.end(); iter++) {\r\n\t\t// Look ahead\r\n\t\tif( (iter + 1) != str.end() ) {\r\n\t\t\t nextChar = *(iter+1);\r\n\t\t} else {\r\n\t\t\t// we are at the end of buffer\r\n\t\t\tnextChar = wxT('\\0');\r\n\t\t}\r\n\r\n\t\tcurrChar = *iter;\r\n\t\tif(!IsWordChar( currChar, currentWord.Length() )) {\r\n\t\t\tcurrentWord.Clear();\r\n\r\n\t\t} else {\r\n\r\n\t\t\tcurrentWord << currChar;\r\n\t\t\tif(IsWordChar(nextChar, currentWord.Length())) {\r\n\t\t\t\t// do nothing\r\n\r\n\t\t\t} else {\r\n\r\n\t\t\t\toutputArr.Add(currentWord);\r\n\t\t\t\tcurrentWord.Clear();\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t}\r\n\treturn outputArr;\r\n}\r\n\r\nstatic PPTable* ms_instance = NULL;\r\n\t\r\nvoid PPToken::processArgs(const wxString &argsList)\r\n{\r\n\targs = wxStringTokenize(argsList, wxT(\",\"), wxTOKEN_STRTOK);\r\n\r\n\t// replace all occurances of 'arg' with %1, %2 etc\r\n\tfor(size_t i=0; i<args.GetCount(); i++) {\r\n\t\twxString replaceWith = wxString::Format(wxT(\"%%%d\"), (int)i);\r\n#if wxVERSION_NUMBER < 2900\r\n\t\treplacement = ReplaceWord(replacement, args.Item(i), replaceWith);\r\n#else\r\n\t\tstd::string res = ReplaceWordA(replacement.To8BitData().data(), args.Item(i).To8BitData().data(), replaceWith.To8BitData().data());\r\n\t\tif(res.empty()) {\r\n\t\t\treplacement.clear();\r\n\t\t\t\r\n\t\t} else {\r\n\t\t\treplacement = wxString::From8BitData(res.c_str());\r\n\t\t\t\r\n\t\t}\r\n#endif\r\n\t}\r\n}\r\n\r\nvoid PPToken::print(wxFFile &fp)\r\n{\r\n#if 0\r\n\twxString buff;\r\n\tbuff << wxT(\"Name          : \") << name << wxT(\"\\n\");\r\n\tbuff << wxT(\"replacement   : \") << replacement << wxT(\"\\n\");\r\n\tbuff << wxT(\"isFunctionLike: \") << isFunctionLike << wxT(\"\\n\");\r\n\tif(isFunctionLike) {\r\n\t\tfor(size_t i=0; i<args.size(); i++) {\r\n\t\t\tbuff << wxT(\"Arg: \") << args.Item(i) << wxT(\"\\n\");\r\n\t\t}\r\n\t}\r\n\tbuff << wxT(\" ---- \\n\");\r\n\tfp.Write(buff);\r\n#else\r\n\twxString buff;\r\n\tbuff << name << wxT(\"(\") << (flags & IsFunctionLike) << wxT(\")\") << wxT(\"=\") << replacement << wxT(\"\\n\");\r\n\tfp.Write(buff);\r\n#endif\r\n}\r\n\r\nwxString PPToken::fullname() const\r\n{\r\n\twxString fullname;\r\n\tfullname << name;\r\n\tif(flags & IsFunctionLike) {\r\n\t\tfullname << wxT(\"(\");\r\n\t\tfor(size_t i=0; i<args.size(); i++) {\r\n\t\t\tfullname << wxT(\"%\") << i << wxT(\",\");\r\n\t\t}\r\n\t\tif(args.size()) {\r\n\t\t\tfullname.RemoveLast();\r\n\t\t}\r\n\t\tfullname << wxT(\")\");\r\n\t}\r\n\treturn fullname;\r\n}\r\n\r\nvoid PPToken::squeeze()\r\n{\r\n\tstd::set<wxString> alreadyReplacedMacros;\r\n\r\n\t// perform the squeeze 5 times max\r\n\tfor(size_t count=0; count < 5; count++) {\r\n\t\tbool modified(false);\r\n\r\n\t\t// get list of possible macros in the replacement\r\n\t\twxArrayString tmpWords = TokenizeWords(replacement);\r\n\t\twxArrayString words;\r\n\r\n\t\t// make sure that a word is not been replaced more than once\r\n\t\t// this will avoid recursion\r\n\t\t// an example (taken from qglobal.h of the Qt library):\r\n\t\t//\r\n\t\t// #define qDebug QT_NO_QDEBUG_MACRO\r\n\t\t// #define QT_NO_QDEBUG_MACRO if(1); else qDebug\r\n\t\t//\r\n\t\tfor(size_t i=0; i<tmpWords.size(); i++) {\r\n\t\t\tif(alreadyReplacedMacros.find(tmpWords.Item(i)) == alreadyReplacedMacros.end()){\r\n\t\t\t\talreadyReplacedMacros.insert(tmpWords[i]);\r\n\t\t\t\twords.Add(tmpWords[i]);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tfor(size_t i=0; i<words.size(); i++) {\r\n\t\t\tPPToken tok = PPTable::Instance()->Token(words.Item(i));\r\n\t\t\tif(tok.flags & IsValid) {\r\n\t\t\t\tif(tok.flags & IsFunctionLike) {\r\n\t\t\t\t\tint where = replacement.Find(words.Item(i));\r\n\t\t\t\t\tif(where != wxNOT_FOUND) {\r\n\t\t\t\t\t\twxString      initList;\r\n\t\t\t\t\t\twxArrayString initListArr;\r\n\t\t\t\t\t\tif(readInitList( replacement, where + words.Item(i).Length(), initList, initListArr )) {\r\n\t\t\t\t\t\t\ttok.expandOnce(initListArr);\r\n\r\n\t\t\t\t\t\t\treplacement.Remove(where, words.Item(i).Length() + initList.Length());\r\n\t\t\t\t\t\t\ttok.replacement.Replace(wxT(\"##\"), wxT(\"\"));\r\n\t\t\t\t\t\t\treplacement.insert(where, tok.replacement);\r\n\t\t\t\t\t\t\tmodified = true;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\tif(replacement.Replace(words.Item(i), tok.replacement)) {\r\n\t\t\t\t\t\tmodified = true;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif(!modified)\r\n\t\t\tbreak;\r\n\t}\r\n\treplacement.Replace(wxT(\"##\"), wxT(\"\"));\r\n}\r\n\r\nbool PPToken::readInitList(const std::string& in, size_t from, std::string& initList, std::vector<std::string>& initListArr)\r\n{\r\n\tif(in.length() < from) {\r\n\t\treturn false;\r\n\t}\r\n\r\n\tstd::string tmpString = in.substr(from);\r\n\tsize_t      start     = tmpString.find('(');\r\n\tif(start == std::string::npos ) {\r\n\t\treturn false;\r\n\t}\r\n\r\n\t// skip the open brace\r\n\ttmpString = tmpString.substr(start+1);\r\n\r\n\tfor(size_t i=0; i<start; i++) {\r\n\t\tinitList += \" \";\r\n\t}\r\n\r\n\tinitList += \"(\";\r\n\tstd::string word;\r\n\tint depth(1);\r\n\r\n\tfor(size_t i=0; i<tmpString.length(); i++) {\r\n\t\tchar ch = tmpString[i];\r\n\t\tinitList += ch;\r\n\t\tswitch(ch) {\r\n\t\tcase ')':\r\n\t\t\tdepth --;\r\n\t\t\tif(depth == 0) {\r\n\t\t\t\tinitListArr.push_back(word);\r\n\t\t\t\treturn true;\r\n\t\t\t} else {\r\n\t\t\t\tword += ch;\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\t\tcase '(':\r\n\t\t\tdepth++;\r\n\t\t\tword += ch;\r\n\t\t\tbreak;\r\n\t\tcase ',':\r\n\t\t\tif(depth == 1) {\r\n\t\t\t\tinitListArr.push_back(word);\r\n\t\t\t\tword.clear();\r\n\t\t\t} else {\r\n\t\t\t\tword += ch;\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\tword += ch;\r\n\t\t\tbreak;\r\n\t\t}\r\n\t}\r\n\treturn false;\r\n}\r\n\r\nbool PPToken::readInitList(const wxString &in, int from, wxString& initList, wxArrayString& initListArr)\r\n{\r\n\tif((int)in.Length() < from) {\r\n\t\treturn false;\r\n\t}\r\n\r\n\twxString tmpString = in.Mid(from);\r\n\tint start = tmpString.Find(wxT(\"(\"));\r\n\tif(start == wxNOT_FOUND ) {\r\n\t\treturn false;\r\n\t}\r\n\ttmpString = tmpString.Mid(start+1);\r\n\r\n\tfor(size_t i=0; i<(size_t)start; i++) {\r\n\t\tinitList << wxT(\" \");\r\n\t}\r\n\r\n\tinitList << wxT(\"(\");\r\n\twxString word;\r\n\tint depth(1);\r\n\r\n\tfor(size_t i=0; i<tmpString.Length(); i++) {\r\n\t\twxChar ch = tmpString[i];\r\n\t\tinitList << ch;\r\n\t\tswitch(ch) {\r\n\t\tcase wxT(')'):\r\n\t\t\tdepth --;\r\n\t\t\tif(depth == 0) {\r\n\t\t\t\tinitListArr.Add(word);\r\n\t\t\t\treturn true;\r\n\t\t\t} else {\r\n\t\t\t\tword << ch;\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\t\tcase wxT('('):\r\n\t\t\tdepth++;\r\n\t\t\tword << ch;\r\n\t\t\tbreak;\r\n\t\tcase wxT(','):\r\n\t\t\tif(depth == 1) {\r\n\t\t\t\tinitListArr.Add(word);\r\n\t\t\t\tword.Clear();\r\n\t\t\t} else {\r\n\t\t\t\tword << ch;\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\tword << ch;\r\n\t\t\tbreak;\r\n\t\t}\r\n\t}\r\n\treturn false;\r\n}\r\n\r\nvoid PPToken::expandOnce(const wxArrayString& initList)\r\n{\r\n\tif(initList.size() != args.size())\r\n\t\treturn;\r\n\r\n\tfor(size_t i=0; i<args.size(); i++) {\r\n\t\twxString placeHolder;\r\n\t\tplaceHolder << wxT(\"%\") << i;\r\n\t\t\r\n\t\twxString replaceWith = initList.Item(i);\r\n\t\treplaceWith.Trim().Trim(false);\r\n\t\t\r\n\t\tif(replaceWith.Contains(placeHolder))\r\n\t\t\tcontinue;\r\n\t\t\r\n\t\treplacement.Replace(placeHolder, initList.Item(i));\r\n\t}\r\n}\r\n\r\nwxString PPToken::signature() const\r\n{\r\n\twxString sig;\r\n\tif(flags & IsFunctionLike) {\r\n\t\tsig << wxT(\"(\");\r\n\t\tfor(size_t i=0; i<args.size(); i++) {\r\n\t\t\tsig << wxT(\"%\") << i << wxT(\",\");\r\n\t\t}\r\n\t\tif(args.size()) {\r\n\t\t\tsig.RemoveLast();\r\n\t\t}\r\n\t\tsig << wxT(\")\");\r\n\t}\r\n\treturn sig;\r\n}\r\n\r\n///////////////////////////////////////////////////\r\n\r\nPPTable::PPTable()\r\n{\r\n}\r\n\r\nPPTable::~PPTable()\r\n{\r\n}\r\n\r\nPPTable* PPTable::Instance()\r\n{\r\n\tif(ms_instance == NULL) {\r\n\t\tms_instance = new PPTable();\r\n\t}\r\n\treturn ms_instance;\r\n}\r\n\r\nvoid PPTable::Release()\r\n{\r\n\tif(ms_instance) {\r\n\t\tdelete ms_instance;\r\n\t}\r\n\tms_instance = NULL;\r\n}\r\n\r\nPPToken PPTable::Token(const wxString& name)\r\n{\r\n\tstd::map<wxString, PPToken>::iterator iter = m_table.find(name);\r\n\tif(iter == m_table.end()) {\r\n\t\treturn PPToken();\r\n\t}\r\n\r\n\treturn iter->second;\r\n}\r\n\r\nvoid PPTable::Add(const PPToken& token)\r\n{\r\n\tif(token.name.IsEmpty())\r\n\t\treturn;\r\n\r\n\twxString name = token.name;\r\n\tname.Trim().Trim(false);\r\n\tstd::map<wxString, PPToken>::iterator iter = m_table.find(name);\r\n\tif(iter == m_table.end())\r\n\t\tm_table[name] = token;\r\n\telse {\r\n\t\t// if the new token's replacement is empty and the current one is NOT empty,\r\n\t\t// replace the two (we prefer empty replacements)\r\n\t\tif(iter->second.flags & PPToken::IsOverridable && !iter->second.replacement.IsEmpty() && token.replacement.IsEmpty()) {\r\n\t\t\tm_table[name] = token;\r\n\t\t}\r\n\t}\r\n}\r\n\r\nvoid PPTable::AddUsed(const wxString& name)\r\n{\r\n\tif(name.IsEmpty()) {\r\n\t\treturn;\r\n\t}\r\n\tm_namesUsed.insert(name);\r\n}\r\n\r\nvoid PPTable::Print(wxFFile &fp)\r\n{\r\n\tstd::map<wxString, PPToken>::iterator iter = m_table.begin();\r\n\tfor(; iter != m_table.end(); iter++) {\r\n\t\titer->second.print(fp);\r\n\t}\r\n}\r\n\r\nbool PPTable::Contains(const wxString& name)\r\n{\r\n\tstd::map<wxString, PPToken>::iterator iter = m_table.find(name);\r\n\treturn iter != m_table.end();\r\n}\r\n\r\nwxString PPTable::Export()\r\n{\r\n\twxString table;\r\n\tstd::map<wxString, PPToken>::iterator iter = m_table.begin();\r\n\tfor(; iter != m_table.end(); iter++) {\r\n\t\titer->second.squeeze();\r\n\t\twxString replacement = iter->second.replacement;\r\n\t\treplacement.Trim().Trim(false);\r\n\t\t\r\n\t\t// remove extra whitespaces\r\n\t\twhile(replacement.Replace(wxT(\"  \"), wxT(\" \"))){}\r\n\t\t\r\n\t\tif(replacement.IsEmpty()) {\r\n\t\t\ttable << iter->second.fullname() << wxT(\"\\n\");\r\n\r\n\t\t} else if(iter->second.flags & PPToken::IsFunctionLike) {\r\n\t\t\ttable << iter->second.fullname() << wxT(\"=\") << replacement << wxT(\"\\n\");\r\n\r\n\t\t} else {\r\n\t\t\t// macros with replacement but they are not in a form of a function\r\n\t\t\t// we take only macros that thier replacement is not a number\r\n\t\t\tlong v(-1);\r\n\t\t\tif(!replacement.ToLong(&v) && !replacement.ToLong(&v, 8) && !replacement.ToLong(&v, 16) && replacement.find(wxT('\"')) == wxString::npos && !replacement.StartsWith(wxT(\"0x\"))) {\r\n\t\t\t\ttable << iter->second.fullname() << wxT(\"=\") << replacement << wxT(\"\\n\");\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\treturn table;\r\n}\r\n\r\nvoid PPTable::Squeeze()\r\n{\r\n\tstd::map<wxString, PPToken>::iterator iter = m_table.begin();\r\n\tfor(; iter != m_table.end(); iter++) {\r\n\t\tm_table[iter->first].squeeze();\r\n\t}\r\n}\r\n\r\nvoid PPTable::Clear()\r\n{\r\n\tm_table.clear();\r\n}\r\n\r\nvoid PPTable::ClearNamesUsed()\r\n{\r\n\tm_namesUsed.clear();\r\n}\r\n\r\nbool CLReplacePattern(const wxString& in, const wxString& pattern, const wxString& replaceWith, wxString &outStr)\r\n{\r\n\tint where = pattern.Find(wxT(\"%0\"));\r\n\tif(where != wxNOT_FOUND) {\r\n\t\twxString replacement(replaceWith);\r\n\r\n\t\t// a patterened expression\r\n\t\twxString searchFor = pattern.BeforeFirst(wxT('('));\r\n\t\twhere = in.Find(searchFor);\r\n\t\tif(where == wxNOT_FOUND) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\twxString      initList;\r\n\t\twxArrayString initListArr;\r\n\t\tif(PPToken::readInitList(in, searchFor.Length() + where, initList, initListArr) == false)\r\n\t\t\treturn false;\r\n\r\n\t\toutStr = in;\r\n\t\t// update the 'replacement' with the actual values ( replace %0..%n)\r\n\t\tfor(size_t i=0; i<initListArr.size(); i++) {\r\n\t\t\twxString placeHolder;\r\n\t\t\tplaceHolder << wxT(\"%\") << i;\r\n\t\t\treplacement.Replace(placeHolder, initListArr.Item(i));\r\n\t\t}\r\n\r\n\t\toutStr.Remove(where, searchFor.Length() + initList.Length());\r\n\t\toutStr.insert(where, replacement);\r\n\t\treturn true;\r\n\r\n\t} else {\r\n\t\tif(in.Find(pattern) == wxNOT_FOUND) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t// simple replacement\r\n\t\toutStr = ReplaceWord(in, pattern, replaceWith);\r\n\t\treturn outStr != in;\r\n\t}\r\n}\r\n\r\nstd::string replacement;\r\n\r\nbool CLReplacePatternA(const std::string& in, const CLReplacement& repl, std::string& outStr)\r\n{\r\n\tif(repl.is_compound) {\r\n\t\tsize_t where = in.find(repl.searchFor);\r\n\t\tif(where == std::string::npos)\r\n\t\t\treturn false;\r\n\r\n\t\tstd::string              initList;\r\n\t\tstd::vector<std::string> initListArr;\r\n\t\tif(PPToken::readInitList(in, repl.searchFor.length() + where, initList, initListArr) == false)\r\n\t\t\treturn false;\r\n\r\n\t\t// update the 'replacement' with the actual values ( replace %0..%n)\r\n\t\treplacement = repl.replaceWith;\r\n\t\tchar placeHolder[4];\r\n\t\tfor(size_t i=0; i<initListArr.size(); i++) {\r\n\r\n            memset(placeHolder, 0, sizeof(placeHolder));\r\n            sprintf(placeHolder, \"%%%d\", (int)i);\r\n\r\n\t\t\tsize_t pos = replacement.find(placeHolder);\r\n\t\t\tconst std::string& init = initListArr[i];\r\n            while( pos != std::string::npos ) {\r\n\t\t\t\treplacement.replace(pos, strlen(placeHolder), init.c_str());\r\n\r\n\t\t\t\t// search for the next match\r\n                pos = replacement.find(placeHolder, pos + 1);\r\n            }\r\n\t\t}\r\n\r\n\t\toutStr = in;\r\n\t\twhere = outStr.find(repl.searchFor);\r\n\t\tif(where == std::string::npos)\r\n\t\t\treturn false;\r\n\r\n\t\toutStr.replace(where, repl.searchFor.length() + initList.length(), replacement);\r\n\t\treturn true;\r\n\r\n\t} else {\r\n\r\n\t\tsize_t where = in.find(repl.searchFor);\r\n\t\tif(where == std::string::npos) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\toutStr = ReplaceWordA(in, repl.searchFor, repl.replaceWith);\r\n\r\n//\t\toutStr = in;\r\n//\t\toutStr.replace(where, repl.searchFor.length(), repl.replaceWith);\r\n\r\n\t\t// simple replacement\r\n\t\treturn outStr != in;\r\n\t}\r\n}\r\n\r\nvoid CLReplacement::construct(const std::string& pattern, const std::string& replacement)\r\n{\r\n\tis_ok = true;\r\n\tfull_pattern = pattern;\r\n\tis_compound  = full_pattern.find(\"%0\") != std::string::npos;\r\n\tif(is_compound) {\r\n\t\t// a patterened expression\r\n\t\treplaceWith = replacement;\r\n\t\tsize_t where = pattern.find('(');\r\n\t\tif(where == std::string::npos) {\r\n\t\t\tis_ok = false;\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tsearchFor = pattern.substr(0, where);\r\n\t\tif(searchFor.empty()){\r\n\t\t\tis_ok = false;\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t} else {\r\n\t\t// simple Key=Value pair\r\n\t\treplaceWith = replacement;\r\n\t\tsearchFor   = full_pattern;\r\n\t}\r\n}\r\n\r\n"
  },
  {
    "path": "deps/cpplint/samples/codelite-sample/src/pptable.h",
    "content": "#ifndef PPTABLE_H\r\n#define PPTABLE_H\r\n\r\n#include <wx/arrstr.h>\r\n#include <map>\r\n#include <wx/ffile.h>\r\n#include <vector>\r\n#include <string>\r\n#include <list>\r\n#include <set>\r\n\r\n\r\n#ifndef WXDLLIMPEXP_CL\r\n\r\n#ifdef WXMAKINGDLL_CL\r\n#    define WXDLLIMPEXP_CL __declspec(dllexport)\r\n#elif defined(WXUSINGDLL_CL)\r\n#    define WXDLLIMPEXP_CL __declspec(dllimport)\r\n#else // not making nor using DLL\r\n#    define WXDLLIMPEXP_CL\r\n#endif\r\n\r\n#endif\r\n\r\n\r\nstruct WXDLLIMPEXP_CL CLReplacement {\r\n\tbool                        is_compound;\r\n\tbool                        is_ok;\r\n\tstd::string                 full_pattern;\r\n\tstd::string                 searchFor;\r\n\tstd::string                 replaceWith;\r\n\tvoid construct(const std::string& pattern, const std::string& replacement);\r\n};\r\n\r\ntypedef std::list<CLReplacement> CLReplacementList;\r\n\r\n/**\r\n * @brief perform search and replace using CL pattern\r\n * an example:\r\n * pattern=wx_dynamic_cast(%0, %1)\r\n * replacement=dynamic_cast<%0>(%1)\r\n * in=wx_dynamic_cast(wxApp*, ptr)->OnInit();\r\n *\r\n * the expected result is:\r\n * dynamic_cast<wxApp*>(ptr)->OnInit()\r\n *\r\n * It also supports simple search and replace\r\n */\r\nbool CLReplacePattern(const wxString &in, const wxString& pattern, const wxString& replacement, wxString &output);\r\n\r\n/**\r\n * @brief perform search and replace using CL pattern\r\n * an example:\r\n * pattern=wx_dynamic_cast(%0, %1)\r\n * replacement=dynamic_cast<%0>(%1)\r\n * in=wx_dynamic_cast(wxApp*, ptr)->OnInit();\r\n *\r\n * the expected result is:\r\n * dynamic_cast<wxApp*>(ptr)->OnInit()\r\n *\r\n * It also supports simple search and replace\r\n */\r\nbool CLReplacePatternA(const std::string& in, const CLReplacement& repl, std::string& outStr);\r\n\r\n/**\r\n * \r\n */\r\nstruct WXDLLIMPEXP_CL PPToken {\r\n\tenum {\r\n\t\tIsFunctionLike = 0x00000001,\r\n\t\tIsValid        = 0x00000002,\r\n\t\tIsOverridable  = 0x00000004\r\n\t};\r\n\r\n\tint             line;           // line where found\r\n\twxString        name;           // preprocessor name\r\n\twxString        replacement;    // un processed replacement\r\n\twxArrayString   args;           // for function like macros, contains the argument's names\r\n\tsize_t          flags;          // PP token flags\r\n\twxString        fileName;\r\n\r\n\tPPToken() : line(0), flags(IsOverridable)\r\n\t{}\r\n\r\n\t~PPToken()\r\n\t{}\r\n\r\n\tvoid expandOnce(const wxArrayString& initList);\r\n\tvoid processArgs(const wxString &argsList);\r\n\twxString signature() const;\r\n\tvoid print(wxFFile &fp);\r\n\tstatic bool readInitList(const wxString &in, int from, wxString& initList, wxArrayString &initListArr);\r\n\tstatic bool readInitList(const std::string &in, size_t from, std::string& initList, std::vector<std::string> &initListArr);\r\n\tvoid squeeze();\r\n\twxString fullname() const;\r\n\t\r\n};\r\n\r\nclass WXDLLIMPEXP_CL PPTable\r\n{\r\n\tstd::map<wxString, PPToken> m_table;\r\n\tstd::set<wxString>          m_namesUsed;\r\n\r\npublic:\r\n\tstatic PPTable* Instance();\r\n\tstatic void Release();\r\n\r\nprivate:\r\n\tPPTable();\r\n\t~PPTable();\r\n\r\npublic:\r\n\tPPToken   Token(const wxString &name);\r\n\tbool      Contains(const wxString &name);\r\n\tvoid      Add  (const PPToken& token);\r\n\tvoid      AddUsed(const wxString& name);\r\n\tvoid      Print(wxFFile &fp);\r\n\twxString  Export();\r\n\tvoid      Clear();\r\n\tvoid      ClearNamesUsed();\r\n\tvoid      Squeeze();\r\n\r\n\tconst std::map<wxString, PPToken>& GetTable() const {\r\n\t\treturn m_table;\r\n\t}\r\n\t\r\n\tconst std::set<wxString>& GetNamesUsed() const {\r\n\t\treturn m_namesUsed;\r\n\t}\r\n};\r\n#endif // PPTABLE_H\r\n"
  },
  {
    "path": "deps/cpplint/samples/protobuf-sample/LICENSE",
    "content": "Copyright 2008 Google Inc.  All rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n\n    * Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n    * Redistributions in binary form must reproduce the above\ncopyright notice, this list of conditions and the following disclaimer\nin the documentation and/or other materials provided with the\ndistribution.\n    * Neither the name of Google Inc. nor the names of its\ncontributors may be used to endorse or promote products derived from\nthis software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\nLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\nA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\nOWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\nDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\nTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\nCode generated by the Protocol Buffer compiler is owned by the owner\nof the input file used when generating it.  This code is not\nstandalone and requires a support library to be linked with it.  This\nsupport library is itself covered by the above license.\n\n"
  },
  {
    "path": "deps/cpplint/samples/protobuf-sample/README.md",
    "content": "# VLC sample\n\ncode taken for regression testing from https://github.com/protocolbuffers/protobuf\n"
  },
  {
    "path": "deps/cpplint/samples/protobuf-sample/simple.def",
    "content": "src/*\n1\n5\nDone processing src/descriptor.pb.cc\nDone processing src/descriptor.pb.h\nDone processing src/descriptor_unittest.cc\nTotal errors found: 2643\n\nsrc/descriptor.pb.cc:0:  No copyright message found.  You should have a line: \"Copyright [year] <Copyright Owner>\"  [legal/copyright] [5]\nsrc/descriptor.pb.cc:9:  Found C system header after C++ system header. Should be: descriptor.pb.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/descriptor.pb.cc:10:  Found C system header after C++ system header. Should be: descriptor.pb.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/descriptor.pb.cc:11:  Found C system header after C++ system header. Should be: descriptor.pb.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/descriptor.pb.cc:12:  Found C system header after C++ system header. Should be: descriptor.pb.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/descriptor.pb.cc:13:  Found C system header after C++ system header. Should be: descriptor.pb.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/descriptor.pb.cc:14:  Found C system header after C++ system header. Should be: descriptor.pb.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/descriptor.pb.cc:15:  Found C system header after C++ system header. Should be: descriptor.pb.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/descriptor.pb.cc:16:  Found C system header after C++ system header. Should be: descriptor.pb.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/descriptor.pb.cc:17:  Found C system header after C++ system header. Should be: descriptor.pb.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/descriptor.pb.cc:34:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:37:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:43:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:44:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:51:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:63:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:71:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:87:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:93:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:99:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:117:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:121:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:125:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:130:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:131:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:132:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:133:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:134:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:135:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:136:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:137:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:138:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:139:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:140:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:143:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:147:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:151:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:158:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:160:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:161:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:163:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:164:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:167:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:171:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:175:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:177:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:179:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:180:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:183:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:187:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:191:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:193:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:195:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:196:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:199:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:203:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:207:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:212:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:213:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:215:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:216:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:217:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:218:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:219:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:220:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:223:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:227:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:231:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:233:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:234:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:240:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:244:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:248:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:254:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:257:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:261:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:265:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:269:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:270:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:271:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:274:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:278:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:282:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:286:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:287:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:288:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:291:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:295:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:299:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:303:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:304:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:305:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:306:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:307:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:308:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:311:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:315:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:319:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:324:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:325:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:326:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:327:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:330:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:331:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:332:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:334:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:335:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:336:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:337:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:340:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:344:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:348:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:353:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:354:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:357:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:360:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:364:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:366:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:368:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:378:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:381:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:385:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:387:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:389:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:397:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:400:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:404:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:408:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:412:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:413:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:416:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:420:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:422:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:424:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:429:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:432:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:436:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:438:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:440:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:445:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:448:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:452:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:454:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:456:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:461:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:462:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:463:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:464:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:465:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:466:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:469:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:473:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:477:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:479:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:481:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:482:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:485:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:489:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:493:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:500:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:504:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:508:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:510:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:512:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:513:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:514:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:515:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:516:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:519:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:523:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:527:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:531:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:534:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:538:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:542:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:544:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:546:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:547:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:548:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:549:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:552:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:556:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:560:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:577:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:581:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:583:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:585:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:587:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:589:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:591:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:593:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:595:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:611:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:613:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:617:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:621:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:688:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:699:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:713:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:714:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:715:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:719:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:721:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:723:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:725:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:727:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:730:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:740:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:744:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:747:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:764:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:770:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:772:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:775:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:778:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:780:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:781:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:787:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:790:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:793:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:796:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:798:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:800:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:803:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:809:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:818:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:819:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:834:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:838:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:863:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:917:  If statement had no body and no else clause  [whitespace/empty_if_body] [4]\nsrc/descriptor.pb.cc:932:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:938:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:961:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:964:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:970:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1030:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1063:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/descriptor.pb.cc:1064:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1099:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/descriptor.pb.cc:1100:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1133:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1137:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1150:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1182:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1183:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1197:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1198:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1201:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1211:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1212:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1213:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1231:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1237:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1249:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1252:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1260:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1263:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1285:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1288:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1347:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1363:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1379:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1395:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1410:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1423:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1436:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1437:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1440:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1441:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1455:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1456:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1459:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1460:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1708:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1733:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\nsrc/descriptor.pb.cc:1756:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\nsrc/descriptor.pb.cc:1831:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/descriptor.pb.cc:1832:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1856:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1860:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1865:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1868:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1872:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1895:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/descriptor.pb.cc:1896:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1897:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1898:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1899:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1950:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1953:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:1955:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1957:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:1959:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1962:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:1964:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1967:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:1973:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:1976:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1978:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:1981:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:1983:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:1989:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2004:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2007:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2009:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2011:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2013:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2016:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2018:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2021:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2023:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2027:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2030:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2032:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2035:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2037:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2043:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2054:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2058:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2062:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2062:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2066:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2070:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2070:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2075:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2079:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2083:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2087:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2091:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2096:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2109:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2109:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2113:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2113:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2117:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2117:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2121:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2126:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2139:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2139:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2143:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2143:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2147:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2147:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2151:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2156:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2169:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2173:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2186:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2199:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2203:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2216:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2229:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2233:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2241:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2246:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2259:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2263:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2271:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2276:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2315:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2337:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2340:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2342:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2344:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2352:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2359:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2381:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2384:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2386:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2388:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2390:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2393:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2395:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2398:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2400:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2404:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2407:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2409:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2412:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2414:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:2420:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2442:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2463:  If statement had no body and no else clause  [whitespace/empty_if_body] [4]\nsrc/descriptor.pb.cc:2472:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2477:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2478:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2482:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2484:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2502:  Are you taking an address of something dereferenced from a cast?  Wrapping the dereferenced expression in parentheses will make the binding more obvious  [readability/casting] [4]\nsrc/descriptor.pb.cc:2506:  Missing space after ,  [whitespace/comma] [3]\nsrc/descriptor.pb.cc:2527:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2530:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2535:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2550:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2587:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2592:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2602:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2607:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2612:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2616:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2641:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\nsrc/descriptor.pb.cc:2654:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2657:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/descriptor.pb.cc:2658:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2669:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2685:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2692:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2700:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/descriptor.pb.cc:2704:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2708:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2716:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2741:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2762:  If statement had no body and no else clause  [whitespace/empty_if_body] [4]\nsrc/descriptor.pb.cc:2771:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2776:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2777:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2781:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2783:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2801:  Are you taking an address of something dereferenced from a cast?  Wrapping the dereferenced expression in parentheses will make the binding more obvious  [readability/casting] [4]\nsrc/descriptor.pb.cc:2805:  Missing space after ,  [whitespace/comma] [3]\nsrc/descriptor.pb.cc:2826:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2829:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2834:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2849:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2886:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2891:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2901:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2906:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2911:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2915:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2940:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\nsrc/descriptor.pb.cc:2953:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2956:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/descriptor.pb.cc:2957:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2968:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2984:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2991:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:2999:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/descriptor.pb.cc:3007:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3015:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3046:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3060:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3071:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3088:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3106:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3109:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3132:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3135:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3158:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3174:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3190:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3201:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3206:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3222:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3237:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3252:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3263:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3268:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3351:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3433:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3479:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3504:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\nsrc/descriptor.pb.cc:3538:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3583:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/descriptor.pb.cc:3584:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3609:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3612:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3635:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/descriptor.pb.cc:3636:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3637:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3638:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3639:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3691:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:3695:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:3695:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3715:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:3719:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:3743:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:3747:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:3747:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3767:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:3771:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:3792:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3795:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:3797:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3799:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:3801:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3804:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:3806:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3809:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:3815:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:3818:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3820:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:3823:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3825:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:3831:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3842:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3846:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3854:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3859:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3872:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3876:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3884:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3889:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3902:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3906:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3919:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3932:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3936:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3949:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3962:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3966:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3970:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3974:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3979:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3992:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:3996:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4004:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4009:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4048:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4066:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4070:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4074:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4078:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4083:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4096:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:4100:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:4104:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:4104:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4108:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:4112:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:4112:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4117:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:4121:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:4125:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:4129:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:4133:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:4138:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:4148:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4153:  Missing space before ( in switch(  [whitespace/parens] [5]\nsrc/descriptor.pb.cc:4201:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4206:  Missing space before ( in switch(  [whitespace/parens] [5]\nsrc/descriptor.pb.cc:4244:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4258:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4262:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4263:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4264:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4266:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4277:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4278:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4279:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4280:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4281:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4298:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4304:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4316:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4322:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4325:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4328:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4334:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4352:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4355:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4394:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4410:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4413:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4430:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4433:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4482:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4496:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4570:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4613:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4633:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4660:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4706:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4721:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4786:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\nsrc/descriptor.pb.cc:4802:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\nsrc/descriptor.pb.cc:4818:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/descriptor.pb.cc:4819:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4836:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4849:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4853:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4857:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4866:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4869:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4892:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/descriptor.pb.cc:4941:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4944:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:4946:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4948:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:4950:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4953:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:4955:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4958:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:4964:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:4967:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4969:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:4972:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4974:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:4980:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:4998:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5002:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5022:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5022:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5026:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5026:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5047:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5047:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5051:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5051:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5069:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5072:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5074:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5076:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5078:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5081:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5083:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5086:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5088:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5092:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5095:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5097:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5100:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5102:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5108:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5123:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5126:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5128:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5130:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5132:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5135:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5137:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5140:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5142:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5146:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5149:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5151:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5154:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5156:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5162:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5177:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5180:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5182:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5184:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5186:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5189:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5191:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5194:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5196:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5200:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5203:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5205:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5208:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5210:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5210:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5216:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5234:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5238:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5255:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5258:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5260:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5262:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5264:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5267:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5269:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5272:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5274:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5278:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5281:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5283:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5286:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5288:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5294:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5331:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5370:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5380:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5381:  If statement had no body and no else clause  [whitespace/empty_if_body] [4]\nsrc/descriptor.pb.cc:5396:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5402:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5413:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5427:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5430:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5489:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5504:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5536:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/descriptor.pb.cc:5537:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5554:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5577:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/descriptor.pb.cc:5614:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5617:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5619:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5621:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5623:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5626:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5628:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5631:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5637:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5640:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5642:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5645:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5647:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:5653:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5674:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5688:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5699:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5716:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5722:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5734:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5753:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5756:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5779:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5794:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5886:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5911:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\nsrc/descriptor.pb.cc:5935:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/descriptor.pb.cc:5936:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5954:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5957:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5980:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/descriptor.pb.cc:5981:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6023:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6026:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:6028:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6030:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:6032:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6035:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:6037:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6040:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:6046:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:6049:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6051:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:6054:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6056:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:6062:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6073:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6077:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6085:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6090:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6129:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6157:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6160:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6171:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6183:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6200:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6206:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6218:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6222:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6237:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6240:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6262:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6276:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6322:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6338:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6354:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6365:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6397:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\nsrc/descriptor.pb.cc:6410:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6413:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/descriptor.pb.cc:6414:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6431:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6437:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6445:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6460:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/descriptor.pb.cc:6502:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6505:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:6507:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6509:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:6511:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6514:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:6516:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6519:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:6525:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:6528:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6530:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:6533:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6535:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:6541:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6559:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:6563:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:6583:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6587:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6595:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6602:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6630:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6633:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6644:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6655:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6672:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6678:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6690:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6693:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6709:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6712:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6735:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6750:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6813:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6842:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6867:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\nsrc/descriptor.pb.cc:6888:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6891:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/descriptor.pb.cc:6892:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6910:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6913:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6936:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/descriptor.pb.cc:6937:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6979:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6982:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:6984:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6986:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:6988:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6991:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:6993:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:6996:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7002:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7005:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7007:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7010:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7012:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7018:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7029:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7033:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7037:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7041:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7046:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7066:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7085:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7116:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7130:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7131:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7132:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7145:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7146:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7147:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7164:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7170:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7188:  Are you taking an address of something dereferenced from a cast?  Wrapping the dereferenced expression in parentheses will make the binding more obvious  [readability/casting] [4]\nsrc/descriptor.pb.cc:7192:  Missing space after ,  [whitespace/comma] [3]\nsrc/descriptor.pb.cc:7199:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7202:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7205:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7208:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7227:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7230:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7285:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7299:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7314:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7387:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7392:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7402:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7447:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7452:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7456:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7505:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\nsrc/descriptor.pb.cc:7521:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/descriptor.pb.cc:7522:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7539:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7543:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7547:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7550:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7579:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/descriptor.pb.cc:7624:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7627:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7629:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7631:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7633:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7636:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7638:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7641:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7647:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7650:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7652:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7655:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7657:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7663:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7678:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7681:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7683:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7685:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7687:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7690:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7692:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7695:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7697:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7701:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7704:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7706:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7709:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7711:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7711:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7717:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7732:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7735:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7737:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7739:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7741:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7744:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7746:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7749:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7751:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7755:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7758:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7760:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7763:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7765:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7765:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7771:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7789:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7808:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7833:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7837:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7857:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7861:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:7871:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7876:  Missing space before ( in switch(  [whitespace/parens] [5]\nsrc/descriptor.pb.cc:7932:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7933:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7938:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7944:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7945:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7955:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7956:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7957:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7958:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7959:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:7960:  If statement had no body and no else clause  [whitespace/empty_if_body] [4]\nsrc/descriptor.pb.cc:7975:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8000:  Are you taking an address of something dereferenced from a cast?  Wrapping the dereferenced expression in parentheses will make the binding more obvious  [readability/casting] [4]\nsrc/descriptor.pb.cc:8004:  Missing space after ,  [whitespace/comma] [3]\nsrc/descriptor.pb.cc:8011:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8014:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8018:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8024:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8027:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8047:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8050:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8074:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8084:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8090:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8093:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8109:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8141:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8156:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8171:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8186:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8201:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8216:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8231:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8248:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8275:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8281:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8335:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8342:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8350:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8365:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8370:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8375:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8380:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8385:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8390:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8395:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8452:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8460:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8468:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8484:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8489:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8494:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8499:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8504:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8509:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8514:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8551:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8592:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8595:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8609:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\nsrc/descriptor.pb.cc:8645:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\nsrc/descriptor.pb.cc:8671:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/descriptor.pb.cc:8690:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8694:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8710:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8731:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8735:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8759:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/descriptor.pb.cc:8760:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8762:  If/else bodies with multiple statements require braces  [readability/braces] [4]\nsrc/descriptor.pb.cc:8773:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8813:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8816:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:8818:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8820:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:8822:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8825:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:8827:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8830:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:8832:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8836:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:8839:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8841:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:8844:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8846:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:8852:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8867:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8870:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:8872:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8874:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:8876:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8879:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:8881:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8884:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:8886:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8890:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:8893:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8895:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:8898:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8900:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:8900:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8906:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8924:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:8928:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:8948:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:8952:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:8972:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:8976:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:8982:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8996:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:8996:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:8998:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9000:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9000:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9018:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9021:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9023:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9025:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9027:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9030:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9032:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9035:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9037:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9041:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9044:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9046:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9049:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9051:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9057:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9075:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9079:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9099:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9103:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9123:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9127:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9147:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9151:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9171:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9175:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9192:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9195:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9197:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9199:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9201:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9204:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9206:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9209:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9211:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9215:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9218:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9220:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9223:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9225:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9225:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9231:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9246:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9249:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9251:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9253:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9255:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9258:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9260:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9263:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9265:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9269:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9272:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9274:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9277:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9279:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9279:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9285:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9296:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9300:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9304:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9313:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9363:  If statement had no body and no else clause  [whitespace/empty_if_body] [4]\nsrc/descriptor.pb.cc:9378:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9403:  Are you taking an address of something dereferenced from a cast?  Wrapping the dereferenced expression in parentheses will make the binding more obvious  [readability/casting] [4]\nsrc/descriptor.pb.cc:9407:  Missing space after ,  [whitespace/comma] [3]\nsrc/descriptor.pb.cc:9429:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9432:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9437:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9452:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9467:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9482:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9492:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9498:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9541:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9546:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9551:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9556:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9581:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9586:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9591:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9596:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9611:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9642:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\nsrc/descriptor.pb.cc:9668:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/descriptor.pb.cc:9669:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9689:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9719:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/descriptor.pb.cc:9720:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9722:  If/else bodies with multiple statements require braces  [readability/braces] [4]\nsrc/descriptor.pb.cc:9731:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9766:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9770:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9790:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9794:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9814:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9818:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9838:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9842:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:9855:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9859:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9863:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9872:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:9887:  Missing space before ( in switch(  [whitespace/parens] [5]\nsrc/descriptor.pb.cc:9910:  Missing space before ( in switch(  [whitespace/parens] [5]\nsrc/descriptor.pb.cc:9972:  If statement had no body and no else clause  [whitespace/empty_if_body] [4]\nsrc/descriptor.pb.cc:9987:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10012:  Are you taking an address of something dereferenced from a cast?  Wrapping the dereferenced expression in parentheses will make the binding more obvious  [readability/casting] [4]\nsrc/descriptor.pb.cc:10016:  Missing space after ,  [whitespace/comma] [3]\nsrc/descriptor.pb.cc:10041:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10044:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10045:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10050:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10053:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10069:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10084:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10099:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10109:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10115:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10118:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10134:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10144:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10150:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10199:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10204:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10209:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10212:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10220:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10251:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10256:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10261:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10264:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10272:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10287:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10299:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10310:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10330:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\nsrc/descriptor.pb.cc:10356:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/descriptor.pb.cc:10413:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/descriptor.pb.cc:10414:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10416:  If/else bodies with multiple statements require braces  [readability/braces] [4]\nsrc/descriptor.pb.cc:10462:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:10466:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:10487:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:10491:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:10497:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10511:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:10515:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:10536:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:10540:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:10560:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:10564:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:10584:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:10588:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:10601:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10605:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10609:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10618:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10664:  If statement had no body and no else clause  [whitespace/empty_if_body] [4]\nsrc/descriptor.pb.cc:10679:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10704:  Are you taking an address of something dereferenced from a cast?  Wrapping the dereferenced expression in parentheses will make the binding more obvious  [readability/casting] [4]\nsrc/descriptor.pb.cc:10708:  Missing space after ,  [whitespace/comma] [3]\nsrc/descriptor.pb.cc:10730:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10733:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10738:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10753:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10763:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10769:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10812:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10817:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10842:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10847:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10862:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10883:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\nsrc/descriptor.pb.cc:10909:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/descriptor.pb.cc:10954:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/descriptor.pb.cc:10955:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:10957:  If/else bodies with multiple statements require braces  [readability/braces] [4]\nsrc/descriptor.pb.cc:10999:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:11003:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:11023:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:11027:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:11040:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11044:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11048:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11057:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11101:  If statement had no body and no else clause  [whitespace/empty_if_body] [4]\nsrc/descriptor.pb.cc:11116:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11122:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11147:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11150:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11155:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11165:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11171:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11214:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11239:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11254:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11294:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/descriptor.pb.cc:11295:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11336:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/descriptor.pb.cc:11337:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11339:  If/else bodies with multiple statements require braces  [readability/braces] [4]\nsrc/descriptor.pb.cc:11380:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:11384:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:11397:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11401:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11405:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11414:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11458:  If statement had no body and no else clause  [whitespace/empty_if_body] [4]\nsrc/descriptor.pb.cc:11473:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11504:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11507:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11512:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11522:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11528:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11571:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11596:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11611:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11651:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/descriptor.pb.cc:11652:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11693:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/descriptor.pb.cc:11694:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11696:  If/else bodies with multiple statements require braces  [readability/braces] [4]\nsrc/descriptor.pb.cc:11737:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:11741:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:11754:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11758:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11762:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11771:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11815:  If statement had no body and no else clause  [whitespace/empty_if_body] [4]\nsrc/descriptor.pb.cc:11830:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11861:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11864:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11869:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11879:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11885:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11928:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11953:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:11968:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12008:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/descriptor.pb.cc:12050:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/descriptor.pb.cc:12051:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12053:  If/else bodies with multiple statements require braces  [readability/braces] [4]\nsrc/descriptor.pb.cc:12094:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:12098:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:12111:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12115:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12119:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12128:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12152:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12163:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12174:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12175:  If statement had no body and no else clause  [whitespace/empty_if_body] [4]\nsrc/descriptor.pb.cc:12184:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12189:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12190:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12194:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12196:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12208:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12224:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12227:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12249:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12296:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12306:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12322:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12326:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12355:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12378:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12381:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/descriptor.pb.cc:12382:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12393:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12399:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12410:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12417:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12434:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12483:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12487:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12488:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12498:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12499:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12500:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12501:  If statement had no body and no else clause  [whitespace/empty_if_body] [4]\nsrc/descriptor.pb.cc:12516:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12522:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12540:  Are you taking an address of something dereferenced from a cast?  Wrapping the dereferenced expression in parentheses will make the binding more obvious  [readability/casting] [4]\nsrc/descriptor.pb.cc:12544:  Missing space after ,  [whitespace/comma] [3]\nsrc/descriptor.pb.cc:12551:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12554:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12557:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12577:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12580:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12586:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12619:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12634:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12649:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12732:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12737:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12742:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12791:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12796:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12801:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12823:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12874:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\nsrc/descriptor.pb.cc:12898:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/descriptor.pb.cc:12899:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12917:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12930:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12934:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:12957:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/descriptor.pb.cc:12958:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13001:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13004:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13006:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13008:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13010:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13013:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13015:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13018:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13018:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13020:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13024:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13027:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13029:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13032:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13034:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13034:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13040:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13058:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13062:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13079:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13083:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13087:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13091:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13096:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13113:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13116:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13118:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13120:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13122:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13125:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13127:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13130:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13130:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13132:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13136:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13139:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13141:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13144:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13146:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13146:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13152:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13170:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13174:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13174:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13194:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13198:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13198:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13218:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13222:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13239:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13242:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13244:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13246:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13248:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13251:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13253:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13256:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13258:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13262:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13265:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13267:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13270:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13272:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13272:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13278:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13293:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13296:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13298:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13300:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13302:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13305:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13307:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13310:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13312:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13316:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13319:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13321:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13324:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13326:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:13326:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13332:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13357:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13368:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13369:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13379:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13380:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13381:  If statement had no body and no else clause  [whitespace/empty_if_body] [4]\nsrc/descriptor.pb.cc:13396:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13402:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13414:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13417:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13435:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13438:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13442:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13443:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13446:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13447:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13460:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13461:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13464:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13465:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13498:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13515:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13516:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13518:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13554:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13564:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13595:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13609:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13665:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13673:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13698:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\nsrc/descriptor.pb.cc:13752:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13755:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/descriptor.pb.cc:13756:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13776:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13780:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13788:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13803:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/descriptor.pb.cc:13816:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13865:  If statement had no body and no else clause  [whitespace/empty_if_body] [4]\nsrc/descriptor.pb.cc:13880:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13909:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13912:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13918:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:13978:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14011:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/descriptor.pb.cc:14012:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14047:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/descriptor.pb.cc:14080:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14084:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14084:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14088:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14092:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14097:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14110:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14114:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14114:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14118:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14122:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14127:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14144:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14147:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14149:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14151:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14151:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14153:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14156:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14158:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14161:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14161:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14163:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14167:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14170:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14172:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14175:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14177:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14177:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14183:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14198:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14201:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14203:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14205:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14205:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14207:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14210:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14212:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14215:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14215:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14217:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14221:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14224:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14226:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14229:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14231:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14231:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14237:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14248:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14248:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14252:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14252:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14256:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14256:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14260:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14260:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14264:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14264:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14269:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14273:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14273:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14277:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14277:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14281:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14281:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14282:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14285:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14290:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:14307:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14311:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14319:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14324:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14350:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14361:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14373:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14374:  If statement had no body and no else clause  [whitespace/empty_if_body] [4]\nsrc/descriptor.pb.cc:14383:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14388:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14389:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14393:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14395:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14413:  Are you taking an address of something dereferenced from a cast?  Wrapping the dereferenced expression in parentheses will make the binding more obvious  [readability/casting] [4]\nsrc/descriptor.pb.cc:14417:  Missing space after ,  [whitespace/comma] [3]\nsrc/descriptor.pb.cc:14424:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14444:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14447:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14451:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14452:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14455:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14456:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14487:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14502:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14539:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14559:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14564:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14574:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14604:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14609:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14613:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14645:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\nsrc/descriptor.pb.cc:14675:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14678:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/descriptor.pb.cc:14679:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14690:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14697:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14711:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14718:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14726:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/descriptor.pb.cc:14734:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14787:  If statement had no body and no else clause  [whitespace/empty_if_body] [4]\nsrc/descriptor.pb.cc:14802:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14808:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14831:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14834:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14840:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14900:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14933:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/descriptor.pb.cc:14934:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:14969:  Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line] [2]\nsrc/descriptor.pb.cc:15002:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:15006:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:15006:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:15010:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:15014:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:15019:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:15036:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:15039:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:15041:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:15043:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:15043:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:15045:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:15048:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:15050:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:15053:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:15053:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:15055:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:15059:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:15062:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:15064:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:15067:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:15069:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:15069:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:15075:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:15093:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:15097:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:15117:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:15121:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor.pb.cc:15138:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:15142:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:15146:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:15150:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:15155:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.cc:5:  samples/protobuf-sample/src/descriptor.pb.cc should include its header file samples/protobuf-sample/src/descriptor.pb.h  [build/include] [5]\nsrc/descriptor.pb.h:0:  No copyright message found.  You should have a line: \"Copyright [year] <Copyright Owner>\"  [legal/copyright] [5]\nsrc/descriptor.pb.h:4:  #ifndef header guard has wrong style, please use: SAMPLES_PROTOBUF_SAMPLE_SRC_DESCRIPTOR_PB_H_  [build/header_guard] [5]\nsrc/descriptor.pb.h:7714:  #endif line should be \"#endif  // SAMPLES_PROTOBUF_SAMPLE_SRC_DESCRIPTOR_PB_H_\"  [build/header_guard] [5]\nsrc/descriptor.pb.h:9:  Found C system header after C++ system header. Should be: descriptor.pb.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/descriptor.pb.h:37:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:87:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:88:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:89:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:91:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:92:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:98:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:107:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:108:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:109:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:111:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:112:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:118:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:127:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:128:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:129:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:131:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:132:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:147:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:148:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:151:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:167:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:168:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:169:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:171:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:172:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:183:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:225:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:227:  private: should be indented +1 space inside class FileDescriptorSet  [whitespace/indent] [3]\nsrc/descriptor.pb.h:227:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:232:  private: should be indented +1 space inside class FileDescriptorSet  [whitespace/indent] [3]\nsrc/descriptor.pb.h:232:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:239:  public: should be indented +1 space inside class FileDescriptorSet  [whitespace/indent] [3]\nsrc/descriptor.pb.h:239:  \"public:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:240:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:254:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:256:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:261:  Do not leave a blank line after \"private:\"  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:265:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:266:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:275:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:317:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:319:  private: should be indented +1 space inside class FileDescriptorProto  [whitespace/indent] [3]\nsrc/descriptor.pb.h:319:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:324:  private: should be indented +1 space inside class FileDescriptorProto  [whitespace/indent] [3]\nsrc/descriptor.pb.h:324:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:331:  public: should be indented +1 space inside class FileDescriptorProto  [whitespace/indent] [3]\nsrc/descriptor.pb.h:331:  \"public:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:332:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:376:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:412:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:422:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:424:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:434:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:436:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:446:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:448:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:467:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:500:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:501:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:502:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:503:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:504:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:505:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:509:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:518:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:525:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:560:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:562:  private: should be indented +1 space inside class DescriptorProto_ExtensionRange  [whitespace/indent] [3]\nsrc/descriptor.pb.h:562:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:567:  private: should be indented +1 space inside class DescriptorProto_ExtensionRange  [whitespace/indent] [3]\nsrc/descriptor.pb.h:567:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:574:  public: should be indented +1 space inside class DescriptorProto_ExtensionRange  [whitespace/indent] [3]\nsrc/descriptor.pb.h:574:  \"public:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:575:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:608:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:617:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:624:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:659:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:661:  private: should be indented +1 space inside class DescriptorProto_ReservedRange  [whitespace/indent] [3]\nsrc/descriptor.pb.h:661:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:666:  private: should be indented +1 space inside class DescriptorProto_ReservedRange  [whitespace/indent] [3]\nsrc/descriptor.pb.h:666:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:673:  public: should be indented +1 space inside class DescriptorProto_ReservedRange  [whitespace/indent] [3]\nsrc/descriptor.pb.h:673:  \"public:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:674:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:707:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:758:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:760:  private: should be indented +1 space inside class DescriptorProto  [whitespace/indent] [3]\nsrc/descriptor.pb.h:760:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:765:  private: should be indented +1 space inside class DescriptorProto  [whitespace/indent] [3]\nsrc/descriptor.pb.h:765:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:772:  public: should be indented +1 space inside class DescriptorProto  [whitespace/indent] [3]\nsrc/descriptor.pb.h:772:  \"public:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:773:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:802:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:804:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:814:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:816:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:828:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:838:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:840:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:843:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:847:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:848:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:850:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:852:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:862:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:864:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:880:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:881:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:883:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:885:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:901:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:915:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:916:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:917:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:918:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:919:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:920:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:922:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:924:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:933:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:975:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:977:  private: should be indented +1 space inside class FieldDescriptorProto  [whitespace/indent] [3]\nsrc/descriptor.pb.h:977:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:982:  private: should be indented +1 space inside class FieldDescriptorProto  [whitespace/indent] [3]\nsrc/descriptor.pb.h:982:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:989:  public: should be indented +1 space inside class FieldDescriptorProto  [whitespace/indent] [3]\nsrc/descriptor.pb.h:989:  \"public:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:990:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:1216:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:1225:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:1267:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:1269:  private: should be indented +1 space inside class OneofDescriptorProto  [whitespace/indent] [3]\nsrc/descriptor.pb.h:1269:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:1274:  private: should be indented +1 space inside class OneofDescriptorProto  [whitespace/indent] [3]\nsrc/descriptor.pb.h:1274:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:1281:  public: should be indented +1 space inside class OneofDescriptorProto  [whitespace/indent] [3]\nsrc/descriptor.pb.h:1281:  \"public:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:1282:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:1310:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:1319:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:1361:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:1363:  private: should be indented +1 space inside class EnumDescriptorProto  [whitespace/indent] [3]\nsrc/descriptor.pb.h:1363:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:1368:  private: should be indented +1 space inside class EnumDescriptorProto  [whitespace/indent] [3]\nsrc/descriptor.pb.h:1368:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:1375:  public: should be indented +1 space inside class EnumDescriptorProto  [whitespace/indent] [3]\nsrc/descriptor.pb.h:1375:  \"public:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:1376:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:1402:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:1404:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:1427:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:1429:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:1438:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:1445:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:1480:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:1482:  private: should be indented +1 space inside class EnumValueDescriptorProto  [whitespace/indent] [3]\nsrc/descriptor.pb.h:1482:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:1487:  private: should be indented +1 space inside class EnumValueDescriptorProto  [whitespace/indent] [3]\nsrc/descriptor.pb.h:1487:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:1494:  public: should be indented +1 space inside class EnumValueDescriptorProto  [whitespace/indent] [3]\nsrc/descriptor.pb.h:1494:  \"public:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:1495:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:1545:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:1554:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:1596:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:1598:  private: should be indented +1 space inside class ServiceDescriptorProto  [whitespace/indent] [3]\nsrc/descriptor.pb.h:1598:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:1603:  private: should be indented +1 space inside class ServiceDescriptorProto  [whitespace/indent] [3]\nsrc/descriptor.pb.h:1603:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:1610:  public: should be indented +1 space inside class ServiceDescriptorProto  [whitespace/indent] [3]\nsrc/descriptor.pb.h:1610:  \"public:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:1611:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:1637:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:1639:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:1662:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:1664:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:1673:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:1715:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:1717:  private: should be indented +1 space inside class MethodDescriptorProto  [whitespace/indent] [3]\nsrc/descriptor.pb.h:1717:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:1722:  private: should be indented +1 space inside class MethodDescriptorProto  [whitespace/indent] [3]\nsrc/descriptor.pb.h:1722:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:1729:  public: should be indented +1 space inside class MethodDescriptorProto  [whitespace/indent] [3]\nsrc/descriptor.pb.h:1729:  \"public:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:1730:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:1820:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:1871:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:1873:  private: should be indented +1 space inside class FileOptions  [whitespace/indent] [3]\nsrc/descriptor.pb.h:1873:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:1878:  private: should be indented +1 space inside class FileOptions  [whitespace/indent] [3]\nsrc/descriptor.pb.h:1878:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:1885:  public: should be indented +1 space inside class FileOptions  [whitespace/indent] [3]\nsrc/descriptor.pb.h:1885:  \"public:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:1886:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:1966:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2048:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2049:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2051:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2053:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2103:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2108:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2159:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2161:  private: should be indented +1 space inside class MessageOptions  [whitespace/indent] [3]\nsrc/descriptor.pb.h:2161:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2166:  private: should be indented +1 space inside class MessageOptions  [whitespace/indent] [3]\nsrc/descriptor.pb.h:2166:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2173:  public: should be indented +1 space inside class MessageOptions  [whitespace/indent] [3]\nsrc/descriptor.pb.h:2173:  \"public:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2174:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2213:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2214:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2216:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2218:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2238:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2243:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2294:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2296:  private: should be indented +1 space inside class FieldOptions  [whitespace/indent] [3]\nsrc/descriptor.pb.h:2296:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2301:  private: should be indented +1 space inside class FieldOptions  [whitespace/indent] [3]\nsrc/descriptor.pb.h:2301:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2308:  public: should be indented +1 space inside class FieldOptions  [whitespace/indent] [3]\nsrc/descriptor.pb.h:2308:  \"public:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2309:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2386:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2418:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2419:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2421:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2423:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2449:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2454:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2505:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2507:  private: should be indented +1 space inside class EnumOptions  [whitespace/indent] [3]\nsrc/descriptor.pb.h:2507:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2512:  private: should be indented +1 space inside class EnumOptions  [whitespace/indent] [3]\nsrc/descriptor.pb.h:2512:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2519:  public: should be indented +1 space inside class EnumOptions  [whitespace/indent] [3]\nsrc/descriptor.pb.h:2519:  \"public:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2520:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2545:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2546:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2548:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2550:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2566:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2569:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2620:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2622:  private: should be indented +1 space inside class EnumValueOptions  [whitespace/indent] [3]\nsrc/descriptor.pb.h:2622:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2627:  private: should be indented +1 space inside class EnumValueOptions  [whitespace/indent] [3]\nsrc/descriptor.pb.h:2627:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2634:  public: should be indented +1 space inside class EnumValueOptions  [whitespace/indent] [3]\nsrc/descriptor.pb.h:2634:  \"public:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2635:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2653:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2654:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2656:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2658:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2672:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2674:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2725:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2727:  private: should be indented +1 space inside class ServiceOptions  [whitespace/indent] [3]\nsrc/descriptor.pb.h:2727:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2732:  private: should be indented +1 space inside class ServiceOptions  [whitespace/indent] [3]\nsrc/descriptor.pb.h:2732:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2739:  public: should be indented +1 space inside class ServiceOptions  [whitespace/indent] [3]\nsrc/descriptor.pb.h:2739:  \"public:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2740:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2758:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2759:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2761:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2763:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2777:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2779:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2830:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2832:  private: should be indented +1 space inside class MethodOptions  [whitespace/indent] [3]\nsrc/descriptor.pb.h:2832:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2837:  private: should be indented +1 space inside class MethodOptions  [whitespace/indent] [3]\nsrc/descriptor.pb.h:2837:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2844:  public: should be indented +1 space inside class MethodOptions  [whitespace/indent] [3]\nsrc/descriptor.pb.h:2844:  \"public:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2845:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2863:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2864:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2866:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2868:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2882:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2884:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2893:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2900:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2935:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:2937:  private: should be indented +1 space inside class UninterpretedOption_NamePart  [whitespace/indent] [3]\nsrc/descriptor.pb.h:2937:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2942:  private: should be indented +1 space inside class UninterpretedOption_NamePart  [whitespace/indent] [3]\nsrc/descriptor.pb.h:2942:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2949:  public: should be indented +1 space inside class UninterpretedOption_NamePart  [whitespace/indent] [3]\nsrc/descriptor.pb.h:2949:  \"public:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2950:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:2991:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3000:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3042:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3044:  private: should be indented +1 space inside class UninterpretedOption  [whitespace/indent] [3]\nsrc/descriptor.pb.h:3044:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:3049:  private: should be indented +1 space inside class UninterpretedOption  [whitespace/indent] [3]\nsrc/descriptor.pb.h:3049:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:3056:  public: should be indented +1 space inside class UninterpretedOption  [whitespace/indent] [3]\nsrc/descriptor.pb.h:3056:  \"public:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:3057:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:3073:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3075:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3153:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3160:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3169:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3176:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3211:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3213:  private: should be indented +1 space inside class SourceCodeInfo_Location  [whitespace/indent] [3]\nsrc/descriptor.pb.h:3213:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:3218:  private: should be indented +1 space inside class SourceCodeInfo_Location  [whitespace/indent] [3]\nsrc/descriptor.pb.h:3218:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:3225:  public: should be indented +1 space inside class SourceCodeInfo_Location  [whitespace/indent] [3]\nsrc/descriptor.pb.h:3225:  \"public:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:3226:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:3294:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3295:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3313:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3314:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3365:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3367:  private: should be indented +1 space inside class SourceCodeInfo  [whitespace/indent] [3]\nsrc/descriptor.pb.h:3367:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:3372:  private: should be indented +1 space inside class SourceCodeInfo  [whitespace/indent] [3]\nsrc/descriptor.pb.h:3372:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:3379:  public: should be indented +1 space inside class SourceCodeInfo  [whitespace/indent] [3]\nsrc/descriptor.pb.h:3379:  \"public:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:3380:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:3396:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3398:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3403:  Do not leave a blank line after \"private:\"  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:3407:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3408:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3417:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3424:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3459:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3461:  private: should be indented +1 space inside class GeneratedCodeInfo_Annotation  [whitespace/indent] [3]\nsrc/descriptor.pb.h:3461:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:3466:  private: should be indented +1 space inside class GeneratedCodeInfo_Annotation  [whitespace/indent] [3]\nsrc/descriptor.pb.h:3466:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:3473:  public: should be indented +1 space inside class GeneratedCodeInfo_Annotation  [whitespace/indent] [3]\nsrc/descriptor.pb.h:3473:  \"public:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:3474:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:3536:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3545:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3587:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3589:  private: should be indented +1 space inside class GeneratedCodeInfo  [whitespace/indent] [3]\nsrc/descriptor.pb.h:3589:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:3594:  private: should be indented +1 space inside class GeneratedCodeInfo  [whitespace/indent] [3]\nsrc/descriptor.pb.h:3594:  \"private:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:3601:  public: should be indented +1 space inside class GeneratedCodeInfo  [whitespace/indent] [3]\nsrc/descriptor.pb.h:3601:  \"public:\" should be preceded by a blank line  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:3602:  Do not leave a blank line after \"public:\"  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:3615:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3616:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3618:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3620:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3625:  Do not leave a blank line after \"private:\"  [whitespace/blank_line] [3]\nsrc/descriptor.pb.h:3629:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3630:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3652:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3656:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3664:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3669:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3690:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3695:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3699:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3704:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3716:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3721:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3729:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3744:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3749:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3753:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3758:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3763:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3770:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3775:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3783:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3802:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3810:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3827:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3849:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3853:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3857:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3879:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3883:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3887:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3909:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3913:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3917:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3921:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3926:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3939:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3943:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3947:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3951:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3956:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3969:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3973:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3977:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3981:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3986:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:3999:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4003:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4007:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4011:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4016:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4036:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4055:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4077:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4080:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4082:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4084:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4092:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4099:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4121:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4126:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4130:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4135:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4140:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4147:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4152:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4160:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4186:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4210:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4238:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4262:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4283:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4288:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4292:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4297:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4309:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4314:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4322:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4333:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4337:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4345:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4350:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4363:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4367:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4371:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4375:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4380:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4393:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4397:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4405:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4410:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4423:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4427:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4431:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4435:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4440:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4453:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4457:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4461:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4465:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4470:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4483:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4487:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4491:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4495:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4500:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4520:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4539:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4557:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4561:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4565:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4569:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4574:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4595:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4603:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4650:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4655:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4659:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4664:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4676:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4681:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4689:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4731:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4735:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4756:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4760:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4778:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4783:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4787:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4792:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4795:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4797:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4804:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4809:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4811:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4817:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4832:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4837:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4841:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4846:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4851:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4858:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4863:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4865:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4871:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4886:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4891:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4893:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4895:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4900:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4903:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4905:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4912:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4917:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4919:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4925:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4947:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4964:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4969:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4973:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4978:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4981:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4983:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4990:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4995:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:4997:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5003:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5021:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5025:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5033:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5040:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5066:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5071:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5075:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5080:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5092:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5097:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5105:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5124:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5129:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5133:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5138:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5150:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5155:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5163:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5174:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5178:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5182:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5186:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5191:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5211:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5230:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5256:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5261:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5265:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5270:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5282:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5287:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5295:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5317:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5337:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5341:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5349:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5356:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5382:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5387:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5391:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5396:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5408:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5413:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5421:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5432:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5436:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5440:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5444:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5449:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5469:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5473:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5481:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5488:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5514:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5519:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5523:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5528:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5540:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5545:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5553:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5568:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5573:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5577:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5582:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5585:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5587:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5594:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5599:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5601:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5607:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5622:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5627:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5631:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5636:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5639:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5641:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5648:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5653:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5655:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5661:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5679:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5683:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5691:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5698:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5772:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5777:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5781:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5786:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5791:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5798:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5803:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5805:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5811:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5826:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5831:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5835:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5840:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5843:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5845:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5852:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5857:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5859:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5865:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5941:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5955:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5957:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5959:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5977:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5982:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5986:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5991:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:5996:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6003:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6008:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6016:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6151:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6156:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6160:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6165:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6170:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6177:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6182:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6184:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6190:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6205:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6210:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6214:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6219:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6224:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6231:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6236:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6238:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6244:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6255:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6259:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6263:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6267:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6272:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6385:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6389:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6393:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6397:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6402:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6430:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6461:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6479:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6565:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6569:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6573:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6577:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6582:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6647:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6651:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6655:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6659:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6664:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6705:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6709:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6713:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6717:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6722:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6763:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6767:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6771:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6775:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6780:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6821:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6825:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6829:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6833:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6838:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6859:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6864:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6866:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6868:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6873:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6876:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6878:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6885:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6890:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6892:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6898:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6937:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6941:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6945:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6949:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6954:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6971:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6976:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6978:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6980:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6985:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6988:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6990:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:6997:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7002:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7004:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7010:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7028:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7032:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7052:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7056:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7097:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7102:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7106:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7111:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7114:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7116:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7123:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7128:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7130:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7136:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7151:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7156:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7158:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7160:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7165:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7168:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7170:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7177:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7182:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7184:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7190:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7205:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7209:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7235:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7239:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7269:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7274:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7276:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7278:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7283:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7286:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7288:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7295:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7300:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7302:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7308:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7323:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7328:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7330:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7332:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7337:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7340:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7342:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7349:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7354:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7356:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7362:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7373:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7377:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7381:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7385:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7389:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7398:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7402:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7406:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7407:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7432:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7436:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7440:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7444:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7449:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7466:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7470:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7474:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7500:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7505:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7507:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7509:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7514:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7517:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7519:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7526:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7531:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7533:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7539:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7561:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7585:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7602:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7606:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7610:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7614:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7619:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7682:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7684:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7687:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7689:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7692:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7694:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7697:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7699:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7702:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor.pb.h:7704:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor_unittest.cc:43:  Found C system header after C++ system header. Should be: descriptor_unittest.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/descriptor_unittest.cc:44:  Found C system header after C++ system header. Should be: descriptor_unittest.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/descriptor_unittest.cc:45:  Found C system header after C++ system header. Should be: descriptor_unittest.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/descriptor_unittest.cc:46:  Found C system header after C++ system header. Should be: descriptor_unittest.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/descriptor_unittest.cc:47:  Found C system header after C++ system header. Should be: descriptor_unittest.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/descriptor_unittest.cc:48:  Found C system header after C++ system header. Should be: descriptor_unittest.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/descriptor_unittest.cc:49:  Found C system header after C++ system header. Should be: descriptor_unittest.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/descriptor_unittest.cc:50:  Found C system header after C++ system header. Should be: descriptor_unittest.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/descriptor_unittest.cc:51:  Found C system header after C++ system header. Should be: descriptor_unittest.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/descriptor_unittest.cc:52:  Found C system header after C++ system header. Should be: descriptor_unittest.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/descriptor_unittest.cc:53:  Found C system header after C++ system header. Should be: descriptor_unittest.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/descriptor_unittest.cc:55:  Found C system header after C++ system header. Should be: descriptor_unittest.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/descriptor_unittest.cc:56:  Found C system header after C++ system header. Should be: descriptor_unittest.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/descriptor_unittest.cc:57:  \"google/protobuf/stubs/logging.h\" already included at src/descriptor_unittest.cc:56  [build/include] [4]\nsrc/descriptor_unittest.cc:58:  Found C system header after C++ system header. Should be: descriptor_unittest.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/descriptor_unittest.cc:59:  Found C system header after C++ system header. Should be: descriptor_unittest.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/descriptor_unittest.cc:60:  Found C system header after C++ system header. Should be: descriptor_unittest.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/descriptor_unittest.cc:734:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:735:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:822:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:823:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:825:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:841:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:846:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:851:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:1281:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:1282:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:1450:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:1451:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:1643:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:1644:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:1675:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:1676:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:1677:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:1681:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:1682:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:1694:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:1695:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:1783:  You don't need a ; after a }  [readability/braces] [4]\nsrc/descriptor_unittest.cc:1828:  You don't need a ; after a }  [readability/braces] [4]\nsrc/descriptor_unittest.cc:1831:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:1832:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:1833:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:1836:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:1837:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:1847:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:1946:  You don't need a ; after a }  [readability/braces] [4]\nsrc/descriptor_unittest.cc:1961:  You don't need a ; after a }  [readability/braces] [4]\nsrc/descriptor_unittest.cc:1950:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:1953:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:1954:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:1955:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:1959:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:1968:  You don't need a ; after a }  [readability/braces] [4]\nsrc/descriptor_unittest.cc:1974:  You don't need a ; after a }  [readability/braces] [4]\nsrc/descriptor_unittest.cc:1971:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:1972:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:2047:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2048:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2049:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2050:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2051:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2052:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2053:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2054:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2055:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2056:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2057:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2058:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2059:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2060:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2063:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2064:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2072:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2073:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2074:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2075:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2076:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2077:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2078:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2079:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2080:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2081:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2082:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2083:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2084:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2085:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2088:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2089:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2097:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2098:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2099:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2100:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2101:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2102:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2103:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2104:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2105:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2106:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2107:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2108:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2109:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2110:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2113:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2114:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2122:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2123:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2124:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2125:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2126:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2127:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2128:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2129:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2130:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2131:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2132:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2133:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2134:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2135:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2138:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2139:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2147:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2148:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2149:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2150:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2151:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2152:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2153:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2154:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2155:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2164:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2165:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2166:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2167:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2168:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2169:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2170:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2171:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2172:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2173:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2174:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2175:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2176:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2177:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2180:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2181:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2189:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2190:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2191:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2192:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2193:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2194:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2195:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2196:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2197:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2198:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2199:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2200:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2201:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2202:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2205:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2206:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2255:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2256:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2259:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2261:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2263:  Extra space before )  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:2296:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:2298:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:2302:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:2304:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:2304:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:2307:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:2321:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:2322:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:2325:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:2327:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:2327:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/descriptor_unittest.cc:2383:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/descriptor_unittest.cc:2781:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor_unittest.cc:3038:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor_unittest.cc:3120:  Missing space after ,  [whitespace/comma] [3]\nsrc/descriptor_unittest.cc:4475:  Closing ) should be moved to the previous line  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:4489:  Closing ) should be moved to the previous line  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:4502:  Closing ) should be moved to the previous line  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:4516:  Closing ) should be moved to the previous line  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:4548:  Closing ) should be moved to the previous line  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:4984:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor_unittest.cc:4990:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/descriptor_unittest.cc:5125:  Closing ) should be moved to the previous line  [whitespace/parens] [2]\nsrc/descriptor_unittest.cc:5929:  Single-parameter constructors should be marked explicit.  [runtime/explicit] [5]\nsrc/descriptor_unittest.cc:5968:  Single-parameter constructors should be marked explicit.  [runtime/explicit] [5]\nsrc/descriptor_unittest.cc:6486:  Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]\n\n"
  },
  {
    "path": "deps/cpplint/samples/protobuf-sample/src/descriptor.pb.cc",
    "content": "// Generated by the protocol buffer compiler.  DO NOT EDIT!\n// source: google/protobuf/descriptor.proto\n\n#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION\n#include <google/protobuf/descriptor.pb.h>\n\n#include <algorithm>\n\n#include <google/protobuf/stubs/common.h>\n#include <google/protobuf/stubs/port.h>\n#include <google/protobuf/stubs/once.h>\n#include <google/protobuf/io/coded_stream.h>\n#include <google/protobuf/wire_format_lite_inl.h>\n#include <google/protobuf/descriptor.h>\n#include <google/protobuf/generated_message_reflection.h>\n#include <google/protobuf/reflection_ops.h>\n#include <google/protobuf/wire_format.h>\n// @@protoc_insertion_point(includes)\n\nnamespace google {\nnamespace protobuf {\n\nnamespace {\n\nconst ::google::protobuf::Descriptor* FileDescriptorSet_descriptor_ = NULL;\nconst ::google::protobuf::internal::GeneratedMessageReflection*\n  FileDescriptorSet_reflection_ = NULL;\nconst ::google::protobuf::Descriptor* FileDescriptorProto_descriptor_ = NULL;\nconst ::google::protobuf::internal::GeneratedMessageReflection*\n  FileDescriptorProto_reflection_ = NULL;\nconst ::google::protobuf::Descriptor* DescriptorProto_descriptor_ = NULL;\nconst ::google::protobuf::internal::GeneratedMessageReflection*\n  DescriptorProto_reflection_ = NULL;\nconst ::google::protobuf::Descriptor* DescriptorProto_ExtensionRange_descriptor_ = NULL;\nconst ::google::protobuf::internal::GeneratedMessageReflection*\n  DescriptorProto_ExtensionRange_reflection_ = NULL;\nconst ::google::protobuf::Descriptor* DescriptorProto_ReservedRange_descriptor_ = NULL;\nconst ::google::protobuf::internal::GeneratedMessageReflection*\n  DescriptorProto_ReservedRange_reflection_ = NULL;\nconst ::google::protobuf::Descriptor* FieldDescriptorProto_descriptor_ = NULL;\nconst ::google::protobuf::internal::GeneratedMessageReflection*\n  FieldDescriptorProto_reflection_ = NULL;\nconst ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Type_descriptor_ = NULL;\nconst ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Label_descriptor_ = NULL;\nconst ::google::protobuf::Descriptor* OneofDescriptorProto_descriptor_ = NULL;\nconst ::google::protobuf::internal::GeneratedMessageReflection*\n  OneofDescriptorProto_reflection_ = NULL;\nconst ::google::protobuf::Descriptor* EnumDescriptorProto_descriptor_ = NULL;\nconst ::google::protobuf::internal::GeneratedMessageReflection*\n  EnumDescriptorProto_reflection_ = NULL;\nconst ::google::protobuf::Descriptor* EnumValueDescriptorProto_descriptor_ = NULL;\nconst ::google::protobuf::internal::GeneratedMessageReflection*\n  EnumValueDescriptorProto_reflection_ = NULL;\nconst ::google::protobuf::Descriptor* ServiceDescriptorProto_descriptor_ = NULL;\nconst ::google::protobuf::internal::GeneratedMessageReflection*\n  ServiceDescriptorProto_reflection_ = NULL;\nconst ::google::protobuf::Descriptor* MethodDescriptorProto_descriptor_ = NULL;\nconst ::google::protobuf::internal::GeneratedMessageReflection*\n  MethodDescriptorProto_reflection_ = NULL;\nconst ::google::protobuf::Descriptor* FileOptions_descriptor_ = NULL;\nconst ::google::protobuf::internal::GeneratedMessageReflection*\n  FileOptions_reflection_ = NULL;\nconst ::google::protobuf::EnumDescriptor* FileOptions_OptimizeMode_descriptor_ = NULL;\nconst ::google::protobuf::Descriptor* MessageOptions_descriptor_ = NULL;\nconst ::google::protobuf::internal::GeneratedMessageReflection*\n  MessageOptions_reflection_ = NULL;\nconst ::google::protobuf::Descriptor* FieldOptions_descriptor_ = NULL;\nconst ::google::protobuf::internal::GeneratedMessageReflection*\n  FieldOptions_reflection_ = NULL;\nconst ::google::protobuf::EnumDescriptor* FieldOptions_CType_descriptor_ = NULL;\nconst ::google::protobuf::EnumDescriptor* FieldOptions_JSType_descriptor_ = NULL;\nconst ::google::protobuf::Descriptor* EnumOptions_descriptor_ = NULL;\nconst ::google::protobuf::internal::GeneratedMessageReflection*\n  EnumOptions_reflection_ = NULL;\nconst ::google::protobuf::Descriptor* EnumValueOptions_descriptor_ = NULL;\nconst ::google::protobuf::internal::GeneratedMessageReflection*\n  EnumValueOptions_reflection_ = NULL;\nconst ::google::protobuf::Descriptor* ServiceOptions_descriptor_ = NULL;\nconst ::google::protobuf::internal::GeneratedMessageReflection*\n  ServiceOptions_reflection_ = NULL;\nconst ::google::protobuf::Descriptor* MethodOptions_descriptor_ = NULL;\nconst ::google::protobuf::internal::GeneratedMessageReflection*\n  MethodOptions_reflection_ = NULL;\nconst ::google::protobuf::Descriptor* UninterpretedOption_descriptor_ = NULL;\nconst ::google::protobuf::internal::GeneratedMessageReflection*\n  UninterpretedOption_reflection_ = NULL;\nconst ::google::protobuf::Descriptor* UninterpretedOption_NamePart_descriptor_ = NULL;\nconst ::google::protobuf::internal::GeneratedMessageReflection*\n  UninterpretedOption_NamePart_reflection_ = NULL;\nconst ::google::protobuf::Descriptor* SourceCodeInfo_descriptor_ = NULL;\nconst ::google::protobuf::internal::GeneratedMessageReflection*\n  SourceCodeInfo_reflection_ = NULL;\nconst ::google::protobuf::Descriptor* SourceCodeInfo_Location_descriptor_ = NULL;\nconst ::google::protobuf::internal::GeneratedMessageReflection*\n  SourceCodeInfo_Location_reflection_ = NULL;\nconst ::google::protobuf::Descriptor* GeneratedCodeInfo_descriptor_ = NULL;\nconst ::google::protobuf::internal::GeneratedMessageReflection*\n  GeneratedCodeInfo_reflection_ = NULL;\nconst ::google::protobuf::Descriptor* GeneratedCodeInfo_Annotation_descriptor_ = NULL;\nconst ::google::protobuf::internal::GeneratedMessageReflection*\n  GeneratedCodeInfo_Annotation_reflection_ = NULL;\n\n}  // namespace\n\n\nvoid protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto() {\n  protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  const ::google::protobuf::FileDescriptor* file =\n    ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(\n      \"google/protobuf/descriptor.proto\");\n  GOOGLE_CHECK(file != NULL);\n  FileDescriptorSet_descriptor_ = file->message_type(0);\n  static const int FileDescriptorSet_offsets_[1] = {\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorSet, file_),\n  };\n  FileDescriptorSet_reflection_ =\n    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(\n      FileDescriptorSet_descriptor_,\n      FileDescriptorSet::default_instance_,\n      FileDescriptorSet_offsets_,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorSet, _has_bits_[0]),\n      -1,\n      -1,\n      sizeof(FileDescriptorSet),\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorSet, _internal_metadata_),\n      -1);\n  FileDescriptorProto_descriptor_ = file->message_type(1);\n  static const int FileDescriptorProto_offsets_[12] = {\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, name_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, package_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, dependency_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, public_dependency_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, weak_dependency_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, message_type_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, enum_type_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, service_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, extension_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, options_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, source_code_info_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, syntax_),\n  };\n  FileDescriptorProto_reflection_ =\n    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(\n      FileDescriptorProto_descriptor_,\n      FileDescriptorProto::default_instance_,\n      FileDescriptorProto_offsets_,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, _has_bits_[0]),\n      -1,\n      -1,\n      sizeof(FileDescriptorProto),\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, _internal_metadata_),\n      -1);\n  DescriptorProto_descriptor_ = file->message_type(2);\n  static const int DescriptorProto_offsets_[10] = {\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, name_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, field_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, extension_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, nested_type_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, enum_type_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, extension_range_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, oneof_decl_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, options_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, reserved_range_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, reserved_name_),\n  };\n  DescriptorProto_reflection_ =\n    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(\n      DescriptorProto_descriptor_,\n      DescriptorProto::default_instance_,\n      DescriptorProto_offsets_,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, _has_bits_[0]),\n      -1,\n      -1,\n      sizeof(DescriptorProto),\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, _internal_metadata_),\n      -1);\n  DescriptorProto_ExtensionRange_descriptor_ = DescriptorProto_descriptor_->nested_type(0);\n  static const int DescriptorProto_ExtensionRange_offsets_[2] = {\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto_ExtensionRange, start_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto_ExtensionRange, end_),\n  };\n  DescriptorProto_ExtensionRange_reflection_ =\n    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(\n      DescriptorProto_ExtensionRange_descriptor_,\n      DescriptorProto_ExtensionRange::default_instance_,\n      DescriptorProto_ExtensionRange_offsets_,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto_ExtensionRange, _has_bits_[0]),\n      -1,\n      -1,\n      sizeof(DescriptorProto_ExtensionRange),\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto_ExtensionRange, _internal_metadata_),\n      -1);\n  DescriptorProto_ReservedRange_descriptor_ = DescriptorProto_descriptor_->nested_type(1);\n  static const int DescriptorProto_ReservedRange_offsets_[2] = {\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto_ReservedRange, start_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto_ReservedRange, end_),\n  };\n  DescriptorProto_ReservedRange_reflection_ =\n    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(\n      DescriptorProto_ReservedRange_descriptor_,\n      DescriptorProto_ReservedRange::default_instance_,\n      DescriptorProto_ReservedRange_offsets_,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto_ReservedRange, _has_bits_[0]),\n      -1,\n      -1,\n      sizeof(DescriptorProto_ReservedRange),\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto_ReservedRange, _internal_metadata_),\n      -1);\n  FieldDescriptorProto_descriptor_ = file->message_type(3);\n  static const int FieldDescriptorProto_offsets_[10] = {\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, name_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, number_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, label_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, type_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, type_name_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, extendee_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, default_value_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, oneof_index_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, json_name_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, options_),\n  };\n  FieldDescriptorProto_reflection_ =\n    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(\n      FieldDescriptorProto_descriptor_,\n      FieldDescriptorProto::default_instance_,\n      FieldDescriptorProto_offsets_,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, _has_bits_[0]),\n      -1,\n      -1,\n      sizeof(FieldDescriptorProto),\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, _internal_metadata_),\n      -1);\n  FieldDescriptorProto_Type_descriptor_ = FieldDescriptorProto_descriptor_->enum_type(0);\n  FieldDescriptorProto_Label_descriptor_ = FieldDescriptorProto_descriptor_->enum_type(1);\n  OneofDescriptorProto_descriptor_ = file->message_type(4);\n  static const int OneofDescriptorProto_offsets_[1] = {\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(OneofDescriptorProto, name_),\n  };\n  OneofDescriptorProto_reflection_ =\n    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(\n      OneofDescriptorProto_descriptor_,\n      OneofDescriptorProto::default_instance_,\n      OneofDescriptorProto_offsets_,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(OneofDescriptorProto, _has_bits_[0]),\n      -1,\n      -1,\n      sizeof(OneofDescriptorProto),\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(OneofDescriptorProto, _internal_metadata_),\n      -1);\n  EnumDescriptorProto_descriptor_ = file->message_type(5);\n  static const int EnumDescriptorProto_offsets_[3] = {\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumDescriptorProto, name_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumDescriptorProto, value_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumDescriptorProto, options_),\n  };\n  EnumDescriptorProto_reflection_ =\n    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(\n      EnumDescriptorProto_descriptor_,\n      EnumDescriptorProto::default_instance_,\n      EnumDescriptorProto_offsets_,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumDescriptorProto, _has_bits_[0]),\n      -1,\n      -1,\n      sizeof(EnumDescriptorProto),\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumDescriptorProto, _internal_metadata_),\n      -1);\n  EnumValueDescriptorProto_descriptor_ = file->message_type(6);\n  static const int EnumValueDescriptorProto_offsets_[3] = {\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueDescriptorProto, name_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueDescriptorProto, number_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueDescriptorProto, options_),\n  };\n  EnumValueDescriptorProto_reflection_ =\n    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(\n      EnumValueDescriptorProto_descriptor_,\n      EnumValueDescriptorProto::default_instance_,\n      EnumValueDescriptorProto_offsets_,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueDescriptorProto, _has_bits_[0]),\n      -1,\n      -1,\n      sizeof(EnumValueDescriptorProto),\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueDescriptorProto, _internal_metadata_),\n      -1);\n  ServiceDescriptorProto_descriptor_ = file->message_type(7);\n  static const int ServiceDescriptorProto_offsets_[3] = {\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceDescriptorProto, name_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceDescriptorProto, method_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceDescriptorProto, options_),\n  };\n  ServiceDescriptorProto_reflection_ =\n    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(\n      ServiceDescriptorProto_descriptor_,\n      ServiceDescriptorProto::default_instance_,\n      ServiceDescriptorProto_offsets_,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceDescriptorProto, _has_bits_[0]),\n      -1,\n      -1,\n      sizeof(ServiceDescriptorProto),\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceDescriptorProto, _internal_metadata_),\n      -1);\n  MethodDescriptorProto_descriptor_ = file->message_type(8);\n  static const int MethodDescriptorProto_offsets_[6] = {\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodDescriptorProto, name_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodDescriptorProto, input_type_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodDescriptorProto, output_type_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodDescriptorProto, options_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodDescriptorProto, client_streaming_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodDescriptorProto, server_streaming_),\n  };\n  MethodDescriptorProto_reflection_ =\n    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(\n      MethodDescriptorProto_descriptor_,\n      MethodDescriptorProto::default_instance_,\n      MethodDescriptorProto_offsets_,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodDescriptorProto, _has_bits_[0]),\n      -1,\n      -1,\n      sizeof(MethodDescriptorProto),\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodDescriptorProto, _internal_metadata_),\n      -1);\n  FileOptions_descriptor_ = file->message_type(9);\n  static const int FileOptions_offsets_[15] = {\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, java_package_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, java_outer_classname_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, java_multiple_files_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, java_generate_equals_and_hash_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, java_string_check_utf8_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, optimize_for_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, go_package_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, cc_generic_services_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, java_generic_services_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, py_generic_services_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, deprecated_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, cc_enable_arenas_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, objc_class_prefix_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, csharp_namespace_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, uninterpreted_option_),\n  };\n  FileOptions_reflection_ =\n    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(\n      FileOptions_descriptor_,\n      FileOptions::default_instance_,\n      FileOptions_offsets_,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, _has_bits_[0]),\n      -1,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, _extensions_),\n      sizeof(FileOptions),\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, _internal_metadata_),\n      -1);\n  FileOptions_OptimizeMode_descriptor_ = FileOptions_descriptor_->enum_type(0);\n  MessageOptions_descriptor_ = file->message_type(10);\n  static const int MessageOptions_offsets_[5] = {\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageOptions, message_set_wire_format_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageOptions, no_standard_descriptor_accessor_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageOptions, deprecated_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageOptions, map_entry_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageOptions, uninterpreted_option_),\n  };\n  MessageOptions_reflection_ =\n    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(\n      MessageOptions_descriptor_,\n      MessageOptions::default_instance_,\n      MessageOptions_offsets_,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageOptions, _has_bits_[0]),\n      -1,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageOptions, _extensions_),\n      sizeof(MessageOptions),\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageOptions, _internal_metadata_),\n      -1);\n  FieldOptions_descriptor_ = file->message_type(11);\n  static const int FieldOptions_offsets_[7] = {\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, ctype_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, packed_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, jstype_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, lazy_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, deprecated_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, weak_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, uninterpreted_option_),\n  };\n  FieldOptions_reflection_ =\n    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(\n      FieldOptions_descriptor_,\n      FieldOptions::default_instance_,\n      FieldOptions_offsets_,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, _has_bits_[0]),\n      -1,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, _extensions_),\n      sizeof(FieldOptions),\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, _internal_metadata_),\n      -1);\n  FieldOptions_CType_descriptor_ = FieldOptions_descriptor_->enum_type(0);\n  FieldOptions_JSType_descriptor_ = FieldOptions_descriptor_->enum_type(1);\n  EnumOptions_descriptor_ = file->message_type(12);\n  static const int EnumOptions_offsets_[3] = {\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumOptions, allow_alias_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumOptions, deprecated_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumOptions, uninterpreted_option_),\n  };\n  EnumOptions_reflection_ =\n    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(\n      EnumOptions_descriptor_,\n      EnumOptions::default_instance_,\n      EnumOptions_offsets_,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumOptions, _has_bits_[0]),\n      -1,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumOptions, _extensions_),\n      sizeof(EnumOptions),\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumOptions, _internal_metadata_),\n      -1);\n  EnumValueOptions_descriptor_ = file->message_type(13);\n  static const int EnumValueOptions_offsets_[2] = {\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueOptions, deprecated_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueOptions, uninterpreted_option_),\n  };\n  EnumValueOptions_reflection_ =\n    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(\n      EnumValueOptions_descriptor_,\n      EnumValueOptions::default_instance_,\n      EnumValueOptions_offsets_,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueOptions, _has_bits_[0]),\n      -1,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueOptions, _extensions_),\n      sizeof(EnumValueOptions),\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueOptions, _internal_metadata_),\n      -1);\n  ServiceOptions_descriptor_ = file->message_type(14);\n  static const int ServiceOptions_offsets_[2] = {\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceOptions, deprecated_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceOptions, uninterpreted_option_),\n  };\n  ServiceOptions_reflection_ =\n    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(\n      ServiceOptions_descriptor_,\n      ServiceOptions::default_instance_,\n      ServiceOptions_offsets_,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceOptions, _has_bits_[0]),\n      -1,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceOptions, _extensions_),\n      sizeof(ServiceOptions),\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceOptions, _internal_metadata_),\n      -1);\n  MethodOptions_descriptor_ = file->message_type(15);\n  static const int MethodOptions_offsets_[2] = {\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodOptions, deprecated_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodOptions, uninterpreted_option_),\n  };\n  MethodOptions_reflection_ =\n    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(\n      MethodOptions_descriptor_,\n      MethodOptions::default_instance_,\n      MethodOptions_offsets_,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodOptions, _has_bits_[0]),\n      -1,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodOptions, _extensions_),\n      sizeof(MethodOptions),\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodOptions, _internal_metadata_),\n      -1);\n  UninterpretedOption_descriptor_ = file->message_type(16);\n  static const int UninterpretedOption_offsets_[7] = {\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption, name_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption, identifier_value_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption, positive_int_value_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption, negative_int_value_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption, double_value_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption, string_value_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption, aggregate_value_),\n  };\n  UninterpretedOption_reflection_ =\n    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(\n      UninterpretedOption_descriptor_,\n      UninterpretedOption::default_instance_,\n      UninterpretedOption_offsets_,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption, _has_bits_[0]),\n      -1,\n      -1,\n      sizeof(UninterpretedOption),\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption, _internal_metadata_),\n      -1);\n  UninterpretedOption_NamePart_descriptor_ = UninterpretedOption_descriptor_->nested_type(0);\n  static const int UninterpretedOption_NamePart_offsets_[2] = {\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption_NamePart, name_part_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption_NamePart, is_extension_),\n  };\n  UninterpretedOption_NamePart_reflection_ =\n    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(\n      UninterpretedOption_NamePart_descriptor_,\n      UninterpretedOption_NamePart::default_instance_,\n      UninterpretedOption_NamePart_offsets_,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption_NamePart, _has_bits_[0]),\n      -1,\n      -1,\n      sizeof(UninterpretedOption_NamePart),\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption_NamePart, _internal_metadata_),\n      -1);\n  SourceCodeInfo_descriptor_ = file->message_type(17);\n  static const int SourceCodeInfo_offsets_[1] = {\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SourceCodeInfo, location_),\n  };\n  SourceCodeInfo_reflection_ =\n    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(\n      SourceCodeInfo_descriptor_,\n      SourceCodeInfo::default_instance_,\n      SourceCodeInfo_offsets_,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SourceCodeInfo, _has_bits_[0]),\n      -1,\n      -1,\n      sizeof(SourceCodeInfo),\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SourceCodeInfo, _internal_metadata_),\n      -1);\n  SourceCodeInfo_Location_descriptor_ = SourceCodeInfo_descriptor_->nested_type(0);\n  static const int SourceCodeInfo_Location_offsets_[5] = {\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SourceCodeInfo_Location, path_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SourceCodeInfo_Location, span_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SourceCodeInfo_Location, leading_comments_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SourceCodeInfo_Location, trailing_comments_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SourceCodeInfo_Location, leading_detached_comments_),\n  };\n  SourceCodeInfo_Location_reflection_ =\n    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(\n      SourceCodeInfo_Location_descriptor_,\n      SourceCodeInfo_Location::default_instance_,\n      SourceCodeInfo_Location_offsets_,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SourceCodeInfo_Location, _has_bits_[0]),\n      -1,\n      -1,\n      sizeof(SourceCodeInfo_Location),\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SourceCodeInfo_Location, _internal_metadata_),\n      -1);\n  GeneratedCodeInfo_descriptor_ = file->message_type(18);\n  static const int GeneratedCodeInfo_offsets_[1] = {\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GeneratedCodeInfo, annotation_),\n  };\n  GeneratedCodeInfo_reflection_ =\n    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(\n      GeneratedCodeInfo_descriptor_,\n      GeneratedCodeInfo::default_instance_,\n      GeneratedCodeInfo_offsets_,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GeneratedCodeInfo, _has_bits_[0]),\n      -1,\n      -1,\n      sizeof(GeneratedCodeInfo),\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GeneratedCodeInfo, _internal_metadata_),\n      -1);\n  GeneratedCodeInfo_Annotation_descriptor_ = GeneratedCodeInfo_descriptor_->nested_type(0);\n  static const int GeneratedCodeInfo_Annotation_offsets_[4] = {\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GeneratedCodeInfo_Annotation, path_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GeneratedCodeInfo_Annotation, source_file_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GeneratedCodeInfo_Annotation, begin_),\n    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GeneratedCodeInfo_Annotation, end_),\n  };\n  GeneratedCodeInfo_Annotation_reflection_ =\n    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(\n      GeneratedCodeInfo_Annotation_descriptor_,\n      GeneratedCodeInfo_Annotation::default_instance_,\n      GeneratedCodeInfo_Annotation_offsets_,\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GeneratedCodeInfo_Annotation, _has_bits_[0]),\n      -1,\n      -1,\n      sizeof(GeneratedCodeInfo_Annotation),\n      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GeneratedCodeInfo_Annotation, _internal_metadata_),\n      -1);\n}\n\nnamespace {\n\nGOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);\ninline void protobuf_AssignDescriptorsOnce() {\n  ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,\n                 &protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto);\n}\n\nvoid protobuf_RegisterTypes(const ::std::string&) {\n  protobuf_AssignDescriptorsOnce();\n  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(\n      FileDescriptorSet_descriptor_, &FileDescriptorSet::default_instance());\n  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(\n      FileDescriptorProto_descriptor_, &FileDescriptorProto::default_instance());\n  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(\n      DescriptorProto_descriptor_, &DescriptorProto::default_instance());\n  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(\n      DescriptorProto_ExtensionRange_descriptor_, &DescriptorProto_ExtensionRange::default_instance());\n  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(\n      DescriptorProto_ReservedRange_descriptor_, &DescriptorProto_ReservedRange::default_instance());\n  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(\n      FieldDescriptorProto_descriptor_, &FieldDescriptorProto::default_instance());\n  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(\n      OneofDescriptorProto_descriptor_, &OneofDescriptorProto::default_instance());\n  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(\n      EnumDescriptorProto_descriptor_, &EnumDescriptorProto::default_instance());\n  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(\n      EnumValueDescriptorProto_descriptor_, &EnumValueDescriptorProto::default_instance());\n  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(\n      ServiceDescriptorProto_descriptor_, &ServiceDescriptorProto::default_instance());\n  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(\n      MethodDescriptorProto_descriptor_, &MethodDescriptorProto::default_instance());\n  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(\n      FileOptions_descriptor_, &FileOptions::default_instance());\n  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(\n      MessageOptions_descriptor_, &MessageOptions::default_instance());\n  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(\n      FieldOptions_descriptor_, &FieldOptions::default_instance());\n  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(\n      EnumOptions_descriptor_, &EnumOptions::default_instance());\n  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(\n      EnumValueOptions_descriptor_, &EnumValueOptions::default_instance());\n  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(\n      ServiceOptions_descriptor_, &ServiceOptions::default_instance());\n  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(\n      MethodOptions_descriptor_, &MethodOptions::default_instance());\n  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(\n      UninterpretedOption_descriptor_, &UninterpretedOption::default_instance());\n  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(\n      UninterpretedOption_NamePart_descriptor_, &UninterpretedOption_NamePart::default_instance());\n  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(\n      SourceCodeInfo_descriptor_, &SourceCodeInfo::default_instance());\n  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(\n      SourceCodeInfo_Location_descriptor_, &SourceCodeInfo_Location::default_instance());\n  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(\n      GeneratedCodeInfo_descriptor_, &GeneratedCodeInfo::default_instance());\n  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(\n      GeneratedCodeInfo_Annotation_descriptor_, &GeneratedCodeInfo_Annotation::default_instance());\n}\n\n}  // namespace\n\nvoid protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto() {\n  delete FileDescriptorSet::default_instance_;\n  delete FileDescriptorSet_reflection_;\n  delete FileDescriptorProto::default_instance_;\n  delete FileDescriptorProto_reflection_;\n  delete DescriptorProto::default_instance_;\n  delete DescriptorProto_reflection_;\n  delete DescriptorProto_ExtensionRange::default_instance_;\n  delete DescriptorProto_ExtensionRange_reflection_;\n  delete DescriptorProto_ReservedRange::default_instance_;\n  delete DescriptorProto_ReservedRange_reflection_;\n  delete FieldDescriptorProto::default_instance_;\n  delete FieldDescriptorProto_reflection_;\n  delete OneofDescriptorProto::default_instance_;\n  delete OneofDescriptorProto_reflection_;\n  delete EnumDescriptorProto::default_instance_;\n  delete EnumDescriptorProto_reflection_;\n  delete EnumValueDescriptorProto::default_instance_;\n  delete EnumValueDescriptorProto_reflection_;\n  delete ServiceDescriptorProto::default_instance_;\n  delete ServiceDescriptorProto_reflection_;\n  delete MethodDescriptorProto::default_instance_;\n  delete MethodDescriptorProto_reflection_;\n  delete FileOptions::default_instance_;\n  delete FileOptions_reflection_;\n  delete MessageOptions::default_instance_;\n  delete MessageOptions_reflection_;\n  delete FieldOptions::default_instance_;\n  delete FieldOptions_reflection_;\n  delete EnumOptions::default_instance_;\n  delete EnumOptions_reflection_;\n  delete EnumValueOptions::default_instance_;\n  delete EnumValueOptions_reflection_;\n  delete ServiceOptions::default_instance_;\n  delete ServiceOptions_reflection_;\n  delete MethodOptions::default_instance_;\n  delete MethodOptions_reflection_;\n  delete UninterpretedOption::default_instance_;\n  delete UninterpretedOption_reflection_;\n  delete UninterpretedOption_NamePart::default_instance_;\n  delete UninterpretedOption_NamePart_reflection_;\n  delete SourceCodeInfo::default_instance_;\n  delete SourceCodeInfo_reflection_;\n  delete SourceCodeInfo_Location::default_instance_;\n  delete SourceCodeInfo_Location_reflection_;\n  delete GeneratedCodeInfo::default_instance_;\n  delete GeneratedCodeInfo_reflection_;\n  delete GeneratedCodeInfo_Annotation::default_instance_;\n  delete GeneratedCodeInfo_Annotation_reflection_;\n}\n\nvoid protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto() {\n  static bool already_here = false;\n  if (already_here) return;\n  already_here = true;\n  GOOGLE_PROTOBUF_VERIFY_VERSION;\n\n  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(\n    \"\\n google/protobuf/descriptor.proto\\022\\017goog\"\n    \"le.protobuf\\\"G\\n\\021FileDescriptorSet\\0222\\n\\004file\"\n    \"\\030\\001 \\003(\\0132$.google.protobuf.FileDescriptorP\"\n    \"roto\\\"\\333\\003\\n\\023FileDescriptorProto\\022\\014\\n\\004name\\030\\001 \\001\"\n    \"(\\t\\022\\017\\n\\007package\\030\\002 \\001(\\t\\022\\022\\n\\ndependency\\030\\003 \\003(\\t\\022\"\n    \"\\031\\n\\021public_dependency\\030\\n \\003(\\005\\022\\027\\n\\017weak_depen\"\n    \"dency\\030\\013 \\003(\\005\\0226\\n\\014message_type\\030\\004 \\003(\\0132 .goog\"\n    \"le.protobuf.DescriptorProto\\0227\\n\\tenum_type\"\n    \"\\030\\005 \\003(\\0132$.google.protobuf.EnumDescriptorP\"\n    \"roto\\0228\\n\\007service\\030\\006 \\003(\\0132\\'.google.protobuf.\"\n    \"ServiceDescriptorProto\\0228\\n\\textension\\030\\007 \\003(\"\n    \"\\0132%.google.protobuf.FieldDescriptorProto\"\n    \"\\022-\\n\\007options\\030\\010 \\001(\\0132\\034.google.protobuf.File\"\n    \"Options\\0229\\n\\020source_code_info\\030\\t \\001(\\0132\\037.goog\"\n    \"le.protobuf.SourceCodeInfo\\022\\016\\n\\006syntax\\030\\014 \\001\"\n    \"(\\t\\\"\\360\\004\\n\\017DescriptorProto\\022\\014\\n\\004name\\030\\001 \\001(\\t\\0224\\n\\005\"\n    \"field\\030\\002 \\003(\\0132%.google.protobuf.FieldDescr\"\n    \"iptorProto\\0228\\n\\textension\\030\\006 \\003(\\0132%.google.p\"\n    \"rotobuf.FieldDescriptorProto\\0225\\n\\013nested_t\"\n    \"ype\\030\\003 \\003(\\0132 .google.protobuf.DescriptorPr\"\n    \"oto\\0227\\n\\tenum_type\\030\\004 \\003(\\0132$.google.protobuf\"\n    \".EnumDescriptorProto\\022H\\n\\017extension_range\\030\"\n    \"\\005 \\003(\\0132/.google.protobuf.DescriptorProto.\"\n    \"ExtensionRange\\0229\\n\\noneof_decl\\030\\010 \\003(\\0132%.goo\"\n    \"gle.protobuf.OneofDescriptorProto\\0220\\n\\007opt\"\n    \"ions\\030\\007 \\001(\\0132\\037.google.protobuf.MessageOpti\"\n    \"ons\\022F\\n\\016reserved_range\\030\\t \\003(\\0132..google.pro\"\n    \"tobuf.DescriptorProto.ReservedRange\\022\\025\\n\\rr\"\n    \"eserved_name\\030\\n \\003(\\t\\032,\\n\\016ExtensionRange\\022\\r\\n\\005\"\n    \"start\\030\\001 \\001(\\005\\022\\013\\n\\003end\\030\\002 \\001(\\005\\032+\\n\\rReservedRang\"\n    \"e\\022\\r\\n\\005start\\030\\001 \\001(\\005\\022\\013\\n\\003end\\030\\002 \\001(\\005\\\"\\274\\005\\n\\024FieldD\"\n    \"escriptorProto\\022\\014\\n\\004name\\030\\001 \\001(\\t\\022\\016\\n\\006number\\030\\003\"\n    \" \\001(\\005\\022:\\n\\005label\\030\\004 \\001(\\0162+.google.protobuf.Fi\"\n    \"eldDescriptorProto.Label\\0228\\n\\004type\\030\\005 \\001(\\0162*\"\n    \".google.protobuf.FieldDescriptorProto.Ty\"\n    \"pe\\022\\021\\n\\ttype_name\\030\\006 \\001(\\t\\022\\020\\n\\010extendee\\030\\002 \\001(\\t\\022\"\n    \"\\025\\n\\rdefault_value\\030\\007 \\001(\\t\\022\\023\\n\\013oneof_index\\030\\t \"\n    \"\\001(\\005\\022\\021\\n\\tjson_name\\030\\n \\001(\\t\\022.\\n\\007options\\030\\010 \\001(\\0132\"\n    \"\\035.google.protobuf.FieldOptions\\\"\\266\\002\\n\\004Type\\022\"\n    \"\\017\\n\\013TYPE_DOUBLE\\020\\001\\022\\016\\n\\nTYPE_FLOAT\\020\\002\\022\\016\\n\\nTYPE\"\n    \"_INT64\\020\\003\\022\\017\\n\\013TYPE_UINT64\\020\\004\\022\\016\\n\\nTYPE_INT32\\020\"\n    \"\\005\\022\\020\\n\\014TYPE_FIXED64\\020\\006\\022\\020\\n\\014TYPE_FIXED32\\020\\007\\022\\r\\n\"\n    \"\\tTYPE_BOOL\\020\\010\\022\\017\\n\\013TYPE_STRING\\020\\t\\022\\016\\n\\nTYPE_GR\"\n    \"OUP\\020\\n\\022\\020\\n\\014TYPE_MESSAGE\\020\\013\\022\\016\\n\\nTYPE_BYTES\\020\\014\\022\"\n    \"\\017\\n\\013TYPE_UINT32\\020\\r\\022\\r\\n\\tTYPE_ENUM\\020\\016\\022\\021\\n\\rTYPE_\"\n    \"SFIXED32\\020\\017\\022\\021\\n\\rTYPE_SFIXED64\\020\\020\\022\\017\\n\\013TYPE_SI\"\n    \"NT32\\020\\021\\022\\017\\n\\013TYPE_SINT64\\020\\022\\\"C\\n\\005Label\\022\\022\\n\\016LABE\"\n    \"L_OPTIONAL\\020\\001\\022\\022\\n\\016LABEL_REQUIRED\\020\\002\\022\\022\\n\\016LABE\"\n    \"L_REPEATED\\020\\003\\\"$\\n\\024OneofDescriptorProto\\022\\014\\n\\004\"\n    \"name\\030\\001 \\001(\\t\\\"\\214\\001\\n\\023EnumDescriptorProto\\022\\014\\n\\004na\"\n    \"me\\030\\001 \\001(\\t\\0228\\n\\005value\\030\\002 \\003(\\0132).google.protobu\"\n    \"f.EnumValueDescriptorProto\\022-\\n\\007options\\030\\003 \"\n    \"\\001(\\0132\\034.google.protobuf.EnumOptions\\\"l\\n\\030Enu\"\n    \"mValueDescriptorProto\\022\\014\\n\\004name\\030\\001 \\001(\\t\\022\\016\\n\\006n\"\n    \"umber\\030\\002 \\001(\\005\\0222\\n\\007options\\030\\003 \\001(\\0132!.google.pr\"\n    \"otobuf.EnumValueOptions\\\"\\220\\001\\n\\026ServiceDescr\"\n    \"iptorProto\\022\\014\\n\\004name\\030\\001 \\001(\\t\\0226\\n\\006method\\030\\002 \\003(\\013\"\n    \"2&.google.protobuf.MethodDescriptorProto\"\n    \"\\0220\\n\\007options\\030\\003 \\001(\\0132\\037.google.protobuf.Serv\"\n    \"iceOptions\\\"\\301\\001\\n\\025MethodDescriptorProto\\022\\014\\n\\004\"\n    \"name\\030\\001 \\001(\\t\\022\\022\\n\\ninput_type\\030\\002 \\001(\\t\\022\\023\\n\\013output\"\n    \"_type\\030\\003 \\001(\\t\\022/\\n\\007options\\030\\004 \\001(\\0132\\036.google.pr\"\n    \"otobuf.MethodOptions\\022\\037\\n\\020client_streaming\"\n    \"\\030\\005 \\001(\\010:\\005false\\022\\037\\n\\020server_streaming\\030\\006 \\001(\\010:\"\n    \"\\005false\\\"\\207\\005\\n\\013FileOptions\\022\\024\\n\\014java_package\\030\\001\"\n    \" \\001(\\t\\022\\034\\n\\024java_outer_classname\\030\\010 \\001(\\t\\022\\\"\\n\\023ja\"\n    \"va_multiple_files\\030\\n \\001(\\010:\\005false\\022,\\n\\035java_g\"\n    \"enerate_equals_and_hash\\030\\024 \\001(\\010:\\005false\\022%\\n\\026\"\n    \"java_string_check_utf8\\030\\033 \\001(\\010:\\005false\\022F\\n\\014o\"\n    \"ptimize_for\\030\\t \\001(\\0162).google.protobuf.File\"\n    \"Options.OptimizeMode:\\005SPEED\\022\\022\\n\\ngo_packag\"\n    \"e\\030\\013 \\001(\\t\\022\\\"\\n\\023cc_generic_services\\030\\020 \\001(\\010:\\005fa\"\n    \"lse\\022$\\n\\025java_generic_services\\030\\021 \\001(\\010:\\005fals\"\n    \"e\\022\\\"\\n\\023py_generic_services\\030\\022 \\001(\\010:\\005false\\022\\031\\n\"\n    \"\\ndeprecated\\030\\027 \\001(\\010:\\005false\\022\\037\\n\\020cc_enable_ar\"\n    \"enas\\030\\037 \\001(\\010:\\005false\\022\\031\\n\\021objc_class_prefix\\030$\"\n    \" \\001(\\t\\022\\030\\n\\020csharp_namespace\\030% \\001(\\t\\022C\\n\\024uninte\"\n    \"rpreted_option\\030\\347\\007 \\003(\\0132$.google.protobuf.\"\n    \"UninterpretedOption\\\":\\n\\014OptimizeMode\\022\\t\\n\\005S\"\n    \"PEED\\020\\001\\022\\r\\n\\tCODE_SIZE\\020\\002\\022\\020\\n\\014LITE_RUNTIME\\020\\003*\"\n    \"\\t\\010\\350\\007\\020\\200\\200\\200\\200\\002J\\004\\010&\\020\\'\\\"\\346\\001\\n\\016MessageOptions\\022&\\n\\027m\"\n    \"essage_set_wire_format\\030\\001 \\001(\\010:\\005false\\022.\\n\\037n\"\n    \"o_standard_descriptor_accessor\\030\\002 \\001(\\010:\\005fa\"\n    \"lse\\022\\031\\n\\ndeprecated\\030\\003 \\001(\\010:\\005false\\022\\021\\n\\tmap_en\"\n    \"try\\030\\007 \\001(\\010\\022C\\n\\024uninterpreted_option\\030\\347\\007 \\003(\\013\"\n    \"2$.google.protobuf.UninterpretedOption*\\t\"\n    \"\\010\\350\\007\\020\\200\\200\\200\\200\\002\\\"\\230\\003\\n\\014FieldOptions\\022:\\n\\005ctype\\030\\001 \\001(\"\n    \"\\0162#.google.protobuf.FieldOptions.CType:\\006\"\n    \"STRING\\022\\016\\n\\006packed\\030\\002 \\001(\\010\\022\\?\\n\\006jstype\\030\\006 \\001(\\0162$\"\n    \".google.protobuf.FieldOptions.JSType:\\tJS\"\n    \"_NORMAL\\022\\023\\n\\004lazy\\030\\005 \\001(\\010:\\005false\\022\\031\\n\\ndeprecat\"\n    \"ed\\030\\003 \\001(\\010:\\005false\\022\\023\\n\\004weak\\030\\n \\001(\\010:\\005false\\022C\\n\\024\"\n    \"uninterpreted_option\\030\\347\\007 \\003(\\0132$.google.pro\"\n    \"tobuf.UninterpretedOption\\\"/\\n\\005CType\\022\\n\\n\\006ST\"\n    \"RING\\020\\000\\022\\010\\n\\004CORD\\020\\001\\022\\020\\n\\014STRING_PIECE\\020\\002\\\"5\\n\\006JS\"\n    \"Type\\022\\r\\n\\tJS_NORMAL\\020\\000\\022\\r\\n\\tJS_STRING\\020\\001\\022\\r\\n\\tJS\"\n    \"_NUMBER\\020\\002*\\t\\010\\350\\007\\020\\200\\200\\200\\200\\002\\\"\\215\\001\\n\\013EnumOptions\\022\\023\\n\\013\"\n    \"allow_alias\\030\\002 \\001(\\010\\022\\031\\n\\ndeprecated\\030\\003 \\001(\\010:\\005f\"\n    \"alse\\022C\\n\\024uninterpreted_option\\030\\347\\007 \\003(\\0132$.go\"\n    \"ogle.protobuf.UninterpretedOption*\\t\\010\\350\\007\\020\\200\"\n    \"\\200\\200\\200\\002\\\"}\\n\\020EnumValueOptions\\022\\031\\n\\ndeprecated\\030\\001\"\n    \" \\001(\\010:\\005false\\022C\\n\\024uninterpreted_option\\030\\347\\007 \\003\"\n    \"(\\0132$.google.protobuf.UninterpretedOption\"\n    \"*\\t\\010\\350\\007\\020\\200\\200\\200\\200\\002\\\"{\\n\\016ServiceOptions\\022\\031\\n\\ndepreca\"\n    \"ted\\030! \\001(\\010:\\005false\\022C\\n\\024uninterpreted_option\"\n    \"\\030\\347\\007 \\003(\\0132$.google.protobuf.UninterpretedO\"\n    \"ption*\\t\\010\\350\\007\\020\\200\\200\\200\\200\\002\\\"z\\n\\rMethodOptions\\022\\031\\n\\ndep\"\n    \"recated\\030! \\001(\\010:\\005false\\022C\\n\\024uninterpreted_op\"\n    \"tion\\030\\347\\007 \\003(\\0132$.google.protobuf.Uninterpre\"\n    \"tedOption*\\t\\010\\350\\007\\020\\200\\200\\200\\200\\002\\\"\\236\\002\\n\\023UninterpretedOp\"\n    \"tion\\022;\\n\\004name\\030\\002 \\003(\\0132-.google.protobuf.Uni\"\n    \"nterpretedOption.NamePart\\022\\030\\n\\020identifier_\"\n    \"value\\030\\003 \\001(\\t\\022\\032\\n\\022positive_int_value\\030\\004 \\001(\\004\\022\"\n    \"\\032\\n\\022negative_int_value\\030\\005 \\001(\\003\\022\\024\\n\\014double_va\"\n    \"lue\\030\\006 \\001(\\001\\022\\024\\n\\014string_value\\030\\007 \\001(\\014\\022\\027\\n\\017aggre\"\n    \"gate_value\\030\\010 \\001(\\t\\0323\\n\\010NamePart\\022\\021\\n\\tname_par\"\n    \"t\\030\\001 \\002(\\t\\022\\024\\n\\014is_extension\\030\\002 \\002(\\010\\\"\\325\\001\\n\\016Source\"\n    \"CodeInfo\\022:\\n\\010location\\030\\001 \\003(\\0132(.google.prot\"\n    \"obuf.SourceCodeInfo.Location\\032\\206\\001\\n\\010Locatio\"\n    \"n\\022\\020\\n\\004path\\030\\001 \\003(\\005B\\002\\020\\001\\022\\020\\n\\004span\\030\\002 \\003(\\005B\\002\\020\\001\\022\\030\\n\"\n    \"\\020leading_comments\\030\\003 \\001(\\t\\022\\031\\n\\021trailing_comm\"\n    \"ents\\030\\004 \\001(\\t\\022!\\n\\031leading_detached_comments\\030\"\n    \"\\006 \\003(\\t\\\"\\247\\001\\n\\021GeneratedCodeInfo\\022A\\n\\nannotatio\"\n    \"n\\030\\001 \\003(\\0132-.google.protobuf.GeneratedCodeI\"\n    \"nfo.Annotation\\032O\\n\\nAnnotation\\022\\020\\n\\004path\\030\\001 \\003\"\n    \"(\\005B\\002\\020\\001\\022\\023\\n\\013source_file\\030\\002 \\001(\\t\\022\\r\\n\\005begin\\030\\003 \\001\"\n    \"(\\005\\022\\013\\n\\003end\\030\\004 \\001(\\005BX\\n\\023com.google.protobufB\\020\"\n    \"DescriptorProtosH\\001Z\\ndescriptor\\242\\002\\003GPB\\252\\002\\032G\"\n    \"oogle.Protobuf.Reflection\", 5145);\n  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(\n    \"google/protobuf/descriptor.proto\", &protobuf_RegisterTypes);\n  FileDescriptorSet::default_instance_ = new FileDescriptorSet();\n  FileDescriptorProto::default_instance_ = new FileDescriptorProto();\n  DescriptorProto::default_instance_ = new DescriptorProto();\n  DescriptorProto_ExtensionRange::default_instance_ = new DescriptorProto_ExtensionRange();\n  DescriptorProto_ReservedRange::default_instance_ = new DescriptorProto_ReservedRange();\n  FieldDescriptorProto::default_instance_ = new FieldDescriptorProto();\n  OneofDescriptorProto::default_instance_ = new OneofDescriptorProto();\n  EnumDescriptorProto::default_instance_ = new EnumDescriptorProto();\n  EnumValueDescriptorProto::default_instance_ = new EnumValueDescriptorProto();\n  ServiceDescriptorProto::default_instance_ = new ServiceDescriptorProto();\n  MethodDescriptorProto::default_instance_ = new MethodDescriptorProto();\n  FileOptions::default_instance_ = new FileOptions();\n  MessageOptions::default_instance_ = new MessageOptions();\n  FieldOptions::default_instance_ = new FieldOptions();\n  EnumOptions::default_instance_ = new EnumOptions();\n  EnumValueOptions::default_instance_ = new EnumValueOptions();\n  ServiceOptions::default_instance_ = new ServiceOptions();\n  MethodOptions::default_instance_ = new MethodOptions();\n  UninterpretedOption::default_instance_ = new UninterpretedOption();\n  UninterpretedOption_NamePart::default_instance_ = new UninterpretedOption_NamePart();\n  SourceCodeInfo::default_instance_ = new SourceCodeInfo();\n  SourceCodeInfo_Location::default_instance_ = new SourceCodeInfo_Location();\n  GeneratedCodeInfo::default_instance_ = new GeneratedCodeInfo();\n  GeneratedCodeInfo_Annotation::default_instance_ = new GeneratedCodeInfo_Annotation();\n  FileDescriptorSet::default_instance_->InitAsDefaultInstance();\n  FileDescriptorProto::default_instance_->InitAsDefaultInstance();\n  DescriptorProto::default_instance_->InitAsDefaultInstance();\n  DescriptorProto_ExtensionRange::default_instance_->InitAsDefaultInstance();\n  DescriptorProto_ReservedRange::default_instance_->InitAsDefaultInstance();\n  FieldDescriptorProto::default_instance_->InitAsDefaultInstance();\n  OneofDescriptorProto::default_instance_->InitAsDefaultInstance();\n  EnumDescriptorProto::default_instance_->InitAsDefaultInstance();\n  EnumValueDescriptorProto::default_instance_->InitAsDefaultInstance();\n  ServiceDescriptorProto::default_instance_->InitAsDefaultInstance();\n  MethodDescriptorProto::default_instance_->InitAsDefaultInstance();\n  FileOptions::default_instance_->InitAsDefaultInstance();\n  MessageOptions::default_instance_->InitAsDefaultInstance();\n  FieldOptions::default_instance_->InitAsDefaultInstance();\n  EnumOptions::default_instance_->InitAsDefaultInstance();\n  EnumValueOptions::default_instance_->InitAsDefaultInstance();\n  ServiceOptions::default_instance_->InitAsDefaultInstance();\n  MethodOptions::default_instance_->InitAsDefaultInstance();\n  UninterpretedOption::default_instance_->InitAsDefaultInstance();\n  UninterpretedOption_NamePart::default_instance_->InitAsDefaultInstance();\n  SourceCodeInfo::default_instance_->InitAsDefaultInstance();\n  SourceCodeInfo_Location::default_instance_->InitAsDefaultInstance();\n  GeneratedCodeInfo::default_instance_->InitAsDefaultInstance();\n  GeneratedCodeInfo_Annotation::default_instance_->InitAsDefaultInstance();\n  ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto);\n}\n\n// Force AddDescriptors() to be called at static initialization time.\nstruct StaticDescriptorInitializer_google_2fprotobuf_2fdescriptor_2eproto {\n  StaticDescriptorInitializer_google_2fprotobuf_2fdescriptor_2eproto() {\n    protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  }\n} static_descriptor_initializer_google_2fprotobuf_2fdescriptor_2eproto_;\n\nnamespace {\n\nstatic void MergeFromFail(int line) GOOGLE_ATTRIBUTE_COLD;\nstatic void MergeFromFail(int line) {\n  GOOGLE_CHECK(false) << __FILE__ << \":\" << line;\n}\n\n}  // namespace\n\n\n// ===================================================================\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst int FileDescriptorSet::kFileFieldNumber;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\n\nFileDescriptorSet::FileDescriptorSet()\n  : ::google::protobuf::Message(), _internal_metadata_(NULL) {\n  SharedCtor();\n  // @@protoc_insertion_point(constructor:google.protobuf.FileDescriptorSet)\n}\n\nvoid FileDescriptorSet::InitAsDefaultInstance() {\n}\n\nFileDescriptorSet::FileDescriptorSet(const FileDescriptorSet& from)\n  : ::google::protobuf::Message(),\n    _internal_metadata_(NULL) {\n  SharedCtor();\n  MergeFrom(from);\n  // @@protoc_insertion_point(copy_constructor:google.protobuf.FileDescriptorSet)\n}\n\nvoid FileDescriptorSet::SharedCtor() {\n  _cached_size_ = 0;\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n}\n\nFileDescriptorSet::~FileDescriptorSet() {\n  // @@protoc_insertion_point(destructor:google.protobuf.FileDescriptorSet)\n  SharedDtor();\n}\n\nvoid FileDescriptorSet::SharedDtor() {\n  if (this != default_instance_) {\n  }\n}\n\nvoid FileDescriptorSet::SetCachedSize(int size) const {\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n}\nconst ::google::protobuf::Descriptor* FileDescriptorSet::descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return FileDescriptorSet_descriptor_;\n}\n\nconst FileDescriptorSet& FileDescriptorSet::default_instance() {\n  if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  return *default_instance_;\n}\n\nFileDescriptorSet* FileDescriptorSet::default_instance_ = NULL;\n\nFileDescriptorSet* FileDescriptorSet::New(::google::protobuf::Arena* arena) const {\n  FileDescriptorSet* n = new FileDescriptorSet;\n  if (arena != NULL) {\n    arena->Own(n);\n  }\n  return n;\n}\n\nvoid FileDescriptorSet::Clear() {\n// @@protoc_insertion_point(message_clear_start:google.protobuf.FileDescriptorSet)\n  file_.Clear();\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n  if (_internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->Clear();\n  }\n}\n\nbool FileDescriptorSet::MergePartialFromCodedStream(\n    ::google::protobuf::io::CodedInputStream* input) {\n#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure\n  ::google::protobuf::uint32 tag;\n  // @@protoc_insertion_point(parse_start:google.protobuf.FileDescriptorSet)\n  for (;;) {\n    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);\n    tag = p.first;\n    if (!p.second) goto handle_unusual;\n    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {\n      // repeated .google.protobuf.FileDescriptorProto file = 1;\n      case 1: {\n        if (tag == 10) {\n          DO_(input->IncrementRecursionDepth());\n         parse_loop_file:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(\n                input, add_file()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(10)) goto parse_loop_file;\n        input->UnsafeDecrementRecursionDepth();\n        if (input->ExpectAtEnd()) goto success;\n        break;\n      }\n\n      default: {\n      handle_unusual:\n        if (tag == 0 ||\n            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==\n            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {\n          goto success;\n        }\n        DO_(::google::protobuf::internal::WireFormat::SkipField(\n              input, tag, mutable_unknown_fields()));\n        break;\n      }\n    }\n  }\nsuccess:\n  // @@protoc_insertion_point(parse_success:google.protobuf.FileDescriptorSet)\n  return true;\nfailure:\n  // @@protoc_insertion_point(parse_failure:google.protobuf.FileDescriptorSet)\n  return false;\n#undef DO_\n}\n\nvoid FileDescriptorSet::SerializeWithCachedSizes(\n    ::google::protobuf::io::CodedOutputStream* output) const {\n  // @@protoc_insertion_point(serialize_start:google.protobuf.FileDescriptorSet)\n  // repeated .google.protobuf.FileDescriptorProto file = 1;\n  for (unsigned int i = 0, n = this->file_size(); i < n; i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      1, this->file(i), output);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(\n        unknown_fields(), output);\n  }\n  // @@protoc_insertion_point(serialize_end:google.protobuf.FileDescriptorSet)\n}\n\n::google::protobuf::uint8* FileDescriptorSet::SerializeWithCachedSizesToArray(\n    ::google::protobuf::uint8* target) const {\n  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FileDescriptorSet)\n  // repeated .google.protobuf.FileDescriptorProto file = 1;\n  for (unsigned int i = 0, n = this->file_size(); i < n; i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        1, this->file(i), target);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(\n        unknown_fields(), target);\n  }\n  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FileDescriptorSet)\n  return target;\n}\n\nint FileDescriptorSet::ByteSize() const {\n// @@protoc_insertion_point(message_byte_size_start:google.protobuf.FileDescriptorSet)\n  int total_size = 0;\n\n  // repeated .google.protobuf.FileDescriptorProto file = 1;\n  total_size += 1 * this->file_size();\n  for (int i = 0; i < this->file_size(); i++) {\n    total_size +=\n      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n        this->file(i));\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    total_size +=\n      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(\n        unknown_fields());\n  }\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = total_size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n  return total_size;\n}\n\nvoid FileDescriptorSet::MergeFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.FileDescriptorSet)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  const FileDescriptorSet* source = \n      ::google::protobuf::internal::DynamicCastToGenerated<const FileDescriptorSet>(\n          &from);\n  if (source == NULL) {\n  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.FileDescriptorSet)\n    ::google::protobuf::internal::ReflectionOps::Merge(from, this);\n  } else {\n  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.FileDescriptorSet)\n    MergeFrom(*source);\n  }\n}\n\nvoid FileDescriptorSet::MergeFrom(const FileDescriptorSet& from) {\n// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FileDescriptorSet)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  file_.MergeFrom(from.file_);\n  if (from._internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->MergeFrom(from.unknown_fields());\n  }\n}\n\nvoid FileDescriptorSet::CopyFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.FileDescriptorSet)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nvoid FileDescriptorSet::CopyFrom(const FileDescriptorSet& from) {\n// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FileDescriptorSet)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nbool FileDescriptorSet::IsInitialized() const {\n\n  if (!::google::protobuf::internal::AllAreInitialized(this->file())) return false;\n  return true;\n}\n\nvoid FileDescriptorSet::Swap(FileDescriptorSet* other) {\n  if (other == this) return;\n  InternalSwap(other);\n}\nvoid FileDescriptorSet::InternalSwap(FileDescriptorSet* other) {\n  file_.UnsafeArenaSwap(&other->file_);\n  std::swap(_has_bits_[0], other->_has_bits_[0]);\n  _internal_metadata_.Swap(&other->_internal_metadata_);\n  std::swap(_cached_size_, other->_cached_size_);\n}\n\n::google::protobuf::Metadata FileDescriptorSet::GetMetadata() const {\n  protobuf_AssignDescriptorsOnce();\n  ::google::protobuf::Metadata metadata;\n  metadata.descriptor = FileDescriptorSet_descriptor_;\n  metadata.reflection = FileDescriptorSet_reflection_;\n  return metadata;\n}\n\n#if PROTOBUF_INLINE_NOT_IN_HEADERS\n// FileDescriptorSet\n\n// repeated .google.protobuf.FileDescriptorProto file = 1;\nint FileDescriptorSet::file_size() const {\n  return file_.size();\n}\nvoid FileDescriptorSet::clear_file() {\n  file_.Clear();\n}\nconst ::google::protobuf::FileDescriptorProto& FileDescriptorSet::file(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorSet.file)\n  return file_.Get(index);\n}\n::google::protobuf::FileDescriptorProto* FileDescriptorSet::mutable_file(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorSet.file)\n  return file_.Mutable(index);\n}\n::google::protobuf::FileDescriptorProto* FileDescriptorSet::add_file() {\n  // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorSet.file)\n  return file_.Add();\n}\n::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*\nFileDescriptorSet::mutable_file() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorSet.file)\n  return &file_;\n}\nconst ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&\nFileDescriptorSet::file() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorSet.file)\n  return file_;\n}\n\n#endif  // PROTOBUF_INLINE_NOT_IN_HEADERS\n\n// ===================================================================\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst int FileDescriptorProto::kNameFieldNumber;\nconst int FileDescriptorProto::kPackageFieldNumber;\nconst int FileDescriptorProto::kDependencyFieldNumber;\nconst int FileDescriptorProto::kPublicDependencyFieldNumber;\nconst int FileDescriptorProto::kWeakDependencyFieldNumber;\nconst int FileDescriptorProto::kMessageTypeFieldNumber;\nconst int FileDescriptorProto::kEnumTypeFieldNumber;\nconst int FileDescriptorProto::kServiceFieldNumber;\nconst int FileDescriptorProto::kExtensionFieldNumber;\nconst int FileDescriptorProto::kOptionsFieldNumber;\nconst int FileDescriptorProto::kSourceCodeInfoFieldNumber;\nconst int FileDescriptorProto::kSyntaxFieldNumber;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\n\nFileDescriptorProto::FileDescriptorProto()\n  : ::google::protobuf::Message(), _internal_metadata_(NULL) {\n  SharedCtor();\n  // @@protoc_insertion_point(constructor:google.protobuf.FileDescriptorProto)\n}\n\nvoid FileDescriptorProto::InitAsDefaultInstance() {\n  options_ = const_cast< ::google::protobuf::FileOptions*>(&::google::protobuf::FileOptions::default_instance());\n  source_code_info_ = const_cast< ::google::protobuf::SourceCodeInfo*>(&::google::protobuf::SourceCodeInfo::default_instance());\n}\n\nFileDescriptorProto::FileDescriptorProto(const FileDescriptorProto& from)\n  : ::google::protobuf::Message(),\n    _internal_metadata_(NULL) {\n  SharedCtor();\n  MergeFrom(from);\n  // @@protoc_insertion_point(copy_constructor:google.protobuf.FileDescriptorProto)\n}\n\nvoid FileDescriptorProto::SharedCtor() {\n  ::google::protobuf::internal::GetEmptyString();\n  _cached_size_ = 0;\n  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  package_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  options_ = NULL;\n  source_code_info_ = NULL;\n  syntax_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n}\n\nFileDescriptorProto::~FileDescriptorProto() {\n  // @@protoc_insertion_point(destructor:google.protobuf.FileDescriptorProto)\n  SharedDtor();\n}\n\nvoid FileDescriptorProto::SharedDtor() {\n  name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  package_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  syntax_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  if (this != default_instance_) {\n    delete options_;\n    delete source_code_info_;\n  }\n}\n\nvoid FileDescriptorProto::SetCachedSize(int size) const {\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n}\nconst ::google::protobuf::Descriptor* FileDescriptorProto::descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return FileDescriptorProto_descriptor_;\n}\n\nconst FileDescriptorProto& FileDescriptorProto::default_instance() {\n  if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  return *default_instance_;\n}\n\nFileDescriptorProto* FileDescriptorProto::default_instance_ = NULL;\n\nFileDescriptorProto* FileDescriptorProto::New(::google::protobuf::Arena* arena) const {\n  FileDescriptorProto* n = new FileDescriptorProto;\n  if (arena != NULL) {\n    arena->Own(n);\n  }\n  return n;\n}\n\nvoid FileDescriptorProto::Clear() {\n// @@protoc_insertion_point(message_clear_start:google.protobuf.FileDescriptorProto)\n  if (_has_bits_[0 / 32] & 3u) {\n    if (has_name()) {\n      name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n    }\n    if (has_package()) {\n      package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n    }\n  }\n  if (_has_bits_[8 / 32] & 3584u) {\n    if (has_options()) {\n      if (options_ != NULL) options_->::google::protobuf::FileOptions::Clear();\n    }\n    if (has_source_code_info()) {\n      if (source_code_info_ != NULL) source_code_info_->::google::protobuf::SourceCodeInfo::Clear();\n    }\n    if (has_syntax()) {\n      syntax_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n    }\n  }\n  dependency_.Clear();\n  public_dependency_.Clear();\n  weak_dependency_.Clear();\n  message_type_.Clear();\n  enum_type_.Clear();\n  service_.Clear();\n  extension_.Clear();\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n  if (_internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->Clear();\n  }\n}\n\nbool FileDescriptorProto::MergePartialFromCodedStream(\n    ::google::protobuf::io::CodedInputStream* input) {\n#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure\n  ::google::protobuf::uint32 tag;\n  // @@protoc_insertion_point(parse_start:google.protobuf.FileDescriptorProto)\n  for (;;) {\n    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);\n    tag = p.first;\n    if (!p.second) goto handle_unusual;\n    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {\n      // optional string name = 1;\n      case 1: {\n        if (tag == 10) {\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->mutable_name()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->name().data(), this->name().length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.FileDescriptorProto.name\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(18)) goto parse_package;\n        break;\n      }\n\n      // optional string package = 2;\n      case 2: {\n        if (tag == 18) {\n         parse_package:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->mutable_package()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->package().data(), this->package().length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.FileDescriptorProto.package\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(26)) goto parse_dependency;\n        break;\n      }\n\n      // repeated string dependency = 3;\n      case 3: {\n        if (tag == 26) {\n         parse_dependency:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->add_dependency()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->dependency(this->dependency_size() - 1).data(),\n            this->dependency(this->dependency_size() - 1).length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.FileDescriptorProto.dependency\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(26)) goto parse_dependency;\n        if (input->ExpectTag(34)) goto parse_message_type;\n        break;\n      }\n\n      // repeated .google.protobuf.DescriptorProto message_type = 4;\n      case 4: {\n        if (tag == 34) {\n         parse_message_type:\n          DO_(input->IncrementRecursionDepth());\n         parse_loop_message_type:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(\n                input, add_message_type()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(34)) goto parse_loop_message_type;\n        if (input->ExpectTag(42)) goto parse_loop_enum_type;\n        input->UnsafeDecrementRecursionDepth();\n        break;\n      }\n\n      // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;\n      case 5: {\n        if (tag == 42) {\n          DO_(input->IncrementRecursionDepth());\n         parse_loop_enum_type:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(\n                input, add_enum_type()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(42)) goto parse_loop_enum_type;\n        if (input->ExpectTag(50)) goto parse_loop_service;\n        input->UnsafeDecrementRecursionDepth();\n        break;\n      }\n\n      // repeated .google.protobuf.ServiceDescriptorProto service = 6;\n      case 6: {\n        if (tag == 50) {\n          DO_(input->IncrementRecursionDepth());\n         parse_loop_service:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(\n                input, add_service()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(50)) goto parse_loop_service;\n        if (input->ExpectTag(58)) goto parse_loop_extension;\n        input->UnsafeDecrementRecursionDepth();\n        break;\n      }\n\n      // repeated .google.protobuf.FieldDescriptorProto extension = 7;\n      case 7: {\n        if (tag == 58) {\n          DO_(input->IncrementRecursionDepth());\n         parse_loop_extension:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(\n                input, add_extension()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(58)) goto parse_loop_extension;\n        input->UnsafeDecrementRecursionDepth();\n        if (input->ExpectTag(66)) goto parse_options;\n        break;\n      }\n\n      // optional .google.protobuf.FileOptions options = 8;\n      case 8: {\n        if (tag == 66) {\n         parse_options:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(\n               input, mutable_options()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(74)) goto parse_source_code_info;\n        break;\n      }\n\n      // optional .google.protobuf.SourceCodeInfo source_code_info = 9;\n      case 9: {\n        if (tag == 74) {\n         parse_source_code_info:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(\n               input, mutable_source_code_info()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(80)) goto parse_public_dependency;\n        break;\n      }\n\n      // repeated int32 public_dependency = 10;\n      case 10: {\n        if (tag == 80) {\n         parse_public_dependency:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<\n                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(\n                 1, 80, input, this->mutable_public_dependency())));\n        } else if (tag == 82) {\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<\n                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(\n                 input, this->mutable_public_dependency())));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(80)) goto parse_public_dependency;\n        if (input->ExpectTag(88)) goto parse_weak_dependency;\n        break;\n      }\n\n      // repeated int32 weak_dependency = 11;\n      case 11: {\n        if (tag == 88) {\n         parse_weak_dependency:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<\n                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(\n                 1, 88, input, this->mutable_weak_dependency())));\n        } else if (tag == 90) {\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<\n                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(\n                 input, this->mutable_weak_dependency())));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(88)) goto parse_weak_dependency;\n        if (input->ExpectTag(98)) goto parse_syntax;\n        break;\n      }\n\n      // optional string syntax = 12;\n      case 12: {\n        if (tag == 98) {\n         parse_syntax:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->mutable_syntax()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->syntax().data(), this->syntax().length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.FileDescriptorProto.syntax\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectAtEnd()) goto success;\n        break;\n      }\n\n      default: {\n      handle_unusual:\n        if (tag == 0 ||\n            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==\n            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {\n          goto success;\n        }\n        DO_(::google::protobuf::internal::WireFormat::SkipField(\n              input, tag, mutable_unknown_fields()));\n        break;\n      }\n    }\n  }\nsuccess:\n  // @@protoc_insertion_point(parse_success:google.protobuf.FileDescriptorProto)\n  return true;\nfailure:\n  // @@protoc_insertion_point(parse_failure:google.protobuf.FileDescriptorProto)\n  return false;\n#undef DO_\n}\n\nvoid FileDescriptorProto::SerializeWithCachedSizes(\n    ::google::protobuf::io::CodedOutputStream* output) const {\n  // @@protoc_insertion_point(serialize_start:google.protobuf.FileDescriptorProto)\n  // optional string name = 1;\n  if (has_name()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->name().data(), this->name().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FileDescriptorProto.name\");\n    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(\n      1, this->name(), output);\n  }\n\n  // optional string package = 2;\n  if (has_package()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->package().data(), this->package().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FileDescriptorProto.package\");\n    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(\n      2, this->package(), output);\n  }\n\n  // repeated string dependency = 3;\n  for (int i = 0; i < this->dependency_size(); i++) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->dependency(i).data(), this->dependency(i).length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FileDescriptorProto.dependency\");\n    ::google::protobuf::internal::WireFormatLite::WriteString(\n      3, this->dependency(i), output);\n  }\n\n  // repeated .google.protobuf.DescriptorProto message_type = 4;\n  for (unsigned int i = 0, n = this->message_type_size(); i < n; i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      4, this->message_type(i), output);\n  }\n\n  // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;\n  for (unsigned int i = 0, n = this->enum_type_size(); i < n; i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      5, this->enum_type(i), output);\n  }\n\n  // repeated .google.protobuf.ServiceDescriptorProto service = 6;\n  for (unsigned int i = 0, n = this->service_size(); i < n; i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      6, this->service(i), output);\n  }\n\n  // repeated .google.protobuf.FieldDescriptorProto extension = 7;\n  for (unsigned int i = 0, n = this->extension_size(); i < n; i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      7, this->extension(i), output);\n  }\n\n  // optional .google.protobuf.FileOptions options = 8;\n  if (has_options()) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      8, *this->options_, output);\n  }\n\n  // optional .google.protobuf.SourceCodeInfo source_code_info = 9;\n  if (has_source_code_info()) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      9, *this->source_code_info_, output);\n  }\n\n  // repeated int32 public_dependency = 10;\n  for (int i = 0; i < this->public_dependency_size(); i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteInt32(\n      10, this->public_dependency(i), output);\n  }\n\n  // repeated int32 weak_dependency = 11;\n  for (int i = 0; i < this->weak_dependency_size(); i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteInt32(\n      11, this->weak_dependency(i), output);\n  }\n\n  // optional string syntax = 12;\n  if (has_syntax()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->syntax().data(), this->syntax().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FileDescriptorProto.syntax\");\n    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(\n      12, this->syntax(), output);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(\n        unknown_fields(), output);\n  }\n  // @@protoc_insertion_point(serialize_end:google.protobuf.FileDescriptorProto)\n}\n\n::google::protobuf::uint8* FileDescriptorProto::SerializeWithCachedSizesToArray(\n    ::google::protobuf::uint8* target) const {\n  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FileDescriptorProto)\n  // optional string name = 1;\n  if (has_name()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->name().data(), this->name().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FileDescriptorProto.name\");\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(\n        1, this->name(), target);\n  }\n\n  // optional string package = 2;\n  if (has_package()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->package().data(), this->package().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FileDescriptorProto.package\");\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(\n        2, this->package(), target);\n  }\n\n  // repeated string dependency = 3;\n  for (int i = 0; i < this->dependency_size(); i++) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->dependency(i).data(), this->dependency(i).length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FileDescriptorProto.dependency\");\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteStringToArray(3, this->dependency(i), target);\n  }\n\n  // repeated .google.protobuf.DescriptorProto message_type = 4;\n  for (unsigned int i = 0, n = this->message_type_size(); i < n; i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        4, this->message_type(i), target);\n  }\n\n  // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;\n  for (unsigned int i = 0, n = this->enum_type_size(); i < n; i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        5, this->enum_type(i), target);\n  }\n\n  // repeated .google.protobuf.ServiceDescriptorProto service = 6;\n  for (unsigned int i = 0, n = this->service_size(); i < n; i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        6, this->service(i), target);\n  }\n\n  // repeated .google.protobuf.FieldDescriptorProto extension = 7;\n  for (unsigned int i = 0, n = this->extension_size(); i < n; i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        7, this->extension(i), target);\n  }\n\n  // optional .google.protobuf.FileOptions options = 8;\n  if (has_options()) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        8, *this->options_, target);\n  }\n\n  // optional .google.protobuf.SourceCodeInfo source_code_info = 9;\n  if (has_source_code_info()) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        9, *this->source_code_info_, target);\n  }\n\n  // repeated int32 public_dependency = 10;\n  for (int i = 0; i < this->public_dependency_size(); i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteInt32ToArray(10, this->public_dependency(i), target);\n  }\n\n  // repeated int32 weak_dependency = 11;\n  for (int i = 0; i < this->weak_dependency_size(); i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteInt32ToArray(11, this->weak_dependency(i), target);\n  }\n\n  // optional string syntax = 12;\n  if (has_syntax()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->syntax().data(), this->syntax().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FileDescriptorProto.syntax\");\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(\n        12, this->syntax(), target);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(\n        unknown_fields(), target);\n  }\n  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FileDescriptorProto)\n  return target;\n}\n\nint FileDescriptorProto::ByteSize() const {\n// @@protoc_insertion_point(message_byte_size_start:google.protobuf.FileDescriptorProto)\n  int total_size = 0;\n\n  if (_has_bits_[0 / 32] & 3u) {\n    // optional string name = 1;\n    if (has_name()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::StringSize(\n          this->name());\n    }\n\n    // optional string package = 2;\n    if (has_package()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::StringSize(\n          this->package());\n    }\n\n  }\n  if (_has_bits_[9 / 32] & 3584u) {\n    // optional .google.protobuf.FileOptions options = 8;\n    if (has_options()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n          *this->options_);\n    }\n\n    // optional .google.protobuf.SourceCodeInfo source_code_info = 9;\n    if (has_source_code_info()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n          *this->source_code_info_);\n    }\n\n    // optional string syntax = 12;\n    if (has_syntax()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::StringSize(\n          this->syntax());\n    }\n\n  }\n  // repeated string dependency = 3;\n  total_size += 1 * this->dependency_size();\n  for (int i = 0; i < this->dependency_size(); i++) {\n    total_size += ::google::protobuf::internal::WireFormatLite::StringSize(\n      this->dependency(i));\n  }\n\n  // repeated int32 public_dependency = 10;\n  {\n    int data_size = 0;\n    for (int i = 0; i < this->public_dependency_size(); i++) {\n      data_size += ::google::protobuf::internal::WireFormatLite::\n        Int32Size(this->public_dependency(i));\n    }\n    total_size += 1 * this->public_dependency_size() + data_size;\n  }\n\n  // repeated int32 weak_dependency = 11;\n  {\n    int data_size = 0;\n    for (int i = 0; i < this->weak_dependency_size(); i++) {\n      data_size += ::google::protobuf::internal::WireFormatLite::\n        Int32Size(this->weak_dependency(i));\n    }\n    total_size += 1 * this->weak_dependency_size() + data_size;\n  }\n\n  // repeated .google.protobuf.DescriptorProto message_type = 4;\n  total_size += 1 * this->message_type_size();\n  for (int i = 0; i < this->message_type_size(); i++) {\n    total_size +=\n      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n        this->message_type(i));\n  }\n\n  // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;\n  total_size += 1 * this->enum_type_size();\n  for (int i = 0; i < this->enum_type_size(); i++) {\n    total_size +=\n      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n        this->enum_type(i));\n  }\n\n  // repeated .google.protobuf.ServiceDescriptorProto service = 6;\n  total_size += 1 * this->service_size();\n  for (int i = 0; i < this->service_size(); i++) {\n    total_size +=\n      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n        this->service(i));\n  }\n\n  // repeated .google.protobuf.FieldDescriptorProto extension = 7;\n  total_size += 1 * this->extension_size();\n  for (int i = 0; i < this->extension_size(); i++) {\n    total_size +=\n      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n        this->extension(i));\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    total_size +=\n      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(\n        unknown_fields());\n  }\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = total_size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n  return total_size;\n}\n\nvoid FileDescriptorProto::MergeFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.FileDescriptorProto)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  const FileDescriptorProto* source = \n      ::google::protobuf::internal::DynamicCastToGenerated<const FileDescriptorProto>(\n          &from);\n  if (source == NULL) {\n  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.FileDescriptorProto)\n    ::google::protobuf::internal::ReflectionOps::Merge(from, this);\n  } else {\n  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.FileDescriptorProto)\n    MergeFrom(*source);\n  }\n}\n\nvoid FileDescriptorProto::MergeFrom(const FileDescriptorProto& from) {\n// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FileDescriptorProto)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  dependency_.MergeFrom(from.dependency_);\n  public_dependency_.MergeFrom(from.public_dependency_);\n  weak_dependency_.MergeFrom(from.weak_dependency_);\n  message_type_.MergeFrom(from.message_type_);\n  enum_type_.MergeFrom(from.enum_type_);\n  service_.MergeFrom(from.service_);\n  extension_.MergeFrom(from.extension_);\n  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {\n    if (from.has_name()) {\n      set_has_name();\n      name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);\n    }\n    if (from.has_package()) {\n      set_has_package();\n      package_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.package_);\n    }\n  }\n  if (from._has_bits_[9 / 32] & (0xffu << (9 % 32))) {\n    if (from.has_options()) {\n      mutable_options()->::google::protobuf::FileOptions::MergeFrom(from.options());\n    }\n    if (from.has_source_code_info()) {\n      mutable_source_code_info()->::google::protobuf::SourceCodeInfo::MergeFrom(from.source_code_info());\n    }\n    if (from.has_syntax()) {\n      set_has_syntax();\n      syntax_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.syntax_);\n    }\n  }\n  if (from._internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->MergeFrom(from.unknown_fields());\n  }\n}\n\nvoid FileDescriptorProto::CopyFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.FileDescriptorProto)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nvoid FileDescriptorProto::CopyFrom(const FileDescriptorProto& from) {\n// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FileDescriptorProto)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nbool FileDescriptorProto::IsInitialized() const {\n\n  if (!::google::protobuf::internal::AllAreInitialized(this->message_type())) return false;\n  if (!::google::protobuf::internal::AllAreInitialized(this->enum_type())) return false;\n  if (!::google::protobuf::internal::AllAreInitialized(this->service())) return false;\n  if (!::google::protobuf::internal::AllAreInitialized(this->extension())) return false;\n  if (has_options()) {\n    if (!this->options_->IsInitialized()) return false;\n  }\n  return true;\n}\n\nvoid FileDescriptorProto::Swap(FileDescriptorProto* other) {\n  if (other == this) return;\n  InternalSwap(other);\n}\nvoid FileDescriptorProto::InternalSwap(FileDescriptorProto* other) {\n  name_.Swap(&other->name_);\n  package_.Swap(&other->package_);\n  dependency_.UnsafeArenaSwap(&other->dependency_);\n  public_dependency_.UnsafeArenaSwap(&other->public_dependency_);\n  weak_dependency_.UnsafeArenaSwap(&other->weak_dependency_);\n  message_type_.UnsafeArenaSwap(&other->message_type_);\n  enum_type_.UnsafeArenaSwap(&other->enum_type_);\n  service_.UnsafeArenaSwap(&other->service_);\n  extension_.UnsafeArenaSwap(&other->extension_);\n  std::swap(options_, other->options_);\n  std::swap(source_code_info_, other->source_code_info_);\n  syntax_.Swap(&other->syntax_);\n  std::swap(_has_bits_[0], other->_has_bits_[0]);\n  _internal_metadata_.Swap(&other->_internal_metadata_);\n  std::swap(_cached_size_, other->_cached_size_);\n}\n\n::google::protobuf::Metadata FileDescriptorProto::GetMetadata() const {\n  protobuf_AssignDescriptorsOnce();\n  ::google::protobuf::Metadata metadata;\n  metadata.descriptor = FileDescriptorProto_descriptor_;\n  metadata.reflection = FileDescriptorProto_reflection_;\n  return metadata;\n}\n\n#if PROTOBUF_INLINE_NOT_IN_HEADERS\n// FileDescriptorProto\n\n// optional string name = 1;\nbool FileDescriptorProto::has_name() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\nvoid FileDescriptorProto::set_has_name() {\n  _has_bits_[0] |= 0x00000001u;\n}\nvoid FileDescriptorProto::clear_has_name() {\n  _has_bits_[0] &= ~0x00000001u;\n}\nvoid FileDescriptorProto::clear_name() {\n  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_name();\n}\n const ::std::string& FileDescriptorProto::name() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name)\n  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void FileDescriptorProto::set_name(const ::std::string& value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name)\n}\n void FileDescriptorProto::set_name(const char* value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.name)\n}\n void FileDescriptorProto::set_name(const char* value, size_t size) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.name)\n}\n ::std::string* FileDescriptorProto::mutable_name() {\n  set_has_name();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.name)\n  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* FileDescriptorProto::release_name() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.name)\n  clear_has_name();\n  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void FileDescriptorProto::set_allocated_name(::std::string* name) {\n  if (name != NULL) {\n    set_has_name();\n  } else {\n    clear_has_name();\n  }\n  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.name)\n}\n\n// optional string package = 2;\nbool FileDescriptorProto::has_package() const {\n  return (_has_bits_[0] & 0x00000002u) != 0;\n}\nvoid FileDescriptorProto::set_has_package() {\n  _has_bits_[0] |= 0x00000002u;\n}\nvoid FileDescriptorProto::clear_has_package() {\n  _has_bits_[0] &= ~0x00000002u;\n}\nvoid FileDescriptorProto::clear_package() {\n  package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_package();\n}\n const ::std::string& FileDescriptorProto::package() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.package)\n  return package_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void FileDescriptorProto::set_package(const ::std::string& value) {\n  set_has_package();\n  package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.package)\n}\n void FileDescriptorProto::set_package(const char* value) {\n  set_has_package();\n  package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.package)\n}\n void FileDescriptorProto::set_package(const char* value, size_t size) {\n  set_has_package();\n  package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.package)\n}\n ::std::string* FileDescriptorProto::mutable_package() {\n  set_has_package();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.package)\n  return package_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* FileDescriptorProto::release_package() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.package)\n  clear_has_package();\n  return package_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void FileDescriptorProto::set_allocated_package(::std::string* package) {\n  if (package != NULL) {\n    set_has_package();\n  } else {\n    clear_has_package();\n  }\n  package_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), package);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.package)\n}\n\n// repeated string dependency = 3;\nint FileDescriptorProto::dependency_size() const {\n  return dependency_.size();\n}\nvoid FileDescriptorProto::clear_dependency() {\n  dependency_.Clear();\n}\n const ::std::string& FileDescriptorProto::dependency(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.dependency)\n  return dependency_.Get(index);\n}\n ::std::string* FileDescriptorProto::mutable_dependency(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.dependency)\n  return dependency_.Mutable(index);\n}\n void FileDescriptorProto::set_dependency(int index, const ::std::string& value) {\n  // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.dependency)\n  dependency_.Mutable(index)->assign(value);\n}\n void FileDescriptorProto::set_dependency(int index, const char* value) {\n  dependency_.Mutable(index)->assign(value);\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.dependency)\n}\n void FileDescriptorProto::set_dependency(int index, const char* value, size_t size) {\n  dependency_.Mutable(index)->assign(\n    reinterpret_cast<const char*>(value), size);\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.dependency)\n}\n ::std::string* FileDescriptorProto::add_dependency() {\n  // @@protoc_insertion_point(field_add_mutable:google.protobuf.FileDescriptorProto.dependency)\n  return dependency_.Add();\n}\n void FileDescriptorProto::add_dependency(const ::std::string& value) {\n  dependency_.Add()->assign(value);\n  // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.dependency)\n}\n void FileDescriptorProto::add_dependency(const char* value) {\n  dependency_.Add()->assign(value);\n  // @@protoc_insertion_point(field_add_char:google.protobuf.FileDescriptorProto.dependency)\n}\n void FileDescriptorProto::add_dependency(const char* value, size_t size) {\n  dependency_.Add()->assign(reinterpret_cast<const char*>(value), size);\n  // @@protoc_insertion_point(field_add_pointer:google.protobuf.FileDescriptorProto.dependency)\n}\n const ::google::protobuf::RepeatedPtrField< ::std::string>&\nFileDescriptorProto::dependency() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.dependency)\n  return dependency_;\n}\n ::google::protobuf::RepeatedPtrField< ::std::string>*\nFileDescriptorProto::mutable_dependency() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.dependency)\n  return &dependency_;\n}\n\n// repeated int32 public_dependency = 10;\nint FileDescriptorProto::public_dependency_size() const {\n  return public_dependency_.size();\n}\nvoid FileDescriptorProto::clear_public_dependency() {\n  public_dependency_.Clear();\n}\n ::google::protobuf::int32 FileDescriptorProto::public_dependency(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.public_dependency)\n  return public_dependency_.Get(index);\n}\n void FileDescriptorProto::set_public_dependency(int index, ::google::protobuf::int32 value) {\n  public_dependency_.Set(index, value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.public_dependency)\n}\n void FileDescriptorProto::add_public_dependency(::google::protobuf::int32 value) {\n  public_dependency_.Add(value);\n  // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.public_dependency)\n}\n const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&\nFileDescriptorProto::public_dependency() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.public_dependency)\n  return public_dependency_;\n}\n ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*\nFileDescriptorProto::mutable_public_dependency() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.public_dependency)\n  return &public_dependency_;\n}\n\n// repeated int32 weak_dependency = 11;\nint FileDescriptorProto::weak_dependency_size() const {\n  return weak_dependency_.size();\n}\nvoid FileDescriptorProto::clear_weak_dependency() {\n  weak_dependency_.Clear();\n}\n ::google::protobuf::int32 FileDescriptorProto::weak_dependency(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.weak_dependency)\n  return weak_dependency_.Get(index);\n}\n void FileDescriptorProto::set_weak_dependency(int index, ::google::protobuf::int32 value) {\n  weak_dependency_.Set(index, value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.weak_dependency)\n}\n void FileDescriptorProto::add_weak_dependency(::google::protobuf::int32 value) {\n  weak_dependency_.Add(value);\n  // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.weak_dependency)\n}\n const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&\nFileDescriptorProto::weak_dependency() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.weak_dependency)\n  return weak_dependency_;\n}\n ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*\nFileDescriptorProto::mutable_weak_dependency() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.weak_dependency)\n  return &weak_dependency_;\n}\n\n// repeated .google.protobuf.DescriptorProto message_type = 4;\nint FileDescriptorProto::message_type_size() const {\n  return message_type_.size();\n}\nvoid FileDescriptorProto::clear_message_type() {\n  message_type_.Clear();\n}\nconst ::google::protobuf::DescriptorProto& FileDescriptorProto::message_type(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.message_type)\n  return message_type_.Get(index);\n}\n::google::protobuf::DescriptorProto* FileDescriptorProto::mutable_message_type(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.message_type)\n  return message_type_.Mutable(index);\n}\n::google::protobuf::DescriptorProto* FileDescriptorProto::add_message_type() {\n  // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.message_type)\n  return message_type_.Add();\n}\n::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*\nFileDescriptorProto::mutable_message_type() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.message_type)\n  return &message_type_;\n}\nconst ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&\nFileDescriptorProto::message_type() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.message_type)\n  return message_type_;\n}\n\n// repeated .google.protobuf.EnumDescriptorProto enum_type = 5;\nint FileDescriptorProto::enum_type_size() const {\n  return enum_type_.size();\n}\nvoid FileDescriptorProto::clear_enum_type() {\n  enum_type_.Clear();\n}\nconst ::google::protobuf::EnumDescriptorProto& FileDescriptorProto::enum_type(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.enum_type)\n  return enum_type_.Get(index);\n}\n::google::protobuf::EnumDescriptorProto* FileDescriptorProto::mutable_enum_type(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.enum_type)\n  return enum_type_.Mutable(index);\n}\n::google::protobuf::EnumDescriptorProto* FileDescriptorProto::add_enum_type() {\n  // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.enum_type)\n  return enum_type_.Add();\n}\n::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*\nFileDescriptorProto::mutable_enum_type() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.enum_type)\n  return &enum_type_;\n}\nconst ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&\nFileDescriptorProto::enum_type() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.enum_type)\n  return enum_type_;\n}\n\n// repeated .google.protobuf.ServiceDescriptorProto service = 6;\nint FileDescriptorProto::service_size() const {\n  return service_.size();\n}\nvoid FileDescriptorProto::clear_service() {\n  service_.Clear();\n}\nconst ::google::protobuf::ServiceDescriptorProto& FileDescriptorProto::service(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.service)\n  return service_.Get(index);\n}\n::google::protobuf::ServiceDescriptorProto* FileDescriptorProto::mutable_service(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.service)\n  return service_.Mutable(index);\n}\n::google::protobuf::ServiceDescriptorProto* FileDescriptorProto::add_service() {\n  // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.service)\n  return service_.Add();\n}\n::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >*\nFileDescriptorProto::mutable_service() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.service)\n  return &service_;\n}\nconst ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >&\nFileDescriptorProto::service() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.service)\n  return service_;\n}\n\n// repeated .google.protobuf.FieldDescriptorProto extension = 7;\nint FileDescriptorProto::extension_size() const {\n  return extension_.size();\n}\nvoid FileDescriptorProto::clear_extension() {\n  extension_.Clear();\n}\nconst ::google::protobuf::FieldDescriptorProto& FileDescriptorProto::extension(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.extension)\n  return extension_.Get(index);\n}\n::google::protobuf::FieldDescriptorProto* FileDescriptorProto::mutable_extension(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.extension)\n  return extension_.Mutable(index);\n}\n::google::protobuf::FieldDescriptorProto* FileDescriptorProto::add_extension() {\n  // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.extension)\n  return extension_.Add();\n}\n::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*\nFileDescriptorProto::mutable_extension() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.extension)\n  return &extension_;\n}\nconst ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&\nFileDescriptorProto::extension() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.extension)\n  return extension_;\n}\n\n// optional .google.protobuf.FileOptions options = 8;\nbool FileDescriptorProto::has_options() const {\n  return (_has_bits_[0] & 0x00000200u) != 0;\n}\nvoid FileDescriptorProto::set_has_options() {\n  _has_bits_[0] |= 0x00000200u;\n}\nvoid FileDescriptorProto::clear_has_options() {\n  _has_bits_[0] &= ~0x00000200u;\n}\nvoid FileDescriptorProto::clear_options() {\n  if (options_ != NULL) options_->::google::protobuf::FileOptions::Clear();\n  clear_has_options();\n}\nconst ::google::protobuf::FileOptions& FileDescriptorProto::options() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.options)\n  return options_ != NULL ? *options_ : *default_instance_->options_;\n}\n::google::protobuf::FileOptions* FileDescriptorProto::mutable_options() {\n  set_has_options();\n  if (options_ == NULL) {\n    options_ = new ::google::protobuf::FileOptions;\n  }\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.options)\n  return options_;\n}\n::google::protobuf::FileOptions* FileDescriptorProto::release_options() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.options)\n  clear_has_options();\n  ::google::protobuf::FileOptions* temp = options_;\n  options_ = NULL;\n  return temp;\n}\nvoid FileDescriptorProto::set_allocated_options(::google::protobuf::FileOptions* options) {\n  delete options_;\n  options_ = options;\n  if (options) {\n    set_has_options();\n  } else {\n    clear_has_options();\n  }\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.options)\n}\n\n// optional .google.protobuf.SourceCodeInfo source_code_info = 9;\nbool FileDescriptorProto::has_source_code_info() const {\n  return (_has_bits_[0] & 0x00000400u) != 0;\n}\nvoid FileDescriptorProto::set_has_source_code_info() {\n  _has_bits_[0] |= 0x00000400u;\n}\nvoid FileDescriptorProto::clear_has_source_code_info() {\n  _has_bits_[0] &= ~0x00000400u;\n}\nvoid FileDescriptorProto::clear_source_code_info() {\n  if (source_code_info_ != NULL) source_code_info_->::google::protobuf::SourceCodeInfo::Clear();\n  clear_has_source_code_info();\n}\nconst ::google::protobuf::SourceCodeInfo& FileDescriptorProto::source_code_info() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.source_code_info)\n  return source_code_info_ != NULL ? *source_code_info_ : *default_instance_->source_code_info_;\n}\n::google::protobuf::SourceCodeInfo* FileDescriptorProto::mutable_source_code_info() {\n  set_has_source_code_info();\n  if (source_code_info_ == NULL) {\n    source_code_info_ = new ::google::protobuf::SourceCodeInfo;\n  }\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.source_code_info)\n  return source_code_info_;\n}\n::google::protobuf::SourceCodeInfo* FileDescriptorProto::release_source_code_info() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.source_code_info)\n  clear_has_source_code_info();\n  ::google::protobuf::SourceCodeInfo* temp = source_code_info_;\n  source_code_info_ = NULL;\n  return temp;\n}\nvoid FileDescriptorProto::set_allocated_source_code_info(::google::protobuf::SourceCodeInfo* source_code_info) {\n  delete source_code_info_;\n  source_code_info_ = source_code_info;\n  if (source_code_info) {\n    set_has_source_code_info();\n  } else {\n    clear_has_source_code_info();\n  }\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.source_code_info)\n}\n\n// optional string syntax = 12;\nbool FileDescriptorProto::has_syntax() const {\n  return (_has_bits_[0] & 0x00000800u) != 0;\n}\nvoid FileDescriptorProto::set_has_syntax() {\n  _has_bits_[0] |= 0x00000800u;\n}\nvoid FileDescriptorProto::clear_has_syntax() {\n  _has_bits_[0] &= ~0x00000800u;\n}\nvoid FileDescriptorProto::clear_syntax() {\n  syntax_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_syntax();\n}\n const ::std::string& FileDescriptorProto::syntax() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.syntax)\n  return syntax_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void FileDescriptorProto::set_syntax(const ::std::string& value) {\n  set_has_syntax();\n  syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.syntax)\n}\n void FileDescriptorProto::set_syntax(const char* value) {\n  set_has_syntax();\n  syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.syntax)\n}\n void FileDescriptorProto::set_syntax(const char* value, size_t size) {\n  set_has_syntax();\n  syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.syntax)\n}\n ::std::string* FileDescriptorProto::mutable_syntax() {\n  set_has_syntax();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.syntax)\n  return syntax_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* FileDescriptorProto::release_syntax() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.syntax)\n  clear_has_syntax();\n  return syntax_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void FileDescriptorProto::set_allocated_syntax(::std::string* syntax) {\n  if (syntax != NULL) {\n    set_has_syntax();\n  } else {\n    clear_has_syntax();\n  }\n  syntax_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), syntax);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.syntax)\n}\n\n#endif  // PROTOBUF_INLINE_NOT_IN_HEADERS\n\n// ===================================================================\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst int DescriptorProto_ExtensionRange::kStartFieldNumber;\nconst int DescriptorProto_ExtensionRange::kEndFieldNumber;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\n\nDescriptorProto_ExtensionRange::DescriptorProto_ExtensionRange()\n  : ::google::protobuf::Message(), _internal_metadata_(NULL) {\n  SharedCtor();\n  // @@protoc_insertion_point(constructor:google.protobuf.DescriptorProto.ExtensionRange)\n}\n\nvoid DescriptorProto_ExtensionRange::InitAsDefaultInstance() {\n}\n\nDescriptorProto_ExtensionRange::DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from)\n  : ::google::protobuf::Message(),\n    _internal_metadata_(NULL) {\n  SharedCtor();\n  MergeFrom(from);\n  // @@protoc_insertion_point(copy_constructor:google.protobuf.DescriptorProto.ExtensionRange)\n}\n\nvoid DescriptorProto_ExtensionRange::SharedCtor() {\n  _cached_size_ = 0;\n  start_ = 0;\n  end_ = 0;\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n}\n\nDescriptorProto_ExtensionRange::~DescriptorProto_ExtensionRange() {\n  // @@protoc_insertion_point(destructor:google.protobuf.DescriptorProto.ExtensionRange)\n  SharedDtor();\n}\n\nvoid DescriptorProto_ExtensionRange::SharedDtor() {\n  if (this != default_instance_) {\n  }\n}\n\nvoid DescriptorProto_ExtensionRange::SetCachedSize(int size) const {\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n}\nconst ::google::protobuf::Descriptor* DescriptorProto_ExtensionRange::descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return DescriptorProto_ExtensionRange_descriptor_;\n}\n\nconst DescriptorProto_ExtensionRange& DescriptorProto_ExtensionRange::default_instance() {\n  if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  return *default_instance_;\n}\n\nDescriptorProto_ExtensionRange* DescriptorProto_ExtensionRange::default_instance_ = NULL;\n\nDescriptorProto_ExtensionRange* DescriptorProto_ExtensionRange::New(::google::protobuf::Arena* arena) const {\n  DescriptorProto_ExtensionRange* n = new DescriptorProto_ExtensionRange;\n  if (arena != NULL) {\n    arena->Own(n);\n  }\n  return n;\n}\n\nvoid DescriptorProto_ExtensionRange::Clear() {\n// @@protoc_insertion_point(message_clear_start:google.protobuf.DescriptorProto.ExtensionRange)\n#if defined(__clang__)\n#define ZR_HELPER_(f) \\\n  _Pragma(\"clang diagnostic push\") \\\n  _Pragma(\"clang diagnostic ignored \\\"-Winvalid-offsetof\\\"\") \\\n  __builtin_offsetof(DescriptorProto_ExtensionRange, f) \\\n  _Pragma(\"clang diagnostic pop\")\n#else\n#define ZR_HELPER_(f) reinterpret_cast<char*>(\\\n  &reinterpret_cast<DescriptorProto_ExtensionRange*>(16)->f)\n#endif\n\n#define ZR_(first, last) do {\\\n  ::memset(&first, 0,\\\n           ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\\\n} while (0)\n\n  ZR_(start_, end_);\n\n#undef ZR_HELPER_\n#undef ZR_\n\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n  if (_internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->Clear();\n  }\n}\n\nbool DescriptorProto_ExtensionRange::MergePartialFromCodedStream(\n    ::google::protobuf::io::CodedInputStream* input) {\n#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure\n  ::google::protobuf::uint32 tag;\n  // @@protoc_insertion_point(parse_start:google.protobuf.DescriptorProto.ExtensionRange)\n  for (;;) {\n    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);\n    tag = p.first;\n    if (!p.second) goto handle_unusual;\n    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {\n      // optional int32 start = 1;\n      case 1: {\n        if (tag == 8) {\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(\n                 input, &start_)));\n          set_has_start();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(16)) goto parse_end;\n        break;\n      }\n\n      // optional int32 end = 2;\n      case 2: {\n        if (tag == 16) {\n         parse_end:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(\n                 input, &end_)));\n          set_has_end();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectAtEnd()) goto success;\n        break;\n      }\n\n      default: {\n      handle_unusual:\n        if (tag == 0 ||\n            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==\n            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {\n          goto success;\n        }\n        DO_(::google::protobuf::internal::WireFormat::SkipField(\n              input, tag, mutable_unknown_fields()));\n        break;\n      }\n    }\n  }\nsuccess:\n  // @@protoc_insertion_point(parse_success:google.protobuf.DescriptorProto.ExtensionRange)\n  return true;\nfailure:\n  // @@protoc_insertion_point(parse_failure:google.protobuf.DescriptorProto.ExtensionRange)\n  return false;\n#undef DO_\n}\n\nvoid DescriptorProto_ExtensionRange::SerializeWithCachedSizes(\n    ::google::protobuf::io::CodedOutputStream* output) const {\n  // @@protoc_insertion_point(serialize_start:google.protobuf.DescriptorProto.ExtensionRange)\n  // optional int32 start = 1;\n  if (has_start()) {\n    ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->start(), output);\n  }\n\n  // optional int32 end = 2;\n  if (has_end()) {\n    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->end(), output);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(\n        unknown_fields(), output);\n  }\n  // @@protoc_insertion_point(serialize_end:google.protobuf.DescriptorProto.ExtensionRange)\n}\n\n::google::protobuf::uint8* DescriptorProto_ExtensionRange::SerializeWithCachedSizesToArray(\n    ::google::protobuf::uint8* target) const {\n  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.DescriptorProto.ExtensionRange)\n  // optional int32 start = 1;\n  if (has_start()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->start(), target);\n  }\n\n  // optional int32 end = 2;\n  if (has_end()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->end(), target);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(\n        unknown_fields(), target);\n  }\n  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.DescriptorProto.ExtensionRange)\n  return target;\n}\n\nint DescriptorProto_ExtensionRange::ByteSize() const {\n// @@protoc_insertion_point(message_byte_size_start:google.protobuf.DescriptorProto.ExtensionRange)\n  int total_size = 0;\n\n  if (_has_bits_[0 / 32] & 3u) {\n    // optional int32 start = 1;\n    if (has_start()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::Int32Size(\n          this->start());\n    }\n\n    // optional int32 end = 2;\n    if (has_end()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::Int32Size(\n          this->end());\n    }\n\n  }\n  if (_internal_metadata_.have_unknown_fields()) {\n    total_size +=\n      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(\n        unknown_fields());\n  }\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = total_size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n  return total_size;\n}\n\nvoid DescriptorProto_ExtensionRange::MergeFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.DescriptorProto.ExtensionRange)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  const DescriptorProto_ExtensionRange* source = \n      ::google::protobuf::internal::DynamicCastToGenerated<const DescriptorProto_ExtensionRange>(\n          &from);\n  if (source == NULL) {\n  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.DescriptorProto.ExtensionRange)\n    ::google::protobuf::internal::ReflectionOps::Merge(from, this);\n  } else {\n  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.DescriptorProto.ExtensionRange)\n    MergeFrom(*source);\n  }\n}\n\nvoid DescriptorProto_ExtensionRange::MergeFrom(const DescriptorProto_ExtensionRange& from) {\n// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.DescriptorProto.ExtensionRange)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {\n    if (from.has_start()) {\n      set_start(from.start());\n    }\n    if (from.has_end()) {\n      set_end(from.end());\n    }\n  }\n  if (from._internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->MergeFrom(from.unknown_fields());\n  }\n}\n\nvoid DescriptorProto_ExtensionRange::CopyFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.DescriptorProto.ExtensionRange)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nvoid DescriptorProto_ExtensionRange::CopyFrom(const DescriptorProto_ExtensionRange& from) {\n// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.DescriptorProto.ExtensionRange)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nbool DescriptorProto_ExtensionRange::IsInitialized() const {\n\n  return true;\n}\n\nvoid DescriptorProto_ExtensionRange::Swap(DescriptorProto_ExtensionRange* other) {\n  if (other == this) return;\n  InternalSwap(other);\n}\nvoid DescriptorProto_ExtensionRange::InternalSwap(DescriptorProto_ExtensionRange* other) {\n  std::swap(start_, other->start_);\n  std::swap(end_, other->end_);\n  std::swap(_has_bits_[0], other->_has_bits_[0]);\n  _internal_metadata_.Swap(&other->_internal_metadata_);\n  std::swap(_cached_size_, other->_cached_size_);\n}\n\n::google::protobuf::Metadata DescriptorProto_ExtensionRange::GetMetadata() const {\n  protobuf_AssignDescriptorsOnce();\n  ::google::protobuf::Metadata metadata;\n  metadata.descriptor = DescriptorProto_ExtensionRange_descriptor_;\n  metadata.reflection = DescriptorProto_ExtensionRange_reflection_;\n  return metadata;\n}\n\n\n// -------------------------------------------------------------------\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst int DescriptorProto_ReservedRange::kStartFieldNumber;\nconst int DescriptorProto_ReservedRange::kEndFieldNumber;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\n\nDescriptorProto_ReservedRange::DescriptorProto_ReservedRange()\n  : ::google::protobuf::Message(), _internal_metadata_(NULL) {\n  SharedCtor();\n  // @@protoc_insertion_point(constructor:google.protobuf.DescriptorProto.ReservedRange)\n}\n\nvoid DescriptorProto_ReservedRange::InitAsDefaultInstance() {\n}\n\nDescriptorProto_ReservedRange::DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from)\n  : ::google::protobuf::Message(),\n    _internal_metadata_(NULL) {\n  SharedCtor();\n  MergeFrom(from);\n  // @@protoc_insertion_point(copy_constructor:google.protobuf.DescriptorProto.ReservedRange)\n}\n\nvoid DescriptorProto_ReservedRange::SharedCtor() {\n  _cached_size_ = 0;\n  start_ = 0;\n  end_ = 0;\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n}\n\nDescriptorProto_ReservedRange::~DescriptorProto_ReservedRange() {\n  // @@protoc_insertion_point(destructor:google.protobuf.DescriptorProto.ReservedRange)\n  SharedDtor();\n}\n\nvoid DescriptorProto_ReservedRange::SharedDtor() {\n  if (this != default_instance_) {\n  }\n}\n\nvoid DescriptorProto_ReservedRange::SetCachedSize(int size) const {\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n}\nconst ::google::protobuf::Descriptor* DescriptorProto_ReservedRange::descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return DescriptorProto_ReservedRange_descriptor_;\n}\n\nconst DescriptorProto_ReservedRange& DescriptorProto_ReservedRange::default_instance() {\n  if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  return *default_instance_;\n}\n\nDescriptorProto_ReservedRange* DescriptorProto_ReservedRange::default_instance_ = NULL;\n\nDescriptorProto_ReservedRange* DescriptorProto_ReservedRange::New(::google::protobuf::Arena* arena) const {\n  DescriptorProto_ReservedRange* n = new DescriptorProto_ReservedRange;\n  if (arena != NULL) {\n    arena->Own(n);\n  }\n  return n;\n}\n\nvoid DescriptorProto_ReservedRange::Clear() {\n// @@protoc_insertion_point(message_clear_start:google.protobuf.DescriptorProto.ReservedRange)\n#if defined(__clang__)\n#define ZR_HELPER_(f) \\\n  _Pragma(\"clang diagnostic push\") \\\n  _Pragma(\"clang diagnostic ignored \\\"-Winvalid-offsetof\\\"\") \\\n  __builtin_offsetof(DescriptorProto_ReservedRange, f) \\\n  _Pragma(\"clang diagnostic pop\")\n#else\n#define ZR_HELPER_(f) reinterpret_cast<char*>(\\\n  &reinterpret_cast<DescriptorProto_ReservedRange*>(16)->f)\n#endif\n\n#define ZR_(first, last) do {\\\n  ::memset(&first, 0,\\\n           ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\\\n} while (0)\n\n  ZR_(start_, end_);\n\n#undef ZR_HELPER_\n#undef ZR_\n\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n  if (_internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->Clear();\n  }\n}\n\nbool DescriptorProto_ReservedRange::MergePartialFromCodedStream(\n    ::google::protobuf::io::CodedInputStream* input) {\n#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure\n  ::google::protobuf::uint32 tag;\n  // @@protoc_insertion_point(parse_start:google.protobuf.DescriptorProto.ReservedRange)\n  for (;;) {\n    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);\n    tag = p.first;\n    if (!p.second) goto handle_unusual;\n    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {\n      // optional int32 start = 1;\n      case 1: {\n        if (tag == 8) {\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(\n                 input, &start_)));\n          set_has_start();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(16)) goto parse_end;\n        break;\n      }\n\n      // optional int32 end = 2;\n      case 2: {\n        if (tag == 16) {\n         parse_end:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(\n                 input, &end_)));\n          set_has_end();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectAtEnd()) goto success;\n        break;\n      }\n\n      default: {\n      handle_unusual:\n        if (tag == 0 ||\n            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==\n            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {\n          goto success;\n        }\n        DO_(::google::protobuf::internal::WireFormat::SkipField(\n              input, tag, mutable_unknown_fields()));\n        break;\n      }\n    }\n  }\nsuccess:\n  // @@protoc_insertion_point(parse_success:google.protobuf.DescriptorProto.ReservedRange)\n  return true;\nfailure:\n  // @@protoc_insertion_point(parse_failure:google.protobuf.DescriptorProto.ReservedRange)\n  return false;\n#undef DO_\n}\n\nvoid DescriptorProto_ReservedRange::SerializeWithCachedSizes(\n    ::google::protobuf::io::CodedOutputStream* output) const {\n  // @@protoc_insertion_point(serialize_start:google.protobuf.DescriptorProto.ReservedRange)\n  // optional int32 start = 1;\n  if (has_start()) {\n    ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->start(), output);\n  }\n\n  // optional int32 end = 2;\n  if (has_end()) {\n    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->end(), output);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(\n        unknown_fields(), output);\n  }\n  // @@protoc_insertion_point(serialize_end:google.protobuf.DescriptorProto.ReservedRange)\n}\n\n::google::protobuf::uint8* DescriptorProto_ReservedRange::SerializeWithCachedSizesToArray(\n    ::google::protobuf::uint8* target) const {\n  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.DescriptorProto.ReservedRange)\n  // optional int32 start = 1;\n  if (has_start()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->start(), target);\n  }\n\n  // optional int32 end = 2;\n  if (has_end()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->end(), target);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(\n        unknown_fields(), target);\n  }\n  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.DescriptorProto.ReservedRange)\n  return target;\n}\n\nint DescriptorProto_ReservedRange::ByteSize() const {\n// @@protoc_insertion_point(message_byte_size_start:google.protobuf.DescriptorProto.ReservedRange)\n  int total_size = 0;\n\n  if (_has_bits_[0 / 32] & 3u) {\n    // optional int32 start = 1;\n    if (has_start()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::Int32Size(\n          this->start());\n    }\n\n    // optional int32 end = 2;\n    if (has_end()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::Int32Size(\n          this->end());\n    }\n\n  }\n  if (_internal_metadata_.have_unknown_fields()) {\n    total_size +=\n      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(\n        unknown_fields());\n  }\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = total_size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n  return total_size;\n}\n\nvoid DescriptorProto_ReservedRange::MergeFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.DescriptorProto.ReservedRange)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  const DescriptorProto_ReservedRange* source = \n      ::google::protobuf::internal::DynamicCastToGenerated<const DescriptorProto_ReservedRange>(\n          &from);\n  if (source == NULL) {\n  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.DescriptorProto.ReservedRange)\n    ::google::protobuf::internal::ReflectionOps::Merge(from, this);\n  } else {\n  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.DescriptorProto.ReservedRange)\n    MergeFrom(*source);\n  }\n}\n\nvoid DescriptorProto_ReservedRange::MergeFrom(const DescriptorProto_ReservedRange& from) {\n// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.DescriptorProto.ReservedRange)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {\n    if (from.has_start()) {\n      set_start(from.start());\n    }\n    if (from.has_end()) {\n      set_end(from.end());\n    }\n  }\n  if (from._internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->MergeFrom(from.unknown_fields());\n  }\n}\n\nvoid DescriptorProto_ReservedRange::CopyFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.DescriptorProto.ReservedRange)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nvoid DescriptorProto_ReservedRange::CopyFrom(const DescriptorProto_ReservedRange& from) {\n// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.DescriptorProto.ReservedRange)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nbool DescriptorProto_ReservedRange::IsInitialized() const {\n\n  return true;\n}\n\nvoid DescriptorProto_ReservedRange::Swap(DescriptorProto_ReservedRange* other) {\n  if (other == this) return;\n  InternalSwap(other);\n}\nvoid DescriptorProto_ReservedRange::InternalSwap(DescriptorProto_ReservedRange* other) {\n  std::swap(start_, other->start_);\n  std::swap(end_, other->end_);\n  std::swap(_has_bits_[0], other->_has_bits_[0]);\n  _internal_metadata_.Swap(&other->_internal_metadata_);\n  std::swap(_cached_size_, other->_cached_size_);\n}\n\n::google::protobuf::Metadata DescriptorProto_ReservedRange::GetMetadata() const {\n  protobuf_AssignDescriptorsOnce();\n  ::google::protobuf::Metadata metadata;\n  metadata.descriptor = DescriptorProto_ReservedRange_descriptor_;\n  metadata.reflection = DescriptorProto_ReservedRange_reflection_;\n  return metadata;\n}\n\n\n// -------------------------------------------------------------------\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst int DescriptorProto::kNameFieldNumber;\nconst int DescriptorProto::kFieldFieldNumber;\nconst int DescriptorProto::kExtensionFieldNumber;\nconst int DescriptorProto::kNestedTypeFieldNumber;\nconst int DescriptorProto::kEnumTypeFieldNumber;\nconst int DescriptorProto::kExtensionRangeFieldNumber;\nconst int DescriptorProto::kOneofDeclFieldNumber;\nconst int DescriptorProto::kOptionsFieldNumber;\nconst int DescriptorProto::kReservedRangeFieldNumber;\nconst int DescriptorProto::kReservedNameFieldNumber;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\n\nDescriptorProto::DescriptorProto()\n  : ::google::protobuf::Message(), _internal_metadata_(NULL) {\n  SharedCtor();\n  // @@protoc_insertion_point(constructor:google.protobuf.DescriptorProto)\n}\n\nvoid DescriptorProto::InitAsDefaultInstance() {\n  options_ = const_cast< ::google::protobuf::MessageOptions*>(&::google::protobuf::MessageOptions::default_instance());\n}\n\nDescriptorProto::DescriptorProto(const DescriptorProto& from)\n  : ::google::protobuf::Message(),\n    _internal_metadata_(NULL) {\n  SharedCtor();\n  MergeFrom(from);\n  // @@protoc_insertion_point(copy_constructor:google.protobuf.DescriptorProto)\n}\n\nvoid DescriptorProto::SharedCtor() {\n  ::google::protobuf::internal::GetEmptyString();\n  _cached_size_ = 0;\n  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  options_ = NULL;\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n}\n\nDescriptorProto::~DescriptorProto() {\n  // @@protoc_insertion_point(destructor:google.protobuf.DescriptorProto)\n  SharedDtor();\n}\n\nvoid DescriptorProto::SharedDtor() {\n  name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  if (this != default_instance_) {\n    delete options_;\n  }\n}\n\nvoid DescriptorProto::SetCachedSize(int size) const {\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n}\nconst ::google::protobuf::Descriptor* DescriptorProto::descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return DescriptorProto_descriptor_;\n}\n\nconst DescriptorProto& DescriptorProto::default_instance() {\n  if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  return *default_instance_;\n}\n\nDescriptorProto* DescriptorProto::default_instance_ = NULL;\n\nDescriptorProto* DescriptorProto::New(::google::protobuf::Arena* arena) const {\n  DescriptorProto* n = new DescriptorProto;\n  if (arena != NULL) {\n    arena->Own(n);\n  }\n  return n;\n}\n\nvoid DescriptorProto::Clear() {\n// @@protoc_insertion_point(message_clear_start:google.protobuf.DescriptorProto)\n  if (_has_bits_[0 / 32] & 129u) {\n    if (has_name()) {\n      name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n    }\n    if (has_options()) {\n      if (options_ != NULL) options_->::google::protobuf::MessageOptions::Clear();\n    }\n  }\n  field_.Clear();\n  extension_.Clear();\n  nested_type_.Clear();\n  enum_type_.Clear();\n  extension_range_.Clear();\n  oneof_decl_.Clear();\n  reserved_range_.Clear();\n  reserved_name_.Clear();\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n  if (_internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->Clear();\n  }\n}\n\nbool DescriptorProto::MergePartialFromCodedStream(\n    ::google::protobuf::io::CodedInputStream* input) {\n#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure\n  ::google::protobuf::uint32 tag;\n  // @@protoc_insertion_point(parse_start:google.protobuf.DescriptorProto)\n  for (;;) {\n    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);\n    tag = p.first;\n    if (!p.second) goto handle_unusual;\n    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {\n      // optional string name = 1;\n      case 1: {\n        if (tag == 10) {\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->mutable_name()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->name().data(), this->name().length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.DescriptorProto.name\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(18)) goto parse_field;\n        break;\n      }\n\n      // repeated .google.protobuf.FieldDescriptorProto field = 2;\n      case 2: {\n        if (tag == 18) {\n         parse_field:\n          DO_(input->IncrementRecursionDepth());\n         parse_loop_field:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(\n                input, add_field()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(18)) goto parse_loop_field;\n        if (input->ExpectTag(26)) goto parse_loop_nested_type;\n        input->UnsafeDecrementRecursionDepth();\n        break;\n      }\n\n      // repeated .google.protobuf.DescriptorProto nested_type = 3;\n      case 3: {\n        if (tag == 26) {\n          DO_(input->IncrementRecursionDepth());\n         parse_loop_nested_type:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(\n                input, add_nested_type()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(26)) goto parse_loop_nested_type;\n        if (input->ExpectTag(34)) goto parse_loop_enum_type;\n        input->UnsafeDecrementRecursionDepth();\n        break;\n      }\n\n      // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;\n      case 4: {\n        if (tag == 34) {\n          DO_(input->IncrementRecursionDepth());\n         parse_loop_enum_type:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(\n                input, add_enum_type()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(34)) goto parse_loop_enum_type;\n        if (input->ExpectTag(42)) goto parse_loop_extension_range;\n        input->UnsafeDecrementRecursionDepth();\n        break;\n      }\n\n      // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;\n      case 5: {\n        if (tag == 42) {\n          DO_(input->IncrementRecursionDepth());\n         parse_loop_extension_range:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(\n                input, add_extension_range()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(42)) goto parse_loop_extension_range;\n        if (input->ExpectTag(50)) goto parse_loop_extension;\n        input->UnsafeDecrementRecursionDepth();\n        break;\n      }\n\n      // repeated .google.protobuf.FieldDescriptorProto extension = 6;\n      case 6: {\n        if (tag == 50) {\n          DO_(input->IncrementRecursionDepth());\n         parse_loop_extension:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(\n                input, add_extension()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(50)) goto parse_loop_extension;\n        input->UnsafeDecrementRecursionDepth();\n        if (input->ExpectTag(58)) goto parse_options;\n        break;\n      }\n\n      // optional .google.protobuf.MessageOptions options = 7;\n      case 7: {\n        if (tag == 58) {\n         parse_options:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(\n               input, mutable_options()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(66)) goto parse_oneof_decl;\n        break;\n      }\n\n      // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;\n      case 8: {\n        if (tag == 66) {\n         parse_oneof_decl:\n          DO_(input->IncrementRecursionDepth());\n         parse_loop_oneof_decl:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(\n                input, add_oneof_decl()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(66)) goto parse_loop_oneof_decl;\n        if (input->ExpectTag(74)) goto parse_loop_reserved_range;\n        input->UnsafeDecrementRecursionDepth();\n        break;\n      }\n\n      // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;\n      case 9: {\n        if (tag == 74) {\n          DO_(input->IncrementRecursionDepth());\n         parse_loop_reserved_range:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(\n                input, add_reserved_range()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(74)) goto parse_loop_reserved_range;\n        input->UnsafeDecrementRecursionDepth();\n        if (input->ExpectTag(82)) goto parse_reserved_name;\n        break;\n      }\n\n      // repeated string reserved_name = 10;\n      case 10: {\n        if (tag == 82) {\n         parse_reserved_name:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->add_reserved_name()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->reserved_name(this->reserved_name_size() - 1).data(),\n            this->reserved_name(this->reserved_name_size() - 1).length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.DescriptorProto.reserved_name\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(82)) goto parse_reserved_name;\n        if (input->ExpectAtEnd()) goto success;\n        break;\n      }\n\n      default: {\n      handle_unusual:\n        if (tag == 0 ||\n            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==\n            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {\n          goto success;\n        }\n        DO_(::google::protobuf::internal::WireFormat::SkipField(\n              input, tag, mutable_unknown_fields()));\n        break;\n      }\n    }\n  }\nsuccess:\n  // @@protoc_insertion_point(parse_success:google.protobuf.DescriptorProto)\n  return true;\nfailure:\n  // @@protoc_insertion_point(parse_failure:google.protobuf.DescriptorProto)\n  return false;\n#undef DO_\n}\n\nvoid DescriptorProto::SerializeWithCachedSizes(\n    ::google::protobuf::io::CodedOutputStream* output) const {\n  // @@protoc_insertion_point(serialize_start:google.protobuf.DescriptorProto)\n  // optional string name = 1;\n  if (has_name()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->name().data(), this->name().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.DescriptorProto.name\");\n    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(\n      1, this->name(), output);\n  }\n\n  // repeated .google.protobuf.FieldDescriptorProto field = 2;\n  for (unsigned int i = 0, n = this->field_size(); i < n; i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      2, this->field(i), output);\n  }\n\n  // repeated .google.protobuf.DescriptorProto nested_type = 3;\n  for (unsigned int i = 0, n = this->nested_type_size(); i < n; i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      3, this->nested_type(i), output);\n  }\n\n  // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;\n  for (unsigned int i = 0, n = this->enum_type_size(); i < n; i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      4, this->enum_type(i), output);\n  }\n\n  // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;\n  for (unsigned int i = 0, n = this->extension_range_size(); i < n; i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      5, this->extension_range(i), output);\n  }\n\n  // repeated .google.protobuf.FieldDescriptorProto extension = 6;\n  for (unsigned int i = 0, n = this->extension_size(); i < n; i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      6, this->extension(i), output);\n  }\n\n  // optional .google.protobuf.MessageOptions options = 7;\n  if (has_options()) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      7, *this->options_, output);\n  }\n\n  // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;\n  for (unsigned int i = 0, n = this->oneof_decl_size(); i < n; i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      8, this->oneof_decl(i), output);\n  }\n\n  // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;\n  for (unsigned int i = 0, n = this->reserved_range_size(); i < n; i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      9, this->reserved_range(i), output);\n  }\n\n  // repeated string reserved_name = 10;\n  for (int i = 0; i < this->reserved_name_size(); i++) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->reserved_name(i).data(), this->reserved_name(i).length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.DescriptorProto.reserved_name\");\n    ::google::protobuf::internal::WireFormatLite::WriteString(\n      10, this->reserved_name(i), output);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(\n        unknown_fields(), output);\n  }\n  // @@protoc_insertion_point(serialize_end:google.protobuf.DescriptorProto)\n}\n\n::google::protobuf::uint8* DescriptorProto::SerializeWithCachedSizesToArray(\n    ::google::protobuf::uint8* target) const {\n  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.DescriptorProto)\n  // optional string name = 1;\n  if (has_name()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->name().data(), this->name().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.DescriptorProto.name\");\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(\n        1, this->name(), target);\n  }\n\n  // repeated .google.protobuf.FieldDescriptorProto field = 2;\n  for (unsigned int i = 0, n = this->field_size(); i < n; i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        2, this->field(i), target);\n  }\n\n  // repeated .google.protobuf.DescriptorProto nested_type = 3;\n  for (unsigned int i = 0, n = this->nested_type_size(); i < n; i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        3, this->nested_type(i), target);\n  }\n\n  // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;\n  for (unsigned int i = 0, n = this->enum_type_size(); i < n; i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        4, this->enum_type(i), target);\n  }\n\n  // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;\n  for (unsigned int i = 0, n = this->extension_range_size(); i < n; i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        5, this->extension_range(i), target);\n  }\n\n  // repeated .google.protobuf.FieldDescriptorProto extension = 6;\n  for (unsigned int i = 0, n = this->extension_size(); i < n; i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        6, this->extension(i), target);\n  }\n\n  // optional .google.protobuf.MessageOptions options = 7;\n  if (has_options()) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        7, *this->options_, target);\n  }\n\n  // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;\n  for (unsigned int i = 0, n = this->oneof_decl_size(); i < n; i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        8, this->oneof_decl(i), target);\n  }\n\n  // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;\n  for (unsigned int i = 0, n = this->reserved_range_size(); i < n; i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        9, this->reserved_range(i), target);\n  }\n\n  // repeated string reserved_name = 10;\n  for (int i = 0; i < this->reserved_name_size(); i++) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->reserved_name(i).data(), this->reserved_name(i).length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.DescriptorProto.reserved_name\");\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteStringToArray(10, this->reserved_name(i), target);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(\n        unknown_fields(), target);\n  }\n  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.DescriptorProto)\n  return target;\n}\n\nint DescriptorProto::ByteSize() const {\n// @@protoc_insertion_point(message_byte_size_start:google.protobuf.DescriptorProto)\n  int total_size = 0;\n\n  if (_has_bits_[0 / 32] & 129u) {\n    // optional string name = 1;\n    if (has_name()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::StringSize(\n          this->name());\n    }\n\n    // optional .google.protobuf.MessageOptions options = 7;\n    if (has_options()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n          *this->options_);\n    }\n\n  }\n  // repeated .google.protobuf.FieldDescriptorProto field = 2;\n  total_size += 1 * this->field_size();\n  for (int i = 0; i < this->field_size(); i++) {\n    total_size +=\n      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n        this->field(i));\n  }\n\n  // repeated .google.protobuf.FieldDescriptorProto extension = 6;\n  total_size += 1 * this->extension_size();\n  for (int i = 0; i < this->extension_size(); i++) {\n    total_size +=\n      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n        this->extension(i));\n  }\n\n  // repeated .google.protobuf.DescriptorProto nested_type = 3;\n  total_size += 1 * this->nested_type_size();\n  for (int i = 0; i < this->nested_type_size(); i++) {\n    total_size +=\n      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n        this->nested_type(i));\n  }\n\n  // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;\n  total_size += 1 * this->enum_type_size();\n  for (int i = 0; i < this->enum_type_size(); i++) {\n    total_size +=\n      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n        this->enum_type(i));\n  }\n\n  // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;\n  total_size += 1 * this->extension_range_size();\n  for (int i = 0; i < this->extension_range_size(); i++) {\n    total_size +=\n      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n        this->extension_range(i));\n  }\n\n  // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;\n  total_size += 1 * this->oneof_decl_size();\n  for (int i = 0; i < this->oneof_decl_size(); i++) {\n    total_size +=\n      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n        this->oneof_decl(i));\n  }\n\n  // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;\n  total_size += 1 * this->reserved_range_size();\n  for (int i = 0; i < this->reserved_range_size(); i++) {\n    total_size +=\n      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n        this->reserved_range(i));\n  }\n\n  // repeated string reserved_name = 10;\n  total_size += 1 * this->reserved_name_size();\n  for (int i = 0; i < this->reserved_name_size(); i++) {\n    total_size += ::google::protobuf::internal::WireFormatLite::StringSize(\n      this->reserved_name(i));\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    total_size +=\n      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(\n        unknown_fields());\n  }\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = total_size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n  return total_size;\n}\n\nvoid DescriptorProto::MergeFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.DescriptorProto)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  const DescriptorProto* source = \n      ::google::protobuf::internal::DynamicCastToGenerated<const DescriptorProto>(\n          &from);\n  if (source == NULL) {\n  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.DescriptorProto)\n    ::google::protobuf::internal::ReflectionOps::Merge(from, this);\n  } else {\n  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.DescriptorProto)\n    MergeFrom(*source);\n  }\n}\n\nvoid DescriptorProto::MergeFrom(const DescriptorProto& from) {\n// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.DescriptorProto)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  field_.MergeFrom(from.field_);\n  extension_.MergeFrom(from.extension_);\n  nested_type_.MergeFrom(from.nested_type_);\n  enum_type_.MergeFrom(from.enum_type_);\n  extension_range_.MergeFrom(from.extension_range_);\n  oneof_decl_.MergeFrom(from.oneof_decl_);\n  reserved_range_.MergeFrom(from.reserved_range_);\n  reserved_name_.MergeFrom(from.reserved_name_);\n  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {\n    if (from.has_name()) {\n      set_has_name();\n      name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);\n    }\n    if (from.has_options()) {\n      mutable_options()->::google::protobuf::MessageOptions::MergeFrom(from.options());\n    }\n  }\n  if (from._internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->MergeFrom(from.unknown_fields());\n  }\n}\n\nvoid DescriptorProto::CopyFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.DescriptorProto)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nvoid DescriptorProto::CopyFrom(const DescriptorProto& from) {\n// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.DescriptorProto)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nbool DescriptorProto::IsInitialized() const {\n\n  if (!::google::protobuf::internal::AllAreInitialized(this->field())) return false;\n  if (!::google::protobuf::internal::AllAreInitialized(this->extension())) return false;\n  if (!::google::protobuf::internal::AllAreInitialized(this->nested_type())) return false;\n  if (!::google::protobuf::internal::AllAreInitialized(this->enum_type())) return false;\n  if (has_options()) {\n    if (!this->options_->IsInitialized()) return false;\n  }\n  return true;\n}\n\nvoid DescriptorProto::Swap(DescriptorProto* other) {\n  if (other == this) return;\n  InternalSwap(other);\n}\nvoid DescriptorProto::InternalSwap(DescriptorProto* other) {\n  name_.Swap(&other->name_);\n  field_.UnsafeArenaSwap(&other->field_);\n  extension_.UnsafeArenaSwap(&other->extension_);\n  nested_type_.UnsafeArenaSwap(&other->nested_type_);\n  enum_type_.UnsafeArenaSwap(&other->enum_type_);\n  extension_range_.UnsafeArenaSwap(&other->extension_range_);\n  oneof_decl_.UnsafeArenaSwap(&other->oneof_decl_);\n  std::swap(options_, other->options_);\n  reserved_range_.UnsafeArenaSwap(&other->reserved_range_);\n  reserved_name_.UnsafeArenaSwap(&other->reserved_name_);\n  std::swap(_has_bits_[0], other->_has_bits_[0]);\n  _internal_metadata_.Swap(&other->_internal_metadata_);\n  std::swap(_cached_size_, other->_cached_size_);\n}\n\n::google::protobuf::Metadata DescriptorProto::GetMetadata() const {\n  protobuf_AssignDescriptorsOnce();\n  ::google::protobuf::Metadata metadata;\n  metadata.descriptor = DescriptorProto_descriptor_;\n  metadata.reflection = DescriptorProto_reflection_;\n  return metadata;\n}\n\n#if PROTOBUF_INLINE_NOT_IN_HEADERS\n// DescriptorProto_ExtensionRange\n\n// optional int32 start = 1;\nbool DescriptorProto_ExtensionRange::has_start() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\nvoid DescriptorProto_ExtensionRange::set_has_start() {\n  _has_bits_[0] |= 0x00000001u;\n}\nvoid DescriptorProto_ExtensionRange::clear_has_start() {\n  _has_bits_[0] &= ~0x00000001u;\n}\nvoid DescriptorProto_ExtensionRange::clear_start() {\n  start_ = 0;\n  clear_has_start();\n}\n ::google::protobuf::int32 DescriptorProto_ExtensionRange::start() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.start)\n  return start_;\n}\n void DescriptorProto_ExtensionRange::set_start(::google::protobuf::int32 value) {\n  set_has_start();\n  start_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.start)\n}\n\n// optional int32 end = 2;\nbool DescriptorProto_ExtensionRange::has_end() const {\n  return (_has_bits_[0] & 0x00000002u) != 0;\n}\nvoid DescriptorProto_ExtensionRange::set_has_end() {\n  _has_bits_[0] |= 0x00000002u;\n}\nvoid DescriptorProto_ExtensionRange::clear_has_end() {\n  _has_bits_[0] &= ~0x00000002u;\n}\nvoid DescriptorProto_ExtensionRange::clear_end() {\n  end_ = 0;\n  clear_has_end();\n}\n ::google::protobuf::int32 DescriptorProto_ExtensionRange::end() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.end)\n  return end_;\n}\n void DescriptorProto_ExtensionRange::set_end(::google::protobuf::int32 value) {\n  set_has_end();\n  end_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.end)\n}\n\n// -------------------------------------------------------------------\n\n// DescriptorProto_ReservedRange\n\n// optional int32 start = 1;\nbool DescriptorProto_ReservedRange::has_start() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\nvoid DescriptorProto_ReservedRange::set_has_start() {\n  _has_bits_[0] |= 0x00000001u;\n}\nvoid DescriptorProto_ReservedRange::clear_has_start() {\n  _has_bits_[0] &= ~0x00000001u;\n}\nvoid DescriptorProto_ReservedRange::clear_start() {\n  start_ = 0;\n  clear_has_start();\n}\n ::google::protobuf::int32 DescriptorProto_ReservedRange::start() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.start)\n  return start_;\n}\n void DescriptorProto_ReservedRange::set_start(::google::protobuf::int32 value) {\n  set_has_start();\n  start_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.start)\n}\n\n// optional int32 end = 2;\nbool DescriptorProto_ReservedRange::has_end() const {\n  return (_has_bits_[0] & 0x00000002u) != 0;\n}\nvoid DescriptorProto_ReservedRange::set_has_end() {\n  _has_bits_[0] |= 0x00000002u;\n}\nvoid DescriptorProto_ReservedRange::clear_has_end() {\n  _has_bits_[0] &= ~0x00000002u;\n}\nvoid DescriptorProto_ReservedRange::clear_end() {\n  end_ = 0;\n  clear_has_end();\n}\n ::google::protobuf::int32 DescriptorProto_ReservedRange::end() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.end)\n  return end_;\n}\n void DescriptorProto_ReservedRange::set_end(::google::protobuf::int32 value) {\n  set_has_end();\n  end_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.end)\n}\n\n// -------------------------------------------------------------------\n\n// DescriptorProto\n\n// optional string name = 1;\nbool DescriptorProto::has_name() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\nvoid DescriptorProto::set_has_name() {\n  _has_bits_[0] |= 0x00000001u;\n}\nvoid DescriptorProto::clear_has_name() {\n  _has_bits_[0] &= ~0x00000001u;\n}\nvoid DescriptorProto::clear_name() {\n  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_name();\n}\n const ::std::string& DescriptorProto::name() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name)\n  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void DescriptorProto::set_name(const ::std::string& value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name)\n}\n void DescriptorProto::set_name(const char* value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.name)\n}\n void DescriptorProto::set_name(const char* value, size_t size) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.name)\n}\n ::std::string* DescriptorProto::mutable_name() {\n  set_has_name();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.name)\n  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* DescriptorProto::release_name() {\n  // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.name)\n  clear_has_name();\n  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void DescriptorProto::set_allocated_name(::std::string* name) {\n  if (name != NULL) {\n    set_has_name();\n  } else {\n    clear_has_name();\n  }\n  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.name)\n}\n\n// repeated .google.protobuf.FieldDescriptorProto field = 2;\nint DescriptorProto::field_size() const {\n  return field_.size();\n}\nvoid DescriptorProto::clear_field() {\n  field_.Clear();\n}\nconst ::google::protobuf::FieldDescriptorProto& DescriptorProto::field(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.field)\n  return field_.Get(index);\n}\n::google::protobuf::FieldDescriptorProto* DescriptorProto::mutable_field(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.field)\n  return field_.Mutable(index);\n}\n::google::protobuf::FieldDescriptorProto* DescriptorProto::add_field() {\n  // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.field)\n  return field_.Add();\n}\n::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*\nDescriptorProto::mutable_field() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.field)\n  return &field_;\n}\nconst ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&\nDescriptorProto::field() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.field)\n  return field_;\n}\n\n// repeated .google.protobuf.FieldDescriptorProto extension = 6;\nint DescriptorProto::extension_size() const {\n  return extension_.size();\n}\nvoid DescriptorProto::clear_extension() {\n  extension_.Clear();\n}\nconst ::google::protobuf::FieldDescriptorProto& DescriptorProto::extension(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension)\n  return extension_.Get(index);\n}\n::google::protobuf::FieldDescriptorProto* DescriptorProto::mutable_extension(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension)\n  return extension_.Mutable(index);\n}\n::google::protobuf::FieldDescriptorProto* DescriptorProto::add_extension() {\n  // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension)\n  return extension_.Add();\n}\n::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*\nDescriptorProto::mutable_extension() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension)\n  return &extension_;\n}\nconst ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&\nDescriptorProto::extension() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension)\n  return extension_;\n}\n\n// repeated .google.protobuf.DescriptorProto nested_type = 3;\nint DescriptorProto::nested_type_size() const {\n  return nested_type_.size();\n}\nvoid DescriptorProto::clear_nested_type() {\n  nested_type_.Clear();\n}\nconst ::google::protobuf::DescriptorProto& DescriptorProto::nested_type(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.nested_type)\n  return nested_type_.Get(index);\n}\n::google::protobuf::DescriptorProto* DescriptorProto::mutable_nested_type(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.nested_type)\n  return nested_type_.Mutable(index);\n}\n::google::protobuf::DescriptorProto* DescriptorProto::add_nested_type() {\n  // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.nested_type)\n  return nested_type_.Add();\n}\n::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*\nDescriptorProto::mutable_nested_type() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.nested_type)\n  return &nested_type_;\n}\nconst ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&\nDescriptorProto::nested_type() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.nested_type)\n  return nested_type_;\n}\n\n// repeated .google.protobuf.EnumDescriptorProto enum_type = 4;\nint DescriptorProto::enum_type_size() const {\n  return enum_type_.size();\n}\nvoid DescriptorProto::clear_enum_type() {\n  enum_type_.Clear();\n}\nconst ::google::protobuf::EnumDescriptorProto& DescriptorProto::enum_type(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.enum_type)\n  return enum_type_.Get(index);\n}\n::google::protobuf::EnumDescriptorProto* DescriptorProto::mutable_enum_type(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.enum_type)\n  return enum_type_.Mutable(index);\n}\n::google::protobuf::EnumDescriptorProto* DescriptorProto::add_enum_type() {\n  // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.enum_type)\n  return enum_type_.Add();\n}\n::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*\nDescriptorProto::mutable_enum_type() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.enum_type)\n  return &enum_type_;\n}\nconst ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&\nDescriptorProto::enum_type() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.enum_type)\n  return enum_type_;\n}\n\n// repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;\nint DescriptorProto::extension_range_size() const {\n  return extension_range_.size();\n}\nvoid DescriptorProto::clear_extension_range() {\n  extension_range_.Clear();\n}\nconst ::google::protobuf::DescriptorProto_ExtensionRange& DescriptorProto::extension_range(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension_range)\n  return extension_range_.Get(index);\n}\n::google::protobuf::DescriptorProto_ExtensionRange* DescriptorProto::mutable_extension_range(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension_range)\n  return extension_range_.Mutable(index);\n}\n::google::protobuf::DescriptorProto_ExtensionRange* DescriptorProto::add_extension_range() {\n  // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension_range)\n  return extension_range_.Add();\n}\n::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >*\nDescriptorProto::mutable_extension_range() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension_range)\n  return &extension_range_;\n}\nconst ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >&\nDescriptorProto::extension_range() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension_range)\n  return extension_range_;\n}\n\n// repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;\nint DescriptorProto::oneof_decl_size() const {\n  return oneof_decl_.size();\n}\nvoid DescriptorProto::clear_oneof_decl() {\n  oneof_decl_.Clear();\n}\nconst ::google::protobuf::OneofDescriptorProto& DescriptorProto::oneof_decl(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.oneof_decl)\n  return oneof_decl_.Get(index);\n}\n::google::protobuf::OneofDescriptorProto* DescriptorProto::mutable_oneof_decl(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.oneof_decl)\n  return oneof_decl_.Mutable(index);\n}\n::google::protobuf::OneofDescriptorProto* DescriptorProto::add_oneof_decl() {\n  // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.oneof_decl)\n  return oneof_decl_.Add();\n}\n::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto >*\nDescriptorProto::mutable_oneof_decl() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.oneof_decl)\n  return &oneof_decl_;\n}\nconst ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto >&\nDescriptorProto::oneof_decl() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.oneof_decl)\n  return oneof_decl_;\n}\n\n// optional .google.protobuf.MessageOptions options = 7;\nbool DescriptorProto::has_options() const {\n  return (_has_bits_[0] & 0x00000080u) != 0;\n}\nvoid DescriptorProto::set_has_options() {\n  _has_bits_[0] |= 0x00000080u;\n}\nvoid DescriptorProto::clear_has_options() {\n  _has_bits_[0] &= ~0x00000080u;\n}\nvoid DescriptorProto::clear_options() {\n  if (options_ != NULL) options_->::google::protobuf::MessageOptions::Clear();\n  clear_has_options();\n}\nconst ::google::protobuf::MessageOptions& DescriptorProto::options() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.options)\n  return options_ != NULL ? *options_ : *default_instance_->options_;\n}\n::google::protobuf::MessageOptions* DescriptorProto::mutable_options() {\n  set_has_options();\n  if (options_ == NULL) {\n    options_ = new ::google::protobuf::MessageOptions;\n  }\n  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.options)\n  return options_;\n}\n::google::protobuf::MessageOptions* DescriptorProto::release_options() {\n  // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.options)\n  clear_has_options();\n  ::google::protobuf::MessageOptions* temp = options_;\n  options_ = NULL;\n  return temp;\n}\nvoid DescriptorProto::set_allocated_options(::google::protobuf::MessageOptions* options) {\n  delete options_;\n  options_ = options;\n  if (options) {\n    set_has_options();\n  } else {\n    clear_has_options();\n  }\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.options)\n}\n\n// repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;\nint DescriptorProto::reserved_range_size() const {\n  return reserved_range_.size();\n}\nvoid DescriptorProto::clear_reserved_range() {\n  reserved_range_.Clear();\n}\nconst ::google::protobuf::DescriptorProto_ReservedRange& DescriptorProto::reserved_range(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_range)\n  return reserved_range_.Get(index);\n}\n::google::protobuf::DescriptorProto_ReservedRange* DescriptorProto::mutable_reserved_range(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_range)\n  return reserved_range_.Mutable(index);\n}\n::google::protobuf::DescriptorProto_ReservedRange* DescriptorProto::add_reserved_range() {\n  // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_range)\n  return reserved_range_.Add();\n}\n::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ReservedRange >*\nDescriptorProto::mutable_reserved_range() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_range)\n  return &reserved_range_;\n}\nconst ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ReservedRange >&\nDescriptorProto::reserved_range() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_range)\n  return reserved_range_;\n}\n\n// repeated string reserved_name = 10;\nint DescriptorProto::reserved_name_size() const {\n  return reserved_name_.size();\n}\nvoid DescriptorProto::clear_reserved_name() {\n  reserved_name_.Clear();\n}\n const ::std::string& DescriptorProto::reserved_name(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_name)\n  return reserved_name_.Get(index);\n}\n ::std::string* DescriptorProto::mutable_reserved_name(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_name)\n  return reserved_name_.Mutable(index);\n}\n void DescriptorProto::set_reserved_name(int index, const ::std::string& value) {\n  // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.reserved_name)\n  reserved_name_.Mutable(index)->assign(value);\n}\n void DescriptorProto::set_reserved_name(int index, const char* value) {\n  reserved_name_.Mutable(index)->assign(value);\n  // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.reserved_name)\n}\n void DescriptorProto::set_reserved_name(int index, const char* value, size_t size) {\n  reserved_name_.Mutable(index)->assign(\n    reinterpret_cast<const char*>(value), size);\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.reserved_name)\n}\n ::std::string* DescriptorProto::add_reserved_name() {\n  // @@protoc_insertion_point(field_add_mutable:google.protobuf.DescriptorProto.reserved_name)\n  return reserved_name_.Add();\n}\n void DescriptorProto::add_reserved_name(const ::std::string& value) {\n  reserved_name_.Add()->assign(value);\n  // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_name)\n}\n void DescriptorProto::add_reserved_name(const char* value) {\n  reserved_name_.Add()->assign(value);\n  // @@protoc_insertion_point(field_add_char:google.protobuf.DescriptorProto.reserved_name)\n}\n void DescriptorProto::add_reserved_name(const char* value, size_t size) {\n  reserved_name_.Add()->assign(reinterpret_cast<const char*>(value), size);\n  // @@protoc_insertion_point(field_add_pointer:google.protobuf.DescriptorProto.reserved_name)\n}\n const ::google::protobuf::RepeatedPtrField< ::std::string>&\nDescriptorProto::reserved_name() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_name)\n  return reserved_name_;\n}\n ::google::protobuf::RepeatedPtrField< ::std::string>*\nDescriptorProto::mutable_reserved_name() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_name)\n  return &reserved_name_;\n}\n\n#endif  // PROTOBUF_INLINE_NOT_IN_HEADERS\n\n// ===================================================================\n\nconst ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Type_descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return FieldDescriptorProto_Type_descriptor_;\n}\nbool FieldDescriptorProto_Type_IsValid(int value) {\n  switch(value) {\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n    case 6:\n    case 7:\n    case 8:\n    case 9:\n    case 10:\n    case 11:\n    case 12:\n    case 13:\n    case 14:\n    case 15:\n    case 16:\n    case 17:\n    case 18:\n      return true;\n    default:\n      return false;\n  }\n}\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst FieldDescriptorProto_Type FieldDescriptorProto::TYPE_DOUBLE;\nconst FieldDescriptorProto_Type FieldDescriptorProto::TYPE_FLOAT;\nconst FieldDescriptorProto_Type FieldDescriptorProto::TYPE_INT64;\nconst FieldDescriptorProto_Type FieldDescriptorProto::TYPE_UINT64;\nconst FieldDescriptorProto_Type FieldDescriptorProto::TYPE_INT32;\nconst FieldDescriptorProto_Type FieldDescriptorProto::TYPE_FIXED64;\nconst FieldDescriptorProto_Type FieldDescriptorProto::TYPE_FIXED32;\nconst FieldDescriptorProto_Type FieldDescriptorProto::TYPE_BOOL;\nconst FieldDescriptorProto_Type FieldDescriptorProto::TYPE_STRING;\nconst FieldDescriptorProto_Type FieldDescriptorProto::TYPE_GROUP;\nconst FieldDescriptorProto_Type FieldDescriptorProto::TYPE_MESSAGE;\nconst FieldDescriptorProto_Type FieldDescriptorProto::TYPE_BYTES;\nconst FieldDescriptorProto_Type FieldDescriptorProto::TYPE_UINT32;\nconst FieldDescriptorProto_Type FieldDescriptorProto::TYPE_ENUM;\nconst FieldDescriptorProto_Type FieldDescriptorProto::TYPE_SFIXED32;\nconst FieldDescriptorProto_Type FieldDescriptorProto::TYPE_SFIXED64;\nconst FieldDescriptorProto_Type FieldDescriptorProto::TYPE_SINT32;\nconst FieldDescriptorProto_Type FieldDescriptorProto::TYPE_SINT64;\nconst FieldDescriptorProto_Type FieldDescriptorProto::Type_MIN;\nconst FieldDescriptorProto_Type FieldDescriptorProto::Type_MAX;\nconst int FieldDescriptorProto::Type_ARRAYSIZE;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\nconst ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Label_descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return FieldDescriptorProto_Label_descriptor_;\n}\nbool FieldDescriptorProto_Label_IsValid(int value) {\n  switch(value) {\n    case 1:\n    case 2:\n    case 3:\n      return true;\n    default:\n      return false;\n  }\n}\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst FieldDescriptorProto_Label FieldDescriptorProto::LABEL_OPTIONAL;\nconst FieldDescriptorProto_Label FieldDescriptorProto::LABEL_REQUIRED;\nconst FieldDescriptorProto_Label FieldDescriptorProto::LABEL_REPEATED;\nconst FieldDescriptorProto_Label FieldDescriptorProto::Label_MIN;\nconst FieldDescriptorProto_Label FieldDescriptorProto::Label_MAX;\nconst int FieldDescriptorProto::Label_ARRAYSIZE;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst int FieldDescriptorProto::kNameFieldNumber;\nconst int FieldDescriptorProto::kNumberFieldNumber;\nconst int FieldDescriptorProto::kLabelFieldNumber;\nconst int FieldDescriptorProto::kTypeFieldNumber;\nconst int FieldDescriptorProto::kTypeNameFieldNumber;\nconst int FieldDescriptorProto::kExtendeeFieldNumber;\nconst int FieldDescriptorProto::kDefaultValueFieldNumber;\nconst int FieldDescriptorProto::kOneofIndexFieldNumber;\nconst int FieldDescriptorProto::kJsonNameFieldNumber;\nconst int FieldDescriptorProto::kOptionsFieldNumber;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\n\nFieldDescriptorProto::FieldDescriptorProto()\n  : ::google::protobuf::Message(), _internal_metadata_(NULL) {\n  SharedCtor();\n  // @@protoc_insertion_point(constructor:google.protobuf.FieldDescriptorProto)\n}\n\nvoid FieldDescriptorProto::InitAsDefaultInstance() {\n  options_ = const_cast< ::google::protobuf::FieldOptions*>(&::google::protobuf::FieldOptions::default_instance());\n}\n\nFieldDescriptorProto::FieldDescriptorProto(const FieldDescriptorProto& from)\n  : ::google::protobuf::Message(),\n    _internal_metadata_(NULL) {\n  SharedCtor();\n  MergeFrom(from);\n  // @@protoc_insertion_point(copy_constructor:google.protobuf.FieldDescriptorProto)\n}\n\nvoid FieldDescriptorProto::SharedCtor() {\n  ::google::protobuf::internal::GetEmptyString();\n  _cached_size_ = 0;\n  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  number_ = 0;\n  label_ = 1;\n  type_ = 1;\n  type_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  extendee_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  default_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  oneof_index_ = 0;\n  json_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  options_ = NULL;\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n}\n\nFieldDescriptorProto::~FieldDescriptorProto() {\n  // @@protoc_insertion_point(destructor:google.protobuf.FieldDescriptorProto)\n  SharedDtor();\n}\n\nvoid FieldDescriptorProto::SharedDtor() {\n  name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  type_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  extendee_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  default_value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  json_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  if (this != default_instance_) {\n    delete options_;\n  }\n}\n\nvoid FieldDescriptorProto::SetCachedSize(int size) const {\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n}\nconst ::google::protobuf::Descriptor* FieldDescriptorProto::descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return FieldDescriptorProto_descriptor_;\n}\n\nconst FieldDescriptorProto& FieldDescriptorProto::default_instance() {\n  if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  return *default_instance_;\n}\n\nFieldDescriptorProto* FieldDescriptorProto::default_instance_ = NULL;\n\nFieldDescriptorProto* FieldDescriptorProto::New(::google::protobuf::Arena* arena) const {\n  FieldDescriptorProto* n = new FieldDescriptorProto;\n  if (arena != NULL) {\n    arena->Own(n);\n  }\n  return n;\n}\n\nvoid FieldDescriptorProto::Clear() {\n// @@protoc_insertion_point(message_clear_start:google.protobuf.FieldDescriptorProto)\n  if (_has_bits_[0 / 32] & 255u) {\n    if (has_name()) {\n      name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n    }\n    number_ = 0;\n    label_ = 1;\n    type_ = 1;\n    if (has_type_name()) {\n      type_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n    }\n    if (has_extendee()) {\n      extendee_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n    }\n    if (has_default_value()) {\n      default_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n    }\n    oneof_index_ = 0;\n  }\n  if (_has_bits_[8 / 32] & 768u) {\n    if (has_json_name()) {\n      json_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n    }\n    if (has_options()) {\n      if (options_ != NULL) options_->::google::protobuf::FieldOptions::Clear();\n    }\n  }\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n  if (_internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->Clear();\n  }\n}\n\nbool FieldDescriptorProto::MergePartialFromCodedStream(\n    ::google::protobuf::io::CodedInputStream* input) {\n#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure\n  ::google::protobuf::uint32 tag;\n  // @@protoc_insertion_point(parse_start:google.protobuf.FieldDescriptorProto)\n  for (;;) {\n    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);\n    tag = p.first;\n    if (!p.second) goto handle_unusual;\n    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {\n      // optional string name = 1;\n      case 1: {\n        if (tag == 10) {\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->mutable_name()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->name().data(), this->name().length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.FieldDescriptorProto.name\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(18)) goto parse_extendee;\n        break;\n      }\n\n      // optional string extendee = 2;\n      case 2: {\n        if (tag == 18) {\n         parse_extendee:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->mutable_extendee()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->extendee().data(), this->extendee().length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.FieldDescriptorProto.extendee\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(24)) goto parse_number;\n        break;\n      }\n\n      // optional int32 number = 3;\n      case 3: {\n        if (tag == 24) {\n         parse_number:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(\n                 input, &number_)));\n          set_has_number();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(32)) goto parse_label;\n        break;\n      }\n\n      // optional .google.protobuf.FieldDescriptorProto.Label label = 4;\n      case 4: {\n        if (tag == 32) {\n         parse_label:\n          int value;\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(\n                 input, &value)));\n          if (::google::protobuf::FieldDescriptorProto_Label_IsValid(value)) {\n            set_label(static_cast< ::google::protobuf::FieldDescriptorProto_Label >(value));\n          } else {\n            mutable_unknown_fields()->AddVarint(4, value);\n          }\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(40)) goto parse_type;\n        break;\n      }\n\n      // optional .google.protobuf.FieldDescriptorProto.Type type = 5;\n      case 5: {\n        if (tag == 40) {\n         parse_type:\n          int value;\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(\n                 input, &value)));\n          if (::google::protobuf::FieldDescriptorProto_Type_IsValid(value)) {\n            set_type(static_cast< ::google::protobuf::FieldDescriptorProto_Type >(value));\n          } else {\n            mutable_unknown_fields()->AddVarint(5, value);\n          }\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(50)) goto parse_type_name;\n        break;\n      }\n\n      // optional string type_name = 6;\n      case 6: {\n        if (tag == 50) {\n         parse_type_name:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->mutable_type_name()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->type_name().data(), this->type_name().length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.FieldDescriptorProto.type_name\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(58)) goto parse_default_value;\n        break;\n      }\n\n      // optional string default_value = 7;\n      case 7: {\n        if (tag == 58) {\n         parse_default_value:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->mutable_default_value()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->default_value().data(), this->default_value().length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.FieldDescriptorProto.default_value\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(66)) goto parse_options;\n        break;\n      }\n\n      // optional .google.protobuf.FieldOptions options = 8;\n      case 8: {\n        if (tag == 66) {\n         parse_options:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(\n               input, mutable_options()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(72)) goto parse_oneof_index;\n        break;\n      }\n\n      // optional int32 oneof_index = 9;\n      case 9: {\n        if (tag == 72) {\n         parse_oneof_index:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(\n                 input, &oneof_index_)));\n          set_has_oneof_index();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(82)) goto parse_json_name;\n        break;\n      }\n\n      // optional string json_name = 10;\n      case 10: {\n        if (tag == 82) {\n         parse_json_name:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->mutable_json_name()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->json_name().data(), this->json_name().length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.FieldDescriptorProto.json_name\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectAtEnd()) goto success;\n        break;\n      }\n\n      default: {\n      handle_unusual:\n        if (tag == 0 ||\n            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==\n            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {\n          goto success;\n        }\n        DO_(::google::protobuf::internal::WireFormat::SkipField(\n              input, tag, mutable_unknown_fields()));\n        break;\n      }\n    }\n  }\nsuccess:\n  // @@protoc_insertion_point(parse_success:google.protobuf.FieldDescriptorProto)\n  return true;\nfailure:\n  // @@protoc_insertion_point(parse_failure:google.protobuf.FieldDescriptorProto)\n  return false;\n#undef DO_\n}\n\nvoid FieldDescriptorProto::SerializeWithCachedSizes(\n    ::google::protobuf::io::CodedOutputStream* output) const {\n  // @@protoc_insertion_point(serialize_start:google.protobuf.FieldDescriptorProto)\n  // optional string name = 1;\n  if (has_name()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->name().data(), this->name().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FieldDescriptorProto.name\");\n    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(\n      1, this->name(), output);\n  }\n\n  // optional string extendee = 2;\n  if (has_extendee()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->extendee().data(), this->extendee().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FieldDescriptorProto.extendee\");\n    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(\n      2, this->extendee(), output);\n  }\n\n  // optional int32 number = 3;\n  if (has_number()) {\n    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->number(), output);\n  }\n\n  // optional .google.protobuf.FieldDescriptorProto.Label label = 4;\n  if (has_label()) {\n    ::google::protobuf::internal::WireFormatLite::WriteEnum(\n      4, this->label(), output);\n  }\n\n  // optional .google.protobuf.FieldDescriptorProto.Type type = 5;\n  if (has_type()) {\n    ::google::protobuf::internal::WireFormatLite::WriteEnum(\n      5, this->type(), output);\n  }\n\n  // optional string type_name = 6;\n  if (has_type_name()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->type_name().data(), this->type_name().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FieldDescriptorProto.type_name\");\n    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(\n      6, this->type_name(), output);\n  }\n\n  // optional string default_value = 7;\n  if (has_default_value()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->default_value().data(), this->default_value().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FieldDescriptorProto.default_value\");\n    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(\n      7, this->default_value(), output);\n  }\n\n  // optional .google.protobuf.FieldOptions options = 8;\n  if (has_options()) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      8, *this->options_, output);\n  }\n\n  // optional int32 oneof_index = 9;\n  if (has_oneof_index()) {\n    ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->oneof_index(), output);\n  }\n\n  // optional string json_name = 10;\n  if (has_json_name()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->json_name().data(), this->json_name().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FieldDescriptorProto.json_name\");\n    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(\n      10, this->json_name(), output);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(\n        unknown_fields(), output);\n  }\n  // @@protoc_insertion_point(serialize_end:google.protobuf.FieldDescriptorProto)\n}\n\n::google::protobuf::uint8* FieldDescriptorProto::SerializeWithCachedSizesToArray(\n    ::google::protobuf::uint8* target) const {\n  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FieldDescriptorProto)\n  // optional string name = 1;\n  if (has_name()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->name().data(), this->name().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FieldDescriptorProto.name\");\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(\n        1, this->name(), target);\n  }\n\n  // optional string extendee = 2;\n  if (has_extendee()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->extendee().data(), this->extendee().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FieldDescriptorProto.extendee\");\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(\n        2, this->extendee(), target);\n  }\n\n  // optional int32 number = 3;\n  if (has_number()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->number(), target);\n  }\n\n  // optional .google.protobuf.FieldDescriptorProto.Label label = 4;\n  if (has_label()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(\n      4, this->label(), target);\n  }\n\n  // optional .google.protobuf.FieldDescriptorProto.Type type = 5;\n  if (has_type()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(\n      5, this->type(), target);\n  }\n\n  // optional string type_name = 6;\n  if (has_type_name()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->type_name().data(), this->type_name().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FieldDescriptorProto.type_name\");\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(\n        6, this->type_name(), target);\n  }\n\n  // optional string default_value = 7;\n  if (has_default_value()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->default_value().data(), this->default_value().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FieldDescriptorProto.default_value\");\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(\n        7, this->default_value(), target);\n  }\n\n  // optional .google.protobuf.FieldOptions options = 8;\n  if (has_options()) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        8, *this->options_, target);\n  }\n\n  // optional int32 oneof_index = 9;\n  if (has_oneof_index()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->oneof_index(), target);\n  }\n\n  // optional string json_name = 10;\n  if (has_json_name()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->json_name().data(), this->json_name().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FieldDescriptorProto.json_name\");\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(\n        10, this->json_name(), target);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(\n        unknown_fields(), target);\n  }\n  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FieldDescriptorProto)\n  return target;\n}\n\nint FieldDescriptorProto::ByteSize() const {\n// @@protoc_insertion_point(message_byte_size_start:google.protobuf.FieldDescriptorProto)\n  int total_size = 0;\n\n  if (_has_bits_[0 / 32] & 255u) {\n    // optional string name = 1;\n    if (has_name()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::StringSize(\n          this->name());\n    }\n\n    // optional int32 number = 3;\n    if (has_number()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::Int32Size(\n          this->number());\n    }\n\n    // optional .google.protobuf.FieldDescriptorProto.Label label = 4;\n    if (has_label()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::EnumSize(this->label());\n    }\n\n    // optional .google.protobuf.FieldDescriptorProto.Type type = 5;\n    if (has_type()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::EnumSize(this->type());\n    }\n\n    // optional string type_name = 6;\n    if (has_type_name()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::StringSize(\n          this->type_name());\n    }\n\n    // optional string extendee = 2;\n    if (has_extendee()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::StringSize(\n          this->extendee());\n    }\n\n    // optional string default_value = 7;\n    if (has_default_value()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::StringSize(\n          this->default_value());\n    }\n\n    // optional int32 oneof_index = 9;\n    if (has_oneof_index()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::Int32Size(\n          this->oneof_index());\n    }\n\n  }\n  if (_has_bits_[8 / 32] & 768u) {\n    // optional string json_name = 10;\n    if (has_json_name()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::StringSize(\n          this->json_name());\n    }\n\n    // optional .google.protobuf.FieldOptions options = 8;\n    if (has_options()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n          *this->options_);\n    }\n\n  }\n  if (_internal_metadata_.have_unknown_fields()) {\n    total_size +=\n      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(\n        unknown_fields());\n  }\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = total_size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n  return total_size;\n}\n\nvoid FieldDescriptorProto::MergeFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.FieldDescriptorProto)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  const FieldDescriptorProto* source = \n      ::google::protobuf::internal::DynamicCastToGenerated<const FieldDescriptorProto>(\n          &from);\n  if (source == NULL) {\n  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.FieldDescriptorProto)\n    ::google::protobuf::internal::ReflectionOps::Merge(from, this);\n  } else {\n  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.FieldDescriptorProto)\n    MergeFrom(*source);\n  }\n}\n\nvoid FieldDescriptorProto::MergeFrom(const FieldDescriptorProto& from) {\n// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FieldDescriptorProto)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {\n    if (from.has_name()) {\n      set_has_name();\n      name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);\n    }\n    if (from.has_number()) {\n      set_number(from.number());\n    }\n    if (from.has_label()) {\n      set_label(from.label());\n    }\n    if (from.has_type()) {\n      set_type(from.type());\n    }\n    if (from.has_type_name()) {\n      set_has_type_name();\n      type_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.type_name_);\n    }\n    if (from.has_extendee()) {\n      set_has_extendee();\n      extendee_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.extendee_);\n    }\n    if (from.has_default_value()) {\n      set_has_default_value();\n      default_value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.default_value_);\n    }\n    if (from.has_oneof_index()) {\n      set_oneof_index(from.oneof_index());\n    }\n  }\n  if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {\n    if (from.has_json_name()) {\n      set_has_json_name();\n      json_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.json_name_);\n    }\n    if (from.has_options()) {\n      mutable_options()->::google::protobuf::FieldOptions::MergeFrom(from.options());\n    }\n  }\n  if (from._internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->MergeFrom(from.unknown_fields());\n  }\n}\n\nvoid FieldDescriptorProto::CopyFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.FieldDescriptorProto)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nvoid FieldDescriptorProto::CopyFrom(const FieldDescriptorProto& from) {\n// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FieldDescriptorProto)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nbool FieldDescriptorProto::IsInitialized() const {\n\n  if (has_options()) {\n    if (!this->options_->IsInitialized()) return false;\n  }\n  return true;\n}\n\nvoid FieldDescriptorProto::Swap(FieldDescriptorProto* other) {\n  if (other == this) return;\n  InternalSwap(other);\n}\nvoid FieldDescriptorProto::InternalSwap(FieldDescriptorProto* other) {\n  name_.Swap(&other->name_);\n  std::swap(number_, other->number_);\n  std::swap(label_, other->label_);\n  std::swap(type_, other->type_);\n  type_name_.Swap(&other->type_name_);\n  extendee_.Swap(&other->extendee_);\n  default_value_.Swap(&other->default_value_);\n  std::swap(oneof_index_, other->oneof_index_);\n  json_name_.Swap(&other->json_name_);\n  std::swap(options_, other->options_);\n  std::swap(_has_bits_[0], other->_has_bits_[0]);\n  _internal_metadata_.Swap(&other->_internal_metadata_);\n  std::swap(_cached_size_, other->_cached_size_);\n}\n\n::google::protobuf::Metadata FieldDescriptorProto::GetMetadata() const {\n  protobuf_AssignDescriptorsOnce();\n  ::google::protobuf::Metadata metadata;\n  metadata.descriptor = FieldDescriptorProto_descriptor_;\n  metadata.reflection = FieldDescriptorProto_reflection_;\n  return metadata;\n}\n\n#if PROTOBUF_INLINE_NOT_IN_HEADERS\n// FieldDescriptorProto\n\n// optional string name = 1;\nbool FieldDescriptorProto::has_name() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\nvoid FieldDescriptorProto::set_has_name() {\n  _has_bits_[0] |= 0x00000001u;\n}\nvoid FieldDescriptorProto::clear_has_name() {\n  _has_bits_[0] &= ~0x00000001u;\n}\nvoid FieldDescriptorProto::clear_name() {\n  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_name();\n}\n const ::std::string& FieldDescriptorProto::name() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.name)\n  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void FieldDescriptorProto::set_name(const ::std::string& value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.name)\n}\n void FieldDescriptorProto::set_name(const char* value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.name)\n}\n void FieldDescriptorProto::set_name(const char* value, size_t size) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.name)\n}\n ::std::string* FieldDescriptorProto::mutable_name() {\n  set_has_name();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.name)\n  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* FieldDescriptorProto::release_name() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.name)\n  clear_has_name();\n  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void FieldDescriptorProto::set_allocated_name(::std::string* name) {\n  if (name != NULL) {\n    set_has_name();\n  } else {\n    clear_has_name();\n  }\n  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.name)\n}\n\n// optional int32 number = 3;\nbool FieldDescriptorProto::has_number() const {\n  return (_has_bits_[0] & 0x00000002u) != 0;\n}\nvoid FieldDescriptorProto::set_has_number() {\n  _has_bits_[0] |= 0x00000002u;\n}\nvoid FieldDescriptorProto::clear_has_number() {\n  _has_bits_[0] &= ~0x00000002u;\n}\nvoid FieldDescriptorProto::clear_number() {\n  number_ = 0;\n  clear_has_number();\n}\n ::google::protobuf::int32 FieldDescriptorProto::number() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.number)\n  return number_;\n}\n void FieldDescriptorProto::set_number(::google::protobuf::int32 value) {\n  set_has_number();\n  number_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.number)\n}\n\n// optional .google.protobuf.FieldDescriptorProto.Label label = 4;\nbool FieldDescriptorProto::has_label() const {\n  return (_has_bits_[0] & 0x00000004u) != 0;\n}\nvoid FieldDescriptorProto::set_has_label() {\n  _has_bits_[0] |= 0x00000004u;\n}\nvoid FieldDescriptorProto::clear_has_label() {\n  _has_bits_[0] &= ~0x00000004u;\n}\nvoid FieldDescriptorProto::clear_label() {\n  label_ = 1;\n  clear_has_label();\n}\n ::google::protobuf::FieldDescriptorProto_Label FieldDescriptorProto::label() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.label)\n  return static_cast< ::google::protobuf::FieldDescriptorProto_Label >(label_);\n}\n void FieldDescriptorProto::set_label(::google::protobuf::FieldDescriptorProto_Label value) {\n  assert(::google::protobuf::FieldDescriptorProto_Label_IsValid(value));\n  set_has_label();\n  label_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.label)\n}\n\n// optional .google.protobuf.FieldDescriptorProto.Type type = 5;\nbool FieldDescriptorProto::has_type() const {\n  return (_has_bits_[0] & 0x00000008u) != 0;\n}\nvoid FieldDescriptorProto::set_has_type() {\n  _has_bits_[0] |= 0x00000008u;\n}\nvoid FieldDescriptorProto::clear_has_type() {\n  _has_bits_[0] &= ~0x00000008u;\n}\nvoid FieldDescriptorProto::clear_type() {\n  type_ = 1;\n  clear_has_type();\n}\n ::google::protobuf::FieldDescriptorProto_Type FieldDescriptorProto::type() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type)\n  return static_cast< ::google::protobuf::FieldDescriptorProto_Type >(type_);\n}\n void FieldDescriptorProto::set_type(::google::protobuf::FieldDescriptorProto_Type value) {\n  assert(::google::protobuf::FieldDescriptorProto_Type_IsValid(value));\n  set_has_type();\n  type_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type)\n}\n\n// optional string type_name = 6;\nbool FieldDescriptorProto::has_type_name() const {\n  return (_has_bits_[0] & 0x00000010u) != 0;\n}\nvoid FieldDescriptorProto::set_has_type_name() {\n  _has_bits_[0] |= 0x00000010u;\n}\nvoid FieldDescriptorProto::clear_has_type_name() {\n  _has_bits_[0] &= ~0x00000010u;\n}\nvoid FieldDescriptorProto::clear_type_name() {\n  type_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_type_name();\n}\n const ::std::string& FieldDescriptorProto::type_name() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type_name)\n  return type_name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void FieldDescriptorProto::set_type_name(const ::std::string& value) {\n  set_has_type_name();\n  type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type_name)\n}\n void FieldDescriptorProto::set_type_name(const char* value) {\n  set_has_type_name();\n  type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.type_name)\n}\n void FieldDescriptorProto::set_type_name(const char* value, size_t size) {\n  set_has_type_name();\n  type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.type_name)\n}\n ::std::string* FieldDescriptorProto::mutable_type_name() {\n  set_has_type_name();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.type_name)\n  return type_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* FieldDescriptorProto::release_type_name() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.type_name)\n  clear_has_type_name();\n  return type_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void FieldDescriptorProto::set_allocated_type_name(::std::string* type_name) {\n  if (type_name != NULL) {\n    set_has_type_name();\n  } else {\n    clear_has_type_name();\n  }\n  type_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type_name);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.type_name)\n}\n\n// optional string extendee = 2;\nbool FieldDescriptorProto::has_extendee() const {\n  return (_has_bits_[0] & 0x00000020u) != 0;\n}\nvoid FieldDescriptorProto::set_has_extendee() {\n  _has_bits_[0] |= 0x00000020u;\n}\nvoid FieldDescriptorProto::clear_has_extendee() {\n  _has_bits_[0] &= ~0x00000020u;\n}\nvoid FieldDescriptorProto::clear_extendee() {\n  extendee_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_extendee();\n}\n const ::std::string& FieldDescriptorProto::extendee() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.extendee)\n  return extendee_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void FieldDescriptorProto::set_extendee(const ::std::string& value) {\n  set_has_extendee();\n  extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.extendee)\n}\n void FieldDescriptorProto::set_extendee(const char* value) {\n  set_has_extendee();\n  extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.extendee)\n}\n void FieldDescriptorProto::set_extendee(const char* value, size_t size) {\n  set_has_extendee();\n  extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.extendee)\n}\n ::std::string* FieldDescriptorProto::mutable_extendee() {\n  set_has_extendee();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.extendee)\n  return extendee_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* FieldDescriptorProto::release_extendee() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.extendee)\n  clear_has_extendee();\n  return extendee_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void FieldDescriptorProto::set_allocated_extendee(::std::string* extendee) {\n  if (extendee != NULL) {\n    set_has_extendee();\n  } else {\n    clear_has_extendee();\n  }\n  extendee_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), extendee);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.extendee)\n}\n\n// optional string default_value = 7;\nbool FieldDescriptorProto::has_default_value() const {\n  return (_has_bits_[0] & 0x00000040u) != 0;\n}\nvoid FieldDescriptorProto::set_has_default_value() {\n  _has_bits_[0] |= 0x00000040u;\n}\nvoid FieldDescriptorProto::clear_has_default_value() {\n  _has_bits_[0] &= ~0x00000040u;\n}\nvoid FieldDescriptorProto::clear_default_value() {\n  default_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_default_value();\n}\n const ::std::string& FieldDescriptorProto::default_value() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.default_value)\n  return default_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void FieldDescriptorProto::set_default_value(const ::std::string& value) {\n  set_has_default_value();\n  default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.default_value)\n}\n void FieldDescriptorProto::set_default_value(const char* value) {\n  set_has_default_value();\n  default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.default_value)\n}\n void FieldDescriptorProto::set_default_value(const char* value, size_t size) {\n  set_has_default_value();\n  default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.default_value)\n}\n ::std::string* FieldDescriptorProto::mutable_default_value() {\n  set_has_default_value();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.default_value)\n  return default_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* FieldDescriptorProto::release_default_value() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.default_value)\n  clear_has_default_value();\n  return default_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void FieldDescriptorProto::set_allocated_default_value(::std::string* default_value) {\n  if (default_value != NULL) {\n    set_has_default_value();\n  } else {\n    clear_has_default_value();\n  }\n  default_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), default_value);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.default_value)\n}\n\n// optional int32 oneof_index = 9;\nbool FieldDescriptorProto::has_oneof_index() const {\n  return (_has_bits_[0] & 0x00000080u) != 0;\n}\nvoid FieldDescriptorProto::set_has_oneof_index() {\n  _has_bits_[0] |= 0x00000080u;\n}\nvoid FieldDescriptorProto::clear_has_oneof_index() {\n  _has_bits_[0] &= ~0x00000080u;\n}\nvoid FieldDescriptorProto::clear_oneof_index() {\n  oneof_index_ = 0;\n  clear_has_oneof_index();\n}\n ::google::protobuf::int32 FieldDescriptorProto::oneof_index() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.oneof_index)\n  return oneof_index_;\n}\n void FieldDescriptorProto::set_oneof_index(::google::protobuf::int32 value) {\n  set_has_oneof_index();\n  oneof_index_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.oneof_index)\n}\n\n// optional string json_name = 10;\nbool FieldDescriptorProto::has_json_name() const {\n  return (_has_bits_[0] & 0x00000100u) != 0;\n}\nvoid FieldDescriptorProto::set_has_json_name() {\n  _has_bits_[0] |= 0x00000100u;\n}\nvoid FieldDescriptorProto::clear_has_json_name() {\n  _has_bits_[0] &= ~0x00000100u;\n}\nvoid FieldDescriptorProto::clear_json_name() {\n  json_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_json_name();\n}\n const ::std::string& FieldDescriptorProto::json_name() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.json_name)\n  return json_name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void FieldDescriptorProto::set_json_name(const ::std::string& value) {\n  set_has_json_name();\n  json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.json_name)\n}\n void FieldDescriptorProto::set_json_name(const char* value) {\n  set_has_json_name();\n  json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.json_name)\n}\n void FieldDescriptorProto::set_json_name(const char* value, size_t size) {\n  set_has_json_name();\n  json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.json_name)\n}\n ::std::string* FieldDescriptorProto::mutable_json_name() {\n  set_has_json_name();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.json_name)\n  return json_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* FieldDescriptorProto::release_json_name() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.json_name)\n  clear_has_json_name();\n  return json_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void FieldDescriptorProto::set_allocated_json_name(::std::string* json_name) {\n  if (json_name != NULL) {\n    set_has_json_name();\n  } else {\n    clear_has_json_name();\n  }\n  json_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), json_name);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.json_name)\n}\n\n// optional .google.protobuf.FieldOptions options = 8;\nbool FieldDescriptorProto::has_options() const {\n  return (_has_bits_[0] & 0x00000200u) != 0;\n}\nvoid FieldDescriptorProto::set_has_options() {\n  _has_bits_[0] |= 0x00000200u;\n}\nvoid FieldDescriptorProto::clear_has_options() {\n  _has_bits_[0] &= ~0x00000200u;\n}\nvoid FieldDescriptorProto::clear_options() {\n  if (options_ != NULL) options_->::google::protobuf::FieldOptions::Clear();\n  clear_has_options();\n}\nconst ::google::protobuf::FieldOptions& FieldDescriptorProto::options() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.options)\n  return options_ != NULL ? *options_ : *default_instance_->options_;\n}\n::google::protobuf::FieldOptions* FieldDescriptorProto::mutable_options() {\n  set_has_options();\n  if (options_ == NULL) {\n    options_ = new ::google::protobuf::FieldOptions;\n  }\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.options)\n  return options_;\n}\n::google::protobuf::FieldOptions* FieldDescriptorProto::release_options() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.options)\n  clear_has_options();\n  ::google::protobuf::FieldOptions* temp = options_;\n  options_ = NULL;\n  return temp;\n}\nvoid FieldDescriptorProto::set_allocated_options(::google::protobuf::FieldOptions* options) {\n  delete options_;\n  options_ = options;\n  if (options) {\n    set_has_options();\n  } else {\n    clear_has_options();\n  }\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.options)\n}\n\n#endif  // PROTOBUF_INLINE_NOT_IN_HEADERS\n\n// ===================================================================\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst int OneofDescriptorProto::kNameFieldNumber;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\n\nOneofDescriptorProto::OneofDescriptorProto()\n  : ::google::protobuf::Message(), _internal_metadata_(NULL) {\n  SharedCtor();\n  // @@protoc_insertion_point(constructor:google.protobuf.OneofDescriptorProto)\n}\n\nvoid OneofDescriptorProto::InitAsDefaultInstance() {\n}\n\nOneofDescriptorProto::OneofDescriptorProto(const OneofDescriptorProto& from)\n  : ::google::protobuf::Message(),\n    _internal_metadata_(NULL) {\n  SharedCtor();\n  MergeFrom(from);\n  // @@protoc_insertion_point(copy_constructor:google.protobuf.OneofDescriptorProto)\n}\n\nvoid OneofDescriptorProto::SharedCtor() {\n  ::google::protobuf::internal::GetEmptyString();\n  _cached_size_ = 0;\n  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n}\n\nOneofDescriptorProto::~OneofDescriptorProto() {\n  // @@protoc_insertion_point(destructor:google.protobuf.OneofDescriptorProto)\n  SharedDtor();\n}\n\nvoid OneofDescriptorProto::SharedDtor() {\n  name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  if (this != default_instance_) {\n  }\n}\n\nvoid OneofDescriptorProto::SetCachedSize(int size) const {\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n}\nconst ::google::protobuf::Descriptor* OneofDescriptorProto::descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return OneofDescriptorProto_descriptor_;\n}\n\nconst OneofDescriptorProto& OneofDescriptorProto::default_instance() {\n  if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  return *default_instance_;\n}\n\nOneofDescriptorProto* OneofDescriptorProto::default_instance_ = NULL;\n\nOneofDescriptorProto* OneofDescriptorProto::New(::google::protobuf::Arena* arena) const {\n  OneofDescriptorProto* n = new OneofDescriptorProto;\n  if (arena != NULL) {\n    arena->Own(n);\n  }\n  return n;\n}\n\nvoid OneofDescriptorProto::Clear() {\n// @@protoc_insertion_point(message_clear_start:google.protobuf.OneofDescriptorProto)\n  if (has_name()) {\n    name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  }\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n  if (_internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->Clear();\n  }\n}\n\nbool OneofDescriptorProto::MergePartialFromCodedStream(\n    ::google::protobuf::io::CodedInputStream* input) {\n#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure\n  ::google::protobuf::uint32 tag;\n  // @@protoc_insertion_point(parse_start:google.protobuf.OneofDescriptorProto)\n  for (;;) {\n    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);\n    tag = p.first;\n    if (!p.second) goto handle_unusual;\n    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {\n      // optional string name = 1;\n      case 1: {\n        if (tag == 10) {\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->mutable_name()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->name().data(), this->name().length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.OneofDescriptorProto.name\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectAtEnd()) goto success;\n        break;\n      }\n\n      default: {\n      handle_unusual:\n        if (tag == 0 ||\n            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==\n            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {\n          goto success;\n        }\n        DO_(::google::protobuf::internal::WireFormat::SkipField(\n              input, tag, mutable_unknown_fields()));\n        break;\n      }\n    }\n  }\nsuccess:\n  // @@protoc_insertion_point(parse_success:google.protobuf.OneofDescriptorProto)\n  return true;\nfailure:\n  // @@protoc_insertion_point(parse_failure:google.protobuf.OneofDescriptorProto)\n  return false;\n#undef DO_\n}\n\nvoid OneofDescriptorProto::SerializeWithCachedSizes(\n    ::google::protobuf::io::CodedOutputStream* output) const {\n  // @@protoc_insertion_point(serialize_start:google.protobuf.OneofDescriptorProto)\n  // optional string name = 1;\n  if (has_name()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->name().data(), this->name().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.OneofDescriptorProto.name\");\n    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(\n      1, this->name(), output);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(\n        unknown_fields(), output);\n  }\n  // @@protoc_insertion_point(serialize_end:google.protobuf.OneofDescriptorProto)\n}\n\n::google::protobuf::uint8* OneofDescriptorProto::SerializeWithCachedSizesToArray(\n    ::google::protobuf::uint8* target) const {\n  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.OneofDescriptorProto)\n  // optional string name = 1;\n  if (has_name()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->name().data(), this->name().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.OneofDescriptorProto.name\");\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(\n        1, this->name(), target);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(\n        unknown_fields(), target);\n  }\n  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.OneofDescriptorProto)\n  return target;\n}\n\nint OneofDescriptorProto::ByteSize() const {\n// @@protoc_insertion_point(message_byte_size_start:google.protobuf.OneofDescriptorProto)\n  int total_size = 0;\n\n  // optional string name = 1;\n  if (has_name()) {\n    total_size += 1 +\n      ::google::protobuf::internal::WireFormatLite::StringSize(\n        this->name());\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    total_size +=\n      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(\n        unknown_fields());\n  }\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = total_size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n  return total_size;\n}\n\nvoid OneofDescriptorProto::MergeFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.OneofDescriptorProto)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  const OneofDescriptorProto* source = \n      ::google::protobuf::internal::DynamicCastToGenerated<const OneofDescriptorProto>(\n          &from);\n  if (source == NULL) {\n  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.OneofDescriptorProto)\n    ::google::protobuf::internal::ReflectionOps::Merge(from, this);\n  } else {\n  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.OneofDescriptorProto)\n    MergeFrom(*source);\n  }\n}\n\nvoid OneofDescriptorProto::MergeFrom(const OneofDescriptorProto& from) {\n// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.OneofDescriptorProto)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {\n    if (from.has_name()) {\n      set_has_name();\n      name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);\n    }\n  }\n  if (from._internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->MergeFrom(from.unknown_fields());\n  }\n}\n\nvoid OneofDescriptorProto::CopyFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.OneofDescriptorProto)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nvoid OneofDescriptorProto::CopyFrom(const OneofDescriptorProto& from) {\n// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.OneofDescriptorProto)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nbool OneofDescriptorProto::IsInitialized() const {\n\n  return true;\n}\n\nvoid OneofDescriptorProto::Swap(OneofDescriptorProto* other) {\n  if (other == this) return;\n  InternalSwap(other);\n}\nvoid OneofDescriptorProto::InternalSwap(OneofDescriptorProto* other) {\n  name_.Swap(&other->name_);\n  std::swap(_has_bits_[0], other->_has_bits_[0]);\n  _internal_metadata_.Swap(&other->_internal_metadata_);\n  std::swap(_cached_size_, other->_cached_size_);\n}\n\n::google::protobuf::Metadata OneofDescriptorProto::GetMetadata() const {\n  protobuf_AssignDescriptorsOnce();\n  ::google::protobuf::Metadata metadata;\n  metadata.descriptor = OneofDescriptorProto_descriptor_;\n  metadata.reflection = OneofDescriptorProto_reflection_;\n  return metadata;\n}\n\n#if PROTOBUF_INLINE_NOT_IN_HEADERS\n// OneofDescriptorProto\n\n// optional string name = 1;\nbool OneofDescriptorProto::has_name() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\nvoid OneofDescriptorProto::set_has_name() {\n  _has_bits_[0] |= 0x00000001u;\n}\nvoid OneofDescriptorProto::clear_has_name() {\n  _has_bits_[0] &= ~0x00000001u;\n}\nvoid OneofDescriptorProto::clear_name() {\n  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_name();\n}\n const ::std::string& OneofDescriptorProto::name() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.name)\n  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void OneofDescriptorProto::set_name(const ::std::string& value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.OneofDescriptorProto.name)\n}\n void OneofDescriptorProto::set_name(const char* value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.OneofDescriptorProto.name)\n}\n void OneofDescriptorProto::set_name(const char* value, size_t size) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.OneofDescriptorProto.name)\n}\n ::std::string* OneofDescriptorProto::mutable_name() {\n  set_has_name();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.name)\n  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* OneofDescriptorProto::release_name() {\n  // @@protoc_insertion_point(field_release:google.protobuf.OneofDescriptorProto.name)\n  clear_has_name();\n  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void OneofDescriptorProto::set_allocated_name(::std::string* name) {\n  if (name != NULL) {\n    set_has_name();\n  } else {\n    clear_has_name();\n  }\n  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescriptorProto.name)\n}\n\n#endif  // PROTOBUF_INLINE_NOT_IN_HEADERS\n\n// ===================================================================\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst int EnumDescriptorProto::kNameFieldNumber;\nconst int EnumDescriptorProto::kValueFieldNumber;\nconst int EnumDescriptorProto::kOptionsFieldNumber;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\n\nEnumDescriptorProto::EnumDescriptorProto()\n  : ::google::protobuf::Message(), _internal_metadata_(NULL) {\n  SharedCtor();\n  // @@protoc_insertion_point(constructor:google.protobuf.EnumDescriptorProto)\n}\n\nvoid EnumDescriptorProto::InitAsDefaultInstance() {\n  options_ = const_cast< ::google::protobuf::EnumOptions*>(&::google::protobuf::EnumOptions::default_instance());\n}\n\nEnumDescriptorProto::EnumDescriptorProto(const EnumDescriptorProto& from)\n  : ::google::protobuf::Message(),\n    _internal_metadata_(NULL) {\n  SharedCtor();\n  MergeFrom(from);\n  // @@protoc_insertion_point(copy_constructor:google.protobuf.EnumDescriptorProto)\n}\n\nvoid EnumDescriptorProto::SharedCtor() {\n  ::google::protobuf::internal::GetEmptyString();\n  _cached_size_ = 0;\n  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  options_ = NULL;\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n}\n\nEnumDescriptorProto::~EnumDescriptorProto() {\n  // @@protoc_insertion_point(destructor:google.protobuf.EnumDescriptorProto)\n  SharedDtor();\n}\n\nvoid EnumDescriptorProto::SharedDtor() {\n  name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  if (this != default_instance_) {\n    delete options_;\n  }\n}\n\nvoid EnumDescriptorProto::SetCachedSize(int size) const {\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n}\nconst ::google::protobuf::Descriptor* EnumDescriptorProto::descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return EnumDescriptorProto_descriptor_;\n}\n\nconst EnumDescriptorProto& EnumDescriptorProto::default_instance() {\n  if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  return *default_instance_;\n}\n\nEnumDescriptorProto* EnumDescriptorProto::default_instance_ = NULL;\n\nEnumDescriptorProto* EnumDescriptorProto::New(::google::protobuf::Arena* arena) const {\n  EnumDescriptorProto* n = new EnumDescriptorProto;\n  if (arena != NULL) {\n    arena->Own(n);\n  }\n  return n;\n}\n\nvoid EnumDescriptorProto::Clear() {\n// @@protoc_insertion_point(message_clear_start:google.protobuf.EnumDescriptorProto)\n  if (_has_bits_[0 / 32] & 5u) {\n    if (has_name()) {\n      name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n    }\n    if (has_options()) {\n      if (options_ != NULL) options_->::google::protobuf::EnumOptions::Clear();\n    }\n  }\n  value_.Clear();\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n  if (_internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->Clear();\n  }\n}\n\nbool EnumDescriptorProto::MergePartialFromCodedStream(\n    ::google::protobuf::io::CodedInputStream* input) {\n#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure\n  ::google::protobuf::uint32 tag;\n  // @@protoc_insertion_point(parse_start:google.protobuf.EnumDescriptorProto)\n  for (;;) {\n    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);\n    tag = p.first;\n    if (!p.second) goto handle_unusual;\n    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {\n      // optional string name = 1;\n      case 1: {\n        if (tag == 10) {\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->mutable_name()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->name().data(), this->name().length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.EnumDescriptorProto.name\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(18)) goto parse_value;\n        break;\n      }\n\n      // repeated .google.protobuf.EnumValueDescriptorProto value = 2;\n      case 2: {\n        if (tag == 18) {\n         parse_value:\n          DO_(input->IncrementRecursionDepth());\n         parse_loop_value:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(\n                input, add_value()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(18)) goto parse_loop_value;\n        input->UnsafeDecrementRecursionDepth();\n        if (input->ExpectTag(26)) goto parse_options;\n        break;\n      }\n\n      // optional .google.protobuf.EnumOptions options = 3;\n      case 3: {\n        if (tag == 26) {\n         parse_options:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(\n               input, mutable_options()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectAtEnd()) goto success;\n        break;\n      }\n\n      default: {\n      handle_unusual:\n        if (tag == 0 ||\n            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==\n            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {\n          goto success;\n        }\n        DO_(::google::protobuf::internal::WireFormat::SkipField(\n              input, tag, mutable_unknown_fields()));\n        break;\n      }\n    }\n  }\nsuccess:\n  // @@protoc_insertion_point(parse_success:google.protobuf.EnumDescriptorProto)\n  return true;\nfailure:\n  // @@protoc_insertion_point(parse_failure:google.protobuf.EnumDescriptorProto)\n  return false;\n#undef DO_\n}\n\nvoid EnumDescriptorProto::SerializeWithCachedSizes(\n    ::google::protobuf::io::CodedOutputStream* output) const {\n  // @@protoc_insertion_point(serialize_start:google.protobuf.EnumDescriptorProto)\n  // optional string name = 1;\n  if (has_name()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->name().data(), this->name().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.EnumDescriptorProto.name\");\n    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(\n      1, this->name(), output);\n  }\n\n  // repeated .google.protobuf.EnumValueDescriptorProto value = 2;\n  for (unsigned int i = 0, n = this->value_size(); i < n; i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      2, this->value(i), output);\n  }\n\n  // optional .google.protobuf.EnumOptions options = 3;\n  if (has_options()) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      3, *this->options_, output);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(\n        unknown_fields(), output);\n  }\n  // @@protoc_insertion_point(serialize_end:google.protobuf.EnumDescriptorProto)\n}\n\n::google::protobuf::uint8* EnumDescriptorProto::SerializeWithCachedSizesToArray(\n    ::google::protobuf::uint8* target) const {\n  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumDescriptorProto)\n  // optional string name = 1;\n  if (has_name()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->name().data(), this->name().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.EnumDescriptorProto.name\");\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(\n        1, this->name(), target);\n  }\n\n  // repeated .google.protobuf.EnumValueDescriptorProto value = 2;\n  for (unsigned int i = 0, n = this->value_size(); i < n; i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        2, this->value(i), target);\n  }\n\n  // optional .google.protobuf.EnumOptions options = 3;\n  if (has_options()) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        3, *this->options_, target);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(\n        unknown_fields(), target);\n  }\n  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.EnumDescriptorProto)\n  return target;\n}\n\nint EnumDescriptorProto::ByteSize() const {\n// @@protoc_insertion_point(message_byte_size_start:google.protobuf.EnumDescriptorProto)\n  int total_size = 0;\n\n  if (_has_bits_[0 / 32] & 5u) {\n    // optional string name = 1;\n    if (has_name()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::StringSize(\n          this->name());\n    }\n\n    // optional .google.protobuf.EnumOptions options = 3;\n    if (has_options()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n          *this->options_);\n    }\n\n  }\n  // repeated .google.protobuf.EnumValueDescriptorProto value = 2;\n  total_size += 1 * this->value_size();\n  for (int i = 0; i < this->value_size(); i++) {\n    total_size +=\n      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n        this->value(i));\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    total_size +=\n      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(\n        unknown_fields());\n  }\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = total_size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n  return total_size;\n}\n\nvoid EnumDescriptorProto::MergeFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.EnumDescriptorProto)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  const EnumDescriptorProto* source = \n      ::google::protobuf::internal::DynamicCastToGenerated<const EnumDescriptorProto>(\n          &from);\n  if (source == NULL) {\n  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.EnumDescriptorProto)\n    ::google::protobuf::internal::ReflectionOps::Merge(from, this);\n  } else {\n  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.EnumDescriptorProto)\n    MergeFrom(*source);\n  }\n}\n\nvoid EnumDescriptorProto::MergeFrom(const EnumDescriptorProto& from) {\n// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.EnumDescriptorProto)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  value_.MergeFrom(from.value_);\n  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {\n    if (from.has_name()) {\n      set_has_name();\n      name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);\n    }\n    if (from.has_options()) {\n      mutable_options()->::google::protobuf::EnumOptions::MergeFrom(from.options());\n    }\n  }\n  if (from._internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->MergeFrom(from.unknown_fields());\n  }\n}\n\nvoid EnumDescriptorProto::CopyFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.EnumDescriptorProto)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nvoid EnumDescriptorProto::CopyFrom(const EnumDescriptorProto& from) {\n// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.EnumDescriptorProto)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nbool EnumDescriptorProto::IsInitialized() const {\n\n  if (!::google::protobuf::internal::AllAreInitialized(this->value())) return false;\n  if (has_options()) {\n    if (!this->options_->IsInitialized()) return false;\n  }\n  return true;\n}\n\nvoid EnumDescriptorProto::Swap(EnumDescriptorProto* other) {\n  if (other == this) return;\n  InternalSwap(other);\n}\nvoid EnumDescriptorProto::InternalSwap(EnumDescriptorProto* other) {\n  name_.Swap(&other->name_);\n  value_.UnsafeArenaSwap(&other->value_);\n  std::swap(options_, other->options_);\n  std::swap(_has_bits_[0], other->_has_bits_[0]);\n  _internal_metadata_.Swap(&other->_internal_metadata_);\n  std::swap(_cached_size_, other->_cached_size_);\n}\n\n::google::protobuf::Metadata EnumDescriptorProto::GetMetadata() const {\n  protobuf_AssignDescriptorsOnce();\n  ::google::protobuf::Metadata metadata;\n  metadata.descriptor = EnumDescriptorProto_descriptor_;\n  metadata.reflection = EnumDescriptorProto_reflection_;\n  return metadata;\n}\n\n#if PROTOBUF_INLINE_NOT_IN_HEADERS\n// EnumDescriptorProto\n\n// optional string name = 1;\nbool EnumDescriptorProto::has_name() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\nvoid EnumDescriptorProto::set_has_name() {\n  _has_bits_[0] |= 0x00000001u;\n}\nvoid EnumDescriptorProto::clear_has_name() {\n  _has_bits_[0] &= ~0x00000001u;\n}\nvoid EnumDescriptorProto::clear_name() {\n  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_name();\n}\n const ::std::string& EnumDescriptorProto::name() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.name)\n  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void EnumDescriptorProto::set_name(const ::std::string& value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.name)\n}\n void EnumDescriptorProto::set_name(const char* value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.EnumDescriptorProto.name)\n}\n void EnumDescriptorProto::set_name(const char* value, size_t size) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumDescriptorProto.name)\n}\n ::std::string* EnumDescriptorProto::mutable_name() {\n  set_has_name();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.name)\n  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* EnumDescriptorProto::release_name() {\n  // @@protoc_insertion_point(field_release:google.protobuf.EnumDescriptorProto.name)\n  clear_has_name();\n  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void EnumDescriptorProto::set_allocated_name(::std::string* name) {\n  if (name != NULL) {\n    set_has_name();\n  } else {\n    clear_has_name();\n  }\n  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.name)\n}\n\n// repeated .google.protobuf.EnumValueDescriptorProto value = 2;\nint EnumDescriptorProto::value_size() const {\n  return value_.size();\n}\nvoid EnumDescriptorProto::clear_value() {\n  value_.Clear();\n}\nconst ::google::protobuf::EnumValueDescriptorProto& EnumDescriptorProto::value(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.value)\n  return value_.Get(index);\n}\n::google::protobuf::EnumValueDescriptorProto* EnumDescriptorProto::mutable_value(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.value)\n  return value_.Mutable(index);\n}\n::google::protobuf::EnumValueDescriptorProto* EnumDescriptorProto::add_value() {\n  // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.value)\n  return value_.Add();\n}\n::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >*\nEnumDescriptorProto::mutable_value() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.value)\n  return &value_;\n}\nconst ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >&\nEnumDescriptorProto::value() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.value)\n  return value_;\n}\n\n// optional .google.protobuf.EnumOptions options = 3;\nbool EnumDescriptorProto::has_options() const {\n  return (_has_bits_[0] & 0x00000004u) != 0;\n}\nvoid EnumDescriptorProto::set_has_options() {\n  _has_bits_[0] |= 0x00000004u;\n}\nvoid EnumDescriptorProto::clear_has_options() {\n  _has_bits_[0] &= ~0x00000004u;\n}\nvoid EnumDescriptorProto::clear_options() {\n  if (options_ != NULL) options_->::google::protobuf::EnumOptions::Clear();\n  clear_has_options();\n}\nconst ::google::protobuf::EnumOptions& EnumDescriptorProto::options() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.options)\n  return options_ != NULL ? *options_ : *default_instance_->options_;\n}\n::google::protobuf::EnumOptions* EnumDescriptorProto::mutable_options() {\n  set_has_options();\n  if (options_ == NULL) {\n    options_ = new ::google::protobuf::EnumOptions;\n  }\n  // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.options)\n  return options_;\n}\n::google::protobuf::EnumOptions* EnumDescriptorProto::release_options() {\n  // @@protoc_insertion_point(field_release:google.protobuf.EnumDescriptorProto.options)\n  clear_has_options();\n  ::google::protobuf::EnumOptions* temp = options_;\n  options_ = NULL;\n  return temp;\n}\nvoid EnumDescriptorProto::set_allocated_options(::google::protobuf::EnumOptions* options) {\n  delete options_;\n  options_ = options;\n  if (options) {\n    set_has_options();\n  } else {\n    clear_has_options();\n  }\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.options)\n}\n\n#endif  // PROTOBUF_INLINE_NOT_IN_HEADERS\n\n// ===================================================================\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst int EnumValueDescriptorProto::kNameFieldNumber;\nconst int EnumValueDescriptorProto::kNumberFieldNumber;\nconst int EnumValueDescriptorProto::kOptionsFieldNumber;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\n\nEnumValueDescriptorProto::EnumValueDescriptorProto()\n  : ::google::protobuf::Message(), _internal_metadata_(NULL) {\n  SharedCtor();\n  // @@protoc_insertion_point(constructor:google.protobuf.EnumValueDescriptorProto)\n}\n\nvoid EnumValueDescriptorProto::InitAsDefaultInstance() {\n  options_ = const_cast< ::google::protobuf::EnumValueOptions*>(&::google::protobuf::EnumValueOptions::default_instance());\n}\n\nEnumValueDescriptorProto::EnumValueDescriptorProto(const EnumValueDescriptorProto& from)\n  : ::google::protobuf::Message(),\n    _internal_metadata_(NULL) {\n  SharedCtor();\n  MergeFrom(from);\n  // @@protoc_insertion_point(copy_constructor:google.protobuf.EnumValueDescriptorProto)\n}\n\nvoid EnumValueDescriptorProto::SharedCtor() {\n  ::google::protobuf::internal::GetEmptyString();\n  _cached_size_ = 0;\n  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  number_ = 0;\n  options_ = NULL;\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n}\n\nEnumValueDescriptorProto::~EnumValueDescriptorProto() {\n  // @@protoc_insertion_point(destructor:google.protobuf.EnumValueDescriptorProto)\n  SharedDtor();\n}\n\nvoid EnumValueDescriptorProto::SharedDtor() {\n  name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  if (this != default_instance_) {\n    delete options_;\n  }\n}\n\nvoid EnumValueDescriptorProto::SetCachedSize(int size) const {\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n}\nconst ::google::protobuf::Descriptor* EnumValueDescriptorProto::descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return EnumValueDescriptorProto_descriptor_;\n}\n\nconst EnumValueDescriptorProto& EnumValueDescriptorProto::default_instance() {\n  if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  return *default_instance_;\n}\n\nEnumValueDescriptorProto* EnumValueDescriptorProto::default_instance_ = NULL;\n\nEnumValueDescriptorProto* EnumValueDescriptorProto::New(::google::protobuf::Arena* arena) const {\n  EnumValueDescriptorProto* n = new EnumValueDescriptorProto;\n  if (arena != NULL) {\n    arena->Own(n);\n  }\n  return n;\n}\n\nvoid EnumValueDescriptorProto::Clear() {\n// @@protoc_insertion_point(message_clear_start:google.protobuf.EnumValueDescriptorProto)\n  if (_has_bits_[0 / 32] & 7u) {\n    if (has_name()) {\n      name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n    }\n    number_ = 0;\n    if (has_options()) {\n      if (options_ != NULL) options_->::google::protobuf::EnumValueOptions::Clear();\n    }\n  }\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n  if (_internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->Clear();\n  }\n}\n\nbool EnumValueDescriptorProto::MergePartialFromCodedStream(\n    ::google::protobuf::io::CodedInputStream* input) {\n#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure\n  ::google::protobuf::uint32 tag;\n  // @@protoc_insertion_point(parse_start:google.protobuf.EnumValueDescriptorProto)\n  for (;;) {\n    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);\n    tag = p.first;\n    if (!p.second) goto handle_unusual;\n    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {\n      // optional string name = 1;\n      case 1: {\n        if (tag == 10) {\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->mutable_name()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->name().data(), this->name().length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.EnumValueDescriptorProto.name\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(16)) goto parse_number;\n        break;\n      }\n\n      // optional int32 number = 2;\n      case 2: {\n        if (tag == 16) {\n         parse_number:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(\n                 input, &number_)));\n          set_has_number();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(26)) goto parse_options;\n        break;\n      }\n\n      // optional .google.protobuf.EnumValueOptions options = 3;\n      case 3: {\n        if (tag == 26) {\n         parse_options:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(\n               input, mutable_options()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectAtEnd()) goto success;\n        break;\n      }\n\n      default: {\n      handle_unusual:\n        if (tag == 0 ||\n            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==\n            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {\n          goto success;\n        }\n        DO_(::google::protobuf::internal::WireFormat::SkipField(\n              input, tag, mutable_unknown_fields()));\n        break;\n      }\n    }\n  }\nsuccess:\n  // @@protoc_insertion_point(parse_success:google.protobuf.EnumValueDescriptorProto)\n  return true;\nfailure:\n  // @@protoc_insertion_point(parse_failure:google.protobuf.EnumValueDescriptorProto)\n  return false;\n#undef DO_\n}\n\nvoid EnumValueDescriptorProto::SerializeWithCachedSizes(\n    ::google::protobuf::io::CodedOutputStream* output) const {\n  // @@protoc_insertion_point(serialize_start:google.protobuf.EnumValueDescriptorProto)\n  // optional string name = 1;\n  if (has_name()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->name().data(), this->name().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.EnumValueDescriptorProto.name\");\n    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(\n      1, this->name(), output);\n  }\n\n  // optional int32 number = 2;\n  if (has_number()) {\n    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->number(), output);\n  }\n\n  // optional .google.protobuf.EnumValueOptions options = 3;\n  if (has_options()) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      3, *this->options_, output);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(\n        unknown_fields(), output);\n  }\n  // @@protoc_insertion_point(serialize_end:google.protobuf.EnumValueDescriptorProto)\n}\n\n::google::protobuf::uint8* EnumValueDescriptorProto::SerializeWithCachedSizesToArray(\n    ::google::protobuf::uint8* target) const {\n  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumValueDescriptorProto)\n  // optional string name = 1;\n  if (has_name()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->name().data(), this->name().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.EnumValueDescriptorProto.name\");\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(\n        1, this->name(), target);\n  }\n\n  // optional int32 number = 2;\n  if (has_number()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->number(), target);\n  }\n\n  // optional .google.protobuf.EnumValueOptions options = 3;\n  if (has_options()) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        3, *this->options_, target);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(\n        unknown_fields(), target);\n  }\n  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.EnumValueDescriptorProto)\n  return target;\n}\n\nint EnumValueDescriptorProto::ByteSize() const {\n// @@protoc_insertion_point(message_byte_size_start:google.protobuf.EnumValueDescriptorProto)\n  int total_size = 0;\n\n  if (_has_bits_[0 / 32] & 7u) {\n    // optional string name = 1;\n    if (has_name()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::StringSize(\n          this->name());\n    }\n\n    // optional int32 number = 2;\n    if (has_number()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::Int32Size(\n          this->number());\n    }\n\n    // optional .google.protobuf.EnumValueOptions options = 3;\n    if (has_options()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n          *this->options_);\n    }\n\n  }\n  if (_internal_metadata_.have_unknown_fields()) {\n    total_size +=\n      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(\n        unknown_fields());\n  }\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = total_size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n  return total_size;\n}\n\nvoid EnumValueDescriptorProto::MergeFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.EnumValueDescriptorProto)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  const EnumValueDescriptorProto* source = \n      ::google::protobuf::internal::DynamicCastToGenerated<const EnumValueDescriptorProto>(\n          &from);\n  if (source == NULL) {\n  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.EnumValueDescriptorProto)\n    ::google::protobuf::internal::ReflectionOps::Merge(from, this);\n  } else {\n  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.EnumValueDescriptorProto)\n    MergeFrom(*source);\n  }\n}\n\nvoid EnumValueDescriptorProto::MergeFrom(const EnumValueDescriptorProto& from) {\n// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.EnumValueDescriptorProto)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {\n    if (from.has_name()) {\n      set_has_name();\n      name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);\n    }\n    if (from.has_number()) {\n      set_number(from.number());\n    }\n    if (from.has_options()) {\n      mutable_options()->::google::protobuf::EnumValueOptions::MergeFrom(from.options());\n    }\n  }\n  if (from._internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->MergeFrom(from.unknown_fields());\n  }\n}\n\nvoid EnumValueDescriptorProto::CopyFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.EnumValueDescriptorProto)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nvoid EnumValueDescriptorProto::CopyFrom(const EnumValueDescriptorProto& from) {\n// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.EnumValueDescriptorProto)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nbool EnumValueDescriptorProto::IsInitialized() const {\n\n  if (has_options()) {\n    if (!this->options_->IsInitialized()) return false;\n  }\n  return true;\n}\n\nvoid EnumValueDescriptorProto::Swap(EnumValueDescriptorProto* other) {\n  if (other == this) return;\n  InternalSwap(other);\n}\nvoid EnumValueDescriptorProto::InternalSwap(EnumValueDescriptorProto* other) {\n  name_.Swap(&other->name_);\n  std::swap(number_, other->number_);\n  std::swap(options_, other->options_);\n  std::swap(_has_bits_[0], other->_has_bits_[0]);\n  _internal_metadata_.Swap(&other->_internal_metadata_);\n  std::swap(_cached_size_, other->_cached_size_);\n}\n\n::google::protobuf::Metadata EnumValueDescriptorProto::GetMetadata() const {\n  protobuf_AssignDescriptorsOnce();\n  ::google::protobuf::Metadata metadata;\n  metadata.descriptor = EnumValueDescriptorProto_descriptor_;\n  metadata.reflection = EnumValueDescriptorProto_reflection_;\n  return metadata;\n}\n\n#if PROTOBUF_INLINE_NOT_IN_HEADERS\n// EnumValueDescriptorProto\n\n// optional string name = 1;\nbool EnumValueDescriptorProto::has_name() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\nvoid EnumValueDescriptorProto::set_has_name() {\n  _has_bits_[0] |= 0x00000001u;\n}\nvoid EnumValueDescriptorProto::clear_has_name() {\n  _has_bits_[0] &= ~0x00000001u;\n}\nvoid EnumValueDescriptorProto::clear_name() {\n  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_name();\n}\n const ::std::string& EnumValueDescriptorProto::name() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.name)\n  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void EnumValueDescriptorProto::set_name(const ::std::string& value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.name)\n}\n void EnumValueDescriptorProto::set_name(const char* value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.EnumValueDescriptorProto.name)\n}\n void EnumValueDescriptorProto::set_name(const char* value, size_t size) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumValueDescriptorProto.name)\n}\n ::std::string* EnumValueDescriptorProto::mutable_name() {\n  set_has_name();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.name)\n  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* EnumValueDescriptorProto::release_name() {\n  // @@protoc_insertion_point(field_release:google.protobuf.EnumValueDescriptorProto.name)\n  clear_has_name();\n  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void EnumValueDescriptorProto::set_allocated_name(::std::string* name) {\n  if (name != NULL) {\n    set_has_name();\n  } else {\n    clear_has_name();\n  }\n  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.name)\n}\n\n// optional int32 number = 2;\nbool EnumValueDescriptorProto::has_number() const {\n  return (_has_bits_[0] & 0x00000002u) != 0;\n}\nvoid EnumValueDescriptorProto::set_has_number() {\n  _has_bits_[0] |= 0x00000002u;\n}\nvoid EnumValueDescriptorProto::clear_has_number() {\n  _has_bits_[0] &= ~0x00000002u;\n}\nvoid EnumValueDescriptorProto::clear_number() {\n  number_ = 0;\n  clear_has_number();\n}\n ::google::protobuf::int32 EnumValueDescriptorProto::number() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.number)\n  return number_;\n}\n void EnumValueDescriptorProto::set_number(::google::protobuf::int32 value) {\n  set_has_number();\n  number_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.number)\n}\n\n// optional .google.protobuf.EnumValueOptions options = 3;\nbool EnumValueDescriptorProto::has_options() const {\n  return (_has_bits_[0] & 0x00000004u) != 0;\n}\nvoid EnumValueDescriptorProto::set_has_options() {\n  _has_bits_[0] |= 0x00000004u;\n}\nvoid EnumValueDescriptorProto::clear_has_options() {\n  _has_bits_[0] &= ~0x00000004u;\n}\nvoid EnumValueDescriptorProto::clear_options() {\n  if (options_ != NULL) options_->::google::protobuf::EnumValueOptions::Clear();\n  clear_has_options();\n}\nconst ::google::protobuf::EnumValueOptions& EnumValueDescriptorProto::options() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.options)\n  return options_ != NULL ? *options_ : *default_instance_->options_;\n}\n::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::mutable_options() {\n  set_has_options();\n  if (options_ == NULL) {\n    options_ = new ::google::protobuf::EnumValueOptions;\n  }\n  // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.options)\n  return options_;\n}\n::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::release_options() {\n  // @@protoc_insertion_point(field_release:google.protobuf.EnumValueDescriptorProto.options)\n  clear_has_options();\n  ::google::protobuf::EnumValueOptions* temp = options_;\n  options_ = NULL;\n  return temp;\n}\nvoid EnumValueDescriptorProto::set_allocated_options(::google::protobuf::EnumValueOptions* options) {\n  delete options_;\n  options_ = options;\n  if (options) {\n    set_has_options();\n  } else {\n    clear_has_options();\n  }\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.options)\n}\n\n#endif  // PROTOBUF_INLINE_NOT_IN_HEADERS\n\n// ===================================================================\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst int ServiceDescriptorProto::kNameFieldNumber;\nconst int ServiceDescriptorProto::kMethodFieldNumber;\nconst int ServiceDescriptorProto::kOptionsFieldNumber;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\n\nServiceDescriptorProto::ServiceDescriptorProto()\n  : ::google::protobuf::Message(), _internal_metadata_(NULL) {\n  SharedCtor();\n  // @@protoc_insertion_point(constructor:google.protobuf.ServiceDescriptorProto)\n}\n\nvoid ServiceDescriptorProto::InitAsDefaultInstance() {\n  options_ = const_cast< ::google::protobuf::ServiceOptions*>(&::google::protobuf::ServiceOptions::default_instance());\n}\n\nServiceDescriptorProto::ServiceDescriptorProto(const ServiceDescriptorProto& from)\n  : ::google::protobuf::Message(),\n    _internal_metadata_(NULL) {\n  SharedCtor();\n  MergeFrom(from);\n  // @@protoc_insertion_point(copy_constructor:google.protobuf.ServiceDescriptorProto)\n}\n\nvoid ServiceDescriptorProto::SharedCtor() {\n  ::google::protobuf::internal::GetEmptyString();\n  _cached_size_ = 0;\n  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  options_ = NULL;\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n}\n\nServiceDescriptorProto::~ServiceDescriptorProto() {\n  // @@protoc_insertion_point(destructor:google.protobuf.ServiceDescriptorProto)\n  SharedDtor();\n}\n\nvoid ServiceDescriptorProto::SharedDtor() {\n  name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  if (this != default_instance_) {\n    delete options_;\n  }\n}\n\nvoid ServiceDescriptorProto::SetCachedSize(int size) const {\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n}\nconst ::google::protobuf::Descriptor* ServiceDescriptorProto::descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return ServiceDescriptorProto_descriptor_;\n}\n\nconst ServiceDescriptorProto& ServiceDescriptorProto::default_instance() {\n  if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  return *default_instance_;\n}\n\nServiceDescriptorProto* ServiceDescriptorProto::default_instance_ = NULL;\n\nServiceDescriptorProto* ServiceDescriptorProto::New(::google::protobuf::Arena* arena) const {\n  ServiceDescriptorProto* n = new ServiceDescriptorProto;\n  if (arena != NULL) {\n    arena->Own(n);\n  }\n  return n;\n}\n\nvoid ServiceDescriptorProto::Clear() {\n// @@protoc_insertion_point(message_clear_start:google.protobuf.ServiceDescriptorProto)\n  if (_has_bits_[0 / 32] & 5u) {\n    if (has_name()) {\n      name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n    }\n    if (has_options()) {\n      if (options_ != NULL) options_->::google::protobuf::ServiceOptions::Clear();\n    }\n  }\n  method_.Clear();\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n  if (_internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->Clear();\n  }\n}\n\nbool ServiceDescriptorProto::MergePartialFromCodedStream(\n    ::google::protobuf::io::CodedInputStream* input) {\n#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure\n  ::google::protobuf::uint32 tag;\n  // @@protoc_insertion_point(parse_start:google.protobuf.ServiceDescriptorProto)\n  for (;;) {\n    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);\n    tag = p.first;\n    if (!p.second) goto handle_unusual;\n    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {\n      // optional string name = 1;\n      case 1: {\n        if (tag == 10) {\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->mutable_name()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->name().data(), this->name().length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.ServiceDescriptorProto.name\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(18)) goto parse_method;\n        break;\n      }\n\n      // repeated .google.protobuf.MethodDescriptorProto method = 2;\n      case 2: {\n        if (tag == 18) {\n         parse_method:\n          DO_(input->IncrementRecursionDepth());\n         parse_loop_method:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(\n                input, add_method()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(18)) goto parse_loop_method;\n        input->UnsafeDecrementRecursionDepth();\n        if (input->ExpectTag(26)) goto parse_options;\n        break;\n      }\n\n      // optional .google.protobuf.ServiceOptions options = 3;\n      case 3: {\n        if (tag == 26) {\n         parse_options:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(\n               input, mutable_options()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectAtEnd()) goto success;\n        break;\n      }\n\n      default: {\n      handle_unusual:\n        if (tag == 0 ||\n            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==\n            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {\n          goto success;\n        }\n        DO_(::google::protobuf::internal::WireFormat::SkipField(\n              input, tag, mutable_unknown_fields()));\n        break;\n      }\n    }\n  }\nsuccess:\n  // @@protoc_insertion_point(parse_success:google.protobuf.ServiceDescriptorProto)\n  return true;\nfailure:\n  // @@protoc_insertion_point(parse_failure:google.protobuf.ServiceDescriptorProto)\n  return false;\n#undef DO_\n}\n\nvoid ServiceDescriptorProto::SerializeWithCachedSizes(\n    ::google::protobuf::io::CodedOutputStream* output) const {\n  // @@protoc_insertion_point(serialize_start:google.protobuf.ServiceDescriptorProto)\n  // optional string name = 1;\n  if (has_name()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->name().data(), this->name().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.ServiceDescriptorProto.name\");\n    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(\n      1, this->name(), output);\n  }\n\n  // repeated .google.protobuf.MethodDescriptorProto method = 2;\n  for (unsigned int i = 0, n = this->method_size(); i < n; i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      2, this->method(i), output);\n  }\n\n  // optional .google.protobuf.ServiceOptions options = 3;\n  if (has_options()) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      3, *this->options_, output);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(\n        unknown_fields(), output);\n  }\n  // @@protoc_insertion_point(serialize_end:google.protobuf.ServiceDescriptorProto)\n}\n\n::google::protobuf::uint8* ServiceDescriptorProto::SerializeWithCachedSizesToArray(\n    ::google::protobuf::uint8* target) const {\n  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.ServiceDescriptorProto)\n  // optional string name = 1;\n  if (has_name()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->name().data(), this->name().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.ServiceDescriptorProto.name\");\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(\n        1, this->name(), target);\n  }\n\n  // repeated .google.protobuf.MethodDescriptorProto method = 2;\n  for (unsigned int i = 0, n = this->method_size(); i < n; i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        2, this->method(i), target);\n  }\n\n  // optional .google.protobuf.ServiceOptions options = 3;\n  if (has_options()) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        3, *this->options_, target);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(\n        unknown_fields(), target);\n  }\n  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.ServiceDescriptorProto)\n  return target;\n}\n\nint ServiceDescriptorProto::ByteSize() const {\n// @@protoc_insertion_point(message_byte_size_start:google.protobuf.ServiceDescriptorProto)\n  int total_size = 0;\n\n  if (_has_bits_[0 / 32] & 5u) {\n    // optional string name = 1;\n    if (has_name()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::StringSize(\n          this->name());\n    }\n\n    // optional .google.protobuf.ServiceOptions options = 3;\n    if (has_options()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n          *this->options_);\n    }\n\n  }\n  // repeated .google.protobuf.MethodDescriptorProto method = 2;\n  total_size += 1 * this->method_size();\n  for (int i = 0; i < this->method_size(); i++) {\n    total_size +=\n      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n        this->method(i));\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    total_size +=\n      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(\n        unknown_fields());\n  }\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = total_size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n  return total_size;\n}\n\nvoid ServiceDescriptorProto::MergeFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.ServiceDescriptorProto)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  const ServiceDescriptorProto* source = \n      ::google::protobuf::internal::DynamicCastToGenerated<const ServiceDescriptorProto>(\n          &from);\n  if (source == NULL) {\n  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.ServiceDescriptorProto)\n    ::google::protobuf::internal::ReflectionOps::Merge(from, this);\n  } else {\n  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.ServiceDescriptorProto)\n    MergeFrom(*source);\n  }\n}\n\nvoid ServiceDescriptorProto::MergeFrom(const ServiceDescriptorProto& from) {\n// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.ServiceDescriptorProto)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  method_.MergeFrom(from.method_);\n  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {\n    if (from.has_name()) {\n      set_has_name();\n      name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);\n    }\n    if (from.has_options()) {\n      mutable_options()->::google::protobuf::ServiceOptions::MergeFrom(from.options());\n    }\n  }\n  if (from._internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->MergeFrom(from.unknown_fields());\n  }\n}\n\nvoid ServiceDescriptorProto::CopyFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.ServiceDescriptorProto)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nvoid ServiceDescriptorProto::CopyFrom(const ServiceDescriptorProto& from) {\n// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.ServiceDescriptorProto)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nbool ServiceDescriptorProto::IsInitialized() const {\n\n  if (!::google::protobuf::internal::AllAreInitialized(this->method())) return false;\n  if (has_options()) {\n    if (!this->options_->IsInitialized()) return false;\n  }\n  return true;\n}\n\nvoid ServiceDescriptorProto::Swap(ServiceDescriptorProto* other) {\n  if (other == this) return;\n  InternalSwap(other);\n}\nvoid ServiceDescriptorProto::InternalSwap(ServiceDescriptorProto* other) {\n  name_.Swap(&other->name_);\n  method_.UnsafeArenaSwap(&other->method_);\n  std::swap(options_, other->options_);\n  std::swap(_has_bits_[0], other->_has_bits_[0]);\n  _internal_metadata_.Swap(&other->_internal_metadata_);\n  std::swap(_cached_size_, other->_cached_size_);\n}\n\n::google::protobuf::Metadata ServiceDescriptorProto::GetMetadata() const {\n  protobuf_AssignDescriptorsOnce();\n  ::google::protobuf::Metadata metadata;\n  metadata.descriptor = ServiceDescriptorProto_descriptor_;\n  metadata.reflection = ServiceDescriptorProto_reflection_;\n  return metadata;\n}\n\n#if PROTOBUF_INLINE_NOT_IN_HEADERS\n// ServiceDescriptorProto\n\n// optional string name = 1;\nbool ServiceDescriptorProto::has_name() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\nvoid ServiceDescriptorProto::set_has_name() {\n  _has_bits_[0] |= 0x00000001u;\n}\nvoid ServiceDescriptorProto::clear_has_name() {\n  _has_bits_[0] &= ~0x00000001u;\n}\nvoid ServiceDescriptorProto::clear_name() {\n  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_name();\n}\n const ::std::string& ServiceDescriptorProto::name() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.name)\n  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void ServiceDescriptorProto::set_name(const ::std::string& value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.ServiceDescriptorProto.name)\n}\n void ServiceDescriptorProto::set_name(const char* value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.ServiceDescriptorProto.name)\n}\n void ServiceDescriptorProto::set_name(const char* value, size_t size) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.ServiceDescriptorProto.name)\n}\n ::std::string* ServiceDescriptorProto::mutable_name() {\n  set_has_name();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.name)\n  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* ServiceDescriptorProto::release_name() {\n  // @@protoc_insertion_point(field_release:google.protobuf.ServiceDescriptorProto.name)\n  clear_has_name();\n  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void ServiceDescriptorProto::set_allocated_name(::std::string* name) {\n  if (name != NULL) {\n    set_has_name();\n  } else {\n    clear_has_name();\n  }\n  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.name)\n}\n\n// repeated .google.protobuf.MethodDescriptorProto method = 2;\nint ServiceDescriptorProto::method_size() const {\n  return method_.size();\n}\nvoid ServiceDescriptorProto::clear_method() {\n  method_.Clear();\n}\nconst ::google::protobuf::MethodDescriptorProto& ServiceDescriptorProto::method(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.method)\n  return method_.Get(index);\n}\n::google::protobuf::MethodDescriptorProto* ServiceDescriptorProto::mutable_method(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.method)\n  return method_.Mutable(index);\n}\n::google::protobuf::MethodDescriptorProto* ServiceDescriptorProto::add_method() {\n  // @@protoc_insertion_point(field_add:google.protobuf.ServiceDescriptorProto.method)\n  return method_.Add();\n}\n::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >*\nServiceDescriptorProto::mutable_method() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceDescriptorProto.method)\n  return &method_;\n}\nconst ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >&\nServiceDescriptorProto::method() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.ServiceDescriptorProto.method)\n  return method_;\n}\n\n// optional .google.protobuf.ServiceOptions options = 3;\nbool ServiceDescriptorProto::has_options() const {\n  return (_has_bits_[0] & 0x00000004u) != 0;\n}\nvoid ServiceDescriptorProto::set_has_options() {\n  _has_bits_[0] |= 0x00000004u;\n}\nvoid ServiceDescriptorProto::clear_has_options() {\n  _has_bits_[0] &= ~0x00000004u;\n}\nvoid ServiceDescriptorProto::clear_options() {\n  if (options_ != NULL) options_->::google::protobuf::ServiceOptions::Clear();\n  clear_has_options();\n}\nconst ::google::protobuf::ServiceOptions& ServiceDescriptorProto::options() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.options)\n  return options_ != NULL ? *options_ : *default_instance_->options_;\n}\n::google::protobuf::ServiceOptions* ServiceDescriptorProto::mutable_options() {\n  set_has_options();\n  if (options_ == NULL) {\n    options_ = new ::google::protobuf::ServiceOptions;\n  }\n  // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.options)\n  return options_;\n}\n::google::protobuf::ServiceOptions* ServiceDescriptorProto::release_options() {\n  // @@protoc_insertion_point(field_release:google.protobuf.ServiceDescriptorProto.options)\n  clear_has_options();\n  ::google::protobuf::ServiceOptions* temp = options_;\n  options_ = NULL;\n  return temp;\n}\nvoid ServiceDescriptorProto::set_allocated_options(::google::protobuf::ServiceOptions* options) {\n  delete options_;\n  options_ = options;\n  if (options) {\n    set_has_options();\n  } else {\n    clear_has_options();\n  }\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.options)\n}\n\n#endif  // PROTOBUF_INLINE_NOT_IN_HEADERS\n\n// ===================================================================\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst int MethodDescriptorProto::kNameFieldNumber;\nconst int MethodDescriptorProto::kInputTypeFieldNumber;\nconst int MethodDescriptorProto::kOutputTypeFieldNumber;\nconst int MethodDescriptorProto::kOptionsFieldNumber;\nconst int MethodDescriptorProto::kClientStreamingFieldNumber;\nconst int MethodDescriptorProto::kServerStreamingFieldNumber;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\n\nMethodDescriptorProto::MethodDescriptorProto()\n  : ::google::protobuf::Message(), _internal_metadata_(NULL) {\n  SharedCtor();\n  // @@protoc_insertion_point(constructor:google.protobuf.MethodDescriptorProto)\n}\n\nvoid MethodDescriptorProto::InitAsDefaultInstance() {\n  options_ = const_cast< ::google::protobuf::MethodOptions*>(&::google::protobuf::MethodOptions::default_instance());\n}\n\nMethodDescriptorProto::MethodDescriptorProto(const MethodDescriptorProto& from)\n  : ::google::protobuf::Message(),\n    _internal_metadata_(NULL) {\n  SharedCtor();\n  MergeFrom(from);\n  // @@protoc_insertion_point(copy_constructor:google.protobuf.MethodDescriptorProto)\n}\n\nvoid MethodDescriptorProto::SharedCtor() {\n  ::google::protobuf::internal::GetEmptyString();\n  _cached_size_ = 0;\n  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  input_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  output_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  options_ = NULL;\n  client_streaming_ = false;\n  server_streaming_ = false;\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n}\n\nMethodDescriptorProto::~MethodDescriptorProto() {\n  // @@protoc_insertion_point(destructor:google.protobuf.MethodDescriptorProto)\n  SharedDtor();\n}\n\nvoid MethodDescriptorProto::SharedDtor() {\n  name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  input_type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  output_type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  if (this != default_instance_) {\n    delete options_;\n  }\n}\n\nvoid MethodDescriptorProto::SetCachedSize(int size) const {\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n}\nconst ::google::protobuf::Descriptor* MethodDescriptorProto::descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return MethodDescriptorProto_descriptor_;\n}\n\nconst MethodDescriptorProto& MethodDescriptorProto::default_instance() {\n  if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  return *default_instance_;\n}\n\nMethodDescriptorProto* MethodDescriptorProto::default_instance_ = NULL;\n\nMethodDescriptorProto* MethodDescriptorProto::New(::google::protobuf::Arena* arena) const {\n  MethodDescriptorProto* n = new MethodDescriptorProto;\n  if (arena != NULL) {\n    arena->Own(n);\n  }\n  return n;\n}\n\nvoid MethodDescriptorProto::Clear() {\n// @@protoc_insertion_point(message_clear_start:google.protobuf.MethodDescriptorProto)\n#if defined(__clang__)\n#define ZR_HELPER_(f) \\\n  _Pragma(\"clang diagnostic push\") \\\n  _Pragma(\"clang diagnostic ignored \\\"-Winvalid-offsetof\\\"\") \\\n  __builtin_offsetof(MethodDescriptorProto, f) \\\n  _Pragma(\"clang diagnostic pop\")\n#else\n#define ZR_HELPER_(f) reinterpret_cast<char*>(\\\n  &reinterpret_cast<MethodDescriptorProto*>(16)->f)\n#endif\n\n#define ZR_(first, last) do {\\\n  ::memset(&first, 0,\\\n           ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\\\n} while (0)\n\n  if (_has_bits_[0 / 32] & 63u) {\n    ZR_(client_streaming_, server_streaming_);\n    if (has_name()) {\n      name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n    }\n    if (has_input_type()) {\n      input_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n    }\n    if (has_output_type()) {\n      output_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n    }\n    if (has_options()) {\n      if (options_ != NULL) options_->::google::protobuf::MethodOptions::Clear();\n    }\n  }\n\n#undef ZR_HELPER_\n#undef ZR_\n\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n  if (_internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->Clear();\n  }\n}\n\nbool MethodDescriptorProto::MergePartialFromCodedStream(\n    ::google::protobuf::io::CodedInputStream* input) {\n#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure\n  ::google::protobuf::uint32 tag;\n  // @@protoc_insertion_point(parse_start:google.protobuf.MethodDescriptorProto)\n  for (;;) {\n    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);\n    tag = p.first;\n    if (!p.second) goto handle_unusual;\n    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {\n      // optional string name = 1;\n      case 1: {\n        if (tag == 10) {\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->mutable_name()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->name().data(), this->name().length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.MethodDescriptorProto.name\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(18)) goto parse_input_type;\n        break;\n      }\n\n      // optional string input_type = 2;\n      case 2: {\n        if (tag == 18) {\n         parse_input_type:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->mutable_input_type()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->input_type().data(), this->input_type().length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.MethodDescriptorProto.input_type\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(26)) goto parse_output_type;\n        break;\n      }\n\n      // optional string output_type = 3;\n      case 3: {\n        if (tag == 26) {\n         parse_output_type:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->mutable_output_type()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->output_type().data(), this->output_type().length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.MethodDescriptorProto.output_type\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(34)) goto parse_options;\n        break;\n      }\n\n      // optional .google.protobuf.MethodOptions options = 4;\n      case 4: {\n        if (tag == 34) {\n         parse_options:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(\n               input, mutable_options()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(40)) goto parse_client_streaming;\n        break;\n      }\n\n      // optional bool client_streaming = 5 [default = false];\n      case 5: {\n        if (tag == 40) {\n         parse_client_streaming:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(\n                 input, &client_streaming_)));\n          set_has_client_streaming();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(48)) goto parse_server_streaming;\n        break;\n      }\n\n      // optional bool server_streaming = 6 [default = false];\n      case 6: {\n        if (tag == 48) {\n         parse_server_streaming:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(\n                 input, &server_streaming_)));\n          set_has_server_streaming();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectAtEnd()) goto success;\n        break;\n      }\n\n      default: {\n      handle_unusual:\n        if (tag == 0 ||\n            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==\n            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {\n          goto success;\n        }\n        DO_(::google::protobuf::internal::WireFormat::SkipField(\n              input, tag, mutable_unknown_fields()));\n        break;\n      }\n    }\n  }\nsuccess:\n  // @@protoc_insertion_point(parse_success:google.protobuf.MethodDescriptorProto)\n  return true;\nfailure:\n  // @@protoc_insertion_point(parse_failure:google.protobuf.MethodDescriptorProto)\n  return false;\n#undef DO_\n}\n\nvoid MethodDescriptorProto::SerializeWithCachedSizes(\n    ::google::protobuf::io::CodedOutputStream* output) const {\n  // @@protoc_insertion_point(serialize_start:google.protobuf.MethodDescriptorProto)\n  // optional string name = 1;\n  if (has_name()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->name().data(), this->name().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.MethodDescriptorProto.name\");\n    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(\n      1, this->name(), output);\n  }\n\n  // optional string input_type = 2;\n  if (has_input_type()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->input_type().data(), this->input_type().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.MethodDescriptorProto.input_type\");\n    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(\n      2, this->input_type(), output);\n  }\n\n  // optional string output_type = 3;\n  if (has_output_type()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->output_type().data(), this->output_type().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.MethodDescriptorProto.output_type\");\n    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(\n      3, this->output_type(), output);\n  }\n\n  // optional .google.protobuf.MethodOptions options = 4;\n  if (has_options()) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      4, *this->options_, output);\n  }\n\n  // optional bool client_streaming = 5 [default = false];\n  if (has_client_streaming()) {\n    ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->client_streaming(), output);\n  }\n\n  // optional bool server_streaming = 6 [default = false];\n  if (has_server_streaming()) {\n    ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->server_streaming(), output);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(\n        unknown_fields(), output);\n  }\n  // @@protoc_insertion_point(serialize_end:google.protobuf.MethodDescriptorProto)\n}\n\n::google::protobuf::uint8* MethodDescriptorProto::SerializeWithCachedSizesToArray(\n    ::google::protobuf::uint8* target) const {\n  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.MethodDescriptorProto)\n  // optional string name = 1;\n  if (has_name()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->name().data(), this->name().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.MethodDescriptorProto.name\");\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(\n        1, this->name(), target);\n  }\n\n  // optional string input_type = 2;\n  if (has_input_type()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->input_type().data(), this->input_type().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.MethodDescriptorProto.input_type\");\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(\n        2, this->input_type(), target);\n  }\n\n  // optional string output_type = 3;\n  if (has_output_type()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->output_type().data(), this->output_type().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.MethodDescriptorProto.output_type\");\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(\n        3, this->output_type(), target);\n  }\n\n  // optional .google.protobuf.MethodOptions options = 4;\n  if (has_options()) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        4, *this->options_, target);\n  }\n\n  // optional bool client_streaming = 5 [default = false];\n  if (has_client_streaming()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->client_streaming(), target);\n  }\n\n  // optional bool server_streaming = 6 [default = false];\n  if (has_server_streaming()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(6, this->server_streaming(), target);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(\n        unknown_fields(), target);\n  }\n  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.MethodDescriptorProto)\n  return target;\n}\n\nint MethodDescriptorProto::ByteSize() const {\n// @@protoc_insertion_point(message_byte_size_start:google.protobuf.MethodDescriptorProto)\n  int total_size = 0;\n\n  if (_has_bits_[0 / 32] & 63u) {\n    // optional string name = 1;\n    if (has_name()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::StringSize(\n          this->name());\n    }\n\n    // optional string input_type = 2;\n    if (has_input_type()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::StringSize(\n          this->input_type());\n    }\n\n    // optional string output_type = 3;\n    if (has_output_type()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::StringSize(\n          this->output_type());\n    }\n\n    // optional .google.protobuf.MethodOptions options = 4;\n    if (has_options()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n          *this->options_);\n    }\n\n    // optional bool client_streaming = 5 [default = false];\n    if (has_client_streaming()) {\n      total_size += 1 + 1;\n    }\n\n    // optional bool server_streaming = 6 [default = false];\n    if (has_server_streaming()) {\n      total_size += 1 + 1;\n    }\n\n  }\n  if (_internal_metadata_.have_unknown_fields()) {\n    total_size +=\n      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(\n        unknown_fields());\n  }\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = total_size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n  return total_size;\n}\n\nvoid MethodDescriptorProto::MergeFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.MethodDescriptorProto)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  const MethodDescriptorProto* source = \n      ::google::protobuf::internal::DynamicCastToGenerated<const MethodDescriptorProto>(\n          &from);\n  if (source == NULL) {\n  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.MethodDescriptorProto)\n    ::google::protobuf::internal::ReflectionOps::Merge(from, this);\n  } else {\n  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.MethodDescriptorProto)\n    MergeFrom(*source);\n  }\n}\n\nvoid MethodDescriptorProto::MergeFrom(const MethodDescriptorProto& from) {\n// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.MethodDescriptorProto)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {\n    if (from.has_name()) {\n      set_has_name();\n      name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);\n    }\n    if (from.has_input_type()) {\n      set_has_input_type();\n      input_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.input_type_);\n    }\n    if (from.has_output_type()) {\n      set_has_output_type();\n      output_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.output_type_);\n    }\n    if (from.has_options()) {\n      mutable_options()->::google::protobuf::MethodOptions::MergeFrom(from.options());\n    }\n    if (from.has_client_streaming()) {\n      set_client_streaming(from.client_streaming());\n    }\n    if (from.has_server_streaming()) {\n      set_server_streaming(from.server_streaming());\n    }\n  }\n  if (from._internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->MergeFrom(from.unknown_fields());\n  }\n}\n\nvoid MethodDescriptorProto::CopyFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.MethodDescriptorProto)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nvoid MethodDescriptorProto::CopyFrom(const MethodDescriptorProto& from) {\n// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.MethodDescriptorProto)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nbool MethodDescriptorProto::IsInitialized() const {\n\n  if (has_options()) {\n    if (!this->options_->IsInitialized()) return false;\n  }\n  return true;\n}\n\nvoid MethodDescriptorProto::Swap(MethodDescriptorProto* other) {\n  if (other == this) return;\n  InternalSwap(other);\n}\nvoid MethodDescriptorProto::InternalSwap(MethodDescriptorProto* other) {\n  name_.Swap(&other->name_);\n  input_type_.Swap(&other->input_type_);\n  output_type_.Swap(&other->output_type_);\n  std::swap(options_, other->options_);\n  std::swap(client_streaming_, other->client_streaming_);\n  std::swap(server_streaming_, other->server_streaming_);\n  std::swap(_has_bits_[0], other->_has_bits_[0]);\n  _internal_metadata_.Swap(&other->_internal_metadata_);\n  std::swap(_cached_size_, other->_cached_size_);\n}\n\n::google::protobuf::Metadata MethodDescriptorProto::GetMetadata() const {\n  protobuf_AssignDescriptorsOnce();\n  ::google::protobuf::Metadata metadata;\n  metadata.descriptor = MethodDescriptorProto_descriptor_;\n  metadata.reflection = MethodDescriptorProto_reflection_;\n  return metadata;\n}\n\n#if PROTOBUF_INLINE_NOT_IN_HEADERS\n// MethodDescriptorProto\n\n// optional string name = 1;\nbool MethodDescriptorProto::has_name() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\nvoid MethodDescriptorProto::set_has_name() {\n  _has_bits_[0] |= 0x00000001u;\n}\nvoid MethodDescriptorProto::clear_has_name() {\n  _has_bits_[0] &= ~0x00000001u;\n}\nvoid MethodDescriptorProto::clear_name() {\n  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_name();\n}\n const ::std::string& MethodDescriptorProto::name() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.name)\n  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void MethodDescriptorProto::set_name(const ::std::string& value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.name)\n}\n void MethodDescriptorProto::set_name(const char* value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorProto.name)\n}\n void MethodDescriptorProto::set_name(const char* value, size_t size) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptorProto.name)\n}\n ::std::string* MethodDescriptorProto::mutable_name() {\n  set_has_name();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.name)\n  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* MethodDescriptorProto::release_name() {\n  // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.name)\n  clear_has_name();\n  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void MethodDescriptorProto::set_allocated_name(::std::string* name) {\n  if (name != NULL) {\n    set_has_name();\n  } else {\n    clear_has_name();\n  }\n  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.name)\n}\n\n// optional string input_type = 2;\nbool MethodDescriptorProto::has_input_type() const {\n  return (_has_bits_[0] & 0x00000002u) != 0;\n}\nvoid MethodDescriptorProto::set_has_input_type() {\n  _has_bits_[0] |= 0x00000002u;\n}\nvoid MethodDescriptorProto::clear_has_input_type() {\n  _has_bits_[0] &= ~0x00000002u;\n}\nvoid MethodDescriptorProto::clear_input_type() {\n  input_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_input_type();\n}\n const ::std::string& MethodDescriptorProto::input_type() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.input_type)\n  return input_type_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void MethodDescriptorProto::set_input_type(const ::std::string& value) {\n  set_has_input_type();\n  input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.input_type)\n}\n void MethodDescriptorProto::set_input_type(const char* value) {\n  set_has_input_type();\n  input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorProto.input_type)\n}\n void MethodDescriptorProto::set_input_type(const char* value, size_t size) {\n  set_has_input_type();\n  input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptorProto.input_type)\n}\n ::std::string* MethodDescriptorProto::mutable_input_type() {\n  set_has_input_type();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.input_type)\n  return input_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* MethodDescriptorProto::release_input_type() {\n  // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.input_type)\n  clear_has_input_type();\n  return input_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void MethodDescriptorProto::set_allocated_input_type(::std::string* input_type) {\n  if (input_type != NULL) {\n    set_has_input_type();\n  } else {\n    clear_has_input_type();\n  }\n  input_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), input_type);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.input_type)\n}\n\n// optional string output_type = 3;\nbool MethodDescriptorProto::has_output_type() const {\n  return (_has_bits_[0] & 0x00000004u) != 0;\n}\nvoid MethodDescriptorProto::set_has_output_type() {\n  _has_bits_[0] |= 0x00000004u;\n}\nvoid MethodDescriptorProto::clear_has_output_type() {\n  _has_bits_[0] &= ~0x00000004u;\n}\nvoid MethodDescriptorProto::clear_output_type() {\n  output_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_output_type();\n}\n const ::std::string& MethodDescriptorProto::output_type() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.output_type)\n  return output_type_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void MethodDescriptorProto::set_output_type(const ::std::string& value) {\n  set_has_output_type();\n  output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.output_type)\n}\n void MethodDescriptorProto::set_output_type(const char* value) {\n  set_has_output_type();\n  output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorProto.output_type)\n}\n void MethodDescriptorProto::set_output_type(const char* value, size_t size) {\n  set_has_output_type();\n  output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptorProto.output_type)\n}\n ::std::string* MethodDescriptorProto::mutable_output_type() {\n  set_has_output_type();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.output_type)\n  return output_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* MethodDescriptorProto::release_output_type() {\n  // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.output_type)\n  clear_has_output_type();\n  return output_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void MethodDescriptorProto::set_allocated_output_type(::std::string* output_type) {\n  if (output_type != NULL) {\n    set_has_output_type();\n  } else {\n    clear_has_output_type();\n  }\n  output_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), output_type);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.output_type)\n}\n\n// optional .google.protobuf.MethodOptions options = 4;\nbool MethodDescriptorProto::has_options() const {\n  return (_has_bits_[0] & 0x00000008u) != 0;\n}\nvoid MethodDescriptorProto::set_has_options() {\n  _has_bits_[0] |= 0x00000008u;\n}\nvoid MethodDescriptorProto::clear_has_options() {\n  _has_bits_[0] &= ~0x00000008u;\n}\nvoid MethodDescriptorProto::clear_options() {\n  if (options_ != NULL) options_->::google::protobuf::MethodOptions::Clear();\n  clear_has_options();\n}\nconst ::google::protobuf::MethodOptions& MethodDescriptorProto::options() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.options)\n  return options_ != NULL ? *options_ : *default_instance_->options_;\n}\n::google::protobuf::MethodOptions* MethodDescriptorProto::mutable_options() {\n  set_has_options();\n  if (options_ == NULL) {\n    options_ = new ::google::protobuf::MethodOptions;\n  }\n  // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.options)\n  return options_;\n}\n::google::protobuf::MethodOptions* MethodDescriptorProto::release_options() {\n  // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.options)\n  clear_has_options();\n  ::google::protobuf::MethodOptions* temp = options_;\n  options_ = NULL;\n  return temp;\n}\nvoid MethodDescriptorProto::set_allocated_options(::google::protobuf::MethodOptions* options) {\n  delete options_;\n  options_ = options;\n  if (options) {\n    set_has_options();\n  } else {\n    clear_has_options();\n  }\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.options)\n}\n\n// optional bool client_streaming = 5 [default = false];\nbool MethodDescriptorProto::has_client_streaming() const {\n  return (_has_bits_[0] & 0x00000010u) != 0;\n}\nvoid MethodDescriptorProto::set_has_client_streaming() {\n  _has_bits_[0] |= 0x00000010u;\n}\nvoid MethodDescriptorProto::clear_has_client_streaming() {\n  _has_bits_[0] &= ~0x00000010u;\n}\nvoid MethodDescriptorProto::clear_client_streaming() {\n  client_streaming_ = false;\n  clear_has_client_streaming();\n}\n bool MethodDescriptorProto::client_streaming() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.client_streaming)\n  return client_streaming_;\n}\n void MethodDescriptorProto::set_client_streaming(bool value) {\n  set_has_client_streaming();\n  client_streaming_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.client_streaming)\n}\n\n// optional bool server_streaming = 6 [default = false];\nbool MethodDescriptorProto::has_server_streaming() const {\n  return (_has_bits_[0] & 0x00000020u) != 0;\n}\nvoid MethodDescriptorProto::set_has_server_streaming() {\n  _has_bits_[0] |= 0x00000020u;\n}\nvoid MethodDescriptorProto::clear_has_server_streaming() {\n  _has_bits_[0] &= ~0x00000020u;\n}\nvoid MethodDescriptorProto::clear_server_streaming() {\n  server_streaming_ = false;\n  clear_has_server_streaming();\n}\n bool MethodDescriptorProto::server_streaming() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.server_streaming)\n  return server_streaming_;\n}\n void MethodDescriptorProto::set_server_streaming(bool value) {\n  set_has_server_streaming();\n  server_streaming_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.server_streaming)\n}\n\n#endif  // PROTOBUF_INLINE_NOT_IN_HEADERS\n\n// ===================================================================\n\nconst ::google::protobuf::EnumDescriptor* FileOptions_OptimizeMode_descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return FileOptions_OptimizeMode_descriptor_;\n}\nbool FileOptions_OptimizeMode_IsValid(int value) {\n  switch(value) {\n    case 1:\n    case 2:\n    case 3:\n      return true;\n    default:\n      return false;\n  }\n}\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst FileOptions_OptimizeMode FileOptions::SPEED;\nconst FileOptions_OptimizeMode FileOptions::CODE_SIZE;\nconst FileOptions_OptimizeMode FileOptions::LITE_RUNTIME;\nconst FileOptions_OptimizeMode FileOptions::OptimizeMode_MIN;\nconst FileOptions_OptimizeMode FileOptions::OptimizeMode_MAX;\nconst int FileOptions::OptimizeMode_ARRAYSIZE;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst int FileOptions::kJavaPackageFieldNumber;\nconst int FileOptions::kJavaOuterClassnameFieldNumber;\nconst int FileOptions::kJavaMultipleFilesFieldNumber;\nconst int FileOptions::kJavaGenerateEqualsAndHashFieldNumber;\nconst int FileOptions::kJavaStringCheckUtf8FieldNumber;\nconst int FileOptions::kOptimizeForFieldNumber;\nconst int FileOptions::kGoPackageFieldNumber;\nconst int FileOptions::kCcGenericServicesFieldNumber;\nconst int FileOptions::kJavaGenericServicesFieldNumber;\nconst int FileOptions::kPyGenericServicesFieldNumber;\nconst int FileOptions::kDeprecatedFieldNumber;\nconst int FileOptions::kCcEnableArenasFieldNumber;\nconst int FileOptions::kObjcClassPrefixFieldNumber;\nconst int FileOptions::kCsharpNamespaceFieldNumber;\nconst int FileOptions::kUninterpretedOptionFieldNumber;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\n\nFileOptions::FileOptions()\n  : ::google::protobuf::Message(), _internal_metadata_(NULL) {\n  SharedCtor();\n  // @@protoc_insertion_point(constructor:google.protobuf.FileOptions)\n}\n\nvoid FileOptions::InitAsDefaultInstance() {\n}\n\nFileOptions::FileOptions(const FileOptions& from)\n  : ::google::protobuf::Message(),\n    _internal_metadata_(NULL) {\n  SharedCtor();\n  MergeFrom(from);\n  // @@protoc_insertion_point(copy_constructor:google.protobuf.FileOptions)\n}\n\nvoid FileOptions::SharedCtor() {\n  ::google::protobuf::internal::GetEmptyString();\n  _cached_size_ = 0;\n  java_package_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  java_outer_classname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  java_multiple_files_ = false;\n  java_generate_equals_and_hash_ = false;\n  java_string_check_utf8_ = false;\n  optimize_for_ = 1;\n  go_package_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  cc_generic_services_ = false;\n  java_generic_services_ = false;\n  py_generic_services_ = false;\n  deprecated_ = false;\n  cc_enable_arenas_ = false;\n  objc_class_prefix_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  csharp_namespace_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n}\n\nFileOptions::~FileOptions() {\n  // @@protoc_insertion_point(destructor:google.protobuf.FileOptions)\n  SharedDtor();\n}\n\nvoid FileOptions::SharedDtor() {\n  java_package_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  java_outer_classname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  go_package_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  objc_class_prefix_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  csharp_namespace_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  if (this != default_instance_) {\n  }\n}\n\nvoid FileOptions::SetCachedSize(int size) const {\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n}\nconst ::google::protobuf::Descriptor* FileOptions::descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return FileOptions_descriptor_;\n}\n\nconst FileOptions& FileOptions::default_instance() {\n  if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  return *default_instance_;\n}\n\nFileOptions* FileOptions::default_instance_ = NULL;\n\nFileOptions* FileOptions::New(::google::protobuf::Arena* arena) const {\n  FileOptions* n = new FileOptions;\n  if (arena != NULL) {\n    arena->Own(n);\n  }\n  return n;\n}\n\nvoid FileOptions::Clear() {\n// @@protoc_insertion_point(message_clear_start:google.protobuf.FileOptions)\n  _extensions_.Clear();\n#if defined(__clang__)\n#define ZR_HELPER_(f) \\\n  _Pragma(\"clang diagnostic push\") \\\n  _Pragma(\"clang diagnostic ignored \\\"-Winvalid-offsetof\\\"\") \\\n  __builtin_offsetof(FileOptions, f) \\\n  _Pragma(\"clang diagnostic pop\")\n#else\n#define ZR_HELPER_(f) reinterpret_cast<char*>(\\\n  &reinterpret_cast<FileOptions*>(16)->f)\n#endif\n\n#define ZR_(first, last) do {\\\n  ::memset(&first, 0,\\\n           ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\\\n} while (0)\n\n  if (_has_bits_[0 / 32] & 255u) {\n    ZR_(java_multiple_files_, cc_generic_services_);\n    if (has_java_package()) {\n      java_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n    }\n    if (has_java_outer_classname()) {\n      java_outer_classname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n    }\n    optimize_for_ = 1;\n    if (has_go_package()) {\n      go_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n    }\n  }\n  if (_has_bits_[8 / 32] & 16128u) {\n    ZR_(java_generic_services_, cc_enable_arenas_);\n    if (has_objc_class_prefix()) {\n      objc_class_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n    }\n    if (has_csharp_namespace()) {\n      csharp_namespace_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n    }\n  }\n\n#undef ZR_HELPER_\n#undef ZR_\n\n  uninterpreted_option_.Clear();\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n  if (_internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->Clear();\n  }\n}\n\nbool FileOptions::MergePartialFromCodedStream(\n    ::google::protobuf::io::CodedInputStream* input) {\n#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure\n  ::google::protobuf::uint32 tag;\n  // @@protoc_insertion_point(parse_start:google.protobuf.FileOptions)\n  for (;;) {\n    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(16383);\n    tag = p.first;\n    if (!p.second) goto handle_unusual;\n    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {\n      // optional string java_package = 1;\n      case 1: {\n        if (tag == 10) {\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->mutable_java_package()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->java_package().data(), this->java_package().length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.FileOptions.java_package\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(66)) goto parse_java_outer_classname;\n        break;\n      }\n\n      // optional string java_outer_classname = 8;\n      case 8: {\n        if (tag == 66) {\n         parse_java_outer_classname:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->mutable_java_outer_classname()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->java_outer_classname().data(), this->java_outer_classname().length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.FileOptions.java_outer_classname\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(72)) goto parse_optimize_for;\n        break;\n      }\n\n      // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];\n      case 9: {\n        if (tag == 72) {\n         parse_optimize_for:\n          int value;\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(\n                 input, &value)));\n          if (::google::protobuf::FileOptions_OptimizeMode_IsValid(value)) {\n            set_optimize_for(static_cast< ::google::protobuf::FileOptions_OptimizeMode >(value));\n          } else {\n            mutable_unknown_fields()->AddVarint(9, value);\n          }\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(80)) goto parse_java_multiple_files;\n        break;\n      }\n\n      // optional bool java_multiple_files = 10 [default = false];\n      case 10: {\n        if (tag == 80) {\n         parse_java_multiple_files:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(\n                 input, &java_multiple_files_)));\n          set_has_java_multiple_files();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(90)) goto parse_go_package;\n        break;\n      }\n\n      // optional string go_package = 11;\n      case 11: {\n        if (tag == 90) {\n         parse_go_package:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->mutable_go_package()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->go_package().data(), this->go_package().length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.FileOptions.go_package\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(128)) goto parse_cc_generic_services;\n        break;\n      }\n\n      // optional bool cc_generic_services = 16 [default = false];\n      case 16: {\n        if (tag == 128) {\n         parse_cc_generic_services:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(\n                 input, &cc_generic_services_)));\n          set_has_cc_generic_services();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(136)) goto parse_java_generic_services;\n        break;\n      }\n\n      // optional bool java_generic_services = 17 [default = false];\n      case 17: {\n        if (tag == 136) {\n         parse_java_generic_services:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(\n                 input, &java_generic_services_)));\n          set_has_java_generic_services();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(144)) goto parse_py_generic_services;\n        break;\n      }\n\n      // optional bool py_generic_services = 18 [default = false];\n      case 18: {\n        if (tag == 144) {\n         parse_py_generic_services:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(\n                 input, &py_generic_services_)));\n          set_has_py_generic_services();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(160)) goto parse_java_generate_equals_and_hash;\n        break;\n      }\n\n      // optional bool java_generate_equals_and_hash = 20 [default = false];\n      case 20: {\n        if (tag == 160) {\n         parse_java_generate_equals_and_hash:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(\n                 input, &java_generate_equals_and_hash_)));\n          set_has_java_generate_equals_and_hash();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(184)) goto parse_deprecated;\n        break;\n      }\n\n      // optional bool deprecated = 23 [default = false];\n      case 23: {\n        if (tag == 184) {\n         parse_deprecated:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(\n                 input, &deprecated_)));\n          set_has_deprecated();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(216)) goto parse_java_string_check_utf8;\n        break;\n      }\n\n      // optional bool java_string_check_utf8 = 27 [default = false];\n      case 27: {\n        if (tag == 216) {\n         parse_java_string_check_utf8:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(\n                 input, &java_string_check_utf8_)));\n          set_has_java_string_check_utf8();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(248)) goto parse_cc_enable_arenas;\n        break;\n      }\n\n      // optional bool cc_enable_arenas = 31 [default = false];\n      case 31: {\n        if (tag == 248) {\n         parse_cc_enable_arenas:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(\n                 input, &cc_enable_arenas_)));\n          set_has_cc_enable_arenas();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(290)) goto parse_objc_class_prefix;\n        break;\n      }\n\n      // optional string objc_class_prefix = 36;\n      case 36: {\n        if (tag == 290) {\n         parse_objc_class_prefix:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->mutable_objc_class_prefix()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->objc_class_prefix().data(), this->objc_class_prefix().length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.FileOptions.objc_class_prefix\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(298)) goto parse_csharp_namespace;\n        break;\n      }\n\n      // optional string csharp_namespace = 37;\n      case 37: {\n        if (tag == 298) {\n         parse_csharp_namespace:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->mutable_csharp_namespace()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->csharp_namespace().data(), this->csharp_namespace().length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.FileOptions.csharp_namespace\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(7994)) goto parse_uninterpreted_option;\n        break;\n      }\n\n      // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n      case 999: {\n        if (tag == 7994) {\n         parse_uninterpreted_option:\n          DO_(input->IncrementRecursionDepth());\n         parse_loop_uninterpreted_option:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(\n                input, add_uninterpreted_option()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(7994)) goto parse_loop_uninterpreted_option;\n        input->UnsafeDecrementRecursionDepth();\n        if (input->ExpectAtEnd()) goto success;\n        break;\n      }\n\n      default: {\n      handle_unusual:\n        if (tag == 0 ||\n            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==\n            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {\n          goto success;\n        }\n        if ((8000u <= tag)) {\n          DO_(_extensions_.ParseField(tag, input, default_instance_,\n                                      mutable_unknown_fields()));\n          continue;\n        }\n        DO_(::google::protobuf::internal::WireFormat::SkipField(\n              input, tag, mutable_unknown_fields()));\n        break;\n      }\n    }\n  }\nsuccess:\n  // @@protoc_insertion_point(parse_success:google.protobuf.FileOptions)\n  return true;\nfailure:\n  // @@protoc_insertion_point(parse_failure:google.protobuf.FileOptions)\n  return false;\n#undef DO_\n}\n\nvoid FileOptions::SerializeWithCachedSizes(\n    ::google::protobuf::io::CodedOutputStream* output) const {\n  // @@protoc_insertion_point(serialize_start:google.protobuf.FileOptions)\n  // optional string java_package = 1;\n  if (has_java_package()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->java_package().data(), this->java_package().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FileOptions.java_package\");\n    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(\n      1, this->java_package(), output);\n  }\n\n  // optional string java_outer_classname = 8;\n  if (has_java_outer_classname()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->java_outer_classname().data(), this->java_outer_classname().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FileOptions.java_outer_classname\");\n    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(\n      8, this->java_outer_classname(), output);\n  }\n\n  // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];\n  if (has_optimize_for()) {\n    ::google::protobuf::internal::WireFormatLite::WriteEnum(\n      9, this->optimize_for(), output);\n  }\n\n  // optional bool java_multiple_files = 10 [default = false];\n  if (has_java_multiple_files()) {\n    ::google::protobuf::internal::WireFormatLite::WriteBool(10, this->java_multiple_files(), output);\n  }\n\n  // optional string go_package = 11;\n  if (has_go_package()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->go_package().data(), this->go_package().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FileOptions.go_package\");\n    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(\n      11, this->go_package(), output);\n  }\n\n  // optional bool cc_generic_services = 16 [default = false];\n  if (has_cc_generic_services()) {\n    ::google::protobuf::internal::WireFormatLite::WriteBool(16, this->cc_generic_services(), output);\n  }\n\n  // optional bool java_generic_services = 17 [default = false];\n  if (has_java_generic_services()) {\n    ::google::protobuf::internal::WireFormatLite::WriteBool(17, this->java_generic_services(), output);\n  }\n\n  // optional bool py_generic_services = 18 [default = false];\n  if (has_py_generic_services()) {\n    ::google::protobuf::internal::WireFormatLite::WriteBool(18, this->py_generic_services(), output);\n  }\n\n  // optional bool java_generate_equals_and_hash = 20 [default = false];\n  if (has_java_generate_equals_and_hash()) {\n    ::google::protobuf::internal::WireFormatLite::WriteBool(20, this->java_generate_equals_and_hash(), output);\n  }\n\n  // optional bool deprecated = 23 [default = false];\n  if (has_deprecated()) {\n    ::google::protobuf::internal::WireFormatLite::WriteBool(23, this->deprecated(), output);\n  }\n\n  // optional bool java_string_check_utf8 = 27 [default = false];\n  if (has_java_string_check_utf8()) {\n    ::google::protobuf::internal::WireFormatLite::WriteBool(27, this->java_string_check_utf8(), output);\n  }\n\n  // optional bool cc_enable_arenas = 31 [default = false];\n  if (has_cc_enable_arenas()) {\n    ::google::protobuf::internal::WireFormatLite::WriteBool(31, this->cc_enable_arenas(), output);\n  }\n\n  // optional string objc_class_prefix = 36;\n  if (has_objc_class_prefix()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->objc_class_prefix().data(), this->objc_class_prefix().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FileOptions.objc_class_prefix\");\n    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(\n      36, this->objc_class_prefix(), output);\n  }\n\n  // optional string csharp_namespace = 37;\n  if (has_csharp_namespace()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->csharp_namespace().data(), this->csharp_namespace().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FileOptions.csharp_namespace\");\n    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(\n      37, this->csharp_namespace(), output);\n  }\n\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  for (unsigned int i = 0, n = this->uninterpreted_option_size(); i < n; i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      999, this->uninterpreted_option(i), output);\n  }\n\n  // Extension range [1000, 536870912)\n  _extensions_.SerializeWithCachedSizes(\n      1000, 536870912, output);\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(\n        unknown_fields(), output);\n  }\n  // @@protoc_insertion_point(serialize_end:google.protobuf.FileOptions)\n}\n\n::google::protobuf::uint8* FileOptions::SerializeWithCachedSizesToArray(\n    ::google::protobuf::uint8* target) const {\n  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FileOptions)\n  // optional string java_package = 1;\n  if (has_java_package()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->java_package().data(), this->java_package().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FileOptions.java_package\");\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(\n        1, this->java_package(), target);\n  }\n\n  // optional string java_outer_classname = 8;\n  if (has_java_outer_classname()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->java_outer_classname().data(), this->java_outer_classname().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FileOptions.java_outer_classname\");\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(\n        8, this->java_outer_classname(), target);\n  }\n\n  // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];\n  if (has_optimize_for()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(\n      9, this->optimize_for(), target);\n  }\n\n  // optional bool java_multiple_files = 10 [default = false];\n  if (has_java_multiple_files()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(10, this->java_multiple_files(), target);\n  }\n\n  // optional string go_package = 11;\n  if (has_go_package()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->go_package().data(), this->go_package().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FileOptions.go_package\");\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(\n        11, this->go_package(), target);\n  }\n\n  // optional bool cc_generic_services = 16 [default = false];\n  if (has_cc_generic_services()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(16, this->cc_generic_services(), target);\n  }\n\n  // optional bool java_generic_services = 17 [default = false];\n  if (has_java_generic_services()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(17, this->java_generic_services(), target);\n  }\n\n  // optional bool py_generic_services = 18 [default = false];\n  if (has_py_generic_services()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(18, this->py_generic_services(), target);\n  }\n\n  // optional bool java_generate_equals_and_hash = 20 [default = false];\n  if (has_java_generate_equals_and_hash()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(20, this->java_generate_equals_and_hash(), target);\n  }\n\n  // optional bool deprecated = 23 [default = false];\n  if (has_deprecated()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(23, this->deprecated(), target);\n  }\n\n  // optional bool java_string_check_utf8 = 27 [default = false];\n  if (has_java_string_check_utf8()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(27, this->java_string_check_utf8(), target);\n  }\n\n  // optional bool cc_enable_arenas = 31 [default = false];\n  if (has_cc_enable_arenas()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(31, this->cc_enable_arenas(), target);\n  }\n\n  // optional string objc_class_prefix = 36;\n  if (has_objc_class_prefix()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->objc_class_prefix().data(), this->objc_class_prefix().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FileOptions.objc_class_prefix\");\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(\n        36, this->objc_class_prefix(), target);\n  }\n\n  // optional string csharp_namespace = 37;\n  if (has_csharp_namespace()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->csharp_namespace().data(), this->csharp_namespace().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.FileOptions.csharp_namespace\");\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(\n        37, this->csharp_namespace(), target);\n  }\n\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  for (unsigned int i = 0, n = this->uninterpreted_option_size(); i < n; i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        999, this->uninterpreted_option(i), target);\n  }\n\n  // Extension range [1000, 536870912)\n  target = _extensions_.SerializeWithCachedSizesToArray(\n      1000, 536870912, target);\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(\n        unknown_fields(), target);\n  }\n  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FileOptions)\n  return target;\n}\n\nint FileOptions::ByteSize() const {\n// @@protoc_insertion_point(message_byte_size_start:google.protobuf.FileOptions)\n  int total_size = 0;\n\n  if (_has_bits_[0 / 32] & 255u) {\n    // optional string java_package = 1;\n    if (has_java_package()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::StringSize(\n          this->java_package());\n    }\n\n    // optional string java_outer_classname = 8;\n    if (has_java_outer_classname()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::StringSize(\n          this->java_outer_classname());\n    }\n\n    // optional bool java_multiple_files = 10 [default = false];\n    if (has_java_multiple_files()) {\n      total_size += 1 + 1;\n    }\n\n    // optional bool java_generate_equals_and_hash = 20 [default = false];\n    if (has_java_generate_equals_and_hash()) {\n      total_size += 2 + 1;\n    }\n\n    // optional bool java_string_check_utf8 = 27 [default = false];\n    if (has_java_string_check_utf8()) {\n      total_size += 2 + 1;\n    }\n\n    // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];\n    if (has_optimize_for()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::EnumSize(this->optimize_for());\n    }\n\n    // optional string go_package = 11;\n    if (has_go_package()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::StringSize(\n          this->go_package());\n    }\n\n    // optional bool cc_generic_services = 16 [default = false];\n    if (has_cc_generic_services()) {\n      total_size += 2 + 1;\n    }\n\n  }\n  if (_has_bits_[8 / 32] & 16128u) {\n    // optional bool java_generic_services = 17 [default = false];\n    if (has_java_generic_services()) {\n      total_size += 2 + 1;\n    }\n\n    // optional bool py_generic_services = 18 [default = false];\n    if (has_py_generic_services()) {\n      total_size += 2 + 1;\n    }\n\n    // optional bool deprecated = 23 [default = false];\n    if (has_deprecated()) {\n      total_size += 2 + 1;\n    }\n\n    // optional bool cc_enable_arenas = 31 [default = false];\n    if (has_cc_enable_arenas()) {\n      total_size += 2 + 1;\n    }\n\n    // optional string objc_class_prefix = 36;\n    if (has_objc_class_prefix()) {\n      total_size += 2 +\n        ::google::protobuf::internal::WireFormatLite::StringSize(\n          this->objc_class_prefix());\n    }\n\n    // optional string csharp_namespace = 37;\n    if (has_csharp_namespace()) {\n      total_size += 2 +\n        ::google::protobuf::internal::WireFormatLite::StringSize(\n          this->csharp_namespace());\n    }\n\n  }\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  total_size += 2 * this->uninterpreted_option_size();\n  for (int i = 0; i < this->uninterpreted_option_size(); i++) {\n    total_size +=\n      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n        this->uninterpreted_option(i));\n  }\n\n  total_size += _extensions_.ByteSize();\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    total_size +=\n      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(\n        unknown_fields());\n  }\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = total_size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n  return total_size;\n}\n\nvoid FileOptions::MergeFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.FileOptions)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  const FileOptions* source = \n      ::google::protobuf::internal::DynamicCastToGenerated<const FileOptions>(\n          &from);\n  if (source == NULL) {\n  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.FileOptions)\n    ::google::protobuf::internal::ReflectionOps::Merge(from, this);\n  } else {\n  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.FileOptions)\n    MergeFrom(*source);\n  }\n}\n\nvoid FileOptions::MergeFrom(const FileOptions& from) {\n// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FileOptions)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  uninterpreted_option_.MergeFrom(from.uninterpreted_option_);\n  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {\n    if (from.has_java_package()) {\n      set_has_java_package();\n      java_package_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.java_package_);\n    }\n    if (from.has_java_outer_classname()) {\n      set_has_java_outer_classname();\n      java_outer_classname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.java_outer_classname_);\n    }\n    if (from.has_java_multiple_files()) {\n      set_java_multiple_files(from.java_multiple_files());\n    }\n    if (from.has_java_generate_equals_and_hash()) {\n      set_java_generate_equals_and_hash(from.java_generate_equals_and_hash());\n    }\n    if (from.has_java_string_check_utf8()) {\n      set_java_string_check_utf8(from.java_string_check_utf8());\n    }\n    if (from.has_optimize_for()) {\n      set_optimize_for(from.optimize_for());\n    }\n    if (from.has_go_package()) {\n      set_has_go_package();\n      go_package_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.go_package_);\n    }\n    if (from.has_cc_generic_services()) {\n      set_cc_generic_services(from.cc_generic_services());\n    }\n  }\n  if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {\n    if (from.has_java_generic_services()) {\n      set_java_generic_services(from.java_generic_services());\n    }\n    if (from.has_py_generic_services()) {\n      set_py_generic_services(from.py_generic_services());\n    }\n    if (from.has_deprecated()) {\n      set_deprecated(from.deprecated());\n    }\n    if (from.has_cc_enable_arenas()) {\n      set_cc_enable_arenas(from.cc_enable_arenas());\n    }\n    if (from.has_objc_class_prefix()) {\n      set_has_objc_class_prefix();\n      objc_class_prefix_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.objc_class_prefix_);\n    }\n    if (from.has_csharp_namespace()) {\n      set_has_csharp_namespace();\n      csharp_namespace_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.csharp_namespace_);\n    }\n  }\n  _extensions_.MergeFrom(from._extensions_);\n  if (from._internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->MergeFrom(from.unknown_fields());\n  }\n}\n\nvoid FileOptions::CopyFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.FileOptions)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nvoid FileOptions::CopyFrom(const FileOptions& from) {\n// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FileOptions)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nbool FileOptions::IsInitialized() const {\n\n  if (!::google::protobuf::internal::AllAreInitialized(this->uninterpreted_option())) return false;\n\n  if (!_extensions_.IsInitialized()) return false;  return true;\n}\n\nvoid FileOptions::Swap(FileOptions* other) {\n  if (other == this) return;\n  InternalSwap(other);\n}\nvoid FileOptions::InternalSwap(FileOptions* other) {\n  java_package_.Swap(&other->java_package_);\n  java_outer_classname_.Swap(&other->java_outer_classname_);\n  std::swap(java_multiple_files_, other->java_multiple_files_);\n  std::swap(java_generate_equals_and_hash_, other->java_generate_equals_and_hash_);\n  std::swap(java_string_check_utf8_, other->java_string_check_utf8_);\n  std::swap(optimize_for_, other->optimize_for_);\n  go_package_.Swap(&other->go_package_);\n  std::swap(cc_generic_services_, other->cc_generic_services_);\n  std::swap(java_generic_services_, other->java_generic_services_);\n  std::swap(py_generic_services_, other->py_generic_services_);\n  std::swap(deprecated_, other->deprecated_);\n  std::swap(cc_enable_arenas_, other->cc_enable_arenas_);\n  objc_class_prefix_.Swap(&other->objc_class_prefix_);\n  csharp_namespace_.Swap(&other->csharp_namespace_);\n  uninterpreted_option_.UnsafeArenaSwap(&other->uninterpreted_option_);\n  std::swap(_has_bits_[0], other->_has_bits_[0]);\n  _internal_metadata_.Swap(&other->_internal_metadata_);\n  std::swap(_cached_size_, other->_cached_size_);\n  _extensions_.Swap(&other->_extensions_);\n}\n\n::google::protobuf::Metadata FileOptions::GetMetadata() const {\n  protobuf_AssignDescriptorsOnce();\n  ::google::protobuf::Metadata metadata;\n  metadata.descriptor = FileOptions_descriptor_;\n  metadata.reflection = FileOptions_reflection_;\n  return metadata;\n}\n\n#if PROTOBUF_INLINE_NOT_IN_HEADERS\n// FileOptions\n\n// optional string java_package = 1;\nbool FileOptions::has_java_package() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\nvoid FileOptions::set_has_java_package() {\n  _has_bits_[0] |= 0x00000001u;\n}\nvoid FileOptions::clear_has_java_package() {\n  _has_bits_[0] &= ~0x00000001u;\n}\nvoid FileOptions::clear_java_package() {\n  java_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_java_package();\n}\n const ::std::string& FileOptions::java_package() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_package)\n  return java_package_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void FileOptions::set_java_package(const ::std::string& value) {\n  set_has_java_package();\n  java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_package)\n}\n void FileOptions::set_java_package(const char* value) {\n  set_has_java_package();\n  java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_package)\n}\n void FileOptions::set_java_package(const char* value, size_t size) {\n  set_has_java_package();\n  java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.java_package)\n}\n ::std::string* FileOptions::mutable_java_package() {\n  set_has_java_package();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_package)\n  return java_package_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* FileOptions::release_java_package() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.java_package)\n  clear_has_java_package();\n  return java_package_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void FileOptions::set_allocated_java_package(::std::string* java_package) {\n  if (java_package != NULL) {\n    set_has_java_package();\n  } else {\n    clear_has_java_package();\n  }\n  java_package_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), java_package);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_package)\n}\n\n// optional string java_outer_classname = 8;\nbool FileOptions::has_java_outer_classname() const {\n  return (_has_bits_[0] & 0x00000002u) != 0;\n}\nvoid FileOptions::set_has_java_outer_classname() {\n  _has_bits_[0] |= 0x00000002u;\n}\nvoid FileOptions::clear_has_java_outer_classname() {\n  _has_bits_[0] &= ~0x00000002u;\n}\nvoid FileOptions::clear_java_outer_classname() {\n  java_outer_classname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_java_outer_classname();\n}\n const ::std::string& FileOptions::java_outer_classname() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_outer_classname)\n  return java_outer_classname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void FileOptions::set_java_outer_classname(const ::std::string& value) {\n  set_has_java_outer_classname();\n  java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_outer_classname)\n}\n void FileOptions::set_java_outer_classname(const char* value) {\n  set_has_java_outer_classname();\n  java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_outer_classname)\n}\n void FileOptions::set_java_outer_classname(const char* value, size_t size) {\n  set_has_java_outer_classname();\n  java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.java_outer_classname)\n}\n ::std::string* FileOptions::mutable_java_outer_classname() {\n  set_has_java_outer_classname();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_outer_classname)\n  return java_outer_classname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* FileOptions::release_java_outer_classname() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.java_outer_classname)\n  clear_has_java_outer_classname();\n  return java_outer_classname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void FileOptions::set_allocated_java_outer_classname(::std::string* java_outer_classname) {\n  if (java_outer_classname != NULL) {\n    set_has_java_outer_classname();\n  } else {\n    clear_has_java_outer_classname();\n  }\n  java_outer_classname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), java_outer_classname);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_outer_classname)\n}\n\n// optional bool java_multiple_files = 10 [default = false];\nbool FileOptions::has_java_multiple_files() const {\n  return (_has_bits_[0] & 0x00000004u) != 0;\n}\nvoid FileOptions::set_has_java_multiple_files() {\n  _has_bits_[0] |= 0x00000004u;\n}\nvoid FileOptions::clear_has_java_multiple_files() {\n  _has_bits_[0] &= ~0x00000004u;\n}\nvoid FileOptions::clear_java_multiple_files() {\n  java_multiple_files_ = false;\n  clear_has_java_multiple_files();\n}\n bool FileOptions::java_multiple_files() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_multiple_files)\n  return java_multiple_files_;\n}\n void FileOptions::set_java_multiple_files(bool value) {\n  set_has_java_multiple_files();\n  java_multiple_files_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_multiple_files)\n}\n\n// optional bool java_generate_equals_and_hash = 20 [default = false];\nbool FileOptions::has_java_generate_equals_and_hash() const {\n  return (_has_bits_[0] & 0x00000008u) != 0;\n}\nvoid FileOptions::set_has_java_generate_equals_and_hash() {\n  _has_bits_[0] |= 0x00000008u;\n}\nvoid FileOptions::clear_has_java_generate_equals_and_hash() {\n  _has_bits_[0] &= ~0x00000008u;\n}\nvoid FileOptions::clear_java_generate_equals_and_hash() {\n  java_generate_equals_and_hash_ = false;\n  clear_has_java_generate_equals_and_hash();\n}\n bool FileOptions::java_generate_equals_and_hash() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generate_equals_and_hash)\n  return java_generate_equals_and_hash_;\n}\n void FileOptions::set_java_generate_equals_and_hash(bool value) {\n  set_has_java_generate_equals_and_hash();\n  java_generate_equals_and_hash_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generate_equals_and_hash)\n}\n\n// optional bool java_string_check_utf8 = 27 [default = false];\nbool FileOptions::has_java_string_check_utf8() const {\n  return (_has_bits_[0] & 0x00000010u) != 0;\n}\nvoid FileOptions::set_has_java_string_check_utf8() {\n  _has_bits_[0] |= 0x00000010u;\n}\nvoid FileOptions::clear_has_java_string_check_utf8() {\n  _has_bits_[0] &= ~0x00000010u;\n}\nvoid FileOptions::clear_java_string_check_utf8() {\n  java_string_check_utf8_ = false;\n  clear_has_java_string_check_utf8();\n}\n bool FileOptions::java_string_check_utf8() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_string_check_utf8)\n  return java_string_check_utf8_;\n}\n void FileOptions::set_java_string_check_utf8(bool value) {\n  set_has_java_string_check_utf8();\n  java_string_check_utf8_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_string_check_utf8)\n}\n\n// optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];\nbool FileOptions::has_optimize_for() const {\n  return (_has_bits_[0] & 0x00000020u) != 0;\n}\nvoid FileOptions::set_has_optimize_for() {\n  _has_bits_[0] |= 0x00000020u;\n}\nvoid FileOptions::clear_has_optimize_for() {\n  _has_bits_[0] &= ~0x00000020u;\n}\nvoid FileOptions::clear_optimize_for() {\n  optimize_for_ = 1;\n  clear_has_optimize_for();\n}\n ::google::protobuf::FileOptions_OptimizeMode FileOptions::optimize_for() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.optimize_for)\n  return static_cast< ::google::protobuf::FileOptions_OptimizeMode >(optimize_for_);\n}\n void FileOptions::set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value) {\n  assert(::google::protobuf::FileOptions_OptimizeMode_IsValid(value));\n  set_has_optimize_for();\n  optimize_for_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.optimize_for)\n}\n\n// optional string go_package = 11;\nbool FileOptions::has_go_package() const {\n  return (_has_bits_[0] & 0x00000040u) != 0;\n}\nvoid FileOptions::set_has_go_package() {\n  _has_bits_[0] |= 0x00000040u;\n}\nvoid FileOptions::clear_has_go_package() {\n  _has_bits_[0] &= ~0x00000040u;\n}\nvoid FileOptions::clear_go_package() {\n  go_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_go_package();\n}\n const ::std::string& FileOptions::go_package() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.go_package)\n  return go_package_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void FileOptions::set_go_package(const ::std::string& value) {\n  set_has_go_package();\n  go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.go_package)\n}\n void FileOptions::set_go_package(const char* value) {\n  set_has_go_package();\n  go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.go_package)\n}\n void FileOptions::set_go_package(const char* value, size_t size) {\n  set_has_go_package();\n  go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.go_package)\n}\n ::std::string* FileOptions::mutable_go_package() {\n  set_has_go_package();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.go_package)\n  return go_package_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* FileOptions::release_go_package() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.go_package)\n  clear_has_go_package();\n  return go_package_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void FileOptions::set_allocated_go_package(::std::string* go_package) {\n  if (go_package != NULL) {\n    set_has_go_package();\n  } else {\n    clear_has_go_package();\n  }\n  go_package_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), go_package);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.go_package)\n}\n\n// optional bool cc_generic_services = 16 [default = false];\nbool FileOptions::has_cc_generic_services() const {\n  return (_has_bits_[0] & 0x00000080u) != 0;\n}\nvoid FileOptions::set_has_cc_generic_services() {\n  _has_bits_[0] |= 0x00000080u;\n}\nvoid FileOptions::clear_has_cc_generic_services() {\n  _has_bits_[0] &= ~0x00000080u;\n}\nvoid FileOptions::clear_cc_generic_services() {\n  cc_generic_services_ = false;\n  clear_has_cc_generic_services();\n}\n bool FileOptions::cc_generic_services() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_generic_services)\n  return cc_generic_services_;\n}\n void FileOptions::set_cc_generic_services(bool value) {\n  set_has_cc_generic_services();\n  cc_generic_services_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_generic_services)\n}\n\n// optional bool java_generic_services = 17 [default = false];\nbool FileOptions::has_java_generic_services() const {\n  return (_has_bits_[0] & 0x00000100u) != 0;\n}\nvoid FileOptions::set_has_java_generic_services() {\n  _has_bits_[0] |= 0x00000100u;\n}\nvoid FileOptions::clear_has_java_generic_services() {\n  _has_bits_[0] &= ~0x00000100u;\n}\nvoid FileOptions::clear_java_generic_services() {\n  java_generic_services_ = false;\n  clear_has_java_generic_services();\n}\n bool FileOptions::java_generic_services() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generic_services)\n  return java_generic_services_;\n}\n void FileOptions::set_java_generic_services(bool value) {\n  set_has_java_generic_services();\n  java_generic_services_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generic_services)\n}\n\n// optional bool py_generic_services = 18 [default = false];\nbool FileOptions::has_py_generic_services() const {\n  return (_has_bits_[0] & 0x00000200u) != 0;\n}\nvoid FileOptions::set_has_py_generic_services() {\n  _has_bits_[0] |= 0x00000200u;\n}\nvoid FileOptions::clear_has_py_generic_services() {\n  _has_bits_[0] &= ~0x00000200u;\n}\nvoid FileOptions::clear_py_generic_services() {\n  py_generic_services_ = false;\n  clear_has_py_generic_services();\n}\n bool FileOptions::py_generic_services() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.py_generic_services)\n  return py_generic_services_;\n}\n void FileOptions::set_py_generic_services(bool value) {\n  set_has_py_generic_services();\n  py_generic_services_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.py_generic_services)\n}\n\n// optional bool deprecated = 23 [default = false];\nbool FileOptions::has_deprecated() const {\n  return (_has_bits_[0] & 0x00000400u) != 0;\n}\nvoid FileOptions::set_has_deprecated() {\n  _has_bits_[0] |= 0x00000400u;\n}\nvoid FileOptions::clear_has_deprecated() {\n  _has_bits_[0] &= ~0x00000400u;\n}\nvoid FileOptions::clear_deprecated() {\n  deprecated_ = false;\n  clear_has_deprecated();\n}\n bool FileOptions::deprecated() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.deprecated)\n  return deprecated_;\n}\n void FileOptions::set_deprecated(bool value) {\n  set_has_deprecated();\n  deprecated_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.deprecated)\n}\n\n// optional bool cc_enable_arenas = 31 [default = false];\nbool FileOptions::has_cc_enable_arenas() const {\n  return (_has_bits_[0] & 0x00000800u) != 0;\n}\nvoid FileOptions::set_has_cc_enable_arenas() {\n  _has_bits_[0] |= 0x00000800u;\n}\nvoid FileOptions::clear_has_cc_enable_arenas() {\n  _has_bits_[0] &= ~0x00000800u;\n}\nvoid FileOptions::clear_cc_enable_arenas() {\n  cc_enable_arenas_ = false;\n  clear_has_cc_enable_arenas();\n}\n bool FileOptions::cc_enable_arenas() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_enable_arenas)\n  return cc_enable_arenas_;\n}\n void FileOptions::set_cc_enable_arenas(bool value) {\n  set_has_cc_enable_arenas();\n  cc_enable_arenas_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_enable_arenas)\n}\n\n// optional string objc_class_prefix = 36;\nbool FileOptions::has_objc_class_prefix() const {\n  return (_has_bits_[0] & 0x00001000u) != 0;\n}\nvoid FileOptions::set_has_objc_class_prefix() {\n  _has_bits_[0] |= 0x00001000u;\n}\nvoid FileOptions::clear_has_objc_class_prefix() {\n  _has_bits_[0] &= ~0x00001000u;\n}\nvoid FileOptions::clear_objc_class_prefix() {\n  objc_class_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_objc_class_prefix();\n}\n const ::std::string& FileOptions::objc_class_prefix() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.objc_class_prefix)\n  return objc_class_prefix_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void FileOptions::set_objc_class_prefix(const ::std::string& value) {\n  set_has_objc_class_prefix();\n  objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.objc_class_prefix)\n}\n void FileOptions::set_objc_class_prefix(const char* value) {\n  set_has_objc_class_prefix();\n  objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.objc_class_prefix)\n}\n void FileOptions::set_objc_class_prefix(const char* value, size_t size) {\n  set_has_objc_class_prefix();\n  objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.objc_class_prefix)\n}\n ::std::string* FileOptions::mutable_objc_class_prefix() {\n  set_has_objc_class_prefix();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.objc_class_prefix)\n  return objc_class_prefix_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* FileOptions::release_objc_class_prefix() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.objc_class_prefix)\n  clear_has_objc_class_prefix();\n  return objc_class_prefix_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void FileOptions::set_allocated_objc_class_prefix(::std::string* objc_class_prefix) {\n  if (objc_class_prefix != NULL) {\n    set_has_objc_class_prefix();\n  } else {\n    clear_has_objc_class_prefix();\n  }\n  objc_class_prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), objc_class_prefix);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.objc_class_prefix)\n}\n\n// optional string csharp_namespace = 37;\nbool FileOptions::has_csharp_namespace() const {\n  return (_has_bits_[0] & 0x00002000u) != 0;\n}\nvoid FileOptions::set_has_csharp_namespace() {\n  _has_bits_[0] |= 0x00002000u;\n}\nvoid FileOptions::clear_has_csharp_namespace() {\n  _has_bits_[0] &= ~0x00002000u;\n}\nvoid FileOptions::clear_csharp_namespace() {\n  csharp_namespace_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_csharp_namespace();\n}\n const ::std::string& FileOptions::csharp_namespace() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.csharp_namespace)\n  return csharp_namespace_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void FileOptions::set_csharp_namespace(const ::std::string& value) {\n  set_has_csharp_namespace();\n  csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.csharp_namespace)\n}\n void FileOptions::set_csharp_namespace(const char* value) {\n  set_has_csharp_namespace();\n  csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.csharp_namespace)\n}\n void FileOptions::set_csharp_namespace(const char* value, size_t size) {\n  set_has_csharp_namespace();\n  csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.csharp_namespace)\n}\n ::std::string* FileOptions::mutable_csharp_namespace() {\n  set_has_csharp_namespace();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.csharp_namespace)\n  return csharp_namespace_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* FileOptions::release_csharp_namespace() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.csharp_namespace)\n  clear_has_csharp_namespace();\n  return csharp_namespace_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void FileOptions::set_allocated_csharp_namespace(::std::string* csharp_namespace) {\n  if (csharp_namespace != NULL) {\n    set_has_csharp_namespace();\n  } else {\n    clear_has_csharp_namespace();\n  }\n  csharp_namespace_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), csharp_namespace);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.csharp_namespace)\n}\n\n// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\nint FileOptions::uninterpreted_option_size() const {\n  return uninterpreted_option_.size();\n}\nvoid FileOptions::clear_uninterpreted_option() {\n  uninterpreted_option_.Clear();\n}\nconst ::google::protobuf::UninterpretedOption& FileOptions::uninterpreted_option(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.uninterpreted_option)\n  return uninterpreted_option_.Get(index);\n}\n::google::protobuf::UninterpretedOption* FileOptions::mutable_uninterpreted_option(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.uninterpreted_option)\n  return uninterpreted_option_.Mutable(index);\n}\n::google::protobuf::UninterpretedOption* FileOptions::add_uninterpreted_option() {\n  // @@protoc_insertion_point(field_add:google.protobuf.FileOptions.uninterpreted_option)\n  return uninterpreted_option_.Add();\n}\n::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*\nFileOptions::mutable_uninterpreted_option() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileOptions.uninterpreted_option)\n  return &uninterpreted_option_;\n}\nconst ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&\nFileOptions::uninterpreted_option() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.FileOptions.uninterpreted_option)\n  return uninterpreted_option_;\n}\n\n#endif  // PROTOBUF_INLINE_NOT_IN_HEADERS\n\n// ===================================================================\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst int MessageOptions::kMessageSetWireFormatFieldNumber;\nconst int MessageOptions::kNoStandardDescriptorAccessorFieldNumber;\nconst int MessageOptions::kDeprecatedFieldNumber;\nconst int MessageOptions::kMapEntryFieldNumber;\nconst int MessageOptions::kUninterpretedOptionFieldNumber;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\n\nMessageOptions::MessageOptions()\n  : ::google::protobuf::Message(), _internal_metadata_(NULL) {\n  SharedCtor();\n  // @@protoc_insertion_point(constructor:google.protobuf.MessageOptions)\n}\n\nvoid MessageOptions::InitAsDefaultInstance() {\n}\n\nMessageOptions::MessageOptions(const MessageOptions& from)\n  : ::google::protobuf::Message(),\n    _internal_metadata_(NULL) {\n  SharedCtor();\n  MergeFrom(from);\n  // @@protoc_insertion_point(copy_constructor:google.protobuf.MessageOptions)\n}\n\nvoid MessageOptions::SharedCtor() {\n  _cached_size_ = 0;\n  message_set_wire_format_ = false;\n  no_standard_descriptor_accessor_ = false;\n  deprecated_ = false;\n  map_entry_ = false;\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n}\n\nMessageOptions::~MessageOptions() {\n  // @@protoc_insertion_point(destructor:google.protobuf.MessageOptions)\n  SharedDtor();\n}\n\nvoid MessageOptions::SharedDtor() {\n  if (this != default_instance_) {\n  }\n}\n\nvoid MessageOptions::SetCachedSize(int size) const {\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n}\nconst ::google::protobuf::Descriptor* MessageOptions::descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return MessageOptions_descriptor_;\n}\n\nconst MessageOptions& MessageOptions::default_instance() {\n  if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  return *default_instance_;\n}\n\nMessageOptions* MessageOptions::default_instance_ = NULL;\n\nMessageOptions* MessageOptions::New(::google::protobuf::Arena* arena) const {\n  MessageOptions* n = new MessageOptions;\n  if (arena != NULL) {\n    arena->Own(n);\n  }\n  return n;\n}\n\nvoid MessageOptions::Clear() {\n// @@protoc_insertion_point(message_clear_start:google.protobuf.MessageOptions)\n  _extensions_.Clear();\n#if defined(__clang__)\n#define ZR_HELPER_(f) \\\n  _Pragma(\"clang diagnostic push\") \\\n  _Pragma(\"clang diagnostic ignored \\\"-Winvalid-offsetof\\\"\") \\\n  __builtin_offsetof(MessageOptions, f) \\\n  _Pragma(\"clang diagnostic pop\")\n#else\n#define ZR_HELPER_(f) reinterpret_cast<char*>(\\\n  &reinterpret_cast<MessageOptions*>(16)->f)\n#endif\n\n#define ZR_(first, last) do {\\\n  ::memset(&first, 0,\\\n           ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\\\n} while (0)\n\n  ZR_(message_set_wire_format_, map_entry_);\n\n#undef ZR_HELPER_\n#undef ZR_\n\n  uninterpreted_option_.Clear();\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n  if (_internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->Clear();\n  }\n}\n\nbool MessageOptions::MergePartialFromCodedStream(\n    ::google::protobuf::io::CodedInputStream* input) {\n#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure\n  ::google::protobuf::uint32 tag;\n  // @@protoc_insertion_point(parse_start:google.protobuf.MessageOptions)\n  for (;;) {\n    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(16383);\n    tag = p.first;\n    if (!p.second) goto handle_unusual;\n    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {\n      // optional bool message_set_wire_format = 1 [default = false];\n      case 1: {\n        if (tag == 8) {\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(\n                 input, &message_set_wire_format_)));\n          set_has_message_set_wire_format();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(16)) goto parse_no_standard_descriptor_accessor;\n        break;\n      }\n\n      // optional bool no_standard_descriptor_accessor = 2 [default = false];\n      case 2: {\n        if (tag == 16) {\n         parse_no_standard_descriptor_accessor:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(\n                 input, &no_standard_descriptor_accessor_)));\n          set_has_no_standard_descriptor_accessor();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(24)) goto parse_deprecated;\n        break;\n      }\n\n      // optional bool deprecated = 3 [default = false];\n      case 3: {\n        if (tag == 24) {\n         parse_deprecated:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(\n                 input, &deprecated_)));\n          set_has_deprecated();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(56)) goto parse_map_entry;\n        break;\n      }\n\n      // optional bool map_entry = 7;\n      case 7: {\n        if (tag == 56) {\n         parse_map_entry:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(\n                 input, &map_entry_)));\n          set_has_map_entry();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(7994)) goto parse_uninterpreted_option;\n        break;\n      }\n\n      // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n      case 999: {\n        if (tag == 7994) {\n         parse_uninterpreted_option:\n          DO_(input->IncrementRecursionDepth());\n         parse_loop_uninterpreted_option:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(\n                input, add_uninterpreted_option()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(7994)) goto parse_loop_uninterpreted_option;\n        input->UnsafeDecrementRecursionDepth();\n        if (input->ExpectAtEnd()) goto success;\n        break;\n      }\n\n      default: {\n      handle_unusual:\n        if (tag == 0 ||\n            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==\n            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {\n          goto success;\n        }\n        if ((8000u <= tag)) {\n          DO_(_extensions_.ParseField(tag, input, default_instance_,\n                                      mutable_unknown_fields()));\n          continue;\n        }\n        DO_(::google::protobuf::internal::WireFormat::SkipField(\n              input, tag, mutable_unknown_fields()));\n        break;\n      }\n    }\n  }\nsuccess:\n  // @@protoc_insertion_point(parse_success:google.protobuf.MessageOptions)\n  return true;\nfailure:\n  // @@protoc_insertion_point(parse_failure:google.protobuf.MessageOptions)\n  return false;\n#undef DO_\n}\n\nvoid MessageOptions::SerializeWithCachedSizes(\n    ::google::protobuf::io::CodedOutputStream* output) const {\n  // @@protoc_insertion_point(serialize_start:google.protobuf.MessageOptions)\n  // optional bool message_set_wire_format = 1 [default = false];\n  if (has_message_set_wire_format()) {\n    ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->message_set_wire_format(), output);\n  }\n\n  // optional bool no_standard_descriptor_accessor = 2 [default = false];\n  if (has_no_standard_descriptor_accessor()) {\n    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->no_standard_descriptor_accessor(), output);\n  }\n\n  // optional bool deprecated = 3 [default = false];\n  if (has_deprecated()) {\n    ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->deprecated(), output);\n  }\n\n  // optional bool map_entry = 7;\n  if (has_map_entry()) {\n    ::google::protobuf::internal::WireFormatLite::WriteBool(7, this->map_entry(), output);\n  }\n\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  for (unsigned int i = 0, n = this->uninterpreted_option_size(); i < n; i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      999, this->uninterpreted_option(i), output);\n  }\n\n  // Extension range [1000, 536870912)\n  _extensions_.SerializeWithCachedSizes(\n      1000, 536870912, output);\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(\n        unknown_fields(), output);\n  }\n  // @@protoc_insertion_point(serialize_end:google.protobuf.MessageOptions)\n}\n\n::google::protobuf::uint8* MessageOptions::SerializeWithCachedSizesToArray(\n    ::google::protobuf::uint8* target) const {\n  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.MessageOptions)\n  // optional bool message_set_wire_format = 1 [default = false];\n  if (has_message_set_wire_format()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->message_set_wire_format(), target);\n  }\n\n  // optional bool no_standard_descriptor_accessor = 2 [default = false];\n  if (has_no_standard_descriptor_accessor()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->no_standard_descriptor_accessor(), target);\n  }\n\n  // optional bool deprecated = 3 [default = false];\n  if (has_deprecated()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->deprecated(), target);\n  }\n\n  // optional bool map_entry = 7;\n  if (has_map_entry()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(7, this->map_entry(), target);\n  }\n\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  for (unsigned int i = 0, n = this->uninterpreted_option_size(); i < n; i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        999, this->uninterpreted_option(i), target);\n  }\n\n  // Extension range [1000, 536870912)\n  target = _extensions_.SerializeWithCachedSizesToArray(\n      1000, 536870912, target);\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(\n        unknown_fields(), target);\n  }\n  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.MessageOptions)\n  return target;\n}\n\nint MessageOptions::ByteSize() const {\n// @@protoc_insertion_point(message_byte_size_start:google.protobuf.MessageOptions)\n  int total_size = 0;\n\n  if (_has_bits_[0 / 32] & 15u) {\n    // optional bool message_set_wire_format = 1 [default = false];\n    if (has_message_set_wire_format()) {\n      total_size += 1 + 1;\n    }\n\n    // optional bool no_standard_descriptor_accessor = 2 [default = false];\n    if (has_no_standard_descriptor_accessor()) {\n      total_size += 1 + 1;\n    }\n\n    // optional bool deprecated = 3 [default = false];\n    if (has_deprecated()) {\n      total_size += 1 + 1;\n    }\n\n    // optional bool map_entry = 7;\n    if (has_map_entry()) {\n      total_size += 1 + 1;\n    }\n\n  }\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  total_size += 2 * this->uninterpreted_option_size();\n  for (int i = 0; i < this->uninterpreted_option_size(); i++) {\n    total_size +=\n      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n        this->uninterpreted_option(i));\n  }\n\n  total_size += _extensions_.ByteSize();\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    total_size +=\n      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(\n        unknown_fields());\n  }\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = total_size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n  return total_size;\n}\n\nvoid MessageOptions::MergeFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.MessageOptions)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  const MessageOptions* source = \n      ::google::protobuf::internal::DynamicCastToGenerated<const MessageOptions>(\n          &from);\n  if (source == NULL) {\n  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.MessageOptions)\n    ::google::protobuf::internal::ReflectionOps::Merge(from, this);\n  } else {\n  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.MessageOptions)\n    MergeFrom(*source);\n  }\n}\n\nvoid MessageOptions::MergeFrom(const MessageOptions& from) {\n// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.MessageOptions)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  uninterpreted_option_.MergeFrom(from.uninterpreted_option_);\n  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {\n    if (from.has_message_set_wire_format()) {\n      set_message_set_wire_format(from.message_set_wire_format());\n    }\n    if (from.has_no_standard_descriptor_accessor()) {\n      set_no_standard_descriptor_accessor(from.no_standard_descriptor_accessor());\n    }\n    if (from.has_deprecated()) {\n      set_deprecated(from.deprecated());\n    }\n    if (from.has_map_entry()) {\n      set_map_entry(from.map_entry());\n    }\n  }\n  _extensions_.MergeFrom(from._extensions_);\n  if (from._internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->MergeFrom(from.unknown_fields());\n  }\n}\n\nvoid MessageOptions::CopyFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.MessageOptions)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nvoid MessageOptions::CopyFrom(const MessageOptions& from) {\n// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.MessageOptions)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nbool MessageOptions::IsInitialized() const {\n\n  if (!::google::protobuf::internal::AllAreInitialized(this->uninterpreted_option())) return false;\n\n  if (!_extensions_.IsInitialized()) return false;  return true;\n}\n\nvoid MessageOptions::Swap(MessageOptions* other) {\n  if (other == this) return;\n  InternalSwap(other);\n}\nvoid MessageOptions::InternalSwap(MessageOptions* other) {\n  std::swap(message_set_wire_format_, other->message_set_wire_format_);\n  std::swap(no_standard_descriptor_accessor_, other->no_standard_descriptor_accessor_);\n  std::swap(deprecated_, other->deprecated_);\n  std::swap(map_entry_, other->map_entry_);\n  uninterpreted_option_.UnsafeArenaSwap(&other->uninterpreted_option_);\n  std::swap(_has_bits_[0], other->_has_bits_[0]);\n  _internal_metadata_.Swap(&other->_internal_metadata_);\n  std::swap(_cached_size_, other->_cached_size_);\n  _extensions_.Swap(&other->_extensions_);\n}\n\n::google::protobuf::Metadata MessageOptions::GetMetadata() const {\n  protobuf_AssignDescriptorsOnce();\n  ::google::protobuf::Metadata metadata;\n  metadata.descriptor = MessageOptions_descriptor_;\n  metadata.reflection = MessageOptions_reflection_;\n  return metadata;\n}\n\n#if PROTOBUF_INLINE_NOT_IN_HEADERS\n// MessageOptions\n\n// optional bool message_set_wire_format = 1 [default = false];\nbool MessageOptions::has_message_set_wire_format() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\nvoid MessageOptions::set_has_message_set_wire_format() {\n  _has_bits_[0] |= 0x00000001u;\n}\nvoid MessageOptions::clear_has_message_set_wire_format() {\n  _has_bits_[0] &= ~0x00000001u;\n}\nvoid MessageOptions::clear_message_set_wire_format() {\n  message_set_wire_format_ = false;\n  clear_has_message_set_wire_format();\n}\n bool MessageOptions::message_set_wire_format() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.message_set_wire_format)\n  return message_set_wire_format_;\n}\n void MessageOptions::set_message_set_wire_format(bool value) {\n  set_has_message_set_wire_format();\n  message_set_wire_format_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.message_set_wire_format)\n}\n\n// optional bool no_standard_descriptor_accessor = 2 [default = false];\nbool MessageOptions::has_no_standard_descriptor_accessor() const {\n  return (_has_bits_[0] & 0x00000002u) != 0;\n}\nvoid MessageOptions::set_has_no_standard_descriptor_accessor() {\n  _has_bits_[0] |= 0x00000002u;\n}\nvoid MessageOptions::clear_has_no_standard_descriptor_accessor() {\n  _has_bits_[0] &= ~0x00000002u;\n}\nvoid MessageOptions::clear_no_standard_descriptor_accessor() {\n  no_standard_descriptor_accessor_ = false;\n  clear_has_no_standard_descriptor_accessor();\n}\n bool MessageOptions::no_standard_descriptor_accessor() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.no_standard_descriptor_accessor)\n  return no_standard_descriptor_accessor_;\n}\n void MessageOptions::set_no_standard_descriptor_accessor(bool value) {\n  set_has_no_standard_descriptor_accessor();\n  no_standard_descriptor_accessor_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.no_standard_descriptor_accessor)\n}\n\n// optional bool deprecated = 3 [default = false];\nbool MessageOptions::has_deprecated() const {\n  return (_has_bits_[0] & 0x00000004u) != 0;\n}\nvoid MessageOptions::set_has_deprecated() {\n  _has_bits_[0] |= 0x00000004u;\n}\nvoid MessageOptions::clear_has_deprecated() {\n  _has_bits_[0] &= ~0x00000004u;\n}\nvoid MessageOptions::clear_deprecated() {\n  deprecated_ = false;\n  clear_has_deprecated();\n}\n bool MessageOptions::deprecated() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.deprecated)\n  return deprecated_;\n}\n void MessageOptions::set_deprecated(bool value) {\n  set_has_deprecated();\n  deprecated_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.deprecated)\n}\n\n// optional bool map_entry = 7;\nbool MessageOptions::has_map_entry() const {\n  return (_has_bits_[0] & 0x00000008u) != 0;\n}\nvoid MessageOptions::set_has_map_entry() {\n  _has_bits_[0] |= 0x00000008u;\n}\nvoid MessageOptions::clear_has_map_entry() {\n  _has_bits_[0] &= ~0x00000008u;\n}\nvoid MessageOptions::clear_map_entry() {\n  map_entry_ = false;\n  clear_has_map_entry();\n}\n bool MessageOptions::map_entry() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.map_entry)\n  return map_entry_;\n}\n void MessageOptions::set_map_entry(bool value) {\n  set_has_map_entry();\n  map_entry_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.map_entry)\n}\n\n// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\nint MessageOptions::uninterpreted_option_size() const {\n  return uninterpreted_option_.size();\n}\nvoid MessageOptions::clear_uninterpreted_option() {\n  uninterpreted_option_.Clear();\n}\nconst ::google::protobuf::UninterpretedOption& MessageOptions::uninterpreted_option(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.uninterpreted_option)\n  return uninterpreted_option_.Get(index);\n}\n::google::protobuf::UninterpretedOption* MessageOptions::mutable_uninterpreted_option(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.MessageOptions.uninterpreted_option)\n  return uninterpreted_option_.Mutable(index);\n}\n::google::protobuf::UninterpretedOption* MessageOptions::add_uninterpreted_option() {\n  // @@protoc_insertion_point(field_add:google.protobuf.MessageOptions.uninterpreted_option)\n  return uninterpreted_option_.Add();\n}\n::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*\nMessageOptions::mutable_uninterpreted_option() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.MessageOptions.uninterpreted_option)\n  return &uninterpreted_option_;\n}\nconst ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&\nMessageOptions::uninterpreted_option() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.MessageOptions.uninterpreted_option)\n  return uninterpreted_option_;\n}\n\n#endif  // PROTOBUF_INLINE_NOT_IN_HEADERS\n\n// ===================================================================\n\nconst ::google::protobuf::EnumDescriptor* FieldOptions_CType_descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return FieldOptions_CType_descriptor_;\n}\nbool FieldOptions_CType_IsValid(int value) {\n  switch(value) {\n    case 0:\n    case 1:\n    case 2:\n      return true;\n    default:\n      return false;\n  }\n}\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst FieldOptions_CType FieldOptions::STRING;\nconst FieldOptions_CType FieldOptions::CORD;\nconst FieldOptions_CType FieldOptions::STRING_PIECE;\nconst FieldOptions_CType FieldOptions::CType_MIN;\nconst FieldOptions_CType FieldOptions::CType_MAX;\nconst int FieldOptions::CType_ARRAYSIZE;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\nconst ::google::protobuf::EnumDescriptor* FieldOptions_JSType_descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return FieldOptions_JSType_descriptor_;\n}\nbool FieldOptions_JSType_IsValid(int value) {\n  switch(value) {\n    case 0:\n    case 1:\n    case 2:\n      return true;\n    default:\n      return false;\n  }\n}\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst FieldOptions_JSType FieldOptions::JS_NORMAL;\nconst FieldOptions_JSType FieldOptions::JS_STRING;\nconst FieldOptions_JSType FieldOptions::JS_NUMBER;\nconst FieldOptions_JSType FieldOptions::JSType_MIN;\nconst FieldOptions_JSType FieldOptions::JSType_MAX;\nconst int FieldOptions::JSType_ARRAYSIZE;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst int FieldOptions::kCtypeFieldNumber;\nconst int FieldOptions::kPackedFieldNumber;\nconst int FieldOptions::kJstypeFieldNumber;\nconst int FieldOptions::kLazyFieldNumber;\nconst int FieldOptions::kDeprecatedFieldNumber;\nconst int FieldOptions::kWeakFieldNumber;\nconst int FieldOptions::kUninterpretedOptionFieldNumber;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\n\nFieldOptions::FieldOptions()\n  : ::google::protobuf::Message(), _internal_metadata_(NULL) {\n  SharedCtor();\n  // @@protoc_insertion_point(constructor:google.protobuf.FieldOptions)\n}\n\nvoid FieldOptions::InitAsDefaultInstance() {\n}\n\nFieldOptions::FieldOptions(const FieldOptions& from)\n  : ::google::protobuf::Message(),\n    _internal_metadata_(NULL) {\n  SharedCtor();\n  MergeFrom(from);\n  // @@protoc_insertion_point(copy_constructor:google.protobuf.FieldOptions)\n}\n\nvoid FieldOptions::SharedCtor() {\n  _cached_size_ = 0;\n  ctype_ = 0;\n  packed_ = false;\n  jstype_ = 0;\n  lazy_ = false;\n  deprecated_ = false;\n  weak_ = false;\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n}\n\nFieldOptions::~FieldOptions() {\n  // @@protoc_insertion_point(destructor:google.protobuf.FieldOptions)\n  SharedDtor();\n}\n\nvoid FieldOptions::SharedDtor() {\n  if (this != default_instance_) {\n  }\n}\n\nvoid FieldOptions::SetCachedSize(int size) const {\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n}\nconst ::google::protobuf::Descriptor* FieldOptions::descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return FieldOptions_descriptor_;\n}\n\nconst FieldOptions& FieldOptions::default_instance() {\n  if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  return *default_instance_;\n}\n\nFieldOptions* FieldOptions::default_instance_ = NULL;\n\nFieldOptions* FieldOptions::New(::google::protobuf::Arena* arena) const {\n  FieldOptions* n = new FieldOptions;\n  if (arena != NULL) {\n    arena->Own(n);\n  }\n  return n;\n}\n\nvoid FieldOptions::Clear() {\n// @@protoc_insertion_point(message_clear_start:google.protobuf.FieldOptions)\n  _extensions_.Clear();\n#if defined(__clang__)\n#define ZR_HELPER_(f) \\\n  _Pragma(\"clang diagnostic push\") \\\n  _Pragma(\"clang diagnostic ignored \\\"-Winvalid-offsetof\\\"\") \\\n  __builtin_offsetof(FieldOptions, f) \\\n  _Pragma(\"clang diagnostic pop\")\n#else\n#define ZR_HELPER_(f) reinterpret_cast<char*>(\\\n  &reinterpret_cast<FieldOptions*>(16)->f)\n#endif\n\n#define ZR_(first, last) do {\\\n  ::memset(&first, 0,\\\n           ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\\\n} while (0)\n\n  if (_has_bits_[0 / 32] & 63u) {\n    ZR_(ctype_, jstype_);\n    ZR_(packed_, weak_);\n  }\n\n#undef ZR_HELPER_\n#undef ZR_\n\n  uninterpreted_option_.Clear();\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n  if (_internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->Clear();\n  }\n}\n\nbool FieldOptions::MergePartialFromCodedStream(\n    ::google::protobuf::io::CodedInputStream* input) {\n#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure\n  ::google::protobuf::uint32 tag;\n  // @@protoc_insertion_point(parse_start:google.protobuf.FieldOptions)\n  for (;;) {\n    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(16383);\n    tag = p.first;\n    if (!p.second) goto handle_unusual;\n    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {\n      // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];\n      case 1: {\n        if (tag == 8) {\n          int value;\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(\n                 input, &value)));\n          if (::google::protobuf::FieldOptions_CType_IsValid(value)) {\n            set_ctype(static_cast< ::google::protobuf::FieldOptions_CType >(value));\n          } else {\n            mutable_unknown_fields()->AddVarint(1, value);\n          }\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(16)) goto parse_packed;\n        break;\n      }\n\n      // optional bool packed = 2;\n      case 2: {\n        if (tag == 16) {\n         parse_packed:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(\n                 input, &packed_)));\n          set_has_packed();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(24)) goto parse_deprecated;\n        break;\n      }\n\n      // optional bool deprecated = 3 [default = false];\n      case 3: {\n        if (tag == 24) {\n         parse_deprecated:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(\n                 input, &deprecated_)));\n          set_has_deprecated();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(40)) goto parse_lazy;\n        break;\n      }\n\n      // optional bool lazy = 5 [default = false];\n      case 5: {\n        if (tag == 40) {\n         parse_lazy:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(\n                 input, &lazy_)));\n          set_has_lazy();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(48)) goto parse_jstype;\n        break;\n      }\n\n      // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];\n      case 6: {\n        if (tag == 48) {\n         parse_jstype:\n          int value;\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(\n                 input, &value)));\n          if (::google::protobuf::FieldOptions_JSType_IsValid(value)) {\n            set_jstype(static_cast< ::google::protobuf::FieldOptions_JSType >(value));\n          } else {\n            mutable_unknown_fields()->AddVarint(6, value);\n          }\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(80)) goto parse_weak;\n        break;\n      }\n\n      // optional bool weak = 10 [default = false];\n      case 10: {\n        if (tag == 80) {\n         parse_weak:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(\n                 input, &weak_)));\n          set_has_weak();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(7994)) goto parse_uninterpreted_option;\n        break;\n      }\n\n      // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n      case 999: {\n        if (tag == 7994) {\n         parse_uninterpreted_option:\n          DO_(input->IncrementRecursionDepth());\n         parse_loop_uninterpreted_option:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(\n                input, add_uninterpreted_option()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(7994)) goto parse_loop_uninterpreted_option;\n        input->UnsafeDecrementRecursionDepth();\n        if (input->ExpectAtEnd()) goto success;\n        break;\n      }\n\n      default: {\n      handle_unusual:\n        if (tag == 0 ||\n            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==\n            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {\n          goto success;\n        }\n        if ((8000u <= tag)) {\n          DO_(_extensions_.ParseField(tag, input, default_instance_,\n                                      mutable_unknown_fields()));\n          continue;\n        }\n        DO_(::google::protobuf::internal::WireFormat::SkipField(\n              input, tag, mutable_unknown_fields()));\n        break;\n      }\n    }\n  }\nsuccess:\n  // @@protoc_insertion_point(parse_success:google.protobuf.FieldOptions)\n  return true;\nfailure:\n  // @@protoc_insertion_point(parse_failure:google.protobuf.FieldOptions)\n  return false;\n#undef DO_\n}\n\nvoid FieldOptions::SerializeWithCachedSizes(\n    ::google::protobuf::io::CodedOutputStream* output) const {\n  // @@protoc_insertion_point(serialize_start:google.protobuf.FieldOptions)\n  // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];\n  if (has_ctype()) {\n    ::google::protobuf::internal::WireFormatLite::WriteEnum(\n      1, this->ctype(), output);\n  }\n\n  // optional bool packed = 2;\n  if (has_packed()) {\n    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->packed(), output);\n  }\n\n  // optional bool deprecated = 3 [default = false];\n  if (has_deprecated()) {\n    ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->deprecated(), output);\n  }\n\n  // optional bool lazy = 5 [default = false];\n  if (has_lazy()) {\n    ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->lazy(), output);\n  }\n\n  // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];\n  if (has_jstype()) {\n    ::google::protobuf::internal::WireFormatLite::WriteEnum(\n      6, this->jstype(), output);\n  }\n\n  // optional bool weak = 10 [default = false];\n  if (has_weak()) {\n    ::google::protobuf::internal::WireFormatLite::WriteBool(10, this->weak(), output);\n  }\n\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  for (unsigned int i = 0, n = this->uninterpreted_option_size(); i < n; i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      999, this->uninterpreted_option(i), output);\n  }\n\n  // Extension range [1000, 536870912)\n  _extensions_.SerializeWithCachedSizes(\n      1000, 536870912, output);\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(\n        unknown_fields(), output);\n  }\n  // @@protoc_insertion_point(serialize_end:google.protobuf.FieldOptions)\n}\n\n::google::protobuf::uint8* FieldOptions::SerializeWithCachedSizesToArray(\n    ::google::protobuf::uint8* target) const {\n  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FieldOptions)\n  // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];\n  if (has_ctype()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(\n      1, this->ctype(), target);\n  }\n\n  // optional bool packed = 2;\n  if (has_packed()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->packed(), target);\n  }\n\n  // optional bool deprecated = 3 [default = false];\n  if (has_deprecated()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->deprecated(), target);\n  }\n\n  // optional bool lazy = 5 [default = false];\n  if (has_lazy()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->lazy(), target);\n  }\n\n  // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];\n  if (has_jstype()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(\n      6, this->jstype(), target);\n  }\n\n  // optional bool weak = 10 [default = false];\n  if (has_weak()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(10, this->weak(), target);\n  }\n\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  for (unsigned int i = 0, n = this->uninterpreted_option_size(); i < n; i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        999, this->uninterpreted_option(i), target);\n  }\n\n  // Extension range [1000, 536870912)\n  target = _extensions_.SerializeWithCachedSizesToArray(\n      1000, 536870912, target);\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(\n        unknown_fields(), target);\n  }\n  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FieldOptions)\n  return target;\n}\n\nint FieldOptions::ByteSize() const {\n// @@protoc_insertion_point(message_byte_size_start:google.protobuf.FieldOptions)\n  int total_size = 0;\n\n  if (_has_bits_[0 / 32] & 63u) {\n    // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];\n    if (has_ctype()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::EnumSize(this->ctype());\n    }\n\n    // optional bool packed = 2;\n    if (has_packed()) {\n      total_size += 1 + 1;\n    }\n\n    // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];\n    if (has_jstype()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::EnumSize(this->jstype());\n    }\n\n    // optional bool lazy = 5 [default = false];\n    if (has_lazy()) {\n      total_size += 1 + 1;\n    }\n\n    // optional bool deprecated = 3 [default = false];\n    if (has_deprecated()) {\n      total_size += 1 + 1;\n    }\n\n    // optional bool weak = 10 [default = false];\n    if (has_weak()) {\n      total_size += 1 + 1;\n    }\n\n  }\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  total_size += 2 * this->uninterpreted_option_size();\n  for (int i = 0; i < this->uninterpreted_option_size(); i++) {\n    total_size +=\n      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n        this->uninterpreted_option(i));\n  }\n\n  total_size += _extensions_.ByteSize();\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    total_size +=\n      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(\n        unknown_fields());\n  }\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = total_size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n  return total_size;\n}\n\nvoid FieldOptions::MergeFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.FieldOptions)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  const FieldOptions* source = \n      ::google::protobuf::internal::DynamicCastToGenerated<const FieldOptions>(\n          &from);\n  if (source == NULL) {\n  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.FieldOptions)\n    ::google::protobuf::internal::ReflectionOps::Merge(from, this);\n  } else {\n  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.FieldOptions)\n    MergeFrom(*source);\n  }\n}\n\nvoid FieldOptions::MergeFrom(const FieldOptions& from) {\n// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FieldOptions)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  uninterpreted_option_.MergeFrom(from.uninterpreted_option_);\n  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {\n    if (from.has_ctype()) {\n      set_ctype(from.ctype());\n    }\n    if (from.has_packed()) {\n      set_packed(from.packed());\n    }\n    if (from.has_jstype()) {\n      set_jstype(from.jstype());\n    }\n    if (from.has_lazy()) {\n      set_lazy(from.lazy());\n    }\n    if (from.has_deprecated()) {\n      set_deprecated(from.deprecated());\n    }\n    if (from.has_weak()) {\n      set_weak(from.weak());\n    }\n  }\n  _extensions_.MergeFrom(from._extensions_);\n  if (from._internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->MergeFrom(from.unknown_fields());\n  }\n}\n\nvoid FieldOptions::CopyFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.FieldOptions)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nvoid FieldOptions::CopyFrom(const FieldOptions& from) {\n// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FieldOptions)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nbool FieldOptions::IsInitialized() const {\n\n  if (!::google::protobuf::internal::AllAreInitialized(this->uninterpreted_option())) return false;\n\n  if (!_extensions_.IsInitialized()) return false;  return true;\n}\n\nvoid FieldOptions::Swap(FieldOptions* other) {\n  if (other == this) return;\n  InternalSwap(other);\n}\nvoid FieldOptions::InternalSwap(FieldOptions* other) {\n  std::swap(ctype_, other->ctype_);\n  std::swap(packed_, other->packed_);\n  std::swap(jstype_, other->jstype_);\n  std::swap(lazy_, other->lazy_);\n  std::swap(deprecated_, other->deprecated_);\n  std::swap(weak_, other->weak_);\n  uninterpreted_option_.UnsafeArenaSwap(&other->uninterpreted_option_);\n  std::swap(_has_bits_[0], other->_has_bits_[0]);\n  _internal_metadata_.Swap(&other->_internal_metadata_);\n  std::swap(_cached_size_, other->_cached_size_);\n  _extensions_.Swap(&other->_extensions_);\n}\n\n::google::protobuf::Metadata FieldOptions::GetMetadata() const {\n  protobuf_AssignDescriptorsOnce();\n  ::google::protobuf::Metadata metadata;\n  metadata.descriptor = FieldOptions_descriptor_;\n  metadata.reflection = FieldOptions_reflection_;\n  return metadata;\n}\n\n#if PROTOBUF_INLINE_NOT_IN_HEADERS\n// FieldOptions\n\n// optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];\nbool FieldOptions::has_ctype() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\nvoid FieldOptions::set_has_ctype() {\n  _has_bits_[0] |= 0x00000001u;\n}\nvoid FieldOptions::clear_has_ctype() {\n  _has_bits_[0] &= ~0x00000001u;\n}\nvoid FieldOptions::clear_ctype() {\n  ctype_ = 0;\n  clear_has_ctype();\n}\n ::google::protobuf::FieldOptions_CType FieldOptions::ctype() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.ctype)\n  return static_cast< ::google::protobuf::FieldOptions_CType >(ctype_);\n}\n void FieldOptions::set_ctype(::google::protobuf::FieldOptions_CType value) {\n  assert(::google::protobuf::FieldOptions_CType_IsValid(value));\n  set_has_ctype();\n  ctype_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.ctype)\n}\n\n// optional bool packed = 2;\nbool FieldOptions::has_packed() const {\n  return (_has_bits_[0] & 0x00000002u) != 0;\n}\nvoid FieldOptions::set_has_packed() {\n  _has_bits_[0] |= 0x00000002u;\n}\nvoid FieldOptions::clear_has_packed() {\n  _has_bits_[0] &= ~0x00000002u;\n}\nvoid FieldOptions::clear_packed() {\n  packed_ = false;\n  clear_has_packed();\n}\n bool FieldOptions::packed() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.packed)\n  return packed_;\n}\n void FieldOptions::set_packed(bool value) {\n  set_has_packed();\n  packed_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.packed)\n}\n\n// optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];\nbool FieldOptions::has_jstype() const {\n  return (_has_bits_[0] & 0x00000004u) != 0;\n}\nvoid FieldOptions::set_has_jstype() {\n  _has_bits_[0] |= 0x00000004u;\n}\nvoid FieldOptions::clear_has_jstype() {\n  _has_bits_[0] &= ~0x00000004u;\n}\nvoid FieldOptions::clear_jstype() {\n  jstype_ = 0;\n  clear_has_jstype();\n}\n ::google::protobuf::FieldOptions_JSType FieldOptions::jstype() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.jstype)\n  return static_cast< ::google::protobuf::FieldOptions_JSType >(jstype_);\n}\n void FieldOptions::set_jstype(::google::protobuf::FieldOptions_JSType value) {\n  assert(::google::protobuf::FieldOptions_JSType_IsValid(value));\n  set_has_jstype();\n  jstype_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.jstype)\n}\n\n// optional bool lazy = 5 [default = false];\nbool FieldOptions::has_lazy() const {\n  return (_has_bits_[0] & 0x00000008u) != 0;\n}\nvoid FieldOptions::set_has_lazy() {\n  _has_bits_[0] |= 0x00000008u;\n}\nvoid FieldOptions::clear_has_lazy() {\n  _has_bits_[0] &= ~0x00000008u;\n}\nvoid FieldOptions::clear_lazy() {\n  lazy_ = false;\n  clear_has_lazy();\n}\n bool FieldOptions::lazy() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.lazy)\n  return lazy_;\n}\n void FieldOptions::set_lazy(bool value) {\n  set_has_lazy();\n  lazy_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.lazy)\n}\n\n// optional bool deprecated = 3 [default = false];\nbool FieldOptions::has_deprecated() const {\n  return (_has_bits_[0] & 0x00000010u) != 0;\n}\nvoid FieldOptions::set_has_deprecated() {\n  _has_bits_[0] |= 0x00000010u;\n}\nvoid FieldOptions::clear_has_deprecated() {\n  _has_bits_[0] &= ~0x00000010u;\n}\nvoid FieldOptions::clear_deprecated() {\n  deprecated_ = false;\n  clear_has_deprecated();\n}\n bool FieldOptions::deprecated() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.deprecated)\n  return deprecated_;\n}\n void FieldOptions::set_deprecated(bool value) {\n  set_has_deprecated();\n  deprecated_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.deprecated)\n}\n\n// optional bool weak = 10 [default = false];\nbool FieldOptions::has_weak() const {\n  return (_has_bits_[0] & 0x00000020u) != 0;\n}\nvoid FieldOptions::set_has_weak() {\n  _has_bits_[0] |= 0x00000020u;\n}\nvoid FieldOptions::clear_has_weak() {\n  _has_bits_[0] &= ~0x00000020u;\n}\nvoid FieldOptions::clear_weak() {\n  weak_ = false;\n  clear_has_weak();\n}\n bool FieldOptions::weak() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.weak)\n  return weak_;\n}\n void FieldOptions::set_weak(bool value) {\n  set_has_weak();\n  weak_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.weak)\n}\n\n// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\nint FieldOptions::uninterpreted_option_size() const {\n  return uninterpreted_option_.size();\n}\nvoid FieldOptions::clear_uninterpreted_option() {\n  uninterpreted_option_.Clear();\n}\nconst ::google::protobuf::UninterpretedOption& FieldOptions::uninterpreted_option(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.uninterpreted_option)\n  return uninterpreted_option_.Get(index);\n}\n::google::protobuf::UninterpretedOption* FieldOptions::mutable_uninterpreted_option(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.uninterpreted_option)\n  return uninterpreted_option_.Mutable(index);\n}\n::google::protobuf::UninterpretedOption* FieldOptions::add_uninterpreted_option() {\n  // @@protoc_insertion_point(field_add:google.protobuf.FieldOptions.uninterpreted_option)\n  return uninterpreted_option_.Add();\n}\n::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*\nFieldOptions::mutable_uninterpreted_option() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.FieldOptions.uninterpreted_option)\n  return &uninterpreted_option_;\n}\nconst ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&\nFieldOptions::uninterpreted_option() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.uninterpreted_option)\n  return uninterpreted_option_;\n}\n\n#endif  // PROTOBUF_INLINE_NOT_IN_HEADERS\n\n// ===================================================================\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst int EnumOptions::kAllowAliasFieldNumber;\nconst int EnumOptions::kDeprecatedFieldNumber;\nconst int EnumOptions::kUninterpretedOptionFieldNumber;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\n\nEnumOptions::EnumOptions()\n  : ::google::protobuf::Message(), _internal_metadata_(NULL) {\n  SharedCtor();\n  // @@protoc_insertion_point(constructor:google.protobuf.EnumOptions)\n}\n\nvoid EnumOptions::InitAsDefaultInstance() {\n}\n\nEnumOptions::EnumOptions(const EnumOptions& from)\n  : ::google::protobuf::Message(),\n    _internal_metadata_(NULL) {\n  SharedCtor();\n  MergeFrom(from);\n  // @@protoc_insertion_point(copy_constructor:google.protobuf.EnumOptions)\n}\n\nvoid EnumOptions::SharedCtor() {\n  _cached_size_ = 0;\n  allow_alias_ = false;\n  deprecated_ = false;\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n}\n\nEnumOptions::~EnumOptions() {\n  // @@protoc_insertion_point(destructor:google.protobuf.EnumOptions)\n  SharedDtor();\n}\n\nvoid EnumOptions::SharedDtor() {\n  if (this != default_instance_) {\n  }\n}\n\nvoid EnumOptions::SetCachedSize(int size) const {\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n}\nconst ::google::protobuf::Descriptor* EnumOptions::descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return EnumOptions_descriptor_;\n}\n\nconst EnumOptions& EnumOptions::default_instance() {\n  if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  return *default_instance_;\n}\n\nEnumOptions* EnumOptions::default_instance_ = NULL;\n\nEnumOptions* EnumOptions::New(::google::protobuf::Arena* arena) const {\n  EnumOptions* n = new EnumOptions;\n  if (arena != NULL) {\n    arena->Own(n);\n  }\n  return n;\n}\n\nvoid EnumOptions::Clear() {\n// @@protoc_insertion_point(message_clear_start:google.protobuf.EnumOptions)\n  _extensions_.Clear();\n#if defined(__clang__)\n#define ZR_HELPER_(f) \\\n  _Pragma(\"clang diagnostic push\") \\\n  _Pragma(\"clang diagnostic ignored \\\"-Winvalid-offsetof\\\"\") \\\n  __builtin_offsetof(EnumOptions, f) \\\n  _Pragma(\"clang diagnostic pop\")\n#else\n#define ZR_HELPER_(f) reinterpret_cast<char*>(\\\n  &reinterpret_cast<EnumOptions*>(16)->f)\n#endif\n\n#define ZR_(first, last) do {\\\n  ::memset(&first, 0,\\\n           ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\\\n} while (0)\n\n  ZR_(allow_alias_, deprecated_);\n\n#undef ZR_HELPER_\n#undef ZR_\n\n  uninterpreted_option_.Clear();\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n  if (_internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->Clear();\n  }\n}\n\nbool EnumOptions::MergePartialFromCodedStream(\n    ::google::protobuf::io::CodedInputStream* input) {\n#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure\n  ::google::protobuf::uint32 tag;\n  // @@protoc_insertion_point(parse_start:google.protobuf.EnumOptions)\n  for (;;) {\n    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(16383);\n    tag = p.first;\n    if (!p.second) goto handle_unusual;\n    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {\n      // optional bool allow_alias = 2;\n      case 2: {\n        if (tag == 16) {\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(\n                 input, &allow_alias_)));\n          set_has_allow_alias();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(24)) goto parse_deprecated;\n        break;\n      }\n\n      // optional bool deprecated = 3 [default = false];\n      case 3: {\n        if (tag == 24) {\n         parse_deprecated:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(\n                 input, &deprecated_)));\n          set_has_deprecated();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(7994)) goto parse_uninterpreted_option;\n        break;\n      }\n\n      // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n      case 999: {\n        if (tag == 7994) {\n         parse_uninterpreted_option:\n          DO_(input->IncrementRecursionDepth());\n         parse_loop_uninterpreted_option:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(\n                input, add_uninterpreted_option()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(7994)) goto parse_loop_uninterpreted_option;\n        input->UnsafeDecrementRecursionDepth();\n        if (input->ExpectAtEnd()) goto success;\n        break;\n      }\n\n      default: {\n      handle_unusual:\n        if (tag == 0 ||\n            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==\n            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {\n          goto success;\n        }\n        if ((8000u <= tag)) {\n          DO_(_extensions_.ParseField(tag, input, default_instance_,\n                                      mutable_unknown_fields()));\n          continue;\n        }\n        DO_(::google::protobuf::internal::WireFormat::SkipField(\n              input, tag, mutable_unknown_fields()));\n        break;\n      }\n    }\n  }\nsuccess:\n  // @@protoc_insertion_point(parse_success:google.protobuf.EnumOptions)\n  return true;\nfailure:\n  // @@protoc_insertion_point(parse_failure:google.protobuf.EnumOptions)\n  return false;\n#undef DO_\n}\n\nvoid EnumOptions::SerializeWithCachedSizes(\n    ::google::protobuf::io::CodedOutputStream* output) const {\n  // @@protoc_insertion_point(serialize_start:google.protobuf.EnumOptions)\n  // optional bool allow_alias = 2;\n  if (has_allow_alias()) {\n    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->allow_alias(), output);\n  }\n\n  // optional bool deprecated = 3 [default = false];\n  if (has_deprecated()) {\n    ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->deprecated(), output);\n  }\n\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  for (unsigned int i = 0, n = this->uninterpreted_option_size(); i < n; i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      999, this->uninterpreted_option(i), output);\n  }\n\n  // Extension range [1000, 536870912)\n  _extensions_.SerializeWithCachedSizes(\n      1000, 536870912, output);\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(\n        unknown_fields(), output);\n  }\n  // @@protoc_insertion_point(serialize_end:google.protobuf.EnumOptions)\n}\n\n::google::protobuf::uint8* EnumOptions::SerializeWithCachedSizesToArray(\n    ::google::protobuf::uint8* target) const {\n  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumOptions)\n  // optional bool allow_alias = 2;\n  if (has_allow_alias()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->allow_alias(), target);\n  }\n\n  // optional bool deprecated = 3 [default = false];\n  if (has_deprecated()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->deprecated(), target);\n  }\n\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  for (unsigned int i = 0, n = this->uninterpreted_option_size(); i < n; i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        999, this->uninterpreted_option(i), target);\n  }\n\n  // Extension range [1000, 536870912)\n  target = _extensions_.SerializeWithCachedSizesToArray(\n      1000, 536870912, target);\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(\n        unknown_fields(), target);\n  }\n  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.EnumOptions)\n  return target;\n}\n\nint EnumOptions::ByteSize() const {\n// @@protoc_insertion_point(message_byte_size_start:google.protobuf.EnumOptions)\n  int total_size = 0;\n\n  if (_has_bits_[0 / 32] & 3u) {\n    // optional bool allow_alias = 2;\n    if (has_allow_alias()) {\n      total_size += 1 + 1;\n    }\n\n    // optional bool deprecated = 3 [default = false];\n    if (has_deprecated()) {\n      total_size += 1 + 1;\n    }\n\n  }\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  total_size += 2 * this->uninterpreted_option_size();\n  for (int i = 0; i < this->uninterpreted_option_size(); i++) {\n    total_size +=\n      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n        this->uninterpreted_option(i));\n  }\n\n  total_size += _extensions_.ByteSize();\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    total_size +=\n      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(\n        unknown_fields());\n  }\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = total_size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n  return total_size;\n}\n\nvoid EnumOptions::MergeFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.EnumOptions)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  const EnumOptions* source = \n      ::google::protobuf::internal::DynamicCastToGenerated<const EnumOptions>(\n          &from);\n  if (source == NULL) {\n  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.EnumOptions)\n    ::google::protobuf::internal::ReflectionOps::Merge(from, this);\n  } else {\n  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.EnumOptions)\n    MergeFrom(*source);\n  }\n}\n\nvoid EnumOptions::MergeFrom(const EnumOptions& from) {\n// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.EnumOptions)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  uninterpreted_option_.MergeFrom(from.uninterpreted_option_);\n  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {\n    if (from.has_allow_alias()) {\n      set_allow_alias(from.allow_alias());\n    }\n    if (from.has_deprecated()) {\n      set_deprecated(from.deprecated());\n    }\n  }\n  _extensions_.MergeFrom(from._extensions_);\n  if (from._internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->MergeFrom(from.unknown_fields());\n  }\n}\n\nvoid EnumOptions::CopyFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.EnumOptions)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nvoid EnumOptions::CopyFrom(const EnumOptions& from) {\n// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.EnumOptions)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nbool EnumOptions::IsInitialized() const {\n\n  if (!::google::protobuf::internal::AllAreInitialized(this->uninterpreted_option())) return false;\n\n  if (!_extensions_.IsInitialized()) return false;  return true;\n}\n\nvoid EnumOptions::Swap(EnumOptions* other) {\n  if (other == this) return;\n  InternalSwap(other);\n}\nvoid EnumOptions::InternalSwap(EnumOptions* other) {\n  std::swap(allow_alias_, other->allow_alias_);\n  std::swap(deprecated_, other->deprecated_);\n  uninterpreted_option_.UnsafeArenaSwap(&other->uninterpreted_option_);\n  std::swap(_has_bits_[0], other->_has_bits_[0]);\n  _internal_metadata_.Swap(&other->_internal_metadata_);\n  std::swap(_cached_size_, other->_cached_size_);\n  _extensions_.Swap(&other->_extensions_);\n}\n\n::google::protobuf::Metadata EnumOptions::GetMetadata() const {\n  protobuf_AssignDescriptorsOnce();\n  ::google::protobuf::Metadata metadata;\n  metadata.descriptor = EnumOptions_descriptor_;\n  metadata.reflection = EnumOptions_reflection_;\n  return metadata;\n}\n\n#if PROTOBUF_INLINE_NOT_IN_HEADERS\n// EnumOptions\n\n// optional bool allow_alias = 2;\nbool EnumOptions::has_allow_alias() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\nvoid EnumOptions::set_has_allow_alias() {\n  _has_bits_[0] |= 0x00000001u;\n}\nvoid EnumOptions::clear_has_allow_alias() {\n  _has_bits_[0] &= ~0x00000001u;\n}\nvoid EnumOptions::clear_allow_alias() {\n  allow_alias_ = false;\n  clear_has_allow_alias();\n}\n bool EnumOptions::allow_alias() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.allow_alias)\n  return allow_alias_;\n}\n void EnumOptions::set_allow_alias(bool value) {\n  set_has_allow_alias();\n  allow_alias_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.allow_alias)\n}\n\n// optional bool deprecated = 3 [default = false];\nbool EnumOptions::has_deprecated() const {\n  return (_has_bits_[0] & 0x00000002u) != 0;\n}\nvoid EnumOptions::set_has_deprecated() {\n  _has_bits_[0] |= 0x00000002u;\n}\nvoid EnumOptions::clear_has_deprecated() {\n  _has_bits_[0] &= ~0x00000002u;\n}\nvoid EnumOptions::clear_deprecated() {\n  deprecated_ = false;\n  clear_has_deprecated();\n}\n bool EnumOptions::deprecated() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.deprecated)\n  return deprecated_;\n}\n void EnumOptions::set_deprecated(bool value) {\n  set_has_deprecated();\n  deprecated_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.deprecated)\n}\n\n// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\nint EnumOptions::uninterpreted_option_size() const {\n  return uninterpreted_option_.size();\n}\nvoid EnumOptions::clear_uninterpreted_option() {\n  uninterpreted_option_.Clear();\n}\nconst ::google::protobuf::UninterpretedOption& EnumOptions::uninterpreted_option(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.uninterpreted_option)\n  return uninterpreted_option_.Get(index);\n}\n::google::protobuf::UninterpretedOption* EnumOptions::mutable_uninterpreted_option(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.EnumOptions.uninterpreted_option)\n  return uninterpreted_option_.Mutable(index);\n}\n::google::protobuf::UninterpretedOption* EnumOptions::add_uninterpreted_option() {\n  // @@protoc_insertion_point(field_add:google.protobuf.EnumOptions.uninterpreted_option)\n  return uninterpreted_option_.Add();\n}\n::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*\nEnumOptions::mutable_uninterpreted_option() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumOptions.uninterpreted_option)\n  return &uninterpreted_option_;\n}\nconst ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&\nEnumOptions::uninterpreted_option() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.EnumOptions.uninterpreted_option)\n  return uninterpreted_option_;\n}\n\n#endif  // PROTOBUF_INLINE_NOT_IN_HEADERS\n\n// ===================================================================\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst int EnumValueOptions::kDeprecatedFieldNumber;\nconst int EnumValueOptions::kUninterpretedOptionFieldNumber;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\n\nEnumValueOptions::EnumValueOptions()\n  : ::google::protobuf::Message(), _internal_metadata_(NULL) {\n  SharedCtor();\n  // @@protoc_insertion_point(constructor:google.protobuf.EnumValueOptions)\n}\n\nvoid EnumValueOptions::InitAsDefaultInstance() {\n}\n\nEnumValueOptions::EnumValueOptions(const EnumValueOptions& from)\n  : ::google::protobuf::Message(),\n    _internal_metadata_(NULL) {\n  SharedCtor();\n  MergeFrom(from);\n  // @@protoc_insertion_point(copy_constructor:google.protobuf.EnumValueOptions)\n}\n\nvoid EnumValueOptions::SharedCtor() {\n  _cached_size_ = 0;\n  deprecated_ = false;\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n}\n\nEnumValueOptions::~EnumValueOptions() {\n  // @@protoc_insertion_point(destructor:google.protobuf.EnumValueOptions)\n  SharedDtor();\n}\n\nvoid EnumValueOptions::SharedDtor() {\n  if (this != default_instance_) {\n  }\n}\n\nvoid EnumValueOptions::SetCachedSize(int size) const {\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n}\nconst ::google::protobuf::Descriptor* EnumValueOptions::descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return EnumValueOptions_descriptor_;\n}\n\nconst EnumValueOptions& EnumValueOptions::default_instance() {\n  if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  return *default_instance_;\n}\n\nEnumValueOptions* EnumValueOptions::default_instance_ = NULL;\n\nEnumValueOptions* EnumValueOptions::New(::google::protobuf::Arena* arena) const {\n  EnumValueOptions* n = new EnumValueOptions;\n  if (arena != NULL) {\n    arena->Own(n);\n  }\n  return n;\n}\n\nvoid EnumValueOptions::Clear() {\n// @@protoc_insertion_point(message_clear_start:google.protobuf.EnumValueOptions)\n  _extensions_.Clear();\n  deprecated_ = false;\n  uninterpreted_option_.Clear();\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n  if (_internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->Clear();\n  }\n}\n\nbool EnumValueOptions::MergePartialFromCodedStream(\n    ::google::protobuf::io::CodedInputStream* input) {\n#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure\n  ::google::protobuf::uint32 tag;\n  // @@protoc_insertion_point(parse_start:google.protobuf.EnumValueOptions)\n  for (;;) {\n    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(16383);\n    tag = p.first;\n    if (!p.second) goto handle_unusual;\n    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {\n      // optional bool deprecated = 1 [default = false];\n      case 1: {\n        if (tag == 8) {\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(\n                 input, &deprecated_)));\n          set_has_deprecated();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(7994)) goto parse_uninterpreted_option;\n        break;\n      }\n\n      // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n      case 999: {\n        if (tag == 7994) {\n         parse_uninterpreted_option:\n          DO_(input->IncrementRecursionDepth());\n         parse_loop_uninterpreted_option:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(\n                input, add_uninterpreted_option()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(7994)) goto parse_loop_uninterpreted_option;\n        input->UnsafeDecrementRecursionDepth();\n        if (input->ExpectAtEnd()) goto success;\n        break;\n      }\n\n      default: {\n      handle_unusual:\n        if (tag == 0 ||\n            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==\n            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {\n          goto success;\n        }\n        if ((8000u <= tag)) {\n          DO_(_extensions_.ParseField(tag, input, default_instance_,\n                                      mutable_unknown_fields()));\n          continue;\n        }\n        DO_(::google::protobuf::internal::WireFormat::SkipField(\n              input, tag, mutable_unknown_fields()));\n        break;\n      }\n    }\n  }\nsuccess:\n  // @@protoc_insertion_point(parse_success:google.protobuf.EnumValueOptions)\n  return true;\nfailure:\n  // @@protoc_insertion_point(parse_failure:google.protobuf.EnumValueOptions)\n  return false;\n#undef DO_\n}\n\nvoid EnumValueOptions::SerializeWithCachedSizes(\n    ::google::protobuf::io::CodedOutputStream* output) const {\n  // @@protoc_insertion_point(serialize_start:google.protobuf.EnumValueOptions)\n  // optional bool deprecated = 1 [default = false];\n  if (has_deprecated()) {\n    ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->deprecated(), output);\n  }\n\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  for (unsigned int i = 0, n = this->uninterpreted_option_size(); i < n; i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      999, this->uninterpreted_option(i), output);\n  }\n\n  // Extension range [1000, 536870912)\n  _extensions_.SerializeWithCachedSizes(\n      1000, 536870912, output);\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(\n        unknown_fields(), output);\n  }\n  // @@protoc_insertion_point(serialize_end:google.protobuf.EnumValueOptions)\n}\n\n::google::protobuf::uint8* EnumValueOptions::SerializeWithCachedSizesToArray(\n    ::google::protobuf::uint8* target) const {\n  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumValueOptions)\n  // optional bool deprecated = 1 [default = false];\n  if (has_deprecated()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->deprecated(), target);\n  }\n\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  for (unsigned int i = 0, n = this->uninterpreted_option_size(); i < n; i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        999, this->uninterpreted_option(i), target);\n  }\n\n  // Extension range [1000, 536870912)\n  target = _extensions_.SerializeWithCachedSizesToArray(\n      1000, 536870912, target);\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(\n        unknown_fields(), target);\n  }\n  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.EnumValueOptions)\n  return target;\n}\n\nint EnumValueOptions::ByteSize() const {\n// @@protoc_insertion_point(message_byte_size_start:google.protobuf.EnumValueOptions)\n  int total_size = 0;\n\n  // optional bool deprecated = 1 [default = false];\n  if (has_deprecated()) {\n    total_size += 1 + 1;\n  }\n\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  total_size += 2 * this->uninterpreted_option_size();\n  for (int i = 0; i < this->uninterpreted_option_size(); i++) {\n    total_size +=\n      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n        this->uninterpreted_option(i));\n  }\n\n  total_size += _extensions_.ByteSize();\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    total_size +=\n      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(\n        unknown_fields());\n  }\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = total_size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n  return total_size;\n}\n\nvoid EnumValueOptions::MergeFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.EnumValueOptions)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  const EnumValueOptions* source = \n      ::google::protobuf::internal::DynamicCastToGenerated<const EnumValueOptions>(\n          &from);\n  if (source == NULL) {\n  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.EnumValueOptions)\n    ::google::protobuf::internal::ReflectionOps::Merge(from, this);\n  } else {\n  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.EnumValueOptions)\n    MergeFrom(*source);\n  }\n}\n\nvoid EnumValueOptions::MergeFrom(const EnumValueOptions& from) {\n// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.EnumValueOptions)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  uninterpreted_option_.MergeFrom(from.uninterpreted_option_);\n  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {\n    if (from.has_deprecated()) {\n      set_deprecated(from.deprecated());\n    }\n  }\n  _extensions_.MergeFrom(from._extensions_);\n  if (from._internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->MergeFrom(from.unknown_fields());\n  }\n}\n\nvoid EnumValueOptions::CopyFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.EnumValueOptions)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nvoid EnumValueOptions::CopyFrom(const EnumValueOptions& from) {\n// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.EnumValueOptions)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nbool EnumValueOptions::IsInitialized() const {\n\n  if (!::google::protobuf::internal::AllAreInitialized(this->uninterpreted_option())) return false;\n\n  if (!_extensions_.IsInitialized()) return false;  return true;\n}\n\nvoid EnumValueOptions::Swap(EnumValueOptions* other) {\n  if (other == this) return;\n  InternalSwap(other);\n}\nvoid EnumValueOptions::InternalSwap(EnumValueOptions* other) {\n  std::swap(deprecated_, other->deprecated_);\n  uninterpreted_option_.UnsafeArenaSwap(&other->uninterpreted_option_);\n  std::swap(_has_bits_[0], other->_has_bits_[0]);\n  _internal_metadata_.Swap(&other->_internal_metadata_);\n  std::swap(_cached_size_, other->_cached_size_);\n  _extensions_.Swap(&other->_extensions_);\n}\n\n::google::protobuf::Metadata EnumValueOptions::GetMetadata() const {\n  protobuf_AssignDescriptorsOnce();\n  ::google::protobuf::Metadata metadata;\n  metadata.descriptor = EnumValueOptions_descriptor_;\n  metadata.reflection = EnumValueOptions_reflection_;\n  return metadata;\n}\n\n#if PROTOBUF_INLINE_NOT_IN_HEADERS\n// EnumValueOptions\n\n// optional bool deprecated = 1 [default = false];\nbool EnumValueOptions::has_deprecated() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\nvoid EnumValueOptions::set_has_deprecated() {\n  _has_bits_[0] |= 0x00000001u;\n}\nvoid EnumValueOptions::clear_has_deprecated() {\n  _has_bits_[0] &= ~0x00000001u;\n}\nvoid EnumValueOptions::clear_deprecated() {\n  deprecated_ = false;\n  clear_has_deprecated();\n}\n bool EnumValueOptions::deprecated() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.deprecated)\n  return deprecated_;\n}\n void EnumValueOptions::set_deprecated(bool value) {\n  set_has_deprecated();\n  deprecated_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.EnumValueOptions.deprecated)\n}\n\n// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\nint EnumValueOptions::uninterpreted_option_size() const {\n  return uninterpreted_option_.size();\n}\nvoid EnumValueOptions::clear_uninterpreted_option() {\n  uninterpreted_option_.Clear();\n}\nconst ::google::protobuf::UninterpretedOption& EnumValueOptions::uninterpreted_option(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.uninterpreted_option)\n  return uninterpreted_option_.Get(index);\n}\n::google::protobuf::UninterpretedOption* EnumValueOptions::mutable_uninterpreted_option(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueOptions.uninterpreted_option)\n  return uninterpreted_option_.Mutable(index);\n}\n::google::protobuf::UninterpretedOption* EnumValueOptions::add_uninterpreted_option() {\n  // @@protoc_insertion_point(field_add:google.protobuf.EnumValueOptions.uninterpreted_option)\n  return uninterpreted_option_.Add();\n}\n::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*\nEnumValueOptions::mutable_uninterpreted_option() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumValueOptions.uninterpreted_option)\n  return &uninterpreted_option_;\n}\nconst ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&\nEnumValueOptions::uninterpreted_option() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.EnumValueOptions.uninterpreted_option)\n  return uninterpreted_option_;\n}\n\n#endif  // PROTOBUF_INLINE_NOT_IN_HEADERS\n\n// ===================================================================\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst int ServiceOptions::kDeprecatedFieldNumber;\nconst int ServiceOptions::kUninterpretedOptionFieldNumber;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\n\nServiceOptions::ServiceOptions()\n  : ::google::protobuf::Message(), _internal_metadata_(NULL) {\n  SharedCtor();\n  // @@protoc_insertion_point(constructor:google.protobuf.ServiceOptions)\n}\n\nvoid ServiceOptions::InitAsDefaultInstance() {\n}\n\nServiceOptions::ServiceOptions(const ServiceOptions& from)\n  : ::google::protobuf::Message(),\n    _internal_metadata_(NULL) {\n  SharedCtor();\n  MergeFrom(from);\n  // @@protoc_insertion_point(copy_constructor:google.protobuf.ServiceOptions)\n}\n\nvoid ServiceOptions::SharedCtor() {\n  _cached_size_ = 0;\n  deprecated_ = false;\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n}\n\nServiceOptions::~ServiceOptions() {\n  // @@protoc_insertion_point(destructor:google.protobuf.ServiceOptions)\n  SharedDtor();\n}\n\nvoid ServiceOptions::SharedDtor() {\n  if (this != default_instance_) {\n  }\n}\n\nvoid ServiceOptions::SetCachedSize(int size) const {\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n}\nconst ::google::protobuf::Descriptor* ServiceOptions::descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return ServiceOptions_descriptor_;\n}\n\nconst ServiceOptions& ServiceOptions::default_instance() {\n  if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  return *default_instance_;\n}\n\nServiceOptions* ServiceOptions::default_instance_ = NULL;\n\nServiceOptions* ServiceOptions::New(::google::protobuf::Arena* arena) const {\n  ServiceOptions* n = new ServiceOptions;\n  if (arena != NULL) {\n    arena->Own(n);\n  }\n  return n;\n}\n\nvoid ServiceOptions::Clear() {\n// @@protoc_insertion_point(message_clear_start:google.protobuf.ServiceOptions)\n  _extensions_.Clear();\n  deprecated_ = false;\n  uninterpreted_option_.Clear();\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n  if (_internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->Clear();\n  }\n}\n\nbool ServiceOptions::MergePartialFromCodedStream(\n    ::google::protobuf::io::CodedInputStream* input) {\n#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure\n  ::google::protobuf::uint32 tag;\n  // @@protoc_insertion_point(parse_start:google.protobuf.ServiceOptions)\n  for (;;) {\n    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(16383);\n    tag = p.first;\n    if (!p.second) goto handle_unusual;\n    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {\n      // optional bool deprecated = 33 [default = false];\n      case 33: {\n        if (tag == 264) {\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(\n                 input, &deprecated_)));\n          set_has_deprecated();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(7994)) goto parse_uninterpreted_option;\n        break;\n      }\n\n      // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n      case 999: {\n        if (tag == 7994) {\n         parse_uninterpreted_option:\n          DO_(input->IncrementRecursionDepth());\n         parse_loop_uninterpreted_option:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(\n                input, add_uninterpreted_option()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(7994)) goto parse_loop_uninterpreted_option;\n        input->UnsafeDecrementRecursionDepth();\n        if (input->ExpectAtEnd()) goto success;\n        break;\n      }\n\n      default: {\n      handle_unusual:\n        if (tag == 0 ||\n            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==\n            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {\n          goto success;\n        }\n        if ((8000u <= tag)) {\n          DO_(_extensions_.ParseField(tag, input, default_instance_,\n                                      mutable_unknown_fields()));\n          continue;\n        }\n        DO_(::google::protobuf::internal::WireFormat::SkipField(\n              input, tag, mutable_unknown_fields()));\n        break;\n      }\n    }\n  }\nsuccess:\n  // @@protoc_insertion_point(parse_success:google.protobuf.ServiceOptions)\n  return true;\nfailure:\n  // @@protoc_insertion_point(parse_failure:google.protobuf.ServiceOptions)\n  return false;\n#undef DO_\n}\n\nvoid ServiceOptions::SerializeWithCachedSizes(\n    ::google::protobuf::io::CodedOutputStream* output) const {\n  // @@protoc_insertion_point(serialize_start:google.protobuf.ServiceOptions)\n  // optional bool deprecated = 33 [default = false];\n  if (has_deprecated()) {\n    ::google::protobuf::internal::WireFormatLite::WriteBool(33, this->deprecated(), output);\n  }\n\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  for (unsigned int i = 0, n = this->uninterpreted_option_size(); i < n; i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      999, this->uninterpreted_option(i), output);\n  }\n\n  // Extension range [1000, 536870912)\n  _extensions_.SerializeWithCachedSizes(\n      1000, 536870912, output);\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(\n        unknown_fields(), output);\n  }\n  // @@protoc_insertion_point(serialize_end:google.protobuf.ServiceOptions)\n}\n\n::google::protobuf::uint8* ServiceOptions::SerializeWithCachedSizesToArray(\n    ::google::protobuf::uint8* target) const {\n  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.ServiceOptions)\n  // optional bool deprecated = 33 [default = false];\n  if (has_deprecated()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(33, this->deprecated(), target);\n  }\n\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  for (unsigned int i = 0, n = this->uninterpreted_option_size(); i < n; i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        999, this->uninterpreted_option(i), target);\n  }\n\n  // Extension range [1000, 536870912)\n  target = _extensions_.SerializeWithCachedSizesToArray(\n      1000, 536870912, target);\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(\n        unknown_fields(), target);\n  }\n  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.ServiceOptions)\n  return target;\n}\n\nint ServiceOptions::ByteSize() const {\n// @@protoc_insertion_point(message_byte_size_start:google.protobuf.ServiceOptions)\n  int total_size = 0;\n\n  // optional bool deprecated = 33 [default = false];\n  if (has_deprecated()) {\n    total_size += 2 + 1;\n  }\n\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  total_size += 2 * this->uninterpreted_option_size();\n  for (int i = 0; i < this->uninterpreted_option_size(); i++) {\n    total_size +=\n      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n        this->uninterpreted_option(i));\n  }\n\n  total_size += _extensions_.ByteSize();\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    total_size +=\n      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(\n        unknown_fields());\n  }\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = total_size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n  return total_size;\n}\n\nvoid ServiceOptions::MergeFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.ServiceOptions)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  const ServiceOptions* source = \n      ::google::protobuf::internal::DynamicCastToGenerated<const ServiceOptions>(\n          &from);\n  if (source == NULL) {\n  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.ServiceOptions)\n    ::google::protobuf::internal::ReflectionOps::Merge(from, this);\n  } else {\n  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.ServiceOptions)\n    MergeFrom(*source);\n  }\n}\n\nvoid ServiceOptions::MergeFrom(const ServiceOptions& from) {\n// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.ServiceOptions)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  uninterpreted_option_.MergeFrom(from.uninterpreted_option_);\n  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {\n    if (from.has_deprecated()) {\n      set_deprecated(from.deprecated());\n    }\n  }\n  _extensions_.MergeFrom(from._extensions_);\n  if (from._internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->MergeFrom(from.unknown_fields());\n  }\n}\n\nvoid ServiceOptions::CopyFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.ServiceOptions)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nvoid ServiceOptions::CopyFrom(const ServiceOptions& from) {\n// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.ServiceOptions)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nbool ServiceOptions::IsInitialized() const {\n\n  if (!::google::protobuf::internal::AllAreInitialized(this->uninterpreted_option())) return false;\n\n  if (!_extensions_.IsInitialized()) return false;  return true;\n}\n\nvoid ServiceOptions::Swap(ServiceOptions* other) {\n  if (other == this) return;\n  InternalSwap(other);\n}\nvoid ServiceOptions::InternalSwap(ServiceOptions* other) {\n  std::swap(deprecated_, other->deprecated_);\n  uninterpreted_option_.UnsafeArenaSwap(&other->uninterpreted_option_);\n  std::swap(_has_bits_[0], other->_has_bits_[0]);\n  _internal_metadata_.Swap(&other->_internal_metadata_);\n  std::swap(_cached_size_, other->_cached_size_);\n  _extensions_.Swap(&other->_extensions_);\n}\n\n::google::protobuf::Metadata ServiceOptions::GetMetadata() const {\n  protobuf_AssignDescriptorsOnce();\n  ::google::protobuf::Metadata metadata;\n  metadata.descriptor = ServiceOptions_descriptor_;\n  metadata.reflection = ServiceOptions_reflection_;\n  return metadata;\n}\n\n#if PROTOBUF_INLINE_NOT_IN_HEADERS\n// ServiceOptions\n\n// optional bool deprecated = 33 [default = false];\nbool ServiceOptions::has_deprecated() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\nvoid ServiceOptions::set_has_deprecated() {\n  _has_bits_[0] |= 0x00000001u;\n}\nvoid ServiceOptions::clear_has_deprecated() {\n  _has_bits_[0] &= ~0x00000001u;\n}\nvoid ServiceOptions::clear_deprecated() {\n  deprecated_ = false;\n  clear_has_deprecated();\n}\n bool ServiceOptions::deprecated() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.deprecated)\n  return deprecated_;\n}\n void ServiceOptions::set_deprecated(bool value) {\n  set_has_deprecated();\n  deprecated_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.ServiceOptions.deprecated)\n}\n\n// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\nint ServiceOptions::uninterpreted_option_size() const {\n  return uninterpreted_option_.size();\n}\nvoid ServiceOptions::clear_uninterpreted_option() {\n  uninterpreted_option_.Clear();\n}\nconst ::google::protobuf::UninterpretedOption& ServiceOptions::uninterpreted_option(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.uninterpreted_option)\n  return uninterpreted_option_.Get(index);\n}\n::google::protobuf::UninterpretedOption* ServiceOptions::mutable_uninterpreted_option(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceOptions.uninterpreted_option)\n  return uninterpreted_option_.Mutable(index);\n}\n::google::protobuf::UninterpretedOption* ServiceOptions::add_uninterpreted_option() {\n  // @@protoc_insertion_point(field_add:google.protobuf.ServiceOptions.uninterpreted_option)\n  return uninterpreted_option_.Add();\n}\n::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*\nServiceOptions::mutable_uninterpreted_option() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceOptions.uninterpreted_option)\n  return &uninterpreted_option_;\n}\nconst ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&\nServiceOptions::uninterpreted_option() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.ServiceOptions.uninterpreted_option)\n  return uninterpreted_option_;\n}\n\n#endif  // PROTOBUF_INLINE_NOT_IN_HEADERS\n\n// ===================================================================\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst int MethodOptions::kDeprecatedFieldNumber;\nconst int MethodOptions::kUninterpretedOptionFieldNumber;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\n\nMethodOptions::MethodOptions()\n  : ::google::protobuf::Message(), _internal_metadata_(NULL) {\n  SharedCtor();\n  // @@protoc_insertion_point(constructor:google.protobuf.MethodOptions)\n}\n\nvoid MethodOptions::InitAsDefaultInstance() {\n}\n\nMethodOptions::MethodOptions(const MethodOptions& from)\n  : ::google::protobuf::Message(),\n    _internal_metadata_(NULL) {\n  SharedCtor();\n  MergeFrom(from);\n  // @@protoc_insertion_point(copy_constructor:google.protobuf.MethodOptions)\n}\n\nvoid MethodOptions::SharedCtor() {\n  _cached_size_ = 0;\n  deprecated_ = false;\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n}\n\nMethodOptions::~MethodOptions() {\n  // @@protoc_insertion_point(destructor:google.protobuf.MethodOptions)\n  SharedDtor();\n}\n\nvoid MethodOptions::SharedDtor() {\n  if (this != default_instance_) {\n  }\n}\n\nvoid MethodOptions::SetCachedSize(int size) const {\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n}\nconst ::google::protobuf::Descriptor* MethodOptions::descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return MethodOptions_descriptor_;\n}\n\nconst MethodOptions& MethodOptions::default_instance() {\n  if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  return *default_instance_;\n}\n\nMethodOptions* MethodOptions::default_instance_ = NULL;\n\nMethodOptions* MethodOptions::New(::google::protobuf::Arena* arena) const {\n  MethodOptions* n = new MethodOptions;\n  if (arena != NULL) {\n    arena->Own(n);\n  }\n  return n;\n}\n\nvoid MethodOptions::Clear() {\n// @@protoc_insertion_point(message_clear_start:google.protobuf.MethodOptions)\n  _extensions_.Clear();\n  deprecated_ = false;\n  uninterpreted_option_.Clear();\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n  if (_internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->Clear();\n  }\n}\n\nbool MethodOptions::MergePartialFromCodedStream(\n    ::google::protobuf::io::CodedInputStream* input) {\n#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure\n  ::google::protobuf::uint32 tag;\n  // @@protoc_insertion_point(parse_start:google.protobuf.MethodOptions)\n  for (;;) {\n    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(16383);\n    tag = p.first;\n    if (!p.second) goto handle_unusual;\n    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {\n      // optional bool deprecated = 33 [default = false];\n      case 33: {\n        if (tag == 264) {\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(\n                 input, &deprecated_)));\n          set_has_deprecated();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(7994)) goto parse_uninterpreted_option;\n        break;\n      }\n\n      // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n      case 999: {\n        if (tag == 7994) {\n         parse_uninterpreted_option:\n          DO_(input->IncrementRecursionDepth());\n         parse_loop_uninterpreted_option:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(\n                input, add_uninterpreted_option()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(7994)) goto parse_loop_uninterpreted_option;\n        input->UnsafeDecrementRecursionDepth();\n        if (input->ExpectAtEnd()) goto success;\n        break;\n      }\n\n      default: {\n      handle_unusual:\n        if (tag == 0 ||\n            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==\n            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {\n          goto success;\n        }\n        if ((8000u <= tag)) {\n          DO_(_extensions_.ParseField(tag, input, default_instance_,\n                                      mutable_unknown_fields()));\n          continue;\n        }\n        DO_(::google::protobuf::internal::WireFormat::SkipField(\n              input, tag, mutable_unknown_fields()));\n        break;\n      }\n    }\n  }\nsuccess:\n  // @@protoc_insertion_point(parse_success:google.protobuf.MethodOptions)\n  return true;\nfailure:\n  // @@protoc_insertion_point(parse_failure:google.protobuf.MethodOptions)\n  return false;\n#undef DO_\n}\n\nvoid MethodOptions::SerializeWithCachedSizes(\n    ::google::protobuf::io::CodedOutputStream* output) const {\n  // @@protoc_insertion_point(serialize_start:google.protobuf.MethodOptions)\n  // optional bool deprecated = 33 [default = false];\n  if (has_deprecated()) {\n    ::google::protobuf::internal::WireFormatLite::WriteBool(33, this->deprecated(), output);\n  }\n\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  for (unsigned int i = 0, n = this->uninterpreted_option_size(); i < n; i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      999, this->uninterpreted_option(i), output);\n  }\n\n  // Extension range [1000, 536870912)\n  _extensions_.SerializeWithCachedSizes(\n      1000, 536870912, output);\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(\n        unknown_fields(), output);\n  }\n  // @@protoc_insertion_point(serialize_end:google.protobuf.MethodOptions)\n}\n\n::google::protobuf::uint8* MethodOptions::SerializeWithCachedSizesToArray(\n    ::google::protobuf::uint8* target) const {\n  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.MethodOptions)\n  // optional bool deprecated = 33 [default = false];\n  if (has_deprecated()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(33, this->deprecated(), target);\n  }\n\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  for (unsigned int i = 0, n = this->uninterpreted_option_size(); i < n; i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        999, this->uninterpreted_option(i), target);\n  }\n\n  // Extension range [1000, 536870912)\n  target = _extensions_.SerializeWithCachedSizesToArray(\n      1000, 536870912, target);\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(\n        unknown_fields(), target);\n  }\n  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.MethodOptions)\n  return target;\n}\n\nint MethodOptions::ByteSize() const {\n// @@protoc_insertion_point(message_byte_size_start:google.protobuf.MethodOptions)\n  int total_size = 0;\n\n  // optional bool deprecated = 33 [default = false];\n  if (has_deprecated()) {\n    total_size += 2 + 1;\n  }\n\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  total_size += 2 * this->uninterpreted_option_size();\n  for (int i = 0; i < this->uninterpreted_option_size(); i++) {\n    total_size +=\n      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n        this->uninterpreted_option(i));\n  }\n\n  total_size += _extensions_.ByteSize();\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    total_size +=\n      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(\n        unknown_fields());\n  }\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = total_size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n  return total_size;\n}\n\nvoid MethodOptions::MergeFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.MethodOptions)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  const MethodOptions* source = \n      ::google::protobuf::internal::DynamicCastToGenerated<const MethodOptions>(\n          &from);\n  if (source == NULL) {\n  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.MethodOptions)\n    ::google::protobuf::internal::ReflectionOps::Merge(from, this);\n  } else {\n  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.MethodOptions)\n    MergeFrom(*source);\n  }\n}\n\nvoid MethodOptions::MergeFrom(const MethodOptions& from) {\n// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.MethodOptions)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  uninterpreted_option_.MergeFrom(from.uninterpreted_option_);\n  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {\n    if (from.has_deprecated()) {\n      set_deprecated(from.deprecated());\n    }\n  }\n  _extensions_.MergeFrom(from._extensions_);\n  if (from._internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->MergeFrom(from.unknown_fields());\n  }\n}\n\nvoid MethodOptions::CopyFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.MethodOptions)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nvoid MethodOptions::CopyFrom(const MethodOptions& from) {\n// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.MethodOptions)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nbool MethodOptions::IsInitialized() const {\n\n  if (!::google::protobuf::internal::AllAreInitialized(this->uninterpreted_option())) return false;\n\n  if (!_extensions_.IsInitialized()) return false;  return true;\n}\n\nvoid MethodOptions::Swap(MethodOptions* other) {\n  if (other == this) return;\n  InternalSwap(other);\n}\nvoid MethodOptions::InternalSwap(MethodOptions* other) {\n  std::swap(deprecated_, other->deprecated_);\n  uninterpreted_option_.UnsafeArenaSwap(&other->uninterpreted_option_);\n  std::swap(_has_bits_[0], other->_has_bits_[0]);\n  _internal_metadata_.Swap(&other->_internal_metadata_);\n  std::swap(_cached_size_, other->_cached_size_);\n  _extensions_.Swap(&other->_extensions_);\n}\n\n::google::protobuf::Metadata MethodOptions::GetMetadata() const {\n  protobuf_AssignDescriptorsOnce();\n  ::google::protobuf::Metadata metadata;\n  metadata.descriptor = MethodOptions_descriptor_;\n  metadata.reflection = MethodOptions_reflection_;\n  return metadata;\n}\n\n#if PROTOBUF_INLINE_NOT_IN_HEADERS\n// MethodOptions\n\n// optional bool deprecated = 33 [default = false];\nbool MethodOptions::has_deprecated() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\nvoid MethodOptions::set_has_deprecated() {\n  _has_bits_[0] |= 0x00000001u;\n}\nvoid MethodOptions::clear_has_deprecated() {\n  _has_bits_[0] &= ~0x00000001u;\n}\nvoid MethodOptions::clear_deprecated() {\n  deprecated_ = false;\n  clear_has_deprecated();\n}\n bool MethodOptions::deprecated() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.deprecated)\n  return deprecated_;\n}\n void MethodOptions::set_deprecated(bool value) {\n  set_has_deprecated();\n  deprecated_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.deprecated)\n}\n\n// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\nint MethodOptions::uninterpreted_option_size() const {\n  return uninterpreted_option_.size();\n}\nvoid MethodOptions::clear_uninterpreted_option() {\n  uninterpreted_option_.Clear();\n}\nconst ::google::protobuf::UninterpretedOption& MethodOptions::uninterpreted_option(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.uninterpreted_option)\n  return uninterpreted_option_.Get(index);\n}\n::google::protobuf::UninterpretedOption* MethodOptions::mutable_uninterpreted_option(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.MethodOptions.uninterpreted_option)\n  return uninterpreted_option_.Mutable(index);\n}\n::google::protobuf::UninterpretedOption* MethodOptions::add_uninterpreted_option() {\n  // @@protoc_insertion_point(field_add:google.protobuf.MethodOptions.uninterpreted_option)\n  return uninterpreted_option_.Add();\n}\n::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*\nMethodOptions::mutable_uninterpreted_option() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.MethodOptions.uninterpreted_option)\n  return &uninterpreted_option_;\n}\nconst ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&\nMethodOptions::uninterpreted_option() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.MethodOptions.uninterpreted_option)\n  return uninterpreted_option_;\n}\n\n#endif  // PROTOBUF_INLINE_NOT_IN_HEADERS\n\n// ===================================================================\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst int UninterpretedOption_NamePart::kNamePartFieldNumber;\nconst int UninterpretedOption_NamePart::kIsExtensionFieldNumber;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\n\nUninterpretedOption_NamePart::UninterpretedOption_NamePart()\n  : ::google::protobuf::Message(), _internal_metadata_(NULL) {\n  SharedCtor();\n  // @@protoc_insertion_point(constructor:google.protobuf.UninterpretedOption.NamePart)\n}\n\nvoid UninterpretedOption_NamePart::InitAsDefaultInstance() {\n}\n\nUninterpretedOption_NamePart::UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from)\n  : ::google::protobuf::Message(),\n    _internal_metadata_(NULL) {\n  SharedCtor();\n  MergeFrom(from);\n  // @@protoc_insertion_point(copy_constructor:google.protobuf.UninterpretedOption.NamePart)\n}\n\nvoid UninterpretedOption_NamePart::SharedCtor() {\n  ::google::protobuf::internal::GetEmptyString();\n  _cached_size_ = 0;\n  name_part_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  is_extension_ = false;\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n}\n\nUninterpretedOption_NamePart::~UninterpretedOption_NamePart() {\n  // @@protoc_insertion_point(destructor:google.protobuf.UninterpretedOption.NamePart)\n  SharedDtor();\n}\n\nvoid UninterpretedOption_NamePart::SharedDtor() {\n  name_part_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  if (this != default_instance_) {\n  }\n}\n\nvoid UninterpretedOption_NamePart::SetCachedSize(int size) const {\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n}\nconst ::google::protobuf::Descriptor* UninterpretedOption_NamePart::descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return UninterpretedOption_NamePart_descriptor_;\n}\n\nconst UninterpretedOption_NamePart& UninterpretedOption_NamePart::default_instance() {\n  if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  return *default_instance_;\n}\n\nUninterpretedOption_NamePart* UninterpretedOption_NamePart::default_instance_ = NULL;\n\nUninterpretedOption_NamePart* UninterpretedOption_NamePart::New(::google::protobuf::Arena* arena) const {\n  UninterpretedOption_NamePart* n = new UninterpretedOption_NamePart;\n  if (arena != NULL) {\n    arena->Own(n);\n  }\n  return n;\n}\n\nvoid UninterpretedOption_NamePart::Clear() {\n// @@protoc_insertion_point(message_clear_start:google.protobuf.UninterpretedOption.NamePart)\n  if (_has_bits_[0 / 32] & 3u) {\n    if (has_name_part()) {\n      name_part_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n    }\n    is_extension_ = false;\n  }\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n  if (_internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->Clear();\n  }\n}\n\nbool UninterpretedOption_NamePart::MergePartialFromCodedStream(\n    ::google::protobuf::io::CodedInputStream* input) {\n#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure\n  ::google::protobuf::uint32 tag;\n  // @@protoc_insertion_point(parse_start:google.protobuf.UninterpretedOption.NamePart)\n  for (;;) {\n    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);\n    tag = p.first;\n    if (!p.second) goto handle_unusual;\n    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {\n      // required string name_part = 1;\n      case 1: {\n        if (tag == 10) {\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->mutable_name_part()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->name_part().data(), this->name_part().length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.UninterpretedOption.NamePart.name_part\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(16)) goto parse_is_extension;\n        break;\n      }\n\n      // required bool is_extension = 2;\n      case 2: {\n        if (tag == 16) {\n         parse_is_extension:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(\n                 input, &is_extension_)));\n          set_has_is_extension();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectAtEnd()) goto success;\n        break;\n      }\n\n      default: {\n      handle_unusual:\n        if (tag == 0 ||\n            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==\n            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {\n          goto success;\n        }\n        DO_(::google::protobuf::internal::WireFormat::SkipField(\n              input, tag, mutable_unknown_fields()));\n        break;\n      }\n    }\n  }\nsuccess:\n  // @@protoc_insertion_point(parse_success:google.protobuf.UninterpretedOption.NamePart)\n  return true;\nfailure:\n  // @@protoc_insertion_point(parse_failure:google.protobuf.UninterpretedOption.NamePart)\n  return false;\n#undef DO_\n}\n\nvoid UninterpretedOption_NamePart::SerializeWithCachedSizes(\n    ::google::protobuf::io::CodedOutputStream* output) const {\n  // @@protoc_insertion_point(serialize_start:google.protobuf.UninterpretedOption.NamePart)\n  // required string name_part = 1;\n  if (has_name_part()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->name_part().data(), this->name_part().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.UninterpretedOption.NamePart.name_part\");\n    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(\n      1, this->name_part(), output);\n  }\n\n  // required bool is_extension = 2;\n  if (has_is_extension()) {\n    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->is_extension(), output);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(\n        unknown_fields(), output);\n  }\n  // @@protoc_insertion_point(serialize_end:google.protobuf.UninterpretedOption.NamePart)\n}\n\n::google::protobuf::uint8* UninterpretedOption_NamePart::SerializeWithCachedSizesToArray(\n    ::google::protobuf::uint8* target) const {\n  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.UninterpretedOption.NamePart)\n  // required string name_part = 1;\n  if (has_name_part()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->name_part().data(), this->name_part().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.UninterpretedOption.NamePart.name_part\");\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(\n        1, this->name_part(), target);\n  }\n\n  // required bool is_extension = 2;\n  if (has_is_extension()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->is_extension(), target);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(\n        unknown_fields(), target);\n  }\n  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.UninterpretedOption.NamePart)\n  return target;\n}\n\nint UninterpretedOption_NamePart::RequiredFieldsByteSizeFallback() const {\n// @@protoc_insertion_point(required_fields_byte_size_fallback_start:google.protobuf.UninterpretedOption.NamePart)\n  int total_size = 0;\n\n  if (has_name_part()) {\n    // required string name_part = 1;\n    total_size += 1 +\n      ::google::protobuf::internal::WireFormatLite::StringSize(\n        this->name_part());\n  }\n\n  if (has_is_extension()) {\n    // required bool is_extension = 2;\n    total_size += 1 + 1;\n  }\n\n  return total_size;\n}\nint UninterpretedOption_NamePart::ByteSize() const {\n// @@protoc_insertion_point(message_byte_size_start:google.protobuf.UninterpretedOption.NamePart)\n  int total_size = 0;\n\n  if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) {  // All required fields are present.\n    // required string name_part = 1;\n    total_size += 1 +\n      ::google::protobuf::internal::WireFormatLite::StringSize(\n        this->name_part());\n\n    // required bool is_extension = 2;\n    total_size += 1 + 1;\n\n  } else {\n    total_size += RequiredFieldsByteSizeFallback();\n  }\n  if (_internal_metadata_.have_unknown_fields()) {\n    total_size +=\n      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(\n        unknown_fields());\n  }\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = total_size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n  return total_size;\n}\n\nvoid UninterpretedOption_NamePart::MergeFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.UninterpretedOption.NamePart)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  const UninterpretedOption_NamePart* source = \n      ::google::protobuf::internal::DynamicCastToGenerated<const UninterpretedOption_NamePart>(\n          &from);\n  if (source == NULL) {\n  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.UninterpretedOption.NamePart)\n    ::google::protobuf::internal::ReflectionOps::Merge(from, this);\n  } else {\n  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.UninterpretedOption.NamePart)\n    MergeFrom(*source);\n  }\n}\n\nvoid UninterpretedOption_NamePart::MergeFrom(const UninterpretedOption_NamePart& from) {\n// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.UninterpretedOption.NamePart)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {\n    if (from.has_name_part()) {\n      set_has_name_part();\n      name_part_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_part_);\n    }\n    if (from.has_is_extension()) {\n      set_is_extension(from.is_extension());\n    }\n  }\n  if (from._internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->MergeFrom(from.unknown_fields());\n  }\n}\n\nvoid UninterpretedOption_NamePart::CopyFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.UninterpretedOption.NamePart)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nvoid UninterpretedOption_NamePart::CopyFrom(const UninterpretedOption_NamePart& from) {\n// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.UninterpretedOption.NamePart)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nbool UninterpretedOption_NamePart::IsInitialized() const {\n  if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;\n\n  return true;\n}\n\nvoid UninterpretedOption_NamePart::Swap(UninterpretedOption_NamePart* other) {\n  if (other == this) return;\n  InternalSwap(other);\n}\nvoid UninterpretedOption_NamePart::InternalSwap(UninterpretedOption_NamePart* other) {\n  name_part_.Swap(&other->name_part_);\n  std::swap(is_extension_, other->is_extension_);\n  std::swap(_has_bits_[0], other->_has_bits_[0]);\n  _internal_metadata_.Swap(&other->_internal_metadata_);\n  std::swap(_cached_size_, other->_cached_size_);\n}\n\n::google::protobuf::Metadata UninterpretedOption_NamePart::GetMetadata() const {\n  protobuf_AssignDescriptorsOnce();\n  ::google::protobuf::Metadata metadata;\n  metadata.descriptor = UninterpretedOption_NamePart_descriptor_;\n  metadata.reflection = UninterpretedOption_NamePart_reflection_;\n  return metadata;\n}\n\n\n// -------------------------------------------------------------------\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst int UninterpretedOption::kNameFieldNumber;\nconst int UninterpretedOption::kIdentifierValueFieldNumber;\nconst int UninterpretedOption::kPositiveIntValueFieldNumber;\nconst int UninterpretedOption::kNegativeIntValueFieldNumber;\nconst int UninterpretedOption::kDoubleValueFieldNumber;\nconst int UninterpretedOption::kStringValueFieldNumber;\nconst int UninterpretedOption::kAggregateValueFieldNumber;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\n\nUninterpretedOption::UninterpretedOption()\n  : ::google::protobuf::Message(), _internal_metadata_(NULL) {\n  SharedCtor();\n  // @@protoc_insertion_point(constructor:google.protobuf.UninterpretedOption)\n}\n\nvoid UninterpretedOption::InitAsDefaultInstance() {\n}\n\nUninterpretedOption::UninterpretedOption(const UninterpretedOption& from)\n  : ::google::protobuf::Message(),\n    _internal_metadata_(NULL) {\n  SharedCtor();\n  MergeFrom(from);\n  // @@protoc_insertion_point(copy_constructor:google.protobuf.UninterpretedOption)\n}\n\nvoid UninterpretedOption::SharedCtor() {\n  ::google::protobuf::internal::GetEmptyString();\n  _cached_size_ = 0;\n  identifier_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  positive_int_value_ = GOOGLE_ULONGLONG(0);\n  negative_int_value_ = GOOGLE_LONGLONG(0);\n  double_value_ = 0;\n  string_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  aggregate_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n}\n\nUninterpretedOption::~UninterpretedOption() {\n  // @@protoc_insertion_point(destructor:google.protobuf.UninterpretedOption)\n  SharedDtor();\n}\n\nvoid UninterpretedOption::SharedDtor() {\n  identifier_value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  string_value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  aggregate_value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  if (this != default_instance_) {\n  }\n}\n\nvoid UninterpretedOption::SetCachedSize(int size) const {\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n}\nconst ::google::protobuf::Descriptor* UninterpretedOption::descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return UninterpretedOption_descriptor_;\n}\n\nconst UninterpretedOption& UninterpretedOption::default_instance() {\n  if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  return *default_instance_;\n}\n\nUninterpretedOption* UninterpretedOption::default_instance_ = NULL;\n\nUninterpretedOption* UninterpretedOption::New(::google::protobuf::Arena* arena) const {\n  UninterpretedOption* n = new UninterpretedOption;\n  if (arena != NULL) {\n    arena->Own(n);\n  }\n  return n;\n}\n\nvoid UninterpretedOption::Clear() {\n// @@protoc_insertion_point(message_clear_start:google.protobuf.UninterpretedOption)\n#if defined(__clang__)\n#define ZR_HELPER_(f) \\\n  _Pragma(\"clang diagnostic push\") \\\n  _Pragma(\"clang diagnostic ignored \\\"-Winvalid-offsetof\\\"\") \\\n  __builtin_offsetof(UninterpretedOption, f) \\\n  _Pragma(\"clang diagnostic pop\")\n#else\n#define ZR_HELPER_(f) reinterpret_cast<char*>(\\\n  &reinterpret_cast<UninterpretedOption*>(16)->f)\n#endif\n\n#define ZR_(first, last) do {\\\n  ::memset(&first, 0,\\\n           ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\\\n} while (0)\n\n  if (_has_bits_[0 / 32] & 126u) {\n    ZR_(positive_int_value_, double_value_);\n    if (has_identifier_value()) {\n      identifier_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n    }\n    if (has_string_value()) {\n      string_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n    }\n    if (has_aggregate_value()) {\n      aggregate_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n    }\n  }\n\n#undef ZR_HELPER_\n#undef ZR_\n\n  name_.Clear();\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n  if (_internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->Clear();\n  }\n}\n\nbool UninterpretedOption::MergePartialFromCodedStream(\n    ::google::protobuf::io::CodedInputStream* input) {\n#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure\n  ::google::protobuf::uint32 tag;\n  // @@protoc_insertion_point(parse_start:google.protobuf.UninterpretedOption)\n  for (;;) {\n    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);\n    tag = p.first;\n    if (!p.second) goto handle_unusual;\n    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {\n      // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;\n      case 2: {\n        if (tag == 18) {\n          DO_(input->IncrementRecursionDepth());\n         parse_loop_name:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(\n                input, add_name()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(18)) goto parse_loop_name;\n        input->UnsafeDecrementRecursionDepth();\n        if (input->ExpectTag(26)) goto parse_identifier_value;\n        break;\n      }\n\n      // optional string identifier_value = 3;\n      case 3: {\n        if (tag == 26) {\n         parse_identifier_value:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->mutable_identifier_value()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->identifier_value().data(), this->identifier_value().length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.UninterpretedOption.identifier_value\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(32)) goto parse_positive_int_value;\n        break;\n      }\n\n      // optional uint64 positive_int_value = 4;\n      case 4: {\n        if (tag == 32) {\n         parse_positive_int_value:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(\n                 input, &positive_int_value_)));\n          set_has_positive_int_value();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(40)) goto parse_negative_int_value;\n        break;\n      }\n\n      // optional int64 negative_int_value = 5;\n      case 5: {\n        if (tag == 40) {\n         parse_negative_int_value:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(\n                 input, &negative_int_value_)));\n          set_has_negative_int_value();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(49)) goto parse_double_value;\n        break;\n      }\n\n      // optional double double_value = 6;\n      case 6: {\n        if (tag == 49) {\n         parse_double_value:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(\n                 input, &double_value_)));\n          set_has_double_value();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(58)) goto parse_string_value;\n        break;\n      }\n\n      // optional bytes string_value = 7;\n      case 7: {\n        if (tag == 58) {\n         parse_string_value:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(\n                input, this->mutable_string_value()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(66)) goto parse_aggregate_value;\n        break;\n      }\n\n      // optional string aggregate_value = 8;\n      case 8: {\n        if (tag == 66) {\n         parse_aggregate_value:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->mutable_aggregate_value()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->aggregate_value().data(), this->aggregate_value().length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.UninterpretedOption.aggregate_value\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectAtEnd()) goto success;\n        break;\n      }\n\n      default: {\n      handle_unusual:\n        if (tag == 0 ||\n            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==\n            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {\n          goto success;\n        }\n        DO_(::google::protobuf::internal::WireFormat::SkipField(\n              input, tag, mutable_unknown_fields()));\n        break;\n      }\n    }\n  }\nsuccess:\n  // @@protoc_insertion_point(parse_success:google.protobuf.UninterpretedOption)\n  return true;\nfailure:\n  // @@protoc_insertion_point(parse_failure:google.protobuf.UninterpretedOption)\n  return false;\n#undef DO_\n}\n\nvoid UninterpretedOption::SerializeWithCachedSizes(\n    ::google::protobuf::io::CodedOutputStream* output) const {\n  // @@protoc_insertion_point(serialize_start:google.protobuf.UninterpretedOption)\n  // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;\n  for (unsigned int i = 0, n = this->name_size(); i < n; i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      2, this->name(i), output);\n  }\n\n  // optional string identifier_value = 3;\n  if (has_identifier_value()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->identifier_value().data(), this->identifier_value().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.UninterpretedOption.identifier_value\");\n    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(\n      3, this->identifier_value(), output);\n  }\n\n  // optional uint64 positive_int_value = 4;\n  if (has_positive_int_value()) {\n    ::google::protobuf::internal::WireFormatLite::WriteUInt64(4, this->positive_int_value(), output);\n  }\n\n  // optional int64 negative_int_value = 5;\n  if (has_negative_int_value()) {\n    ::google::protobuf::internal::WireFormatLite::WriteInt64(5, this->negative_int_value(), output);\n  }\n\n  // optional double double_value = 6;\n  if (has_double_value()) {\n    ::google::protobuf::internal::WireFormatLite::WriteDouble(6, this->double_value(), output);\n  }\n\n  // optional bytes string_value = 7;\n  if (has_string_value()) {\n    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(\n      7, this->string_value(), output);\n  }\n\n  // optional string aggregate_value = 8;\n  if (has_aggregate_value()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->aggregate_value().data(), this->aggregate_value().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.UninterpretedOption.aggregate_value\");\n    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(\n      8, this->aggregate_value(), output);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(\n        unknown_fields(), output);\n  }\n  // @@protoc_insertion_point(serialize_end:google.protobuf.UninterpretedOption)\n}\n\n::google::protobuf::uint8* UninterpretedOption::SerializeWithCachedSizesToArray(\n    ::google::protobuf::uint8* target) const {\n  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.UninterpretedOption)\n  // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;\n  for (unsigned int i = 0, n = this->name_size(); i < n; i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        2, this->name(i), target);\n  }\n\n  // optional string identifier_value = 3;\n  if (has_identifier_value()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->identifier_value().data(), this->identifier_value().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.UninterpretedOption.identifier_value\");\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(\n        3, this->identifier_value(), target);\n  }\n\n  // optional uint64 positive_int_value = 4;\n  if (has_positive_int_value()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(4, this->positive_int_value(), target);\n  }\n\n  // optional int64 negative_int_value = 5;\n  if (has_negative_int_value()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(5, this->negative_int_value(), target);\n  }\n\n  // optional double double_value = 6;\n  if (has_double_value()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(6, this->double_value(), target);\n  }\n\n  // optional bytes string_value = 7;\n  if (has_string_value()) {\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(\n        7, this->string_value(), target);\n  }\n\n  // optional string aggregate_value = 8;\n  if (has_aggregate_value()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->aggregate_value().data(), this->aggregate_value().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.UninterpretedOption.aggregate_value\");\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(\n        8, this->aggregate_value(), target);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(\n        unknown_fields(), target);\n  }\n  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.UninterpretedOption)\n  return target;\n}\n\nint UninterpretedOption::ByteSize() const {\n// @@protoc_insertion_point(message_byte_size_start:google.protobuf.UninterpretedOption)\n  int total_size = 0;\n\n  if (_has_bits_[1 / 32] & 126u) {\n    // optional string identifier_value = 3;\n    if (has_identifier_value()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::StringSize(\n          this->identifier_value());\n    }\n\n    // optional uint64 positive_int_value = 4;\n    if (has_positive_int_value()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::UInt64Size(\n          this->positive_int_value());\n    }\n\n    // optional int64 negative_int_value = 5;\n    if (has_negative_int_value()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::Int64Size(\n          this->negative_int_value());\n    }\n\n    // optional double double_value = 6;\n    if (has_double_value()) {\n      total_size += 1 + 8;\n    }\n\n    // optional bytes string_value = 7;\n    if (has_string_value()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::BytesSize(\n          this->string_value());\n    }\n\n    // optional string aggregate_value = 8;\n    if (has_aggregate_value()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::StringSize(\n          this->aggregate_value());\n    }\n\n  }\n  // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;\n  total_size += 1 * this->name_size();\n  for (int i = 0; i < this->name_size(); i++) {\n    total_size +=\n      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n        this->name(i));\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    total_size +=\n      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(\n        unknown_fields());\n  }\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = total_size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n  return total_size;\n}\n\nvoid UninterpretedOption::MergeFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.UninterpretedOption)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  const UninterpretedOption* source = \n      ::google::protobuf::internal::DynamicCastToGenerated<const UninterpretedOption>(\n          &from);\n  if (source == NULL) {\n  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.UninterpretedOption)\n    ::google::protobuf::internal::ReflectionOps::Merge(from, this);\n  } else {\n  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.UninterpretedOption)\n    MergeFrom(*source);\n  }\n}\n\nvoid UninterpretedOption::MergeFrom(const UninterpretedOption& from) {\n// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.UninterpretedOption)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  name_.MergeFrom(from.name_);\n  if (from._has_bits_[1 / 32] & (0xffu << (1 % 32))) {\n    if (from.has_identifier_value()) {\n      set_has_identifier_value();\n      identifier_value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.identifier_value_);\n    }\n    if (from.has_positive_int_value()) {\n      set_positive_int_value(from.positive_int_value());\n    }\n    if (from.has_negative_int_value()) {\n      set_negative_int_value(from.negative_int_value());\n    }\n    if (from.has_double_value()) {\n      set_double_value(from.double_value());\n    }\n    if (from.has_string_value()) {\n      set_has_string_value();\n      string_value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.string_value_);\n    }\n    if (from.has_aggregate_value()) {\n      set_has_aggregate_value();\n      aggregate_value_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.aggregate_value_);\n    }\n  }\n  if (from._internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->MergeFrom(from.unknown_fields());\n  }\n}\n\nvoid UninterpretedOption::CopyFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.UninterpretedOption)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nvoid UninterpretedOption::CopyFrom(const UninterpretedOption& from) {\n// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.UninterpretedOption)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nbool UninterpretedOption::IsInitialized() const {\n\n  if (!::google::protobuf::internal::AllAreInitialized(this->name())) return false;\n  return true;\n}\n\nvoid UninterpretedOption::Swap(UninterpretedOption* other) {\n  if (other == this) return;\n  InternalSwap(other);\n}\nvoid UninterpretedOption::InternalSwap(UninterpretedOption* other) {\n  name_.UnsafeArenaSwap(&other->name_);\n  identifier_value_.Swap(&other->identifier_value_);\n  std::swap(positive_int_value_, other->positive_int_value_);\n  std::swap(negative_int_value_, other->negative_int_value_);\n  std::swap(double_value_, other->double_value_);\n  string_value_.Swap(&other->string_value_);\n  aggregate_value_.Swap(&other->aggregate_value_);\n  std::swap(_has_bits_[0], other->_has_bits_[0]);\n  _internal_metadata_.Swap(&other->_internal_metadata_);\n  std::swap(_cached_size_, other->_cached_size_);\n}\n\n::google::protobuf::Metadata UninterpretedOption::GetMetadata() const {\n  protobuf_AssignDescriptorsOnce();\n  ::google::protobuf::Metadata metadata;\n  metadata.descriptor = UninterpretedOption_descriptor_;\n  metadata.reflection = UninterpretedOption_reflection_;\n  return metadata;\n}\n\n#if PROTOBUF_INLINE_NOT_IN_HEADERS\n// UninterpretedOption_NamePart\n\n// required string name_part = 1;\nbool UninterpretedOption_NamePart::has_name_part() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\nvoid UninterpretedOption_NamePart::set_has_name_part() {\n  _has_bits_[0] |= 0x00000001u;\n}\nvoid UninterpretedOption_NamePart::clear_has_name_part() {\n  _has_bits_[0] &= ~0x00000001u;\n}\nvoid UninterpretedOption_NamePart::clear_name_part() {\n  name_part_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_name_part();\n}\n const ::std::string& UninterpretedOption_NamePart::name_part() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.name_part)\n  return name_part_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void UninterpretedOption_NamePart::set_name_part(const ::std::string& value) {\n  set_has_name_part();\n  name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.name_part)\n}\n void UninterpretedOption_NamePart::set_name_part(const char* value) {\n  set_has_name_part();\n  name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.NamePart.name_part)\n}\n void UninterpretedOption_NamePart::set_name_part(const char* value, size_t size) {\n  set_has_name_part();\n  name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.NamePart.name_part)\n}\n ::std::string* UninterpretedOption_NamePart::mutable_name_part() {\n  set_has_name_part();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.NamePart.name_part)\n  return name_part_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* UninterpretedOption_NamePart::release_name_part() {\n  // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.NamePart.name_part)\n  clear_has_name_part();\n  return name_part_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void UninterpretedOption_NamePart::set_allocated_name_part(::std::string* name_part) {\n  if (name_part != NULL) {\n    set_has_name_part();\n  } else {\n    clear_has_name_part();\n  }\n  name_part_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name_part);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.NamePart.name_part)\n}\n\n// required bool is_extension = 2;\nbool UninterpretedOption_NamePart::has_is_extension() const {\n  return (_has_bits_[0] & 0x00000002u) != 0;\n}\nvoid UninterpretedOption_NamePart::set_has_is_extension() {\n  _has_bits_[0] |= 0x00000002u;\n}\nvoid UninterpretedOption_NamePart::clear_has_is_extension() {\n  _has_bits_[0] &= ~0x00000002u;\n}\nvoid UninterpretedOption_NamePart::clear_is_extension() {\n  is_extension_ = false;\n  clear_has_is_extension();\n}\n bool UninterpretedOption_NamePart::is_extension() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.is_extension)\n  return is_extension_;\n}\n void UninterpretedOption_NamePart::set_is_extension(bool value) {\n  set_has_is_extension();\n  is_extension_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.is_extension)\n}\n\n// -------------------------------------------------------------------\n\n// UninterpretedOption\n\n// repeated .google.protobuf.UninterpretedOption.NamePart name = 2;\nint UninterpretedOption::name_size() const {\n  return name_.size();\n}\nvoid UninterpretedOption::clear_name() {\n  name_.Clear();\n}\nconst ::google::protobuf::UninterpretedOption_NamePart& UninterpretedOption::name(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.name)\n  return name_.Get(index);\n}\n::google::protobuf::UninterpretedOption_NamePart* UninterpretedOption::mutable_name(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.name)\n  return name_.Mutable(index);\n}\n::google::protobuf::UninterpretedOption_NamePart* UninterpretedOption::add_name() {\n  // @@protoc_insertion_point(field_add:google.protobuf.UninterpretedOption.name)\n  return name_.Add();\n}\n::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart >*\nUninterpretedOption::mutable_name() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.UninterpretedOption.name)\n  return &name_;\n}\nconst ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart >&\nUninterpretedOption::name() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.UninterpretedOption.name)\n  return name_;\n}\n\n// optional string identifier_value = 3;\nbool UninterpretedOption::has_identifier_value() const {\n  return (_has_bits_[0] & 0x00000002u) != 0;\n}\nvoid UninterpretedOption::set_has_identifier_value() {\n  _has_bits_[0] |= 0x00000002u;\n}\nvoid UninterpretedOption::clear_has_identifier_value() {\n  _has_bits_[0] &= ~0x00000002u;\n}\nvoid UninterpretedOption::clear_identifier_value() {\n  identifier_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_identifier_value();\n}\n const ::std::string& UninterpretedOption::identifier_value() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.identifier_value)\n  return identifier_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void UninterpretedOption::set_identifier_value(const ::std::string& value) {\n  set_has_identifier_value();\n  identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.identifier_value)\n}\n void UninterpretedOption::set_identifier_value(const char* value) {\n  set_has_identifier_value();\n  identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.identifier_value)\n}\n void UninterpretedOption::set_identifier_value(const char* value, size_t size) {\n  set_has_identifier_value();\n  identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.identifier_value)\n}\n ::std::string* UninterpretedOption::mutable_identifier_value() {\n  set_has_identifier_value();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.identifier_value)\n  return identifier_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* UninterpretedOption::release_identifier_value() {\n  // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.identifier_value)\n  clear_has_identifier_value();\n  return identifier_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void UninterpretedOption::set_allocated_identifier_value(::std::string* identifier_value) {\n  if (identifier_value != NULL) {\n    set_has_identifier_value();\n  } else {\n    clear_has_identifier_value();\n  }\n  identifier_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), identifier_value);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.identifier_value)\n}\n\n// optional uint64 positive_int_value = 4;\nbool UninterpretedOption::has_positive_int_value() const {\n  return (_has_bits_[0] & 0x00000004u) != 0;\n}\nvoid UninterpretedOption::set_has_positive_int_value() {\n  _has_bits_[0] |= 0x00000004u;\n}\nvoid UninterpretedOption::clear_has_positive_int_value() {\n  _has_bits_[0] &= ~0x00000004u;\n}\nvoid UninterpretedOption::clear_positive_int_value() {\n  positive_int_value_ = GOOGLE_ULONGLONG(0);\n  clear_has_positive_int_value();\n}\n ::google::protobuf::uint64 UninterpretedOption::positive_int_value() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.positive_int_value)\n  return positive_int_value_;\n}\n void UninterpretedOption::set_positive_int_value(::google::protobuf::uint64 value) {\n  set_has_positive_int_value();\n  positive_int_value_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.positive_int_value)\n}\n\n// optional int64 negative_int_value = 5;\nbool UninterpretedOption::has_negative_int_value() const {\n  return (_has_bits_[0] & 0x00000008u) != 0;\n}\nvoid UninterpretedOption::set_has_negative_int_value() {\n  _has_bits_[0] |= 0x00000008u;\n}\nvoid UninterpretedOption::clear_has_negative_int_value() {\n  _has_bits_[0] &= ~0x00000008u;\n}\nvoid UninterpretedOption::clear_negative_int_value() {\n  negative_int_value_ = GOOGLE_LONGLONG(0);\n  clear_has_negative_int_value();\n}\n ::google::protobuf::int64 UninterpretedOption::negative_int_value() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.negative_int_value)\n  return negative_int_value_;\n}\n void UninterpretedOption::set_negative_int_value(::google::protobuf::int64 value) {\n  set_has_negative_int_value();\n  negative_int_value_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.negative_int_value)\n}\n\n// optional double double_value = 6;\nbool UninterpretedOption::has_double_value() const {\n  return (_has_bits_[0] & 0x00000010u) != 0;\n}\nvoid UninterpretedOption::set_has_double_value() {\n  _has_bits_[0] |= 0x00000010u;\n}\nvoid UninterpretedOption::clear_has_double_value() {\n  _has_bits_[0] &= ~0x00000010u;\n}\nvoid UninterpretedOption::clear_double_value() {\n  double_value_ = 0;\n  clear_has_double_value();\n}\n double UninterpretedOption::double_value() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.double_value)\n  return double_value_;\n}\n void UninterpretedOption::set_double_value(double value) {\n  set_has_double_value();\n  double_value_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.double_value)\n}\n\n// optional bytes string_value = 7;\nbool UninterpretedOption::has_string_value() const {\n  return (_has_bits_[0] & 0x00000020u) != 0;\n}\nvoid UninterpretedOption::set_has_string_value() {\n  _has_bits_[0] |= 0x00000020u;\n}\nvoid UninterpretedOption::clear_has_string_value() {\n  _has_bits_[0] &= ~0x00000020u;\n}\nvoid UninterpretedOption::clear_string_value() {\n  string_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_string_value();\n}\n const ::std::string& UninterpretedOption::string_value() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.string_value)\n  return string_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void UninterpretedOption::set_string_value(const ::std::string& value) {\n  set_has_string_value();\n  string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.string_value)\n}\n void UninterpretedOption::set_string_value(const char* value) {\n  set_has_string_value();\n  string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.string_value)\n}\n void UninterpretedOption::set_string_value(const void* value, size_t size) {\n  set_has_string_value();\n  string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.string_value)\n}\n ::std::string* UninterpretedOption::mutable_string_value() {\n  set_has_string_value();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.string_value)\n  return string_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* UninterpretedOption::release_string_value() {\n  // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.string_value)\n  clear_has_string_value();\n  return string_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void UninterpretedOption::set_allocated_string_value(::std::string* string_value) {\n  if (string_value != NULL) {\n    set_has_string_value();\n  } else {\n    clear_has_string_value();\n  }\n  string_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), string_value);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.string_value)\n}\n\n// optional string aggregate_value = 8;\nbool UninterpretedOption::has_aggregate_value() const {\n  return (_has_bits_[0] & 0x00000040u) != 0;\n}\nvoid UninterpretedOption::set_has_aggregate_value() {\n  _has_bits_[0] |= 0x00000040u;\n}\nvoid UninterpretedOption::clear_has_aggregate_value() {\n  _has_bits_[0] &= ~0x00000040u;\n}\nvoid UninterpretedOption::clear_aggregate_value() {\n  aggregate_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_aggregate_value();\n}\n const ::std::string& UninterpretedOption::aggregate_value() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.aggregate_value)\n  return aggregate_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void UninterpretedOption::set_aggregate_value(const ::std::string& value) {\n  set_has_aggregate_value();\n  aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.aggregate_value)\n}\n void UninterpretedOption::set_aggregate_value(const char* value) {\n  set_has_aggregate_value();\n  aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.aggregate_value)\n}\n void UninterpretedOption::set_aggregate_value(const char* value, size_t size) {\n  set_has_aggregate_value();\n  aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.aggregate_value)\n}\n ::std::string* UninterpretedOption::mutable_aggregate_value() {\n  set_has_aggregate_value();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.aggregate_value)\n  return aggregate_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* UninterpretedOption::release_aggregate_value() {\n  // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.aggregate_value)\n  clear_has_aggregate_value();\n  return aggregate_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void UninterpretedOption::set_allocated_aggregate_value(::std::string* aggregate_value) {\n  if (aggregate_value != NULL) {\n    set_has_aggregate_value();\n  } else {\n    clear_has_aggregate_value();\n  }\n  aggregate_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), aggregate_value);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.aggregate_value)\n}\n\n#endif  // PROTOBUF_INLINE_NOT_IN_HEADERS\n\n// ===================================================================\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst int SourceCodeInfo_Location::kPathFieldNumber;\nconst int SourceCodeInfo_Location::kSpanFieldNumber;\nconst int SourceCodeInfo_Location::kLeadingCommentsFieldNumber;\nconst int SourceCodeInfo_Location::kTrailingCommentsFieldNumber;\nconst int SourceCodeInfo_Location::kLeadingDetachedCommentsFieldNumber;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\n\nSourceCodeInfo_Location::SourceCodeInfo_Location()\n  : ::google::protobuf::Message(), _internal_metadata_(NULL) {\n  SharedCtor();\n  // @@protoc_insertion_point(constructor:google.protobuf.SourceCodeInfo.Location)\n}\n\nvoid SourceCodeInfo_Location::InitAsDefaultInstance() {\n}\n\nSourceCodeInfo_Location::SourceCodeInfo_Location(const SourceCodeInfo_Location& from)\n  : ::google::protobuf::Message(),\n    _internal_metadata_(NULL) {\n  SharedCtor();\n  MergeFrom(from);\n  // @@protoc_insertion_point(copy_constructor:google.protobuf.SourceCodeInfo.Location)\n}\n\nvoid SourceCodeInfo_Location::SharedCtor() {\n  ::google::protobuf::internal::GetEmptyString();\n  _cached_size_ = 0;\n  leading_comments_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  trailing_comments_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n}\n\nSourceCodeInfo_Location::~SourceCodeInfo_Location() {\n  // @@protoc_insertion_point(destructor:google.protobuf.SourceCodeInfo.Location)\n  SharedDtor();\n}\n\nvoid SourceCodeInfo_Location::SharedDtor() {\n  leading_comments_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  trailing_comments_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  if (this != default_instance_) {\n  }\n}\n\nvoid SourceCodeInfo_Location::SetCachedSize(int size) const {\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n}\nconst ::google::protobuf::Descriptor* SourceCodeInfo_Location::descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return SourceCodeInfo_Location_descriptor_;\n}\n\nconst SourceCodeInfo_Location& SourceCodeInfo_Location::default_instance() {\n  if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  return *default_instance_;\n}\n\nSourceCodeInfo_Location* SourceCodeInfo_Location::default_instance_ = NULL;\n\nSourceCodeInfo_Location* SourceCodeInfo_Location::New(::google::protobuf::Arena* arena) const {\n  SourceCodeInfo_Location* n = new SourceCodeInfo_Location;\n  if (arena != NULL) {\n    arena->Own(n);\n  }\n  return n;\n}\n\nvoid SourceCodeInfo_Location::Clear() {\n// @@protoc_insertion_point(message_clear_start:google.protobuf.SourceCodeInfo.Location)\n  if (_has_bits_[0 / 32] & 12u) {\n    if (has_leading_comments()) {\n      leading_comments_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n    }\n    if (has_trailing_comments()) {\n      trailing_comments_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n    }\n  }\n  path_.Clear();\n  span_.Clear();\n  leading_detached_comments_.Clear();\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n  if (_internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->Clear();\n  }\n}\n\nbool SourceCodeInfo_Location::MergePartialFromCodedStream(\n    ::google::protobuf::io::CodedInputStream* input) {\n#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure\n  ::google::protobuf::uint32 tag;\n  // @@protoc_insertion_point(parse_start:google.protobuf.SourceCodeInfo.Location)\n  for (;;) {\n    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);\n    tag = p.first;\n    if (!p.second) goto handle_unusual;\n    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {\n      // repeated int32 path = 1 [packed = true];\n      case 1: {\n        if (tag == 10) {\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<\n                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(\n                 input, this->mutable_path())));\n        } else if (tag == 8) {\n          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline<\n                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(\n                 1, 10, input, this->mutable_path())));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(18)) goto parse_span;\n        break;\n      }\n\n      // repeated int32 span = 2 [packed = true];\n      case 2: {\n        if (tag == 18) {\n         parse_span:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<\n                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(\n                 input, this->mutable_span())));\n        } else if (tag == 16) {\n          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline<\n                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(\n                 1, 18, input, this->mutable_span())));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(26)) goto parse_leading_comments;\n        break;\n      }\n\n      // optional string leading_comments = 3;\n      case 3: {\n        if (tag == 26) {\n         parse_leading_comments:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->mutable_leading_comments()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->leading_comments().data(), this->leading_comments().length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.SourceCodeInfo.Location.leading_comments\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(34)) goto parse_trailing_comments;\n        break;\n      }\n\n      // optional string trailing_comments = 4;\n      case 4: {\n        if (tag == 34) {\n         parse_trailing_comments:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->mutable_trailing_comments()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->trailing_comments().data(), this->trailing_comments().length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.SourceCodeInfo.Location.trailing_comments\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(50)) goto parse_leading_detached_comments;\n        break;\n      }\n\n      // repeated string leading_detached_comments = 6;\n      case 6: {\n        if (tag == 50) {\n         parse_leading_detached_comments:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->add_leading_detached_comments()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->leading_detached_comments(this->leading_detached_comments_size() - 1).data(),\n            this->leading_detached_comments(this->leading_detached_comments_size() - 1).length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.SourceCodeInfo.Location.leading_detached_comments\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(50)) goto parse_leading_detached_comments;\n        if (input->ExpectAtEnd()) goto success;\n        break;\n      }\n\n      default: {\n      handle_unusual:\n        if (tag == 0 ||\n            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==\n            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {\n          goto success;\n        }\n        DO_(::google::protobuf::internal::WireFormat::SkipField(\n              input, tag, mutable_unknown_fields()));\n        break;\n      }\n    }\n  }\nsuccess:\n  // @@protoc_insertion_point(parse_success:google.protobuf.SourceCodeInfo.Location)\n  return true;\nfailure:\n  // @@protoc_insertion_point(parse_failure:google.protobuf.SourceCodeInfo.Location)\n  return false;\n#undef DO_\n}\n\nvoid SourceCodeInfo_Location::SerializeWithCachedSizes(\n    ::google::protobuf::io::CodedOutputStream* output) const {\n  // @@protoc_insertion_point(serialize_start:google.protobuf.SourceCodeInfo.Location)\n  // repeated int32 path = 1 [packed = true];\n  if (this->path_size() > 0) {\n    ::google::protobuf::internal::WireFormatLite::WriteTag(1, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output);\n    output->WriteVarint32(_path_cached_byte_size_);\n  }\n  for (int i = 0; i < this->path_size(); i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteInt32NoTag(\n      this->path(i), output);\n  }\n\n  // repeated int32 span = 2 [packed = true];\n  if (this->span_size() > 0) {\n    ::google::protobuf::internal::WireFormatLite::WriteTag(2, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output);\n    output->WriteVarint32(_span_cached_byte_size_);\n  }\n  for (int i = 0; i < this->span_size(); i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteInt32NoTag(\n      this->span(i), output);\n  }\n\n  // optional string leading_comments = 3;\n  if (has_leading_comments()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->leading_comments().data(), this->leading_comments().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.SourceCodeInfo.Location.leading_comments\");\n    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(\n      3, this->leading_comments(), output);\n  }\n\n  // optional string trailing_comments = 4;\n  if (has_trailing_comments()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->trailing_comments().data(), this->trailing_comments().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.SourceCodeInfo.Location.trailing_comments\");\n    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(\n      4, this->trailing_comments(), output);\n  }\n\n  // repeated string leading_detached_comments = 6;\n  for (int i = 0; i < this->leading_detached_comments_size(); i++) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->leading_detached_comments(i).data(), this->leading_detached_comments(i).length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.SourceCodeInfo.Location.leading_detached_comments\");\n    ::google::protobuf::internal::WireFormatLite::WriteString(\n      6, this->leading_detached_comments(i), output);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(\n        unknown_fields(), output);\n  }\n  // @@protoc_insertion_point(serialize_end:google.protobuf.SourceCodeInfo.Location)\n}\n\n::google::protobuf::uint8* SourceCodeInfo_Location::SerializeWithCachedSizesToArray(\n    ::google::protobuf::uint8* target) const {\n  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.SourceCodeInfo.Location)\n  // repeated int32 path = 1 [packed = true];\n  if (this->path_size() > 0) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray(\n      1,\n      ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED,\n      target);\n    target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray(\n      _path_cached_byte_size_, target);\n  }\n  for (int i = 0; i < this->path_size(); i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteInt32NoTagToArray(this->path(i), target);\n  }\n\n  // repeated int32 span = 2 [packed = true];\n  if (this->span_size() > 0) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray(\n      2,\n      ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED,\n      target);\n    target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray(\n      _span_cached_byte_size_, target);\n  }\n  for (int i = 0; i < this->span_size(); i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteInt32NoTagToArray(this->span(i), target);\n  }\n\n  // optional string leading_comments = 3;\n  if (has_leading_comments()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->leading_comments().data(), this->leading_comments().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.SourceCodeInfo.Location.leading_comments\");\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(\n        3, this->leading_comments(), target);\n  }\n\n  // optional string trailing_comments = 4;\n  if (has_trailing_comments()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->trailing_comments().data(), this->trailing_comments().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.SourceCodeInfo.Location.trailing_comments\");\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(\n        4, this->trailing_comments(), target);\n  }\n\n  // repeated string leading_detached_comments = 6;\n  for (int i = 0; i < this->leading_detached_comments_size(); i++) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->leading_detached_comments(i).data(), this->leading_detached_comments(i).length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.SourceCodeInfo.Location.leading_detached_comments\");\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteStringToArray(6, this->leading_detached_comments(i), target);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(\n        unknown_fields(), target);\n  }\n  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.SourceCodeInfo.Location)\n  return target;\n}\n\nint SourceCodeInfo_Location::ByteSize() const {\n// @@protoc_insertion_point(message_byte_size_start:google.protobuf.SourceCodeInfo.Location)\n  int total_size = 0;\n\n  if (_has_bits_[2 / 32] & 12u) {\n    // optional string leading_comments = 3;\n    if (has_leading_comments()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::StringSize(\n          this->leading_comments());\n    }\n\n    // optional string trailing_comments = 4;\n    if (has_trailing_comments()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::StringSize(\n          this->trailing_comments());\n    }\n\n  }\n  // repeated int32 path = 1 [packed = true];\n  {\n    int data_size = 0;\n    for (int i = 0; i < this->path_size(); i++) {\n      data_size += ::google::protobuf::internal::WireFormatLite::\n        Int32Size(this->path(i));\n    }\n    if (data_size > 0) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::Int32Size(data_size);\n    }\n    GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n    _path_cached_byte_size_ = data_size;\n    GOOGLE_SAFE_CONCURRENT_WRITES_END();\n    total_size += data_size;\n  }\n\n  // repeated int32 span = 2 [packed = true];\n  {\n    int data_size = 0;\n    for (int i = 0; i < this->span_size(); i++) {\n      data_size += ::google::protobuf::internal::WireFormatLite::\n        Int32Size(this->span(i));\n    }\n    if (data_size > 0) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::Int32Size(data_size);\n    }\n    GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n    _span_cached_byte_size_ = data_size;\n    GOOGLE_SAFE_CONCURRENT_WRITES_END();\n    total_size += data_size;\n  }\n\n  // repeated string leading_detached_comments = 6;\n  total_size += 1 * this->leading_detached_comments_size();\n  for (int i = 0; i < this->leading_detached_comments_size(); i++) {\n    total_size += ::google::protobuf::internal::WireFormatLite::StringSize(\n      this->leading_detached_comments(i));\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    total_size +=\n      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(\n        unknown_fields());\n  }\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = total_size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n  return total_size;\n}\n\nvoid SourceCodeInfo_Location::MergeFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.SourceCodeInfo.Location)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  const SourceCodeInfo_Location* source = \n      ::google::protobuf::internal::DynamicCastToGenerated<const SourceCodeInfo_Location>(\n          &from);\n  if (source == NULL) {\n  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.SourceCodeInfo.Location)\n    ::google::protobuf::internal::ReflectionOps::Merge(from, this);\n  } else {\n  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.SourceCodeInfo.Location)\n    MergeFrom(*source);\n  }\n}\n\nvoid SourceCodeInfo_Location::MergeFrom(const SourceCodeInfo_Location& from) {\n// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.SourceCodeInfo.Location)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  path_.MergeFrom(from.path_);\n  span_.MergeFrom(from.span_);\n  leading_detached_comments_.MergeFrom(from.leading_detached_comments_);\n  if (from._has_bits_[2 / 32] & (0xffu << (2 % 32))) {\n    if (from.has_leading_comments()) {\n      set_has_leading_comments();\n      leading_comments_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.leading_comments_);\n    }\n    if (from.has_trailing_comments()) {\n      set_has_trailing_comments();\n      trailing_comments_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.trailing_comments_);\n    }\n  }\n  if (from._internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->MergeFrom(from.unknown_fields());\n  }\n}\n\nvoid SourceCodeInfo_Location::CopyFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.SourceCodeInfo.Location)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nvoid SourceCodeInfo_Location::CopyFrom(const SourceCodeInfo_Location& from) {\n// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.SourceCodeInfo.Location)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nbool SourceCodeInfo_Location::IsInitialized() const {\n\n  return true;\n}\n\nvoid SourceCodeInfo_Location::Swap(SourceCodeInfo_Location* other) {\n  if (other == this) return;\n  InternalSwap(other);\n}\nvoid SourceCodeInfo_Location::InternalSwap(SourceCodeInfo_Location* other) {\n  path_.UnsafeArenaSwap(&other->path_);\n  span_.UnsafeArenaSwap(&other->span_);\n  leading_comments_.Swap(&other->leading_comments_);\n  trailing_comments_.Swap(&other->trailing_comments_);\n  leading_detached_comments_.UnsafeArenaSwap(&other->leading_detached_comments_);\n  std::swap(_has_bits_[0], other->_has_bits_[0]);\n  _internal_metadata_.Swap(&other->_internal_metadata_);\n  std::swap(_cached_size_, other->_cached_size_);\n}\n\n::google::protobuf::Metadata SourceCodeInfo_Location::GetMetadata() const {\n  protobuf_AssignDescriptorsOnce();\n  ::google::protobuf::Metadata metadata;\n  metadata.descriptor = SourceCodeInfo_Location_descriptor_;\n  metadata.reflection = SourceCodeInfo_Location_reflection_;\n  return metadata;\n}\n\n\n// -------------------------------------------------------------------\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst int SourceCodeInfo::kLocationFieldNumber;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\n\nSourceCodeInfo::SourceCodeInfo()\n  : ::google::protobuf::Message(), _internal_metadata_(NULL) {\n  SharedCtor();\n  // @@protoc_insertion_point(constructor:google.protobuf.SourceCodeInfo)\n}\n\nvoid SourceCodeInfo::InitAsDefaultInstance() {\n}\n\nSourceCodeInfo::SourceCodeInfo(const SourceCodeInfo& from)\n  : ::google::protobuf::Message(),\n    _internal_metadata_(NULL) {\n  SharedCtor();\n  MergeFrom(from);\n  // @@protoc_insertion_point(copy_constructor:google.protobuf.SourceCodeInfo)\n}\n\nvoid SourceCodeInfo::SharedCtor() {\n  _cached_size_ = 0;\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n}\n\nSourceCodeInfo::~SourceCodeInfo() {\n  // @@protoc_insertion_point(destructor:google.protobuf.SourceCodeInfo)\n  SharedDtor();\n}\n\nvoid SourceCodeInfo::SharedDtor() {\n  if (this != default_instance_) {\n  }\n}\n\nvoid SourceCodeInfo::SetCachedSize(int size) const {\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n}\nconst ::google::protobuf::Descriptor* SourceCodeInfo::descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return SourceCodeInfo_descriptor_;\n}\n\nconst SourceCodeInfo& SourceCodeInfo::default_instance() {\n  if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  return *default_instance_;\n}\n\nSourceCodeInfo* SourceCodeInfo::default_instance_ = NULL;\n\nSourceCodeInfo* SourceCodeInfo::New(::google::protobuf::Arena* arena) const {\n  SourceCodeInfo* n = new SourceCodeInfo;\n  if (arena != NULL) {\n    arena->Own(n);\n  }\n  return n;\n}\n\nvoid SourceCodeInfo::Clear() {\n// @@protoc_insertion_point(message_clear_start:google.protobuf.SourceCodeInfo)\n  location_.Clear();\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n  if (_internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->Clear();\n  }\n}\n\nbool SourceCodeInfo::MergePartialFromCodedStream(\n    ::google::protobuf::io::CodedInputStream* input) {\n#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure\n  ::google::protobuf::uint32 tag;\n  // @@protoc_insertion_point(parse_start:google.protobuf.SourceCodeInfo)\n  for (;;) {\n    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);\n    tag = p.first;\n    if (!p.second) goto handle_unusual;\n    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {\n      // repeated .google.protobuf.SourceCodeInfo.Location location = 1;\n      case 1: {\n        if (tag == 10) {\n          DO_(input->IncrementRecursionDepth());\n         parse_loop_location:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(\n                input, add_location()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(10)) goto parse_loop_location;\n        input->UnsafeDecrementRecursionDepth();\n        if (input->ExpectAtEnd()) goto success;\n        break;\n      }\n\n      default: {\n      handle_unusual:\n        if (tag == 0 ||\n            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==\n            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {\n          goto success;\n        }\n        DO_(::google::protobuf::internal::WireFormat::SkipField(\n              input, tag, mutable_unknown_fields()));\n        break;\n      }\n    }\n  }\nsuccess:\n  // @@protoc_insertion_point(parse_success:google.protobuf.SourceCodeInfo)\n  return true;\nfailure:\n  // @@protoc_insertion_point(parse_failure:google.protobuf.SourceCodeInfo)\n  return false;\n#undef DO_\n}\n\nvoid SourceCodeInfo::SerializeWithCachedSizes(\n    ::google::protobuf::io::CodedOutputStream* output) const {\n  // @@protoc_insertion_point(serialize_start:google.protobuf.SourceCodeInfo)\n  // repeated .google.protobuf.SourceCodeInfo.Location location = 1;\n  for (unsigned int i = 0, n = this->location_size(); i < n; i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      1, this->location(i), output);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(\n        unknown_fields(), output);\n  }\n  // @@protoc_insertion_point(serialize_end:google.protobuf.SourceCodeInfo)\n}\n\n::google::protobuf::uint8* SourceCodeInfo::SerializeWithCachedSizesToArray(\n    ::google::protobuf::uint8* target) const {\n  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.SourceCodeInfo)\n  // repeated .google.protobuf.SourceCodeInfo.Location location = 1;\n  for (unsigned int i = 0, n = this->location_size(); i < n; i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        1, this->location(i), target);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(\n        unknown_fields(), target);\n  }\n  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.SourceCodeInfo)\n  return target;\n}\n\nint SourceCodeInfo::ByteSize() const {\n// @@protoc_insertion_point(message_byte_size_start:google.protobuf.SourceCodeInfo)\n  int total_size = 0;\n\n  // repeated .google.protobuf.SourceCodeInfo.Location location = 1;\n  total_size += 1 * this->location_size();\n  for (int i = 0; i < this->location_size(); i++) {\n    total_size +=\n      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n        this->location(i));\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    total_size +=\n      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(\n        unknown_fields());\n  }\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = total_size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n  return total_size;\n}\n\nvoid SourceCodeInfo::MergeFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.SourceCodeInfo)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  const SourceCodeInfo* source = \n      ::google::protobuf::internal::DynamicCastToGenerated<const SourceCodeInfo>(\n          &from);\n  if (source == NULL) {\n  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.SourceCodeInfo)\n    ::google::protobuf::internal::ReflectionOps::Merge(from, this);\n  } else {\n  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.SourceCodeInfo)\n    MergeFrom(*source);\n  }\n}\n\nvoid SourceCodeInfo::MergeFrom(const SourceCodeInfo& from) {\n// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.SourceCodeInfo)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  location_.MergeFrom(from.location_);\n  if (from._internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->MergeFrom(from.unknown_fields());\n  }\n}\n\nvoid SourceCodeInfo::CopyFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.SourceCodeInfo)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nvoid SourceCodeInfo::CopyFrom(const SourceCodeInfo& from) {\n// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.SourceCodeInfo)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nbool SourceCodeInfo::IsInitialized() const {\n\n  return true;\n}\n\nvoid SourceCodeInfo::Swap(SourceCodeInfo* other) {\n  if (other == this) return;\n  InternalSwap(other);\n}\nvoid SourceCodeInfo::InternalSwap(SourceCodeInfo* other) {\n  location_.UnsafeArenaSwap(&other->location_);\n  std::swap(_has_bits_[0], other->_has_bits_[0]);\n  _internal_metadata_.Swap(&other->_internal_metadata_);\n  std::swap(_cached_size_, other->_cached_size_);\n}\n\n::google::protobuf::Metadata SourceCodeInfo::GetMetadata() const {\n  protobuf_AssignDescriptorsOnce();\n  ::google::protobuf::Metadata metadata;\n  metadata.descriptor = SourceCodeInfo_descriptor_;\n  metadata.reflection = SourceCodeInfo_reflection_;\n  return metadata;\n}\n\n#if PROTOBUF_INLINE_NOT_IN_HEADERS\n// SourceCodeInfo_Location\n\n// repeated int32 path = 1 [packed = true];\nint SourceCodeInfo_Location::path_size() const {\n  return path_.size();\n}\nvoid SourceCodeInfo_Location::clear_path() {\n  path_.Clear();\n}\n ::google::protobuf::int32 SourceCodeInfo_Location::path(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.path)\n  return path_.Get(index);\n}\n void SourceCodeInfo_Location::set_path(int index, ::google::protobuf::int32 value) {\n  path_.Set(index, value);\n  // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.path)\n}\n void SourceCodeInfo_Location::add_path(::google::protobuf::int32 value) {\n  path_.Add(value);\n  // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.path)\n}\n const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&\nSourceCodeInfo_Location::path() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.path)\n  return path_;\n}\n ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*\nSourceCodeInfo_Location::mutable_path() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.path)\n  return &path_;\n}\n\n// repeated int32 span = 2 [packed = true];\nint SourceCodeInfo_Location::span_size() const {\n  return span_.size();\n}\nvoid SourceCodeInfo_Location::clear_span() {\n  span_.Clear();\n}\n ::google::protobuf::int32 SourceCodeInfo_Location::span(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.span)\n  return span_.Get(index);\n}\n void SourceCodeInfo_Location::set_span(int index, ::google::protobuf::int32 value) {\n  span_.Set(index, value);\n  // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.span)\n}\n void SourceCodeInfo_Location::add_span(::google::protobuf::int32 value) {\n  span_.Add(value);\n  // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.span)\n}\n const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&\nSourceCodeInfo_Location::span() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.span)\n  return span_;\n}\n ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*\nSourceCodeInfo_Location::mutable_span() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.span)\n  return &span_;\n}\n\n// optional string leading_comments = 3;\nbool SourceCodeInfo_Location::has_leading_comments() const {\n  return (_has_bits_[0] & 0x00000004u) != 0;\n}\nvoid SourceCodeInfo_Location::set_has_leading_comments() {\n  _has_bits_[0] |= 0x00000004u;\n}\nvoid SourceCodeInfo_Location::clear_has_leading_comments() {\n  _has_bits_[0] &= ~0x00000004u;\n}\nvoid SourceCodeInfo_Location::clear_leading_comments() {\n  leading_comments_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_leading_comments();\n}\n const ::std::string& SourceCodeInfo_Location::leading_comments() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_comments)\n  return leading_comments_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void SourceCodeInfo_Location::set_leading_comments(const ::std::string& value) {\n  set_has_leading_comments();\n  leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_comments)\n}\n void SourceCodeInfo_Location::set_leading_comments(const char* value) {\n  set_has_leading_comments();\n  leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Location.leading_comments)\n}\n void SourceCodeInfo_Location::set_leading_comments(const char* value, size_t size) {\n  set_has_leading_comments();\n  leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.Location.leading_comments)\n}\n ::std::string* SourceCodeInfo_Location::mutable_leading_comments() {\n  set_has_leading_comments();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_comments)\n  return leading_comments_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* SourceCodeInfo_Location::release_leading_comments() {\n  // @@protoc_insertion_point(field_release:google.protobuf.SourceCodeInfo.Location.leading_comments)\n  clear_has_leading_comments();\n  return leading_comments_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void SourceCodeInfo_Location::set_allocated_leading_comments(::std::string* leading_comments) {\n  if (leading_comments != NULL) {\n    set_has_leading_comments();\n  } else {\n    clear_has_leading_comments();\n  }\n  leading_comments_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), leading_comments);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.leading_comments)\n}\n\n// optional string trailing_comments = 4;\nbool SourceCodeInfo_Location::has_trailing_comments() const {\n  return (_has_bits_[0] & 0x00000008u) != 0;\n}\nvoid SourceCodeInfo_Location::set_has_trailing_comments() {\n  _has_bits_[0] |= 0x00000008u;\n}\nvoid SourceCodeInfo_Location::clear_has_trailing_comments() {\n  _has_bits_[0] &= ~0x00000008u;\n}\nvoid SourceCodeInfo_Location::clear_trailing_comments() {\n  trailing_comments_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_trailing_comments();\n}\n const ::std::string& SourceCodeInfo_Location::trailing_comments() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.trailing_comments)\n  return trailing_comments_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void SourceCodeInfo_Location::set_trailing_comments(const ::std::string& value) {\n  set_has_trailing_comments();\n  trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.trailing_comments)\n}\n void SourceCodeInfo_Location::set_trailing_comments(const char* value) {\n  set_has_trailing_comments();\n  trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Location.trailing_comments)\n}\n void SourceCodeInfo_Location::set_trailing_comments(const char* value, size_t size) {\n  set_has_trailing_comments();\n  trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.Location.trailing_comments)\n}\n ::std::string* SourceCodeInfo_Location::mutable_trailing_comments() {\n  set_has_trailing_comments();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.trailing_comments)\n  return trailing_comments_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* SourceCodeInfo_Location::release_trailing_comments() {\n  // @@protoc_insertion_point(field_release:google.protobuf.SourceCodeInfo.Location.trailing_comments)\n  clear_has_trailing_comments();\n  return trailing_comments_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void SourceCodeInfo_Location::set_allocated_trailing_comments(::std::string* trailing_comments) {\n  if (trailing_comments != NULL) {\n    set_has_trailing_comments();\n  } else {\n    clear_has_trailing_comments();\n  }\n  trailing_comments_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), trailing_comments);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.trailing_comments)\n}\n\n// repeated string leading_detached_comments = 6;\nint SourceCodeInfo_Location::leading_detached_comments_size() const {\n  return leading_detached_comments_.size();\n}\nvoid SourceCodeInfo_Location::clear_leading_detached_comments() {\n  leading_detached_comments_.Clear();\n}\n const ::std::string& SourceCodeInfo_Location::leading_detached_comments(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)\n  return leading_detached_comments_.Get(index);\n}\n ::std::string* SourceCodeInfo_Location::mutable_leading_detached_comments(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)\n  return leading_detached_comments_.Mutable(index);\n}\n void SourceCodeInfo_Location::set_leading_detached_comments(int index, const ::std::string& value) {\n  // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)\n  leading_detached_comments_.Mutable(index)->assign(value);\n}\n void SourceCodeInfo_Location::set_leading_detached_comments(int index, const char* value) {\n  leading_detached_comments_.Mutable(index)->assign(value);\n  // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)\n}\n void SourceCodeInfo_Location::set_leading_detached_comments(int index, const char* value, size_t size) {\n  leading_detached_comments_.Mutable(index)->assign(\n    reinterpret_cast<const char*>(value), size);\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)\n}\n ::std::string* SourceCodeInfo_Location::add_leading_detached_comments() {\n  // @@protoc_insertion_point(field_add_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)\n  return leading_detached_comments_.Add();\n}\n void SourceCodeInfo_Location::add_leading_detached_comments(const ::std::string& value) {\n  leading_detached_comments_.Add()->assign(value);\n  // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)\n}\n void SourceCodeInfo_Location::add_leading_detached_comments(const char* value) {\n  leading_detached_comments_.Add()->assign(value);\n  // @@protoc_insertion_point(field_add_char:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)\n}\n void SourceCodeInfo_Location::add_leading_detached_comments(const char* value, size_t size) {\n  leading_detached_comments_.Add()->assign(reinterpret_cast<const char*>(value), size);\n  // @@protoc_insertion_point(field_add_pointer:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)\n}\n const ::google::protobuf::RepeatedPtrField< ::std::string>&\nSourceCodeInfo_Location::leading_detached_comments() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)\n  return leading_detached_comments_;\n}\n ::google::protobuf::RepeatedPtrField< ::std::string>*\nSourceCodeInfo_Location::mutable_leading_detached_comments() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)\n  return &leading_detached_comments_;\n}\n\n// -------------------------------------------------------------------\n\n// SourceCodeInfo\n\n// repeated .google.protobuf.SourceCodeInfo.Location location = 1;\nint SourceCodeInfo::location_size() const {\n  return location_.size();\n}\nvoid SourceCodeInfo::clear_location() {\n  location_.Clear();\n}\nconst ::google::protobuf::SourceCodeInfo_Location& SourceCodeInfo::location(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.location)\n  return location_.Get(index);\n}\n::google::protobuf::SourceCodeInfo_Location* SourceCodeInfo::mutable_location(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.location)\n  return location_.Mutable(index);\n}\n::google::protobuf::SourceCodeInfo_Location* SourceCodeInfo::add_location() {\n  // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.location)\n  return location_.Add();\n}\n::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location >*\nSourceCodeInfo::mutable_location() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.location)\n  return &location_;\n}\nconst ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location >&\nSourceCodeInfo::location() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.location)\n  return location_;\n}\n\n#endif  // PROTOBUF_INLINE_NOT_IN_HEADERS\n\n// ===================================================================\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst int GeneratedCodeInfo_Annotation::kPathFieldNumber;\nconst int GeneratedCodeInfo_Annotation::kSourceFileFieldNumber;\nconst int GeneratedCodeInfo_Annotation::kBeginFieldNumber;\nconst int GeneratedCodeInfo_Annotation::kEndFieldNumber;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\n\nGeneratedCodeInfo_Annotation::GeneratedCodeInfo_Annotation()\n  : ::google::protobuf::Message(), _internal_metadata_(NULL) {\n  SharedCtor();\n  // @@protoc_insertion_point(constructor:google.protobuf.GeneratedCodeInfo.Annotation)\n}\n\nvoid GeneratedCodeInfo_Annotation::InitAsDefaultInstance() {\n}\n\nGeneratedCodeInfo_Annotation::GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation& from)\n  : ::google::protobuf::Message(),\n    _internal_metadata_(NULL) {\n  SharedCtor();\n  MergeFrom(from);\n  // @@protoc_insertion_point(copy_constructor:google.protobuf.GeneratedCodeInfo.Annotation)\n}\n\nvoid GeneratedCodeInfo_Annotation::SharedCtor() {\n  ::google::protobuf::internal::GetEmptyString();\n  _cached_size_ = 0;\n  source_file_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  begin_ = 0;\n  end_ = 0;\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n}\n\nGeneratedCodeInfo_Annotation::~GeneratedCodeInfo_Annotation() {\n  // @@protoc_insertion_point(destructor:google.protobuf.GeneratedCodeInfo.Annotation)\n  SharedDtor();\n}\n\nvoid GeneratedCodeInfo_Annotation::SharedDtor() {\n  source_file_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  if (this != default_instance_) {\n  }\n}\n\nvoid GeneratedCodeInfo_Annotation::SetCachedSize(int size) const {\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n}\nconst ::google::protobuf::Descriptor* GeneratedCodeInfo_Annotation::descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return GeneratedCodeInfo_Annotation_descriptor_;\n}\n\nconst GeneratedCodeInfo_Annotation& GeneratedCodeInfo_Annotation::default_instance() {\n  if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  return *default_instance_;\n}\n\nGeneratedCodeInfo_Annotation* GeneratedCodeInfo_Annotation::default_instance_ = NULL;\n\nGeneratedCodeInfo_Annotation* GeneratedCodeInfo_Annotation::New(::google::protobuf::Arena* arena) const {\n  GeneratedCodeInfo_Annotation* n = new GeneratedCodeInfo_Annotation;\n  if (arena != NULL) {\n    arena->Own(n);\n  }\n  return n;\n}\n\nvoid GeneratedCodeInfo_Annotation::Clear() {\n// @@protoc_insertion_point(message_clear_start:google.protobuf.GeneratedCodeInfo.Annotation)\n#if defined(__clang__)\n#define ZR_HELPER_(f) \\\n  _Pragma(\"clang diagnostic push\") \\\n  _Pragma(\"clang diagnostic ignored \\\"-Winvalid-offsetof\\\"\") \\\n  __builtin_offsetof(GeneratedCodeInfo_Annotation, f) \\\n  _Pragma(\"clang diagnostic pop\")\n#else\n#define ZR_HELPER_(f) reinterpret_cast<char*>(\\\n  &reinterpret_cast<GeneratedCodeInfo_Annotation*>(16)->f)\n#endif\n\n#define ZR_(first, last) do {\\\n  ::memset(&first, 0,\\\n           ZR_HELPER_(last) - ZR_HELPER_(first) + sizeof(last));\\\n} while (0)\n\n  if (_has_bits_[0 / 32] & 14u) {\n    ZR_(begin_, end_);\n    if (has_source_file()) {\n      source_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n    }\n  }\n\n#undef ZR_HELPER_\n#undef ZR_\n\n  path_.Clear();\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n  if (_internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->Clear();\n  }\n}\n\nbool GeneratedCodeInfo_Annotation::MergePartialFromCodedStream(\n    ::google::protobuf::io::CodedInputStream* input) {\n#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure\n  ::google::protobuf::uint32 tag;\n  // @@protoc_insertion_point(parse_start:google.protobuf.GeneratedCodeInfo.Annotation)\n  for (;;) {\n    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);\n    tag = p.first;\n    if (!p.second) goto handle_unusual;\n    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {\n      // repeated int32 path = 1 [packed = true];\n      case 1: {\n        if (tag == 10) {\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<\n                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(\n                 input, this->mutable_path())));\n        } else if (tag == 8) {\n          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline<\n                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(\n                 1, 10, input, this->mutable_path())));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(18)) goto parse_source_file;\n        break;\n      }\n\n      // optional string source_file = 2;\n      case 2: {\n        if (tag == 18) {\n         parse_source_file:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadString(\n                input, this->mutable_source_file()));\n          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n            this->source_file().data(), this->source_file().length(),\n            ::google::protobuf::internal::WireFormat::PARSE,\n            \"google.protobuf.GeneratedCodeInfo.Annotation.source_file\");\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(24)) goto parse_begin;\n        break;\n      }\n\n      // optional int32 begin = 3;\n      case 3: {\n        if (tag == 24) {\n         parse_begin:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(\n                 input, &begin_)));\n          set_has_begin();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(32)) goto parse_end;\n        break;\n      }\n\n      // optional int32 end = 4;\n      case 4: {\n        if (tag == 32) {\n         parse_end:\n          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<\n                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(\n                 input, &end_)));\n          set_has_end();\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectAtEnd()) goto success;\n        break;\n      }\n\n      default: {\n      handle_unusual:\n        if (tag == 0 ||\n            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==\n            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {\n          goto success;\n        }\n        DO_(::google::protobuf::internal::WireFormat::SkipField(\n              input, tag, mutable_unknown_fields()));\n        break;\n      }\n    }\n  }\nsuccess:\n  // @@protoc_insertion_point(parse_success:google.protobuf.GeneratedCodeInfo.Annotation)\n  return true;\nfailure:\n  // @@protoc_insertion_point(parse_failure:google.protobuf.GeneratedCodeInfo.Annotation)\n  return false;\n#undef DO_\n}\n\nvoid GeneratedCodeInfo_Annotation::SerializeWithCachedSizes(\n    ::google::protobuf::io::CodedOutputStream* output) const {\n  // @@protoc_insertion_point(serialize_start:google.protobuf.GeneratedCodeInfo.Annotation)\n  // repeated int32 path = 1 [packed = true];\n  if (this->path_size() > 0) {\n    ::google::protobuf::internal::WireFormatLite::WriteTag(1, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output);\n    output->WriteVarint32(_path_cached_byte_size_);\n  }\n  for (int i = 0; i < this->path_size(); i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteInt32NoTag(\n      this->path(i), output);\n  }\n\n  // optional string source_file = 2;\n  if (has_source_file()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->source_file().data(), this->source_file().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.GeneratedCodeInfo.Annotation.source_file\");\n    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(\n      2, this->source_file(), output);\n  }\n\n  // optional int32 begin = 3;\n  if (has_begin()) {\n    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->begin(), output);\n  }\n\n  // optional int32 end = 4;\n  if (has_end()) {\n    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->end(), output);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(\n        unknown_fields(), output);\n  }\n  // @@protoc_insertion_point(serialize_end:google.protobuf.GeneratedCodeInfo.Annotation)\n}\n\n::google::protobuf::uint8* GeneratedCodeInfo_Annotation::SerializeWithCachedSizesToArray(\n    ::google::protobuf::uint8* target) const {\n  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.GeneratedCodeInfo.Annotation)\n  // repeated int32 path = 1 [packed = true];\n  if (this->path_size() > 0) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray(\n      1,\n      ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED,\n      target);\n    target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray(\n      _path_cached_byte_size_, target);\n  }\n  for (int i = 0; i < this->path_size(); i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteInt32NoTagToArray(this->path(i), target);\n  }\n\n  // optional string source_file = 2;\n  if (has_source_file()) {\n    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(\n      this->source_file().data(), this->source_file().length(),\n      ::google::protobuf::internal::WireFormat::SERIALIZE,\n      \"google.protobuf.GeneratedCodeInfo.Annotation.source_file\");\n    target =\n      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(\n        2, this->source_file(), target);\n  }\n\n  // optional int32 begin = 3;\n  if (has_begin()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->begin(), target);\n  }\n\n  // optional int32 end = 4;\n  if (has_end()) {\n    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->end(), target);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(\n        unknown_fields(), target);\n  }\n  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.GeneratedCodeInfo.Annotation)\n  return target;\n}\n\nint GeneratedCodeInfo_Annotation::ByteSize() const {\n// @@protoc_insertion_point(message_byte_size_start:google.protobuf.GeneratedCodeInfo.Annotation)\n  int total_size = 0;\n\n  if (_has_bits_[1 / 32] & 14u) {\n    // optional string source_file = 2;\n    if (has_source_file()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::StringSize(\n          this->source_file());\n    }\n\n    // optional int32 begin = 3;\n    if (has_begin()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::Int32Size(\n          this->begin());\n    }\n\n    // optional int32 end = 4;\n    if (has_end()) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::Int32Size(\n          this->end());\n    }\n\n  }\n  // repeated int32 path = 1 [packed = true];\n  {\n    int data_size = 0;\n    for (int i = 0; i < this->path_size(); i++) {\n      data_size += ::google::protobuf::internal::WireFormatLite::\n        Int32Size(this->path(i));\n    }\n    if (data_size > 0) {\n      total_size += 1 +\n        ::google::protobuf::internal::WireFormatLite::Int32Size(data_size);\n    }\n    GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n    _path_cached_byte_size_ = data_size;\n    GOOGLE_SAFE_CONCURRENT_WRITES_END();\n    total_size += data_size;\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    total_size +=\n      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(\n        unknown_fields());\n  }\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = total_size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n  return total_size;\n}\n\nvoid GeneratedCodeInfo_Annotation::MergeFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.GeneratedCodeInfo.Annotation)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  const GeneratedCodeInfo_Annotation* source = \n      ::google::protobuf::internal::DynamicCastToGenerated<const GeneratedCodeInfo_Annotation>(\n          &from);\n  if (source == NULL) {\n  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.GeneratedCodeInfo.Annotation)\n    ::google::protobuf::internal::ReflectionOps::Merge(from, this);\n  } else {\n  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.GeneratedCodeInfo.Annotation)\n    MergeFrom(*source);\n  }\n}\n\nvoid GeneratedCodeInfo_Annotation::MergeFrom(const GeneratedCodeInfo_Annotation& from) {\n// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.GeneratedCodeInfo.Annotation)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  path_.MergeFrom(from.path_);\n  if (from._has_bits_[1 / 32] & (0xffu << (1 % 32))) {\n    if (from.has_source_file()) {\n      set_has_source_file();\n      source_file_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.source_file_);\n    }\n    if (from.has_begin()) {\n      set_begin(from.begin());\n    }\n    if (from.has_end()) {\n      set_end(from.end());\n    }\n  }\n  if (from._internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->MergeFrom(from.unknown_fields());\n  }\n}\n\nvoid GeneratedCodeInfo_Annotation::CopyFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.GeneratedCodeInfo.Annotation)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nvoid GeneratedCodeInfo_Annotation::CopyFrom(const GeneratedCodeInfo_Annotation& from) {\n// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.GeneratedCodeInfo.Annotation)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nbool GeneratedCodeInfo_Annotation::IsInitialized() const {\n\n  return true;\n}\n\nvoid GeneratedCodeInfo_Annotation::Swap(GeneratedCodeInfo_Annotation* other) {\n  if (other == this) return;\n  InternalSwap(other);\n}\nvoid GeneratedCodeInfo_Annotation::InternalSwap(GeneratedCodeInfo_Annotation* other) {\n  path_.UnsafeArenaSwap(&other->path_);\n  source_file_.Swap(&other->source_file_);\n  std::swap(begin_, other->begin_);\n  std::swap(end_, other->end_);\n  std::swap(_has_bits_[0], other->_has_bits_[0]);\n  _internal_metadata_.Swap(&other->_internal_metadata_);\n  std::swap(_cached_size_, other->_cached_size_);\n}\n\n::google::protobuf::Metadata GeneratedCodeInfo_Annotation::GetMetadata() const {\n  protobuf_AssignDescriptorsOnce();\n  ::google::protobuf::Metadata metadata;\n  metadata.descriptor = GeneratedCodeInfo_Annotation_descriptor_;\n  metadata.reflection = GeneratedCodeInfo_Annotation_reflection_;\n  return metadata;\n}\n\n\n// -------------------------------------------------------------------\n\n#if !defined(_MSC_VER) || _MSC_VER >= 1900\nconst int GeneratedCodeInfo::kAnnotationFieldNumber;\n#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900\n\nGeneratedCodeInfo::GeneratedCodeInfo()\n  : ::google::protobuf::Message(), _internal_metadata_(NULL) {\n  SharedCtor();\n  // @@protoc_insertion_point(constructor:google.protobuf.GeneratedCodeInfo)\n}\n\nvoid GeneratedCodeInfo::InitAsDefaultInstance() {\n}\n\nGeneratedCodeInfo::GeneratedCodeInfo(const GeneratedCodeInfo& from)\n  : ::google::protobuf::Message(),\n    _internal_metadata_(NULL) {\n  SharedCtor();\n  MergeFrom(from);\n  // @@protoc_insertion_point(copy_constructor:google.protobuf.GeneratedCodeInfo)\n}\n\nvoid GeneratedCodeInfo::SharedCtor() {\n  _cached_size_ = 0;\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n}\n\nGeneratedCodeInfo::~GeneratedCodeInfo() {\n  // @@protoc_insertion_point(destructor:google.protobuf.GeneratedCodeInfo)\n  SharedDtor();\n}\n\nvoid GeneratedCodeInfo::SharedDtor() {\n  if (this != default_instance_) {\n  }\n}\n\nvoid GeneratedCodeInfo::SetCachedSize(int size) const {\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n}\nconst ::google::protobuf::Descriptor* GeneratedCodeInfo::descriptor() {\n  protobuf_AssignDescriptorsOnce();\n  return GeneratedCodeInfo_descriptor_;\n}\n\nconst GeneratedCodeInfo& GeneratedCodeInfo::default_instance() {\n  if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  return *default_instance_;\n}\n\nGeneratedCodeInfo* GeneratedCodeInfo::default_instance_ = NULL;\n\nGeneratedCodeInfo* GeneratedCodeInfo::New(::google::protobuf::Arena* arena) const {\n  GeneratedCodeInfo* n = new GeneratedCodeInfo;\n  if (arena != NULL) {\n    arena->Own(n);\n  }\n  return n;\n}\n\nvoid GeneratedCodeInfo::Clear() {\n// @@protoc_insertion_point(message_clear_start:google.protobuf.GeneratedCodeInfo)\n  annotation_.Clear();\n  ::memset(_has_bits_, 0, sizeof(_has_bits_));\n  if (_internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->Clear();\n  }\n}\n\nbool GeneratedCodeInfo::MergePartialFromCodedStream(\n    ::google::protobuf::io::CodedInputStream* input) {\n#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure\n  ::google::protobuf::uint32 tag;\n  // @@protoc_insertion_point(parse_start:google.protobuf.GeneratedCodeInfo)\n  for (;;) {\n    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);\n    tag = p.first;\n    if (!p.second) goto handle_unusual;\n    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {\n      // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;\n      case 1: {\n        if (tag == 10) {\n          DO_(input->IncrementRecursionDepth());\n         parse_loop_annotation:\n          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(\n                input, add_annotation()));\n        } else {\n          goto handle_unusual;\n        }\n        if (input->ExpectTag(10)) goto parse_loop_annotation;\n        input->UnsafeDecrementRecursionDepth();\n        if (input->ExpectAtEnd()) goto success;\n        break;\n      }\n\n      default: {\n      handle_unusual:\n        if (tag == 0 ||\n            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==\n            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {\n          goto success;\n        }\n        DO_(::google::protobuf::internal::WireFormat::SkipField(\n              input, tag, mutable_unknown_fields()));\n        break;\n      }\n    }\n  }\nsuccess:\n  // @@protoc_insertion_point(parse_success:google.protobuf.GeneratedCodeInfo)\n  return true;\nfailure:\n  // @@protoc_insertion_point(parse_failure:google.protobuf.GeneratedCodeInfo)\n  return false;\n#undef DO_\n}\n\nvoid GeneratedCodeInfo::SerializeWithCachedSizes(\n    ::google::protobuf::io::CodedOutputStream* output) const {\n  // @@protoc_insertion_point(serialize_start:google.protobuf.GeneratedCodeInfo)\n  // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;\n  for (unsigned int i = 0, n = this->annotation_size(); i < n; i++) {\n    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(\n      1, this->annotation(i), output);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(\n        unknown_fields(), output);\n  }\n  // @@protoc_insertion_point(serialize_end:google.protobuf.GeneratedCodeInfo)\n}\n\n::google::protobuf::uint8* GeneratedCodeInfo::SerializeWithCachedSizesToArray(\n    ::google::protobuf::uint8* target) const {\n  // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.GeneratedCodeInfo)\n  // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;\n  for (unsigned int i = 0, n = this->annotation_size(); i < n; i++) {\n    target = ::google::protobuf::internal::WireFormatLite::\n      WriteMessageNoVirtualToArray(\n        1, this->annotation(i), target);\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(\n        unknown_fields(), target);\n  }\n  // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.GeneratedCodeInfo)\n  return target;\n}\n\nint GeneratedCodeInfo::ByteSize() const {\n// @@protoc_insertion_point(message_byte_size_start:google.protobuf.GeneratedCodeInfo)\n  int total_size = 0;\n\n  // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;\n  total_size += 1 * this->annotation_size();\n  for (int i = 0; i < this->annotation_size(); i++) {\n    total_size +=\n      ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(\n        this->annotation(i));\n  }\n\n  if (_internal_metadata_.have_unknown_fields()) {\n    total_size +=\n      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(\n        unknown_fields());\n  }\n  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();\n  _cached_size_ = total_size;\n  GOOGLE_SAFE_CONCURRENT_WRITES_END();\n  return total_size;\n}\n\nvoid GeneratedCodeInfo::MergeFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.GeneratedCodeInfo)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  const GeneratedCodeInfo* source = \n      ::google::protobuf::internal::DynamicCastToGenerated<const GeneratedCodeInfo>(\n          &from);\n  if (source == NULL) {\n  // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.GeneratedCodeInfo)\n    ::google::protobuf::internal::ReflectionOps::Merge(from, this);\n  } else {\n  // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.GeneratedCodeInfo)\n    MergeFrom(*source);\n  }\n}\n\nvoid GeneratedCodeInfo::MergeFrom(const GeneratedCodeInfo& from) {\n// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.GeneratedCodeInfo)\n  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);\n  annotation_.MergeFrom(from.annotation_);\n  if (from._internal_metadata_.have_unknown_fields()) {\n    mutable_unknown_fields()->MergeFrom(from.unknown_fields());\n  }\n}\n\nvoid GeneratedCodeInfo::CopyFrom(const ::google::protobuf::Message& from) {\n// @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.GeneratedCodeInfo)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nvoid GeneratedCodeInfo::CopyFrom(const GeneratedCodeInfo& from) {\n// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.GeneratedCodeInfo)\n  if (&from == this) return;\n  Clear();\n  MergeFrom(from);\n}\n\nbool GeneratedCodeInfo::IsInitialized() const {\n\n  return true;\n}\n\nvoid GeneratedCodeInfo::Swap(GeneratedCodeInfo* other) {\n  if (other == this) return;\n  InternalSwap(other);\n}\nvoid GeneratedCodeInfo::InternalSwap(GeneratedCodeInfo* other) {\n  annotation_.UnsafeArenaSwap(&other->annotation_);\n  std::swap(_has_bits_[0], other->_has_bits_[0]);\n  _internal_metadata_.Swap(&other->_internal_metadata_);\n  std::swap(_cached_size_, other->_cached_size_);\n}\n\n::google::protobuf::Metadata GeneratedCodeInfo::GetMetadata() const {\n  protobuf_AssignDescriptorsOnce();\n  ::google::protobuf::Metadata metadata;\n  metadata.descriptor = GeneratedCodeInfo_descriptor_;\n  metadata.reflection = GeneratedCodeInfo_reflection_;\n  return metadata;\n}\n\n#if PROTOBUF_INLINE_NOT_IN_HEADERS\n// GeneratedCodeInfo_Annotation\n\n// repeated int32 path = 1 [packed = true];\nint GeneratedCodeInfo_Annotation::path_size() const {\n  return path_.size();\n}\nvoid GeneratedCodeInfo_Annotation::clear_path() {\n  path_.Clear();\n}\n ::google::protobuf::int32 GeneratedCodeInfo_Annotation::path(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.path)\n  return path_.Get(index);\n}\n void GeneratedCodeInfo_Annotation::set_path(int index, ::google::protobuf::int32 value) {\n  path_.Set(index, value);\n  // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.path)\n}\n void GeneratedCodeInfo_Annotation::add_path(::google::protobuf::int32 value) {\n  path_.Add(value);\n  // @@protoc_insertion_point(field_add:google.protobuf.GeneratedCodeInfo.Annotation.path)\n}\n const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&\nGeneratedCodeInfo_Annotation::path() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.GeneratedCodeInfo.Annotation.path)\n  return path_;\n}\n ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*\nGeneratedCodeInfo_Annotation::mutable_path() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeInfo.Annotation.path)\n  return &path_;\n}\n\n// optional string source_file = 2;\nbool GeneratedCodeInfo_Annotation::has_source_file() const {\n  return (_has_bits_[0] & 0x00000002u) != 0;\n}\nvoid GeneratedCodeInfo_Annotation::set_has_source_file() {\n  _has_bits_[0] |= 0x00000002u;\n}\nvoid GeneratedCodeInfo_Annotation::clear_has_source_file() {\n  _has_bits_[0] &= ~0x00000002u;\n}\nvoid GeneratedCodeInfo_Annotation::clear_source_file() {\n  source_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_source_file();\n}\n const ::std::string& GeneratedCodeInfo_Annotation::source_file() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.source_file)\n  return source_file_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void GeneratedCodeInfo_Annotation::set_source_file(const ::std::string& value) {\n  set_has_source_file();\n  source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.source_file)\n}\n void GeneratedCodeInfo_Annotation::set_source_file(const char* value) {\n  set_has_source_file();\n  source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.GeneratedCodeInfo.Annotation.source_file)\n}\n void GeneratedCodeInfo_Annotation::set_source_file(const char* value, size_t size) {\n  set_has_source_file();\n  source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.GeneratedCodeInfo.Annotation.source_file)\n}\n ::std::string* GeneratedCodeInfo_Annotation::mutable_source_file() {\n  set_has_source_file();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.Annotation.source_file)\n  return source_file_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n ::std::string* GeneratedCodeInfo_Annotation::release_source_file() {\n  // @@protoc_insertion_point(field_release:google.protobuf.GeneratedCodeInfo.Annotation.source_file)\n  clear_has_source_file();\n  return source_file_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\n void GeneratedCodeInfo_Annotation::set_allocated_source_file(::std::string* source_file) {\n  if (source_file != NULL) {\n    set_has_source_file();\n  } else {\n    clear_has_source_file();\n  }\n  source_file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), source_file);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.GeneratedCodeInfo.Annotation.source_file)\n}\n\n// optional int32 begin = 3;\nbool GeneratedCodeInfo_Annotation::has_begin() const {\n  return (_has_bits_[0] & 0x00000004u) != 0;\n}\nvoid GeneratedCodeInfo_Annotation::set_has_begin() {\n  _has_bits_[0] |= 0x00000004u;\n}\nvoid GeneratedCodeInfo_Annotation::clear_has_begin() {\n  _has_bits_[0] &= ~0x00000004u;\n}\nvoid GeneratedCodeInfo_Annotation::clear_begin() {\n  begin_ = 0;\n  clear_has_begin();\n}\n ::google::protobuf::int32 GeneratedCodeInfo_Annotation::begin() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.begin)\n  return begin_;\n}\n void GeneratedCodeInfo_Annotation::set_begin(::google::protobuf::int32 value) {\n  set_has_begin();\n  begin_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.begin)\n}\n\n// optional int32 end = 4;\nbool GeneratedCodeInfo_Annotation::has_end() const {\n  return (_has_bits_[0] & 0x00000008u) != 0;\n}\nvoid GeneratedCodeInfo_Annotation::set_has_end() {\n  _has_bits_[0] |= 0x00000008u;\n}\nvoid GeneratedCodeInfo_Annotation::clear_has_end() {\n  _has_bits_[0] &= ~0x00000008u;\n}\nvoid GeneratedCodeInfo_Annotation::clear_end() {\n  end_ = 0;\n  clear_has_end();\n}\n ::google::protobuf::int32 GeneratedCodeInfo_Annotation::end() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.end)\n  return end_;\n}\n void GeneratedCodeInfo_Annotation::set_end(::google::protobuf::int32 value) {\n  set_has_end();\n  end_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.end)\n}\n\n// -------------------------------------------------------------------\n\n// GeneratedCodeInfo\n\n// repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;\nint GeneratedCodeInfo::annotation_size() const {\n  return annotation_.size();\n}\nvoid GeneratedCodeInfo::clear_annotation() {\n  annotation_.Clear();\n}\nconst ::google::protobuf::GeneratedCodeInfo_Annotation& GeneratedCodeInfo::annotation(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.annotation)\n  return annotation_.Get(index);\n}\n::google::protobuf::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::mutable_annotation(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.annotation)\n  return annotation_.Mutable(index);\n}\n::google::protobuf::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::add_annotation() {\n  // @@protoc_insertion_point(field_add:google.protobuf.GeneratedCodeInfo.annotation)\n  return annotation_.Add();\n}\n::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_Annotation >*\nGeneratedCodeInfo::mutable_annotation() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeInfo.annotation)\n  return &annotation_;\n}\nconst ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_Annotation >&\nGeneratedCodeInfo::annotation() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.GeneratedCodeInfo.annotation)\n  return annotation_;\n}\n\n#endif  // PROTOBUF_INLINE_NOT_IN_HEADERS\n\n// @@protoc_insertion_point(namespace_scope)\n\n}  // namespace protobuf\n}  // namespace google\n\n// @@protoc_insertion_point(global_scope)\n"
  },
  {
    "path": "deps/cpplint/samples/protobuf-sample/src/descriptor.pb.h",
    "content": "// Generated by the protocol buffer compiler.  DO NOT EDIT!\n// source: google/protobuf/descriptor.proto\n\n#ifndef PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED\n#define PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED\n\n#include <string>\n\n#include <google/protobuf/stubs/common.h>\n\n#if GOOGLE_PROTOBUF_VERSION < 3000000\n#error This file was generated by a newer version of protoc which is\n#error incompatible with your Protocol Buffer headers.  Please update\n#error your headers.\n#endif\n#if 3000000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION\n#error This file was generated by an older version of protoc which is\n#error incompatible with your Protocol Buffer headers.  Please\n#error regenerate this file with a newer version of protoc.\n#endif\n\n#include <google/protobuf/arena.h>\n#include <google/protobuf/arenastring.h>\n#include <google/protobuf/generated_message_util.h>\n#include <google/protobuf/metadata.h>\n#include <google/protobuf/message.h>\n#include <google/protobuf/repeated_field.h>\n#include <google/protobuf/extension_set.h>\n#include <google/protobuf/generated_enum_reflection.h>\n#include <google/protobuf/unknown_field_set.h>\n// @@protoc_insertion_point(includes)\n\nnamespace google {\nnamespace protobuf {\n\n// Internal implementation detail -- do not call these.\nvoid LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\nvoid protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();\nvoid protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();\n\nclass DescriptorProto;\nclass DescriptorProto_ExtensionRange;\nclass DescriptorProto_ReservedRange;\nclass EnumDescriptorProto;\nclass EnumOptions;\nclass EnumValueDescriptorProto;\nclass EnumValueOptions;\nclass FieldDescriptorProto;\nclass FieldOptions;\nclass FileDescriptorProto;\nclass FileDescriptorSet;\nclass FileOptions;\nclass GeneratedCodeInfo;\nclass GeneratedCodeInfo_Annotation;\nclass MessageOptions;\nclass MethodDescriptorProto;\nclass MethodOptions;\nclass OneofDescriptorProto;\nclass ServiceDescriptorProto;\nclass ServiceOptions;\nclass SourceCodeInfo;\nclass SourceCodeInfo_Location;\nclass UninterpretedOption;\nclass UninterpretedOption_NamePart;\n\nenum FieldDescriptorProto_Type {\n  FieldDescriptorProto_Type_TYPE_DOUBLE = 1,\n  FieldDescriptorProto_Type_TYPE_FLOAT = 2,\n  FieldDescriptorProto_Type_TYPE_INT64 = 3,\n  FieldDescriptorProto_Type_TYPE_UINT64 = 4,\n  FieldDescriptorProto_Type_TYPE_INT32 = 5,\n  FieldDescriptorProto_Type_TYPE_FIXED64 = 6,\n  FieldDescriptorProto_Type_TYPE_FIXED32 = 7,\n  FieldDescriptorProto_Type_TYPE_BOOL = 8,\n  FieldDescriptorProto_Type_TYPE_STRING = 9,\n  FieldDescriptorProto_Type_TYPE_GROUP = 10,\n  FieldDescriptorProto_Type_TYPE_MESSAGE = 11,\n  FieldDescriptorProto_Type_TYPE_BYTES = 12,\n  FieldDescriptorProto_Type_TYPE_UINT32 = 13,\n  FieldDescriptorProto_Type_TYPE_ENUM = 14,\n  FieldDescriptorProto_Type_TYPE_SFIXED32 = 15,\n  FieldDescriptorProto_Type_TYPE_SFIXED64 = 16,\n  FieldDescriptorProto_Type_TYPE_SINT32 = 17,\n  FieldDescriptorProto_Type_TYPE_SINT64 = 18\n};\nLIBPROTOBUF_EXPORT bool FieldDescriptorProto_Type_IsValid(int value);\nconst FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MIN = FieldDescriptorProto_Type_TYPE_DOUBLE;\nconst FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MAX = FieldDescriptorProto_Type_TYPE_SINT64;\nconst int FieldDescriptorProto_Type_Type_ARRAYSIZE = FieldDescriptorProto_Type_Type_MAX + 1;\n\nLIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Type_descriptor();\ninline const ::std::string& FieldDescriptorProto_Type_Name(FieldDescriptorProto_Type value) {\n  return ::google::protobuf::internal::NameOfEnum(\n    FieldDescriptorProto_Type_descriptor(), value);\n}\ninline bool FieldDescriptorProto_Type_Parse(\n    const ::std::string& name, FieldDescriptorProto_Type* value) {\n  return ::google::protobuf::internal::ParseNamedEnum<FieldDescriptorProto_Type>(\n    FieldDescriptorProto_Type_descriptor(), name, value);\n}\nenum FieldDescriptorProto_Label {\n  FieldDescriptorProto_Label_LABEL_OPTIONAL = 1,\n  FieldDescriptorProto_Label_LABEL_REQUIRED = 2,\n  FieldDescriptorProto_Label_LABEL_REPEATED = 3\n};\nLIBPROTOBUF_EXPORT bool FieldDescriptorProto_Label_IsValid(int value);\nconst FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MIN = FieldDescriptorProto_Label_LABEL_OPTIONAL;\nconst FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MAX = FieldDescriptorProto_Label_LABEL_REPEATED;\nconst int FieldDescriptorProto_Label_Label_ARRAYSIZE = FieldDescriptorProto_Label_Label_MAX + 1;\n\nLIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Label_descriptor();\ninline const ::std::string& FieldDescriptorProto_Label_Name(FieldDescriptorProto_Label value) {\n  return ::google::protobuf::internal::NameOfEnum(\n    FieldDescriptorProto_Label_descriptor(), value);\n}\ninline bool FieldDescriptorProto_Label_Parse(\n    const ::std::string& name, FieldDescriptorProto_Label* value) {\n  return ::google::protobuf::internal::ParseNamedEnum<FieldDescriptorProto_Label>(\n    FieldDescriptorProto_Label_descriptor(), name, value);\n}\nenum FileOptions_OptimizeMode {\n  FileOptions_OptimizeMode_SPEED = 1,\n  FileOptions_OptimizeMode_CODE_SIZE = 2,\n  FileOptions_OptimizeMode_LITE_RUNTIME = 3\n};\nLIBPROTOBUF_EXPORT bool FileOptions_OptimizeMode_IsValid(int value);\nconst FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MIN = FileOptions_OptimizeMode_SPEED;\nconst FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MAX = FileOptions_OptimizeMode_LITE_RUNTIME;\nconst int FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE = FileOptions_OptimizeMode_OptimizeMode_MAX + 1;\n\nLIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FileOptions_OptimizeMode_descriptor();\ninline const ::std::string& FileOptions_OptimizeMode_Name(FileOptions_OptimizeMode value) {\n  return ::google::protobuf::internal::NameOfEnum(\n    FileOptions_OptimizeMode_descriptor(), value);\n}\ninline bool FileOptions_OptimizeMode_Parse(\n    const ::std::string& name, FileOptions_OptimizeMode* value) {\n  return ::google::protobuf::internal::ParseNamedEnum<FileOptions_OptimizeMode>(\n    FileOptions_OptimizeMode_descriptor(), name, value);\n}\nenum FieldOptions_CType {\n  FieldOptions_CType_STRING = 0,\n  FieldOptions_CType_CORD = 1,\n  FieldOptions_CType_STRING_PIECE = 2\n};\nLIBPROTOBUF_EXPORT bool FieldOptions_CType_IsValid(int value);\nconst FieldOptions_CType FieldOptions_CType_CType_MIN = FieldOptions_CType_STRING;\nconst FieldOptions_CType FieldOptions_CType_CType_MAX = FieldOptions_CType_STRING_PIECE;\nconst int FieldOptions_CType_CType_ARRAYSIZE = FieldOptions_CType_CType_MAX + 1;\n\nLIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldOptions_CType_descriptor();\ninline const ::std::string& FieldOptions_CType_Name(FieldOptions_CType value) {\n  return ::google::protobuf::internal::NameOfEnum(\n    FieldOptions_CType_descriptor(), value);\n}\ninline bool FieldOptions_CType_Parse(\n    const ::std::string& name, FieldOptions_CType* value) {\n  return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_CType>(\n    FieldOptions_CType_descriptor(), name, value);\n}\nenum FieldOptions_JSType {\n  FieldOptions_JSType_JS_NORMAL = 0,\n  FieldOptions_JSType_JS_STRING = 1,\n  FieldOptions_JSType_JS_NUMBER = 2\n};\nLIBPROTOBUF_EXPORT bool FieldOptions_JSType_IsValid(int value);\nconst FieldOptions_JSType FieldOptions_JSType_JSType_MIN = FieldOptions_JSType_JS_NORMAL;\nconst FieldOptions_JSType FieldOptions_JSType_JSType_MAX = FieldOptions_JSType_JS_NUMBER;\nconst int FieldOptions_JSType_JSType_ARRAYSIZE = FieldOptions_JSType_JSType_MAX + 1;\n\nLIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldOptions_JSType_descriptor();\ninline const ::std::string& FieldOptions_JSType_Name(FieldOptions_JSType value) {\n  return ::google::protobuf::internal::NameOfEnum(\n    FieldOptions_JSType_descriptor(), value);\n}\ninline bool FieldOptions_JSType_Parse(\n    const ::std::string& name, FieldOptions_JSType* value) {\n  return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_JSType>(\n    FieldOptions_JSType_descriptor(), name, value);\n}\n// ===================================================================\n\nclass LIBPROTOBUF_EXPORT FileDescriptorSet : public ::google::protobuf::Message {\n public:\n  FileDescriptorSet();\n  virtual ~FileDescriptorSet();\n\n  FileDescriptorSet(const FileDescriptorSet& from);\n\n  inline FileDescriptorSet& operator=(const FileDescriptorSet& from) {\n    CopyFrom(from);\n    return *this;\n  }\n\n  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {\n    return _internal_metadata_.unknown_fields();\n  }\n\n  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {\n    return _internal_metadata_.mutable_unknown_fields();\n  }\n\n  static const ::google::protobuf::Descriptor* descriptor();\n  static const FileDescriptorSet& default_instance();\n\n  void Swap(FileDescriptorSet* other);\n\n  // implements Message ----------------------------------------------\n\n  inline FileDescriptorSet* New() const { return New(NULL); }\n\n  FileDescriptorSet* New(::google::protobuf::Arena* arena) const;\n  void CopyFrom(const ::google::protobuf::Message& from);\n  void MergeFrom(const ::google::protobuf::Message& from);\n  void CopyFrom(const FileDescriptorSet& from);\n  void MergeFrom(const FileDescriptorSet& from);\n  void Clear();\n  bool IsInitialized() const;\n\n  int ByteSize() const;\n  bool MergePartialFromCodedStream(\n      ::google::protobuf::io::CodedInputStream* input);\n  void SerializeWithCachedSizes(\n      ::google::protobuf::io::CodedOutputStream* output) const;\n  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;\n  int GetCachedSize() const { return _cached_size_; }\n  private:\n  void SharedCtor();\n  void SharedDtor();\n  void SetCachedSize(int size) const;\n  void InternalSwap(FileDescriptorSet* other);\n  private:\n  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {\n    return _internal_metadata_.arena();\n  }\n  inline void* MaybeArenaPtr() const {\n    return _internal_metadata_.raw_arena_ptr();\n  }\n  public:\n\n  ::google::protobuf::Metadata GetMetadata() const;\n\n  // nested types ----------------------------------------------------\n\n  // accessors -------------------------------------------------------\n\n  // repeated .google.protobuf.FileDescriptorProto file = 1;\n  int file_size() const;\n  void clear_file();\n  static const int kFileFieldNumber = 1;\n  const ::google::protobuf::FileDescriptorProto& file(int index) const;\n  ::google::protobuf::FileDescriptorProto* mutable_file(int index);\n  ::google::protobuf::FileDescriptorProto* add_file();\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*\n      mutable_file();\n  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&\n      file() const;\n\n  // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet)\n private:\n\n  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;\n  ::google::protobuf::uint32 _has_bits_[1];\n  mutable int _cached_size_;\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > file_;\n  friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();\n\n  void InitAsDefaultInstance();\n  static FileDescriptorSet* default_instance_;\n};\n// -------------------------------------------------------------------\n\nclass LIBPROTOBUF_EXPORT FileDescriptorProto : public ::google::protobuf::Message {\n public:\n  FileDescriptorProto();\n  virtual ~FileDescriptorProto();\n\n  FileDescriptorProto(const FileDescriptorProto& from);\n\n  inline FileDescriptorProto& operator=(const FileDescriptorProto& from) {\n    CopyFrom(from);\n    return *this;\n  }\n\n  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {\n    return _internal_metadata_.unknown_fields();\n  }\n\n  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {\n    return _internal_metadata_.mutable_unknown_fields();\n  }\n\n  static const ::google::protobuf::Descriptor* descriptor();\n  static const FileDescriptorProto& default_instance();\n\n  void Swap(FileDescriptorProto* other);\n\n  // implements Message ----------------------------------------------\n\n  inline FileDescriptorProto* New() const { return New(NULL); }\n\n  FileDescriptorProto* New(::google::protobuf::Arena* arena) const;\n  void CopyFrom(const ::google::protobuf::Message& from);\n  void MergeFrom(const ::google::protobuf::Message& from);\n  void CopyFrom(const FileDescriptorProto& from);\n  void MergeFrom(const FileDescriptorProto& from);\n  void Clear();\n  bool IsInitialized() const;\n\n  int ByteSize() const;\n  bool MergePartialFromCodedStream(\n      ::google::protobuf::io::CodedInputStream* input);\n  void SerializeWithCachedSizes(\n      ::google::protobuf::io::CodedOutputStream* output) const;\n  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;\n  int GetCachedSize() const { return _cached_size_; }\n  private:\n  void SharedCtor();\n  void SharedDtor();\n  void SetCachedSize(int size) const;\n  void InternalSwap(FileDescriptorProto* other);\n  private:\n  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {\n    return _internal_metadata_.arena();\n  }\n  inline void* MaybeArenaPtr() const {\n    return _internal_metadata_.raw_arena_ptr();\n  }\n  public:\n\n  ::google::protobuf::Metadata GetMetadata() const;\n\n  // nested types ----------------------------------------------------\n\n  // accessors -------------------------------------------------------\n\n  // optional string name = 1;\n  bool has_name() const;\n  void clear_name();\n  static const int kNameFieldNumber = 1;\n  const ::std::string& name() const;\n  void set_name(const ::std::string& value);\n  void set_name(const char* value);\n  void set_name(const char* value, size_t size);\n  ::std::string* mutable_name();\n  ::std::string* release_name();\n  void set_allocated_name(::std::string* name);\n\n  // optional string package = 2;\n  bool has_package() const;\n  void clear_package();\n  static const int kPackageFieldNumber = 2;\n  const ::std::string& package() const;\n  void set_package(const ::std::string& value);\n  void set_package(const char* value);\n  void set_package(const char* value, size_t size);\n  ::std::string* mutable_package();\n  ::std::string* release_package();\n  void set_allocated_package(::std::string* package);\n\n  // repeated string dependency = 3;\n  int dependency_size() const;\n  void clear_dependency();\n  static const int kDependencyFieldNumber = 3;\n  const ::std::string& dependency(int index) const;\n  ::std::string* mutable_dependency(int index);\n  void set_dependency(int index, const ::std::string& value);\n  void set_dependency(int index, const char* value);\n  void set_dependency(int index, const char* value, size_t size);\n  ::std::string* add_dependency();\n  void add_dependency(const ::std::string& value);\n  void add_dependency(const char* value);\n  void add_dependency(const char* value, size_t size);\n  const ::google::protobuf::RepeatedPtrField< ::std::string>& dependency() const;\n  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_dependency();\n\n  // repeated int32 public_dependency = 10;\n  int public_dependency_size() const;\n  void clear_public_dependency();\n  static const int kPublicDependencyFieldNumber = 10;\n  ::google::protobuf::int32 public_dependency(int index) const;\n  void set_public_dependency(int index, ::google::protobuf::int32 value);\n  void add_public_dependency(::google::protobuf::int32 value);\n  const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&\n      public_dependency() const;\n  ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*\n      mutable_public_dependency();\n\n  // repeated int32 weak_dependency = 11;\n  int weak_dependency_size() const;\n  void clear_weak_dependency();\n  static const int kWeakDependencyFieldNumber = 11;\n  ::google::protobuf::int32 weak_dependency(int index) const;\n  void set_weak_dependency(int index, ::google::protobuf::int32 value);\n  void add_weak_dependency(::google::protobuf::int32 value);\n  const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&\n      weak_dependency() const;\n  ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*\n      mutable_weak_dependency();\n\n  // repeated .google.protobuf.DescriptorProto message_type = 4;\n  int message_type_size() const;\n  void clear_message_type();\n  static const int kMessageTypeFieldNumber = 4;\n  const ::google::protobuf::DescriptorProto& message_type(int index) const;\n  ::google::protobuf::DescriptorProto* mutable_message_type(int index);\n  ::google::protobuf::DescriptorProto* add_message_type();\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*\n      mutable_message_type();\n  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&\n      message_type() const;\n\n  // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;\n  int enum_type_size() const;\n  void clear_enum_type();\n  static const int kEnumTypeFieldNumber = 5;\n  const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const;\n  ::google::protobuf::EnumDescriptorProto* mutable_enum_type(int index);\n  ::google::protobuf::EnumDescriptorProto* add_enum_type();\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*\n      mutable_enum_type();\n  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&\n      enum_type() const;\n\n  // repeated .google.protobuf.ServiceDescriptorProto service = 6;\n  int service_size() const;\n  void clear_service();\n  static const int kServiceFieldNumber = 6;\n  const ::google::protobuf::ServiceDescriptorProto& service(int index) const;\n  ::google::protobuf::ServiceDescriptorProto* mutable_service(int index);\n  ::google::protobuf::ServiceDescriptorProto* add_service();\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >*\n      mutable_service();\n  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >&\n      service() const;\n\n  // repeated .google.protobuf.FieldDescriptorProto extension = 7;\n  int extension_size() const;\n  void clear_extension();\n  static const int kExtensionFieldNumber = 7;\n  const ::google::protobuf::FieldDescriptorProto& extension(int index) const;\n  ::google::protobuf::FieldDescriptorProto* mutable_extension(int index);\n  ::google::protobuf::FieldDescriptorProto* add_extension();\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*\n      mutable_extension();\n  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&\n      extension() const;\n\n  // optional .google.protobuf.FileOptions options = 8;\n  bool has_options() const;\n  void clear_options();\n  static const int kOptionsFieldNumber = 8;\n  const ::google::protobuf::FileOptions& options() const;\n  ::google::protobuf::FileOptions* mutable_options();\n  ::google::protobuf::FileOptions* release_options();\n  void set_allocated_options(::google::protobuf::FileOptions* options);\n\n  // optional .google.protobuf.SourceCodeInfo source_code_info = 9;\n  bool has_source_code_info() const;\n  void clear_source_code_info();\n  static const int kSourceCodeInfoFieldNumber = 9;\n  const ::google::protobuf::SourceCodeInfo& source_code_info() const;\n  ::google::protobuf::SourceCodeInfo* mutable_source_code_info();\n  ::google::protobuf::SourceCodeInfo* release_source_code_info();\n  void set_allocated_source_code_info(::google::protobuf::SourceCodeInfo* source_code_info);\n\n  // optional string syntax = 12;\n  bool has_syntax() const;\n  void clear_syntax();\n  static const int kSyntaxFieldNumber = 12;\n  const ::std::string& syntax() const;\n  void set_syntax(const ::std::string& value);\n  void set_syntax(const char* value);\n  void set_syntax(const char* value, size_t size);\n  ::std::string* mutable_syntax();\n  ::std::string* release_syntax();\n  void set_allocated_syntax(::std::string* syntax);\n\n  // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto)\n private:\n  inline void set_has_name();\n  inline void clear_has_name();\n  inline void set_has_package();\n  inline void clear_has_package();\n  inline void set_has_options();\n  inline void clear_has_options();\n  inline void set_has_source_code_info();\n  inline void clear_has_source_code_info();\n  inline void set_has_syntax();\n  inline void clear_has_syntax();\n\n  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;\n  ::google::protobuf::uint32 _has_bits_[1];\n  mutable int _cached_size_;\n  ::google::protobuf::internal::ArenaStringPtr name_;\n  ::google::protobuf::internal::ArenaStringPtr package_;\n  ::google::protobuf::RepeatedPtrField< ::std::string> dependency_;\n  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > public_dependency_;\n  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > weak_dependency_;\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > message_type_;\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_;\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto > service_;\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_;\n  ::google::protobuf::FileOptions* options_;\n  ::google::protobuf::SourceCodeInfo* source_code_info_;\n  ::google::protobuf::internal::ArenaStringPtr syntax_;\n  friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();\n\n  void InitAsDefaultInstance();\n  static FileDescriptorProto* default_instance_;\n};\n// -------------------------------------------------------------------\n\nclass LIBPROTOBUF_EXPORT DescriptorProto_ExtensionRange : public ::google::protobuf::Message {\n public:\n  DescriptorProto_ExtensionRange();\n  virtual ~DescriptorProto_ExtensionRange();\n\n  DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from);\n\n  inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_ExtensionRange& from) {\n    CopyFrom(from);\n    return *this;\n  }\n\n  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {\n    return _internal_metadata_.unknown_fields();\n  }\n\n  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {\n    return _internal_metadata_.mutable_unknown_fields();\n  }\n\n  static const ::google::protobuf::Descriptor* descriptor();\n  static const DescriptorProto_ExtensionRange& default_instance();\n\n  void Swap(DescriptorProto_ExtensionRange* other);\n\n  // implements Message ----------------------------------------------\n\n  inline DescriptorProto_ExtensionRange* New() const { return New(NULL); }\n\n  DescriptorProto_ExtensionRange* New(::google::protobuf::Arena* arena) const;\n  void CopyFrom(const ::google::protobuf::Message& from);\n  void MergeFrom(const ::google::protobuf::Message& from);\n  void CopyFrom(const DescriptorProto_ExtensionRange& from);\n  void MergeFrom(const DescriptorProto_ExtensionRange& from);\n  void Clear();\n  bool IsInitialized() const;\n\n  int ByteSize() const;\n  bool MergePartialFromCodedStream(\n      ::google::protobuf::io::CodedInputStream* input);\n  void SerializeWithCachedSizes(\n      ::google::protobuf::io::CodedOutputStream* output) const;\n  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;\n  int GetCachedSize() const { return _cached_size_; }\n  private:\n  void SharedCtor();\n  void SharedDtor();\n  void SetCachedSize(int size) const;\n  void InternalSwap(DescriptorProto_ExtensionRange* other);\n  private:\n  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {\n    return _internal_metadata_.arena();\n  }\n  inline void* MaybeArenaPtr() const {\n    return _internal_metadata_.raw_arena_ptr();\n  }\n  public:\n\n  ::google::protobuf::Metadata GetMetadata() const;\n\n  // nested types ----------------------------------------------------\n\n  // accessors -------------------------------------------------------\n\n  // optional int32 start = 1;\n  bool has_start() const;\n  void clear_start();\n  static const int kStartFieldNumber = 1;\n  ::google::protobuf::int32 start() const;\n  void set_start(::google::protobuf::int32 value);\n\n  // optional int32 end = 2;\n  bool has_end() const;\n  void clear_end();\n  static const int kEndFieldNumber = 2;\n  ::google::protobuf::int32 end() const;\n  void set_end(::google::protobuf::int32 value);\n\n  // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ExtensionRange)\n private:\n  inline void set_has_start();\n  inline void clear_has_start();\n  inline void set_has_end();\n  inline void clear_has_end();\n\n  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;\n  ::google::protobuf::uint32 _has_bits_[1];\n  mutable int _cached_size_;\n  ::google::protobuf::int32 start_;\n  ::google::protobuf::int32 end_;\n  friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();\n\n  void InitAsDefaultInstance();\n  static DescriptorProto_ExtensionRange* default_instance_;\n};\n// -------------------------------------------------------------------\n\nclass LIBPROTOBUF_EXPORT DescriptorProto_ReservedRange : public ::google::protobuf::Message {\n public:\n  DescriptorProto_ReservedRange();\n  virtual ~DescriptorProto_ReservedRange();\n\n  DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from);\n\n  inline DescriptorProto_ReservedRange& operator=(const DescriptorProto_ReservedRange& from) {\n    CopyFrom(from);\n    return *this;\n  }\n\n  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {\n    return _internal_metadata_.unknown_fields();\n  }\n\n  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {\n    return _internal_metadata_.mutable_unknown_fields();\n  }\n\n  static const ::google::protobuf::Descriptor* descriptor();\n  static const DescriptorProto_ReservedRange& default_instance();\n\n  void Swap(DescriptorProto_ReservedRange* other);\n\n  // implements Message ----------------------------------------------\n\n  inline DescriptorProto_ReservedRange* New() const { return New(NULL); }\n\n  DescriptorProto_ReservedRange* New(::google::protobuf::Arena* arena) const;\n  void CopyFrom(const ::google::protobuf::Message& from);\n  void MergeFrom(const ::google::protobuf::Message& from);\n  void CopyFrom(const DescriptorProto_ReservedRange& from);\n  void MergeFrom(const DescriptorProto_ReservedRange& from);\n  void Clear();\n  bool IsInitialized() const;\n\n  int ByteSize() const;\n  bool MergePartialFromCodedStream(\n      ::google::protobuf::io::CodedInputStream* input);\n  void SerializeWithCachedSizes(\n      ::google::protobuf::io::CodedOutputStream* output) const;\n  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;\n  int GetCachedSize() const { return _cached_size_; }\n  private:\n  void SharedCtor();\n  void SharedDtor();\n  void SetCachedSize(int size) const;\n  void InternalSwap(DescriptorProto_ReservedRange* other);\n  private:\n  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {\n    return _internal_metadata_.arena();\n  }\n  inline void* MaybeArenaPtr() const {\n    return _internal_metadata_.raw_arena_ptr();\n  }\n  public:\n\n  ::google::protobuf::Metadata GetMetadata() const;\n\n  // nested types ----------------------------------------------------\n\n  // accessors -------------------------------------------------------\n\n  // optional int32 start = 1;\n  bool has_start() const;\n  void clear_start();\n  static const int kStartFieldNumber = 1;\n  ::google::protobuf::int32 start() const;\n  void set_start(::google::protobuf::int32 value);\n\n  // optional int32 end = 2;\n  bool has_end() const;\n  void clear_end();\n  static const int kEndFieldNumber = 2;\n  ::google::protobuf::int32 end() const;\n  void set_end(::google::protobuf::int32 value);\n\n  // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ReservedRange)\n private:\n  inline void set_has_start();\n  inline void clear_has_start();\n  inline void set_has_end();\n  inline void clear_has_end();\n\n  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;\n  ::google::protobuf::uint32 _has_bits_[1];\n  mutable int _cached_size_;\n  ::google::protobuf::int32 start_;\n  ::google::protobuf::int32 end_;\n  friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();\n\n  void InitAsDefaultInstance();\n  static DescriptorProto_ReservedRange* default_instance_;\n};\n// -------------------------------------------------------------------\n\nclass LIBPROTOBUF_EXPORT DescriptorProto : public ::google::protobuf::Message {\n public:\n  DescriptorProto();\n  virtual ~DescriptorProto();\n\n  DescriptorProto(const DescriptorProto& from);\n\n  inline DescriptorProto& operator=(const DescriptorProto& from) {\n    CopyFrom(from);\n    return *this;\n  }\n\n  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {\n    return _internal_metadata_.unknown_fields();\n  }\n\n  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {\n    return _internal_metadata_.mutable_unknown_fields();\n  }\n\n  static const ::google::protobuf::Descriptor* descriptor();\n  static const DescriptorProto& default_instance();\n\n  void Swap(DescriptorProto* other);\n\n  // implements Message ----------------------------------------------\n\n  inline DescriptorProto* New() const { return New(NULL); }\n\n  DescriptorProto* New(::google::protobuf::Arena* arena) const;\n  void CopyFrom(const ::google::protobuf::Message& from);\n  void MergeFrom(const ::google::protobuf::Message& from);\n  void CopyFrom(const DescriptorProto& from);\n  void MergeFrom(const DescriptorProto& from);\n  void Clear();\n  bool IsInitialized() const;\n\n  int ByteSize() const;\n  bool MergePartialFromCodedStream(\n      ::google::protobuf::io::CodedInputStream* input);\n  void SerializeWithCachedSizes(\n      ::google::protobuf::io::CodedOutputStream* output) const;\n  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;\n  int GetCachedSize() const { return _cached_size_; }\n  private:\n  void SharedCtor();\n  void SharedDtor();\n  void SetCachedSize(int size) const;\n  void InternalSwap(DescriptorProto* other);\n  private:\n  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {\n    return _internal_metadata_.arena();\n  }\n  inline void* MaybeArenaPtr() const {\n    return _internal_metadata_.raw_arena_ptr();\n  }\n  public:\n\n  ::google::protobuf::Metadata GetMetadata() const;\n\n  // nested types ----------------------------------------------------\n\n  typedef DescriptorProto_ExtensionRange ExtensionRange;\n  typedef DescriptorProto_ReservedRange ReservedRange;\n\n  // accessors -------------------------------------------------------\n\n  // optional string name = 1;\n  bool has_name() const;\n  void clear_name();\n  static const int kNameFieldNumber = 1;\n  const ::std::string& name() const;\n  void set_name(const ::std::string& value);\n  void set_name(const char* value);\n  void set_name(const char* value, size_t size);\n  ::std::string* mutable_name();\n  ::std::string* release_name();\n  void set_allocated_name(::std::string* name);\n\n  // repeated .google.protobuf.FieldDescriptorProto field = 2;\n  int field_size() const;\n  void clear_field();\n  static const int kFieldFieldNumber = 2;\n  const ::google::protobuf::FieldDescriptorProto& field(int index) const;\n  ::google::protobuf::FieldDescriptorProto* mutable_field(int index);\n  ::google::protobuf::FieldDescriptorProto* add_field();\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*\n      mutable_field();\n  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&\n      field() const;\n\n  // repeated .google.protobuf.FieldDescriptorProto extension = 6;\n  int extension_size() const;\n  void clear_extension();\n  static const int kExtensionFieldNumber = 6;\n  const ::google::protobuf::FieldDescriptorProto& extension(int index) const;\n  ::google::protobuf::FieldDescriptorProto* mutable_extension(int index);\n  ::google::protobuf::FieldDescriptorProto* add_extension();\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*\n      mutable_extension();\n  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&\n      extension() const;\n\n  // repeated .google.protobuf.DescriptorProto nested_type = 3;\n  int nested_type_size() const;\n  void clear_nested_type();\n  static const int kNestedTypeFieldNumber = 3;\n  const ::google::protobuf::DescriptorProto& nested_type(int index) const;\n  ::google::protobuf::DescriptorProto* mutable_nested_type(int index);\n  ::google::protobuf::DescriptorProto* add_nested_type();\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*\n      mutable_nested_type();\n  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&\n      nested_type() const;\n\n  // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;\n  int enum_type_size() const;\n  void clear_enum_type();\n  static const int kEnumTypeFieldNumber = 4;\n  const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const;\n  ::google::protobuf::EnumDescriptorProto* mutable_enum_type(int index);\n  ::google::protobuf::EnumDescriptorProto* add_enum_type();\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*\n      mutable_enum_type();\n  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&\n      enum_type() const;\n\n  // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;\n  int extension_range_size() const;\n  void clear_extension_range();\n  static const int kExtensionRangeFieldNumber = 5;\n  const ::google::protobuf::DescriptorProto_ExtensionRange& extension_range(int index) const;\n  ::google::protobuf::DescriptorProto_ExtensionRange* mutable_extension_range(int index);\n  ::google::protobuf::DescriptorProto_ExtensionRange* add_extension_range();\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >*\n      mutable_extension_range();\n  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >&\n      extension_range() const;\n\n  // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;\n  int oneof_decl_size() const;\n  void clear_oneof_decl();\n  static const int kOneofDeclFieldNumber = 8;\n  const ::google::protobuf::OneofDescriptorProto& oneof_decl(int index) const;\n  ::google::protobuf::OneofDescriptorProto* mutable_oneof_decl(int index);\n  ::google::protobuf::OneofDescriptorProto* add_oneof_decl();\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto >*\n      mutable_oneof_decl();\n  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto >&\n      oneof_decl() const;\n\n  // optional .google.protobuf.MessageOptions options = 7;\n  bool has_options() const;\n  void clear_options();\n  static const int kOptionsFieldNumber = 7;\n  const ::google::protobuf::MessageOptions& options() const;\n  ::google::protobuf::MessageOptions* mutable_options();\n  ::google::protobuf::MessageOptions* release_options();\n  void set_allocated_options(::google::protobuf::MessageOptions* options);\n\n  // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;\n  int reserved_range_size() const;\n  void clear_reserved_range();\n  static const int kReservedRangeFieldNumber = 9;\n  const ::google::protobuf::DescriptorProto_ReservedRange& reserved_range(int index) const;\n  ::google::protobuf::DescriptorProto_ReservedRange* mutable_reserved_range(int index);\n  ::google::protobuf::DescriptorProto_ReservedRange* add_reserved_range();\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ReservedRange >*\n      mutable_reserved_range();\n  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ReservedRange >&\n      reserved_range() const;\n\n  // repeated string reserved_name = 10;\n  int reserved_name_size() const;\n  void clear_reserved_name();\n  static const int kReservedNameFieldNumber = 10;\n  const ::std::string& reserved_name(int index) const;\n  ::std::string* mutable_reserved_name(int index);\n  void set_reserved_name(int index, const ::std::string& value);\n  void set_reserved_name(int index, const char* value);\n  void set_reserved_name(int index, const char* value, size_t size);\n  ::std::string* add_reserved_name();\n  void add_reserved_name(const ::std::string& value);\n  void add_reserved_name(const char* value);\n  void add_reserved_name(const char* value, size_t size);\n  const ::google::protobuf::RepeatedPtrField< ::std::string>& reserved_name() const;\n  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_reserved_name();\n\n  // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto)\n private:\n  inline void set_has_name();\n  inline void clear_has_name();\n  inline void set_has_options();\n  inline void clear_has_options();\n\n  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;\n  ::google::protobuf::uint32 _has_bits_[1];\n  mutable int _cached_size_;\n  ::google::protobuf::internal::ArenaStringPtr name_;\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > field_;\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_;\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > nested_type_;\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_;\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange > extension_range_;\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto > oneof_decl_;\n  ::google::protobuf::MessageOptions* options_;\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ReservedRange > reserved_range_;\n  ::google::protobuf::RepeatedPtrField< ::std::string> reserved_name_;\n  friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();\n\n  void InitAsDefaultInstance();\n  static DescriptorProto* default_instance_;\n};\n// -------------------------------------------------------------------\n\nclass LIBPROTOBUF_EXPORT FieldDescriptorProto : public ::google::protobuf::Message {\n public:\n  FieldDescriptorProto();\n  virtual ~FieldDescriptorProto();\n\n  FieldDescriptorProto(const FieldDescriptorProto& from);\n\n  inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) {\n    CopyFrom(from);\n    return *this;\n  }\n\n  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {\n    return _internal_metadata_.unknown_fields();\n  }\n\n  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {\n    return _internal_metadata_.mutable_unknown_fields();\n  }\n\n  static const ::google::protobuf::Descriptor* descriptor();\n  static const FieldDescriptorProto& default_instance();\n\n  void Swap(FieldDescriptorProto* other);\n\n  // implements Message ----------------------------------------------\n\n  inline FieldDescriptorProto* New() const { return New(NULL); }\n\n  FieldDescriptorProto* New(::google::protobuf::Arena* arena) const;\n  void CopyFrom(const ::google::protobuf::Message& from);\n  void MergeFrom(const ::google::protobuf::Message& from);\n  void CopyFrom(const FieldDescriptorProto& from);\n  void MergeFrom(const FieldDescriptorProto& from);\n  void Clear();\n  bool IsInitialized() const;\n\n  int ByteSize() const;\n  bool MergePartialFromCodedStream(\n      ::google::protobuf::io::CodedInputStream* input);\n  void SerializeWithCachedSizes(\n      ::google::protobuf::io::CodedOutputStream* output) const;\n  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;\n  int GetCachedSize() const { return _cached_size_; }\n  private:\n  void SharedCtor();\n  void SharedDtor();\n  void SetCachedSize(int size) const;\n  void InternalSwap(FieldDescriptorProto* other);\n  private:\n  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {\n    return _internal_metadata_.arena();\n  }\n  inline void* MaybeArenaPtr() const {\n    return _internal_metadata_.raw_arena_ptr();\n  }\n  public:\n\n  ::google::protobuf::Metadata GetMetadata() const;\n\n  // nested types ----------------------------------------------------\n\n  typedef FieldDescriptorProto_Type Type;\n  static const Type TYPE_DOUBLE =\n    FieldDescriptorProto_Type_TYPE_DOUBLE;\n  static const Type TYPE_FLOAT =\n    FieldDescriptorProto_Type_TYPE_FLOAT;\n  static const Type TYPE_INT64 =\n    FieldDescriptorProto_Type_TYPE_INT64;\n  static const Type TYPE_UINT64 =\n    FieldDescriptorProto_Type_TYPE_UINT64;\n  static const Type TYPE_INT32 =\n    FieldDescriptorProto_Type_TYPE_INT32;\n  static const Type TYPE_FIXED64 =\n    FieldDescriptorProto_Type_TYPE_FIXED64;\n  static const Type TYPE_FIXED32 =\n    FieldDescriptorProto_Type_TYPE_FIXED32;\n  static const Type TYPE_BOOL =\n    FieldDescriptorProto_Type_TYPE_BOOL;\n  static const Type TYPE_STRING =\n    FieldDescriptorProto_Type_TYPE_STRING;\n  static const Type TYPE_GROUP =\n    FieldDescriptorProto_Type_TYPE_GROUP;\n  static const Type TYPE_MESSAGE =\n    FieldDescriptorProto_Type_TYPE_MESSAGE;\n  static const Type TYPE_BYTES =\n    FieldDescriptorProto_Type_TYPE_BYTES;\n  static const Type TYPE_UINT32 =\n    FieldDescriptorProto_Type_TYPE_UINT32;\n  static const Type TYPE_ENUM =\n    FieldDescriptorProto_Type_TYPE_ENUM;\n  static const Type TYPE_SFIXED32 =\n    FieldDescriptorProto_Type_TYPE_SFIXED32;\n  static const Type TYPE_SFIXED64 =\n    FieldDescriptorProto_Type_TYPE_SFIXED64;\n  static const Type TYPE_SINT32 =\n    FieldDescriptorProto_Type_TYPE_SINT32;\n  static const Type TYPE_SINT64 =\n    FieldDescriptorProto_Type_TYPE_SINT64;\n  static inline bool Type_IsValid(int value) {\n    return FieldDescriptorProto_Type_IsValid(value);\n  }\n  static const Type Type_MIN =\n    FieldDescriptorProto_Type_Type_MIN;\n  static const Type Type_MAX =\n    FieldDescriptorProto_Type_Type_MAX;\n  static const int Type_ARRAYSIZE =\n    FieldDescriptorProto_Type_Type_ARRAYSIZE;\n  static inline const ::google::protobuf::EnumDescriptor*\n  Type_descriptor() {\n    return FieldDescriptorProto_Type_descriptor();\n  }\n  static inline const ::std::string& Type_Name(Type value) {\n    return FieldDescriptorProto_Type_Name(value);\n  }\n  static inline bool Type_Parse(const ::std::string& name,\n      Type* value) {\n    return FieldDescriptorProto_Type_Parse(name, value);\n  }\n\n  typedef FieldDescriptorProto_Label Label;\n  static const Label LABEL_OPTIONAL =\n    FieldDescriptorProto_Label_LABEL_OPTIONAL;\n  static const Label LABEL_REQUIRED =\n    FieldDescriptorProto_Label_LABEL_REQUIRED;\n  static const Label LABEL_REPEATED =\n    FieldDescriptorProto_Label_LABEL_REPEATED;\n  static inline bool Label_IsValid(int value) {\n    return FieldDescriptorProto_Label_IsValid(value);\n  }\n  static const Label Label_MIN =\n    FieldDescriptorProto_Label_Label_MIN;\n  static const Label Label_MAX =\n    FieldDescriptorProto_Label_Label_MAX;\n  static const int Label_ARRAYSIZE =\n    FieldDescriptorProto_Label_Label_ARRAYSIZE;\n  static inline const ::google::protobuf::EnumDescriptor*\n  Label_descriptor() {\n    return FieldDescriptorProto_Label_descriptor();\n  }\n  static inline const ::std::string& Label_Name(Label value) {\n    return FieldDescriptorProto_Label_Name(value);\n  }\n  static inline bool Label_Parse(const ::std::string& name,\n      Label* value) {\n    return FieldDescriptorProto_Label_Parse(name, value);\n  }\n\n  // accessors -------------------------------------------------------\n\n  // optional string name = 1;\n  bool has_name() const;\n  void clear_name();\n  static const int kNameFieldNumber = 1;\n  const ::std::string& name() const;\n  void set_name(const ::std::string& value);\n  void set_name(const char* value);\n  void set_name(const char* value, size_t size);\n  ::std::string* mutable_name();\n  ::std::string* release_name();\n  void set_allocated_name(::std::string* name);\n\n  // optional int32 number = 3;\n  bool has_number() const;\n  void clear_number();\n  static const int kNumberFieldNumber = 3;\n  ::google::protobuf::int32 number() const;\n  void set_number(::google::protobuf::int32 value);\n\n  // optional .google.protobuf.FieldDescriptorProto.Label label = 4;\n  bool has_label() const;\n  void clear_label();\n  static const int kLabelFieldNumber = 4;\n  ::google::protobuf::FieldDescriptorProto_Label label() const;\n  void set_label(::google::protobuf::FieldDescriptorProto_Label value);\n\n  // optional .google.protobuf.FieldDescriptorProto.Type type = 5;\n  bool has_type() const;\n  void clear_type();\n  static const int kTypeFieldNumber = 5;\n  ::google::protobuf::FieldDescriptorProto_Type type() const;\n  void set_type(::google::protobuf::FieldDescriptorProto_Type value);\n\n  // optional string type_name = 6;\n  bool has_type_name() const;\n  void clear_type_name();\n  static const int kTypeNameFieldNumber = 6;\n  const ::std::string& type_name() const;\n  void set_type_name(const ::std::string& value);\n  void set_type_name(const char* value);\n  void set_type_name(const char* value, size_t size);\n  ::std::string* mutable_type_name();\n  ::std::string* release_type_name();\n  void set_allocated_type_name(::std::string* type_name);\n\n  // optional string extendee = 2;\n  bool has_extendee() const;\n  void clear_extendee();\n  static const int kExtendeeFieldNumber = 2;\n  const ::std::string& extendee() const;\n  void set_extendee(const ::std::string& value);\n  void set_extendee(const char* value);\n  void set_extendee(const char* value, size_t size);\n  ::std::string* mutable_extendee();\n  ::std::string* release_extendee();\n  void set_allocated_extendee(::std::string* extendee);\n\n  // optional string default_value = 7;\n  bool has_default_value() const;\n  void clear_default_value();\n  static const int kDefaultValueFieldNumber = 7;\n  const ::std::string& default_value() const;\n  void set_default_value(const ::std::string& value);\n  void set_default_value(const char* value);\n  void set_default_value(const char* value, size_t size);\n  ::std::string* mutable_default_value();\n  ::std::string* release_default_value();\n  void set_allocated_default_value(::std::string* default_value);\n\n  // optional int32 oneof_index = 9;\n  bool has_oneof_index() const;\n  void clear_oneof_index();\n  static const int kOneofIndexFieldNumber = 9;\n  ::google::protobuf::int32 oneof_index() const;\n  void set_oneof_index(::google::protobuf::int32 value);\n\n  // optional string json_name = 10;\n  bool has_json_name() const;\n  void clear_json_name();\n  static const int kJsonNameFieldNumber = 10;\n  const ::std::string& json_name() const;\n  void set_json_name(const ::std::string& value);\n  void set_json_name(const char* value);\n  void set_json_name(const char* value, size_t size);\n  ::std::string* mutable_json_name();\n  ::std::string* release_json_name();\n  void set_allocated_json_name(::std::string* json_name);\n\n  // optional .google.protobuf.FieldOptions options = 8;\n  bool has_options() const;\n  void clear_options();\n  static const int kOptionsFieldNumber = 8;\n  const ::google::protobuf::FieldOptions& options() const;\n  ::google::protobuf::FieldOptions* mutable_options();\n  ::google::protobuf::FieldOptions* release_options();\n  void set_allocated_options(::google::protobuf::FieldOptions* options);\n\n  // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto)\n private:\n  inline void set_has_name();\n  inline void clear_has_name();\n  inline void set_has_number();\n  inline void clear_has_number();\n  inline void set_has_label();\n  inline void clear_has_label();\n  inline void set_has_type();\n  inline void clear_has_type();\n  inline void set_has_type_name();\n  inline void clear_has_type_name();\n  inline void set_has_extendee();\n  inline void clear_has_extendee();\n  inline void set_has_default_value();\n  inline void clear_has_default_value();\n  inline void set_has_oneof_index();\n  inline void clear_has_oneof_index();\n  inline void set_has_json_name();\n  inline void clear_has_json_name();\n  inline void set_has_options();\n  inline void clear_has_options();\n\n  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;\n  ::google::protobuf::uint32 _has_bits_[1];\n  mutable int _cached_size_;\n  ::google::protobuf::internal::ArenaStringPtr name_;\n  ::google::protobuf::int32 number_;\n  int label_;\n  ::google::protobuf::internal::ArenaStringPtr type_name_;\n  ::google::protobuf::internal::ArenaStringPtr extendee_;\n  int type_;\n  ::google::protobuf::int32 oneof_index_;\n  ::google::protobuf::internal::ArenaStringPtr default_value_;\n  ::google::protobuf::internal::ArenaStringPtr json_name_;\n  ::google::protobuf::FieldOptions* options_;\n  friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();\n\n  void InitAsDefaultInstance();\n  static FieldDescriptorProto* default_instance_;\n};\n// -------------------------------------------------------------------\n\nclass LIBPROTOBUF_EXPORT OneofDescriptorProto : public ::google::protobuf::Message {\n public:\n  OneofDescriptorProto();\n  virtual ~OneofDescriptorProto();\n\n  OneofDescriptorProto(const OneofDescriptorProto& from);\n\n  inline OneofDescriptorProto& operator=(const OneofDescriptorProto& from) {\n    CopyFrom(from);\n    return *this;\n  }\n\n  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {\n    return _internal_metadata_.unknown_fields();\n  }\n\n  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {\n    return _internal_metadata_.mutable_unknown_fields();\n  }\n\n  static const ::google::protobuf::Descriptor* descriptor();\n  static const OneofDescriptorProto& default_instance();\n\n  void Swap(OneofDescriptorProto* other);\n\n  // implements Message ----------------------------------------------\n\n  inline OneofDescriptorProto* New() const { return New(NULL); }\n\n  OneofDescriptorProto* New(::google::protobuf::Arena* arena) const;\n  void CopyFrom(const ::google::protobuf::Message& from);\n  void MergeFrom(const ::google::protobuf::Message& from);\n  void CopyFrom(const OneofDescriptorProto& from);\n  void MergeFrom(const OneofDescriptorProto& from);\n  void Clear();\n  bool IsInitialized() const;\n\n  int ByteSize() const;\n  bool MergePartialFromCodedStream(\n      ::google::protobuf::io::CodedInputStream* input);\n  void SerializeWithCachedSizes(\n      ::google::protobuf::io::CodedOutputStream* output) const;\n  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;\n  int GetCachedSize() const { return _cached_size_; }\n  private:\n  void SharedCtor();\n  void SharedDtor();\n  void SetCachedSize(int size) const;\n  void InternalSwap(OneofDescriptorProto* other);\n  private:\n  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {\n    return _internal_metadata_.arena();\n  }\n  inline void* MaybeArenaPtr() const {\n    return _internal_metadata_.raw_arena_ptr();\n  }\n  public:\n\n  ::google::protobuf::Metadata GetMetadata() const;\n\n  // nested types ----------------------------------------------------\n\n  // accessors -------------------------------------------------------\n\n  // optional string name = 1;\n  bool has_name() const;\n  void clear_name();\n  static const int kNameFieldNumber = 1;\n  const ::std::string& name() const;\n  void set_name(const ::std::string& value);\n  void set_name(const char* value);\n  void set_name(const char* value, size_t size);\n  ::std::string* mutable_name();\n  ::std::string* release_name();\n  void set_allocated_name(::std::string* name);\n\n  // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto)\n private:\n  inline void set_has_name();\n  inline void clear_has_name();\n\n  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;\n  ::google::protobuf::uint32 _has_bits_[1];\n  mutable int _cached_size_;\n  ::google::protobuf::internal::ArenaStringPtr name_;\n  friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();\n\n  void InitAsDefaultInstance();\n  static OneofDescriptorProto* default_instance_;\n};\n// -------------------------------------------------------------------\n\nclass LIBPROTOBUF_EXPORT EnumDescriptorProto : public ::google::protobuf::Message {\n public:\n  EnumDescriptorProto();\n  virtual ~EnumDescriptorProto();\n\n  EnumDescriptorProto(const EnumDescriptorProto& from);\n\n  inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) {\n    CopyFrom(from);\n    return *this;\n  }\n\n  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {\n    return _internal_metadata_.unknown_fields();\n  }\n\n  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {\n    return _internal_metadata_.mutable_unknown_fields();\n  }\n\n  static const ::google::protobuf::Descriptor* descriptor();\n  static const EnumDescriptorProto& default_instance();\n\n  void Swap(EnumDescriptorProto* other);\n\n  // implements Message ----------------------------------------------\n\n  inline EnumDescriptorProto* New() const { return New(NULL); }\n\n  EnumDescriptorProto* New(::google::protobuf::Arena* arena) const;\n  void CopyFrom(const ::google::protobuf::Message& from);\n  void MergeFrom(const ::google::protobuf::Message& from);\n  void CopyFrom(const EnumDescriptorProto& from);\n  void MergeFrom(const EnumDescriptorProto& from);\n  void Clear();\n  bool IsInitialized() const;\n\n  int ByteSize() const;\n  bool MergePartialFromCodedStream(\n      ::google::protobuf::io::CodedInputStream* input);\n  void SerializeWithCachedSizes(\n      ::google::protobuf::io::CodedOutputStream* output) const;\n  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;\n  int GetCachedSize() const { return _cached_size_; }\n  private:\n  void SharedCtor();\n  void SharedDtor();\n  void SetCachedSize(int size) const;\n  void InternalSwap(EnumDescriptorProto* other);\n  private:\n  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {\n    return _internal_metadata_.arena();\n  }\n  inline void* MaybeArenaPtr() const {\n    return _internal_metadata_.raw_arena_ptr();\n  }\n  public:\n\n  ::google::protobuf::Metadata GetMetadata() const;\n\n  // nested types ----------------------------------------------------\n\n  // accessors -------------------------------------------------------\n\n  // optional string name = 1;\n  bool has_name() const;\n  void clear_name();\n  static const int kNameFieldNumber = 1;\n  const ::std::string& name() const;\n  void set_name(const ::std::string& value);\n  void set_name(const char* value);\n  void set_name(const char* value, size_t size);\n  ::std::string* mutable_name();\n  ::std::string* release_name();\n  void set_allocated_name(::std::string* name);\n\n  // repeated .google.protobuf.EnumValueDescriptorProto value = 2;\n  int value_size() const;\n  void clear_value();\n  static const int kValueFieldNumber = 2;\n  const ::google::protobuf::EnumValueDescriptorProto& value(int index) const;\n  ::google::protobuf::EnumValueDescriptorProto* mutable_value(int index);\n  ::google::protobuf::EnumValueDescriptorProto* add_value();\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >*\n      mutable_value();\n  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >&\n      value() const;\n\n  // optional .google.protobuf.EnumOptions options = 3;\n  bool has_options() const;\n  void clear_options();\n  static const int kOptionsFieldNumber = 3;\n  const ::google::protobuf::EnumOptions& options() const;\n  ::google::protobuf::EnumOptions* mutable_options();\n  ::google::protobuf::EnumOptions* release_options();\n  void set_allocated_options(::google::protobuf::EnumOptions* options);\n\n  // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto)\n private:\n  inline void set_has_name();\n  inline void clear_has_name();\n  inline void set_has_options();\n  inline void clear_has_options();\n\n  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;\n  ::google::protobuf::uint32 _has_bits_[1];\n  mutable int _cached_size_;\n  ::google::protobuf::internal::ArenaStringPtr name_;\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto > value_;\n  ::google::protobuf::EnumOptions* options_;\n  friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();\n\n  void InitAsDefaultInstance();\n  static EnumDescriptorProto* default_instance_;\n};\n// -------------------------------------------------------------------\n\nclass LIBPROTOBUF_EXPORT EnumValueDescriptorProto : public ::google::protobuf::Message {\n public:\n  EnumValueDescriptorProto();\n  virtual ~EnumValueDescriptorProto();\n\n  EnumValueDescriptorProto(const EnumValueDescriptorProto& from);\n\n  inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& from) {\n    CopyFrom(from);\n    return *this;\n  }\n\n  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {\n    return _internal_metadata_.unknown_fields();\n  }\n\n  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {\n    return _internal_metadata_.mutable_unknown_fields();\n  }\n\n  static const ::google::protobuf::Descriptor* descriptor();\n  static const EnumValueDescriptorProto& default_instance();\n\n  void Swap(EnumValueDescriptorProto* other);\n\n  // implements Message ----------------------------------------------\n\n  inline EnumValueDescriptorProto* New() const { return New(NULL); }\n\n  EnumValueDescriptorProto* New(::google::protobuf::Arena* arena) const;\n  void CopyFrom(const ::google::protobuf::Message& from);\n  void MergeFrom(const ::google::protobuf::Message& from);\n  void CopyFrom(const EnumValueDescriptorProto& from);\n  void MergeFrom(const EnumValueDescriptorProto& from);\n  void Clear();\n  bool IsInitialized() const;\n\n  int ByteSize() const;\n  bool MergePartialFromCodedStream(\n      ::google::protobuf::io::CodedInputStream* input);\n  void SerializeWithCachedSizes(\n      ::google::protobuf::io::CodedOutputStream* output) const;\n  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;\n  int GetCachedSize() const { return _cached_size_; }\n  private:\n  void SharedCtor();\n  void SharedDtor();\n  void SetCachedSize(int size) const;\n  void InternalSwap(EnumValueDescriptorProto* other);\n  private:\n  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {\n    return _internal_metadata_.arena();\n  }\n  inline void* MaybeArenaPtr() const {\n    return _internal_metadata_.raw_arena_ptr();\n  }\n  public:\n\n  ::google::protobuf::Metadata GetMetadata() const;\n\n  // nested types ----------------------------------------------------\n\n  // accessors -------------------------------------------------------\n\n  // optional string name = 1;\n  bool has_name() const;\n  void clear_name();\n  static const int kNameFieldNumber = 1;\n  const ::std::string& name() const;\n  void set_name(const ::std::string& value);\n  void set_name(const char* value);\n  void set_name(const char* value, size_t size);\n  ::std::string* mutable_name();\n  ::std::string* release_name();\n  void set_allocated_name(::std::string* name);\n\n  // optional int32 number = 2;\n  bool has_number() const;\n  void clear_number();\n  static const int kNumberFieldNumber = 2;\n  ::google::protobuf::int32 number() const;\n  void set_number(::google::protobuf::int32 value);\n\n  // optional .google.protobuf.EnumValueOptions options = 3;\n  bool has_options() const;\n  void clear_options();\n  static const int kOptionsFieldNumber = 3;\n  const ::google::protobuf::EnumValueOptions& options() const;\n  ::google::protobuf::EnumValueOptions* mutable_options();\n  ::google::protobuf::EnumValueOptions* release_options();\n  void set_allocated_options(::google::protobuf::EnumValueOptions* options);\n\n  // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorProto)\n private:\n  inline void set_has_name();\n  inline void clear_has_name();\n  inline void set_has_number();\n  inline void clear_has_number();\n  inline void set_has_options();\n  inline void clear_has_options();\n\n  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;\n  ::google::protobuf::uint32 _has_bits_[1];\n  mutable int _cached_size_;\n  ::google::protobuf::internal::ArenaStringPtr name_;\n  ::google::protobuf::EnumValueOptions* options_;\n  ::google::protobuf::int32 number_;\n  friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();\n\n  void InitAsDefaultInstance();\n  static EnumValueDescriptorProto* default_instance_;\n};\n// -------------------------------------------------------------------\n\nclass LIBPROTOBUF_EXPORT ServiceDescriptorProto : public ::google::protobuf::Message {\n public:\n  ServiceDescriptorProto();\n  virtual ~ServiceDescriptorProto();\n\n  ServiceDescriptorProto(const ServiceDescriptorProto& from);\n\n  inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) {\n    CopyFrom(from);\n    return *this;\n  }\n\n  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {\n    return _internal_metadata_.unknown_fields();\n  }\n\n  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {\n    return _internal_metadata_.mutable_unknown_fields();\n  }\n\n  static const ::google::protobuf::Descriptor* descriptor();\n  static const ServiceDescriptorProto& default_instance();\n\n  void Swap(ServiceDescriptorProto* other);\n\n  // implements Message ----------------------------------------------\n\n  inline ServiceDescriptorProto* New() const { return New(NULL); }\n\n  ServiceDescriptorProto* New(::google::protobuf::Arena* arena) const;\n  void CopyFrom(const ::google::protobuf::Message& from);\n  void MergeFrom(const ::google::protobuf::Message& from);\n  void CopyFrom(const ServiceDescriptorProto& from);\n  void MergeFrom(const ServiceDescriptorProto& from);\n  void Clear();\n  bool IsInitialized() const;\n\n  int ByteSize() const;\n  bool MergePartialFromCodedStream(\n      ::google::protobuf::io::CodedInputStream* input);\n  void SerializeWithCachedSizes(\n      ::google::protobuf::io::CodedOutputStream* output) const;\n  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;\n  int GetCachedSize() const { return _cached_size_; }\n  private:\n  void SharedCtor();\n  void SharedDtor();\n  void SetCachedSize(int size) const;\n  void InternalSwap(ServiceDescriptorProto* other);\n  private:\n  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {\n    return _internal_metadata_.arena();\n  }\n  inline void* MaybeArenaPtr() const {\n    return _internal_metadata_.raw_arena_ptr();\n  }\n  public:\n\n  ::google::protobuf::Metadata GetMetadata() const;\n\n  // nested types ----------------------------------------------------\n\n  // accessors -------------------------------------------------------\n\n  // optional string name = 1;\n  bool has_name() const;\n  void clear_name();\n  static const int kNameFieldNumber = 1;\n  const ::std::string& name() const;\n  void set_name(const ::std::string& value);\n  void set_name(const char* value);\n  void set_name(const char* value, size_t size);\n  ::std::string* mutable_name();\n  ::std::string* release_name();\n  void set_allocated_name(::std::string* name);\n\n  // repeated .google.protobuf.MethodDescriptorProto method = 2;\n  int method_size() const;\n  void clear_method();\n  static const int kMethodFieldNumber = 2;\n  const ::google::protobuf::MethodDescriptorProto& method(int index) const;\n  ::google::protobuf::MethodDescriptorProto* mutable_method(int index);\n  ::google::protobuf::MethodDescriptorProto* add_method();\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >*\n      mutable_method();\n  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >&\n      method() const;\n\n  // optional .google.protobuf.ServiceOptions options = 3;\n  bool has_options() const;\n  void clear_options();\n  static const int kOptionsFieldNumber = 3;\n  const ::google::protobuf::ServiceOptions& options() const;\n  ::google::protobuf::ServiceOptions* mutable_options();\n  ::google::protobuf::ServiceOptions* release_options();\n  void set_allocated_options(::google::protobuf::ServiceOptions* options);\n\n  // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto)\n private:\n  inline void set_has_name();\n  inline void clear_has_name();\n  inline void set_has_options();\n  inline void clear_has_options();\n\n  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;\n  ::google::protobuf::uint32 _has_bits_[1];\n  mutable int _cached_size_;\n  ::google::protobuf::internal::ArenaStringPtr name_;\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto > method_;\n  ::google::protobuf::ServiceOptions* options_;\n  friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();\n\n  void InitAsDefaultInstance();\n  static ServiceDescriptorProto* default_instance_;\n};\n// -------------------------------------------------------------------\n\nclass LIBPROTOBUF_EXPORT MethodDescriptorProto : public ::google::protobuf::Message {\n public:\n  MethodDescriptorProto();\n  virtual ~MethodDescriptorProto();\n\n  MethodDescriptorProto(const MethodDescriptorProto& from);\n\n  inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) {\n    CopyFrom(from);\n    return *this;\n  }\n\n  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {\n    return _internal_metadata_.unknown_fields();\n  }\n\n  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {\n    return _internal_metadata_.mutable_unknown_fields();\n  }\n\n  static const ::google::protobuf::Descriptor* descriptor();\n  static const MethodDescriptorProto& default_instance();\n\n  void Swap(MethodDescriptorProto* other);\n\n  // implements Message ----------------------------------------------\n\n  inline MethodDescriptorProto* New() const { return New(NULL); }\n\n  MethodDescriptorProto* New(::google::protobuf::Arena* arena) const;\n  void CopyFrom(const ::google::protobuf::Message& from);\n  void MergeFrom(const ::google::protobuf::Message& from);\n  void CopyFrom(const MethodDescriptorProto& from);\n  void MergeFrom(const MethodDescriptorProto& from);\n  void Clear();\n  bool IsInitialized() const;\n\n  int ByteSize() const;\n  bool MergePartialFromCodedStream(\n      ::google::protobuf::io::CodedInputStream* input);\n  void SerializeWithCachedSizes(\n      ::google::protobuf::io::CodedOutputStream* output) const;\n  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;\n  int GetCachedSize() const { return _cached_size_; }\n  private:\n  void SharedCtor();\n  void SharedDtor();\n  void SetCachedSize(int size) const;\n  void InternalSwap(MethodDescriptorProto* other);\n  private:\n  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {\n    return _internal_metadata_.arena();\n  }\n  inline void* MaybeArenaPtr() const {\n    return _internal_metadata_.raw_arena_ptr();\n  }\n  public:\n\n  ::google::protobuf::Metadata GetMetadata() const;\n\n  // nested types ----------------------------------------------------\n\n  // accessors -------------------------------------------------------\n\n  // optional string name = 1;\n  bool has_name() const;\n  void clear_name();\n  static const int kNameFieldNumber = 1;\n  const ::std::string& name() const;\n  void set_name(const ::std::string& value);\n  void set_name(const char* value);\n  void set_name(const char* value, size_t size);\n  ::std::string* mutable_name();\n  ::std::string* release_name();\n  void set_allocated_name(::std::string* name);\n\n  // optional string input_type = 2;\n  bool has_input_type() const;\n  void clear_input_type();\n  static const int kInputTypeFieldNumber = 2;\n  const ::std::string& input_type() const;\n  void set_input_type(const ::std::string& value);\n  void set_input_type(const char* value);\n  void set_input_type(const char* value, size_t size);\n  ::std::string* mutable_input_type();\n  ::std::string* release_input_type();\n  void set_allocated_input_type(::std::string* input_type);\n\n  // optional string output_type = 3;\n  bool has_output_type() const;\n  void clear_output_type();\n  static const int kOutputTypeFieldNumber = 3;\n  const ::std::string& output_type() const;\n  void set_output_type(const ::std::string& value);\n  void set_output_type(const char* value);\n  void set_output_type(const char* value, size_t size);\n  ::std::string* mutable_output_type();\n  ::std::string* release_output_type();\n  void set_allocated_output_type(::std::string* output_type);\n\n  // optional .google.protobuf.MethodOptions options = 4;\n  bool has_options() const;\n  void clear_options();\n  static const int kOptionsFieldNumber = 4;\n  const ::google::protobuf::MethodOptions& options() const;\n  ::google::protobuf::MethodOptions* mutable_options();\n  ::google::protobuf::MethodOptions* release_options();\n  void set_allocated_options(::google::protobuf::MethodOptions* options);\n\n  // optional bool client_streaming = 5 [default = false];\n  bool has_client_streaming() const;\n  void clear_client_streaming();\n  static const int kClientStreamingFieldNumber = 5;\n  bool client_streaming() const;\n  void set_client_streaming(bool value);\n\n  // optional bool server_streaming = 6 [default = false];\n  bool has_server_streaming() const;\n  void clear_server_streaming();\n  static const int kServerStreamingFieldNumber = 6;\n  bool server_streaming() const;\n  void set_server_streaming(bool value);\n\n  // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto)\n private:\n  inline void set_has_name();\n  inline void clear_has_name();\n  inline void set_has_input_type();\n  inline void clear_has_input_type();\n  inline void set_has_output_type();\n  inline void clear_has_output_type();\n  inline void set_has_options();\n  inline void clear_has_options();\n  inline void set_has_client_streaming();\n  inline void clear_has_client_streaming();\n  inline void set_has_server_streaming();\n  inline void clear_has_server_streaming();\n\n  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;\n  ::google::protobuf::uint32 _has_bits_[1];\n  mutable int _cached_size_;\n  ::google::protobuf::internal::ArenaStringPtr name_;\n  ::google::protobuf::internal::ArenaStringPtr input_type_;\n  ::google::protobuf::internal::ArenaStringPtr output_type_;\n  ::google::protobuf::MethodOptions* options_;\n  bool client_streaming_;\n  bool server_streaming_;\n  friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();\n\n  void InitAsDefaultInstance();\n  static MethodDescriptorProto* default_instance_;\n};\n// -------------------------------------------------------------------\n\nclass LIBPROTOBUF_EXPORT FileOptions : public ::google::protobuf::Message {\n public:\n  FileOptions();\n  virtual ~FileOptions();\n\n  FileOptions(const FileOptions& from);\n\n  inline FileOptions& operator=(const FileOptions& from) {\n    CopyFrom(from);\n    return *this;\n  }\n\n  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {\n    return _internal_metadata_.unknown_fields();\n  }\n\n  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {\n    return _internal_metadata_.mutable_unknown_fields();\n  }\n\n  static const ::google::protobuf::Descriptor* descriptor();\n  static const FileOptions& default_instance();\n\n  void Swap(FileOptions* other);\n\n  // implements Message ----------------------------------------------\n\n  inline FileOptions* New() const { return New(NULL); }\n\n  FileOptions* New(::google::protobuf::Arena* arena) const;\n  void CopyFrom(const ::google::protobuf::Message& from);\n  void MergeFrom(const ::google::protobuf::Message& from);\n  void CopyFrom(const FileOptions& from);\n  void MergeFrom(const FileOptions& from);\n  void Clear();\n  bool IsInitialized() const;\n\n  int ByteSize() const;\n  bool MergePartialFromCodedStream(\n      ::google::protobuf::io::CodedInputStream* input);\n  void SerializeWithCachedSizes(\n      ::google::protobuf::io::CodedOutputStream* output) const;\n  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;\n  int GetCachedSize() const { return _cached_size_; }\n  private:\n  void SharedCtor();\n  void SharedDtor();\n  void SetCachedSize(int size) const;\n  void InternalSwap(FileOptions* other);\n  private:\n  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {\n    return _internal_metadata_.arena();\n  }\n  inline void* MaybeArenaPtr() const {\n    return _internal_metadata_.raw_arena_ptr();\n  }\n  public:\n\n  ::google::protobuf::Metadata GetMetadata() const;\n\n  // nested types ----------------------------------------------------\n\n  typedef FileOptions_OptimizeMode OptimizeMode;\n  static const OptimizeMode SPEED =\n    FileOptions_OptimizeMode_SPEED;\n  static const OptimizeMode CODE_SIZE =\n    FileOptions_OptimizeMode_CODE_SIZE;\n  static const OptimizeMode LITE_RUNTIME =\n    FileOptions_OptimizeMode_LITE_RUNTIME;\n  static inline bool OptimizeMode_IsValid(int value) {\n    return FileOptions_OptimizeMode_IsValid(value);\n  }\n  static const OptimizeMode OptimizeMode_MIN =\n    FileOptions_OptimizeMode_OptimizeMode_MIN;\n  static const OptimizeMode OptimizeMode_MAX =\n    FileOptions_OptimizeMode_OptimizeMode_MAX;\n  static const int OptimizeMode_ARRAYSIZE =\n    FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE;\n  static inline const ::google::protobuf::EnumDescriptor*\n  OptimizeMode_descriptor() {\n    return FileOptions_OptimizeMode_descriptor();\n  }\n  static inline const ::std::string& OptimizeMode_Name(OptimizeMode value) {\n    return FileOptions_OptimizeMode_Name(value);\n  }\n  static inline bool OptimizeMode_Parse(const ::std::string& name,\n      OptimizeMode* value) {\n    return FileOptions_OptimizeMode_Parse(name, value);\n  }\n\n  // accessors -------------------------------------------------------\n\n  // optional string java_package = 1;\n  bool has_java_package() const;\n  void clear_java_package();\n  static const int kJavaPackageFieldNumber = 1;\n  const ::std::string& java_package() const;\n  void set_java_package(const ::std::string& value);\n  void set_java_package(const char* value);\n  void set_java_package(const char* value, size_t size);\n  ::std::string* mutable_java_package();\n  ::std::string* release_java_package();\n  void set_allocated_java_package(::std::string* java_package);\n\n  // optional string java_outer_classname = 8;\n  bool has_java_outer_classname() const;\n  void clear_java_outer_classname();\n  static const int kJavaOuterClassnameFieldNumber = 8;\n  const ::std::string& java_outer_classname() const;\n  void set_java_outer_classname(const ::std::string& value);\n  void set_java_outer_classname(const char* value);\n  void set_java_outer_classname(const char* value, size_t size);\n  ::std::string* mutable_java_outer_classname();\n  ::std::string* release_java_outer_classname();\n  void set_allocated_java_outer_classname(::std::string* java_outer_classname);\n\n  // optional bool java_multiple_files = 10 [default = false];\n  bool has_java_multiple_files() const;\n  void clear_java_multiple_files();\n  static const int kJavaMultipleFilesFieldNumber = 10;\n  bool java_multiple_files() const;\n  void set_java_multiple_files(bool value);\n\n  // optional bool java_generate_equals_and_hash = 20 [default = false];\n  bool has_java_generate_equals_and_hash() const;\n  void clear_java_generate_equals_and_hash();\n  static const int kJavaGenerateEqualsAndHashFieldNumber = 20;\n  bool java_generate_equals_and_hash() const;\n  void set_java_generate_equals_and_hash(bool value);\n\n  // optional bool java_string_check_utf8 = 27 [default = false];\n  bool has_java_string_check_utf8() const;\n  void clear_java_string_check_utf8();\n  static const int kJavaStringCheckUtf8FieldNumber = 27;\n  bool java_string_check_utf8() const;\n  void set_java_string_check_utf8(bool value);\n\n  // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];\n  bool has_optimize_for() const;\n  void clear_optimize_for();\n  static const int kOptimizeForFieldNumber = 9;\n  ::google::protobuf::FileOptions_OptimizeMode optimize_for() const;\n  void set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value);\n\n  // optional string go_package = 11;\n  bool has_go_package() const;\n  void clear_go_package();\n  static const int kGoPackageFieldNumber = 11;\n  const ::std::string& go_package() const;\n  void set_go_package(const ::std::string& value);\n  void set_go_package(const char* value);\n  void set_go_package(const char* value, size_t size);\n  ::std::string* mutable_go_package();\n  ::std::string* release_go_package();\n  void set_allocated_go_package(::std::string* go_package);\n\n  // optional bool cc_generic_services = 16 [default = false];\n  bool has_cc_generic_services() const;\n  void clear_cc_generic_services();\n  static const int kCcGenericServicesFieldNumber = 16;\n  bool cc_generic_services() const;\n  void set_cc_generic_services(bool value);\n\n  // optional bool java_generic_services = 17 [default = false];\n  bool has_java_generic_services() const;\n  void clear_java_generic_services();\n  static const int kJavaGenericServicesFieldNumber = 17;\n  bool java_generic_services() const;\n  void set_java_generic_services(bool value);\n\n  // optional bool py_generic_services = 18 [default = false];\n  bool has_py_generic_services() const;\n  void clear_py_generic_services();\n  static const int kPyGenericServicesFieldNumber = 18;\n  bool py_generic_services() const;\n  void set_py_generic_services(bool value);\n\n  // optional bool deprecated = 23 [default = false];\n  bool has_deprecated() const;\n  void clear_deprecated();\n  static const int kDeprecatedFieldNumber = 23;\n  bool deprecated() const;\n  void set_deprecated(bool value);\n\n  // optional bool cc_enable_arenas = 31 [default = false];\n  bool has_cc_enable_arenas() const;\n  void clear_cc_enable_arenas();\n  static const int kCcEnableArenasFieldNumber = 31;\n  bool cc_enable_arenas() const;\n  void set_cc_enable_arenas(bool value);\n\n  // optional string objc_class_prefix = 36;\n  bool has_objc_class_prefix() const;\n  void clear_objc_class_prefix();\n  static const int kObjcClassPrefixFieldNumber = 36;\n  const ::std::string& objc_class_prefix() const;\n  void set_objc_class_prefix(const ::std::string& value);\n  void set_objc_class_prefix(const char* value);\n  void set_objc_class_prefix(const char* value, size_t size);\n  ::std::string* mutable_objc_class_prefix();\n  ::std::string* release_objc_class_prefix();\n  void set_allocated_objc_class_prefix(::std::string* objc_class_prefix);\n\n  // optional string csharp_namespace = 37;\n  bool has_csharp_namespace() const;\n  void clear_csharp_namespace();\n  static const int kCsharpNamespaceFieldNumber = 37;\n  const ::std::string& csharp_namespace() const;\n  void set_csharp_namespace(const ::std::string& value);\n  void set_csharp_namespace(const char* value);\n  void set_csharp_namespace(const char* value, size_t size);\n  ::std::string* mutable_csharp_namespace();\n  ::std::string* release_csharp_namespace();\n  void set_allocated_csharp_namespace(::std::string* csharp_namespace);\n\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  int uninterpreted_option_size() const;\n  void clear_uninterpreted_option();\n  static const int kUninterpretedOptionFieldNumber = 999;\n  const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;\n  ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);\n  ::google::protobuf::UninterpretedOption* add_uninterpreted_option();\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*\n      mutable_uninterpreted_option();\n  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&\n      uninterpreted_option() const;\n\n  GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FileOptions)\n  // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions)\n private:\n  inline void set_has_java_package();\n  inline void clear_has_java_package();\n  inline void set_has_java_outer_classname();\n  inline void clear_has_java_outer_classname();\n  inline void set_has_java_multiple_files();\n  inline void clear_has_java_multiple_files();\n  inline void set_has_java_generate_equals_and_hash();\n  inline void clear_has_java_generate_equals_and_hash();\n  inline void set_has_java_string_check_utf8();\n  inline void clear_has_java_string_check_utf8();\n  inline void set_has_optimize_for();\n  inline void clear_has_optimize_for();\n  inline void set_has_go_package();\n  inline void clear_has_go_package();\n  inline void set_has_cc_generic_services();\n  inline void clear_has_cc_generic_services();\n  inline void set_has_java_generic_services();\n  inline void clear_has_java_generic_services();\n  inline void set_has_py_generic_services();\n  inline void clear_has_py_generic_services();\n  inline void set_has_deprecated();\n  inline void clear_has_deprecated();\n  inline void set_has_cc_enable_arenas();\n  inline void clear_has_cc_enable_arenas();\n  inline void set_has_objc_class_prefix();\n  inline void clear_has_objc_class_prefix();\n  inline void set_has_csharp_namespace();\n  inline void clear_has_csharp_namespace();\n\n  ::google::protobuf::internal::ExtensionSet _extensions_;\n\n  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;\n  ::google::protobuf::uint32 _has_bits_[1];\n  mutable int _cached_size_;\n  ::google::protobuf::internal::ArenaStringPtr java_package_;\n  ::google::protobuf::internal::ArenaStringPtr java_outer_classname_;\n  bool java_multiple_files_;\n  bool java_generate_equals_and_hash_;\n  bool java_string_check_utf8_;\n  bool cc_generic_services_;\n  int optimize_for_;\n  ::google::protobuf::internal::ArenaStringPtr go_package_;\n  ::google::protobuf::internal::ArenaStringPtr objc_class_prefix_;\n  ::google::protobuf::internal::ArenaStringPtr csharp_namespace_;\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;\n  bool java_generic_services_;\n  bool py_generic_services_;\n  bool deprecated_;\n  bool cc_enable_arenas_;\n  friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();\n\n  void InitAsDefaultInstance();\n  static FileOptions* default_instance_;\n};\n// -------------------------------------------------------------------\n\nclass LIBPROTOBUF_EXPORT MessageOptions : public ::google::protobuf::Message {\n public:\n  MessageOptions();\n  virtual ~MessageOptions();\n\n  MessageOptions(const MessageOptions& from);\n\n  inline MessageOptions& operator=(const MessageOptions& from) {\n    CopyFrom(from);\n    return *this;\n  }\n\n  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {\n    return _internal_metadata_.unknown_fields();\n  }\n\n  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {\n    return _internal_metadata_.mutable_unknown_fields();\n  }\n\n  static const ::google::protobuf::Descriptor* descriptor();\n  static const MessageOptions& default_instance();\n\n  void Swap(MessageOptions* other);\n\n  // implements Message ----------------------------------------------\n\n  inline MessageOptions* New() const { return New(NULL); }\n\n  MessageOptions* New(::google::protobuf::Arena* arena) const;\n  void CopyFrom(const ::google::protobuf::Message& from);\n  void MergeFrom(const ::google::protobuf::Message& from);\n  void CopyFrom(const MessageOptions& from);\n  void MergeFrom(const MessageOptions& from);\n  void Clear();\n  bool IsInitialized() const;\n\n  int ByteSize() const;\n  bool MergePartialFromCodedStream(\n      ::google::protobuf::io::CodedInputStream* input);\n  void SerializeWithCachedSizes(\n      ::google::protobuf::io::CodedOutputStream* output) const;\n  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;\n  int GetCachedSize() const { return _cached_size_; }\n  private:\n  void SharedCtor();\n  void SharedDtor();\n  void SetCachedSize(int size) const;\n  void InternalSwap(MessageOptions* other);\n  private:\n  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {\n    return _internal_metadata_.arena();\n  }\n  inline void* MaybeArenaPtr() const {\n    return _internal_metadata_.raw_arena_ptr();\n  }\n  public:\n\n  ::google::protobuf::Metadata GetMetadata() const;\n\n  // nested types ----------------------------------------------------\n\n  // accessors -------------------------------------------------------\n\n  // optional bool message_set_wire_format = 1 [default = false];\n  bool has_message_set_wire_format() const;\n  void clear_message_set_wire_format();\n  static const int kMessageSetWireFormatFieldNumber = 1;\n  bool message_set_wire_format() const;\n  void set_message_set_wire_format(bool value);\n\n  // optional bool no_standard_descriptor_accessor = 2 [default = false];\n  bool has_no_standard_descriptor_accessor() const;\n  void clear_no_standard_descriptor_accessor();\n  static const int kNoStandardDescriptorAccessorFieldNumber = 2;\n  bool no_standard_descriptor_accessor() const;\n  void set_no_standard_descriptor_accessor(bool value);\n\n  // optional bool deprecated = 3 [default = false];\n  bool has_deprecated() const;\n  void clear_deprecated();\n  static const int kDeprecatedFieldNumber = 3;\n  bool deprecated() const;\n  void set_deprecated(bool value);\n\n  // optional bool map_entry = 7;\n  bool has_map_entry() const;\n  void clear_map_entry();\n  static const int kMapEntryFieldNumber = 7;\n  bool map_entry() const;\n  void set_map_entry(bool value);\n\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  int uninterpreted_option_size() const;\n  void clear_uninterpreted_option();\n  static const int kUninterpretedOptionFieldNumber = 999;\n  const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;\n  ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);\n  ::google::protobuf::UninterpretedOption* add_uninterpreted_option();\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*\n      mutable_uninterpreted_option();\n  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&\n      uninterpreted_option() const;\n\n  GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MessageOptions)\n  // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions)\n private:\n  inline void set_has_message_set_wire_format();\n  inline void clear_has_message_set_wire_format();\n  inline void set_has_no_standard_descriptor_accessor();\n  inline void clear_has_no_standard_descriptor_accessor();\n  inline void set_has_deprecated();\n  inline void clear_has_deprecated();\n  inline void set_has_map_entry();\n  inline void clear_has_map_entry();\n\n  ::google::protobuf::internal::ExtensionSet _extensions_;\n\n  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;\n  ::google::protobuf::uint32 _has_bits_[1];\n  mutable int _cached_size_;\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;\n  bool message_set_wire_format_;\n  bool no_standard_descriptor_accessor_;\n  bool deprecated_;\n  bool map_entry_;\n  friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();\n\n  void InitAsDefaultInstance();\n  static MessageOptions* default_instance_;\n};\n// -------------------------------------------------------------------\n\nclass LIBPROTOBUF_EXPORT FieldOptions : public ::google::protobuf::Message {\n public:\n  FieldOptions();\n  virtual ~FieldOptions();\n\n  FieldOptions(const FieldOptions& from);\n\n  inline FieldOptions& operator=(const FieldOptions& from) {\n    CopyFrom(from);\n    return *this;\n  }\n\n  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {\n    return _internal_metadata_.unknown_fields();\n  }\n\n  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {\n    return _internal_metadata_.mutable_unknown_fields();\n  }\n\n  static const ::google::protobuf::Descriptor* descriptor();\n  static const FieldOptions& default_instance();\n\n  void Swap(FieldOptions* other);\n\n  // implements Message ----------------------------------------------\n\n  inline FieldOptions* New() const { return New(NULL); }\n\n  FieldOptions* New(::google::protobuf::Arena* arena) const;\n  void CopyFrom(const ::google::protobuf::Message& from);\n  void MergeFrom(const ::google::protobuf::Message& from);\n  void CopyFrom(const FieldOptions& from);\n  void MergeFrom(const FieldOptions& from);\n  void Clear();\n  bool IsInitialized() const;\n\n  int ByteSize() const;\n  bool MergePartialFromCodedStream(\n      ::google::protobuf::io::CodedInputStream* input);\n  void SerializeWithCachedSizes(\n      ::google::protobuf::io::CodedOutputStream* output) const;\n  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;\n  int GetCachedSize() const { return _cached_size_; }\n  private:\n  void SharedCtor();\n  void SharedDtor();\n  void SetCachedSize(int size) const;\n  void InternalSwap(FieldOptions* other);\n  private:\n  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {\n    return _internal_metadata_.arena();\n  }\n  inline void* MaybeArenaPtr() const {\n    return _internal_metadata_.raw_arena_ptr();\n  }\n  public:\n\n  ::google::protobuf::Metadata GetMetadata() const;\n\n  // nested types ----------------------------------------------------\n\n  typedef FieldOptions_CType CType;\n  static const CType STRING =\n    FieldOptions_CType_STRING;\n  static const CType CORD =\n    FieldOptions_CType_CORD;\n  static const CType STRING_PIECE =\n    FieldOptions_CType_STRING_PIECE;\n  static inline bool CType_IsValid(int value) {\n    return FieldOptions_CType_IsValid(value);\n  }\n  static const CType CType_MIN =\n    FieldOptions_CType_CType_MIN;\n  static const CType CType_MAX =\n    FieldOptions_CType_CType_MAX;\n  static const int CType_ARRAYSIZE =\n    FieldOptions_CType_CType_ARRAYSIZE;\n  static inline const ::google::protobuf::EnumDescriptor*\n  CType_descriptor() {\n    return FieldOptions_CType_descriptor();\n  }\n  static inline const ::std::string& CType_Name(CType value) {\n    return FieldOptions_CType_Name(value);\n  }\n  static inline bool CType_Parse(const ::std::string& name,\n      CType* value) {\n    return FieldOptions_CType_Parse(name, value);\n  }\n\n  typedef FieldOptions_JSType JSType;\n  static const JSType JS_NORMAL =\n    FieldOptions_JSType_JS_NORMAL;\n  static const JSType JS_STRING =\n    FieldOptions_JSType_JS_STRING;\n  static const JSType JS_NUMBER =\n    FieldOptions_JSType_JS_NUMBER;\n  static inline bool JSType_IsValid(int value) {\n    return FieldOptions_JSType_IsValid(value);\n  }\n  static const JSType JSType_MIN =\n    FieldOptions_JSType_JSType_MIN;\n  static const JSType JSType_MAX =\n    FieldOptions_JSType_JSType_MAX;\n  static const int JSType_ARRAYSIZE =\n    FieldOptions_JSType_JSType_ARRAYSIZE;\n  static inline const ::google::protobuf::EnumDescriptor*\n  JSType_descriptor() {\n    return FieldOptions_JSType_descriptor();\n  }\n  static inline const ::std::string& JSType_Name(JSType value) {\n    return FieldOptions_JSType_Name(value);\n  }\n  static inline bool JSType_Parse(const ::std::string& name,\n      JSType* value) {\n    return FieldOptions_JSType_Parse(name, value);\n  }\n\n  // accessors -------------------------------------------------------\n\n  // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];\n  bool has_ctype() const;\n  void clear_ctype();\n  static const int kCtypeFieldNumber = 1;\n  ::google::protobuf::FieldOptions_CType ctype() const;\n  void set_ctype(::google::protobuf::FieldOptions_CType value);\n\n  // optional bool packed = 2;\n  bool has_packed() const;\n  void clear_packed();\n  static const int kPackedFieldNumber = 2;\n  bool packed() const;\n  void set_packed(bool value);\n\n  // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];\n  bool has_jstype() const;\n  void clear_jstype();\n  static const int kJstypeFieldNumber = 6;\n  ::google::protobuf::FieldOptions_JSType jstype() const;\n  void set_jstype(::google::protobuf::FieldOptions_JSType value);\n\n  // optional bool lazy = 5 [default = false];\n  bool has_lazy() const;\n  void clear_lazy();\n  static const int kLazyFieldNumber = 5;\n  bool lazy() const;\n  void set_lazy(bool value);\n\n  // optional bool deprecated = 3 [default = false];\n  bool has_deprecated() const;\n  void clear_deprecated();\n  static const int kDeprecatedFieldNumber = 3;\n  bool deprecated() const;\n  void set_deprecated(bool value);\n\n  // optional bool weak = 10 [default = false];\n  bool has_weak() const;\n  void clear_weak();\n  static const int kWeakFieldNumber = 10;\n  bool weak() const;\n  void set_weak(bool value);\n\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  int uninterpreted_option_size() const;\n  void clear_uninterpreted_option();\n  static const int kUninterpretedOptionFieldNumber = 999;\n  const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;\n  ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);\n  ::google::protobuf::UninterpretedOption* add_uninterpreted_option();\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*\n      mutable_uninterpreted_option();\n  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&\n      uninterpreted_option() const;\n\n  GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FieldOptions)\n  // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions)\n private:\n  inline void set_has_ctype();\n  inline void clear_has_ctype();\n  inline void set_has_packed();\n  inline void clear_has_packed();\n  inline void set_has_jstype();\n  inline void clear_has_jstype();\n  inline void set_has_lazy();\n  inline void clear_has_lazy();\n  inline void set_has_deprecated();\n  inline void clear_has_deprecated();\n  inline void set_has_weak();\n  inline void clear_has_weak();\n\n  ::google::protobuf::internal::ExtensionSet _extensions_;\n\n  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;\n  ::google::protobuf::uint32 _has_bits_[1];\n  mutable int _cached_size_;\n  int ctype_;\n  int jstype_;\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;\n  bool packed_;\n  bool lazy_;\n  bool deprecated_;\n  bool weak_;\n  friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();\n\n  void InitAsDefaultInstance();\n  static FieldOptions* default_instance_;\n};\n// -------------------------------------------------------------------\n\nclass LIBPROTOBUF_EXPORT EnumOptions : public ::google::protobuf::Message {\n public:\n  EnumOptions();\n  virtual ~EnumOptions();\n\n  EnumOptions(const EnumOptions& from);\n\n  inline EnumOptions& operator=(const EnumOptions& from) {\n    CopyFrom(from);\n    return *this;\n  }\n\n  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {\n    return _internal_metadata_.unknown_fields();\n  }\n\n  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {\n    return _internal_metadata_.mutable_unknown_fields();\n  }\n\n  static const ::google::protobuf::Descriptor* descriptor();\n  static const EnumOptions& default_instance();\n\n  void Swap(EnumOptions* other);\n\n  // implements Message ----------------------------------------------\n\n  inline EnumOptions* New() const { return New(NULL); }\n\n  EnumOptions* New(::google::protobuf::Arena* arena) const;\n  void CopyFrom(const ::google::protobuf::Message& from);\n  void MergeFrom(const ::google::protobuf::Message& from);\n  void CopyFrom(const EnumOptions& from);\n  void MergeFrom(const EnumOptions& from);\n  void Clear();\n  bool IsInitialized() const;\n\n  int ByteSize() const;\n  bool MergePartialFromCodedStream(\n      ::google::protobuf::io::CodedInputStream* input);\n  void SerializeWithCachedSizes(\n      ::google::protobuf::io::CodedOutputStream* output) const;\n  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;\n  int GetCachedSize() const { return _cached_size_; }\n  private:\n  void SharedCtor();\n  void SharedDtor();\n  void SetCachedSize(int size) const;\n  void InternalSwap(EnumOptions* other);\n  private:\n  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {\n    return _internal_metadata_.arena();\n  }\n  inline void* MaybeArenaPtr() const {\n    return _internal_metadata_.raw_arena_ptr();\n  }\n  public:\n\n  ::google::protobuf::Metadata GetMetadata() const;\n\n  // nested types ----------------------------------------------------\n\n  // accessors -------------------------------------------------------\n\n  // optional bool allow_alias = 2;\n  bool has_allow_alias() const;\n  void clear_allow_alias();\n  static const int kAllowAliasFieldNumber = 2;\n  bool allow_alias() const;\n  void set_allow_alias(bool value);\n\n  // optional bool deprecated = 3 [default = false];\n  bool has_deprecated() const;\n  void clear_deprecated();\n  static const int kDeprecatedFieldNumber = 3;\n  bool deprecated() const;\n  void set_deprecated(bool value);\n\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  int uninterpreted_option_size() const;\n  void clear_uninterpreted_option();\n  static const int kUninterpretedOptionFieldNumber = 999;\n  const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;\n  ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);\n  ::google::protobuf::UninterpretedOption* add_uninterpreted_option();\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*\n      mutable_uninterpreted_option();\n  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&\n      uninterpreted_option() const;\n\n  GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumOptions)\n  // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions)\n private:\n  inline void set_has_allow_alias();\n  inline void clear_has_allow_alias();\n  inline void set_has_deprecated();\n  inline void clear_has_deprecated();\n\n  ::google::protobuf::internal::ExtensionSet _extensions_;\n\n  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;\n  ::google::protobuf::uint32 _has_bits_[1];\n  mutable int _cached_size_;\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;\n  bool allow_alias_;\n  bool deprecated_;\n  friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();\n\n  void InitAsDefaultInstance();\n  static EnumOptions* default_instance_;\n};\n// -------------------------------------------------------------------\n\nclass LIBPROTOBUF_EXPORT EnumValueOptions : public ::google::protobuf::Message {\n public:\n  EnumValueOptions();\n  virtual ~EnumValueOptions();\n\n  EnumValueOptions(const EnumValueOptions& from);\n\n  inline EnumValueOptions& operator=(const EnumValueOptions& from) {\n    CopyFrom(from);\n    return *this;\n  }\n\n  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {\n    return _internal_metadata_.unknown_fields();\n  }\n\n  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {\n    return _internal_metadata_.mutable_unknown_fields();\n  }\n\n  static const ::google::protobuf::Descriptor* descriptor();\n  static const EnumValueOptions& default_instance();\n\n  void Swap(EnumValueOptions* other);\n\n  // implements Message ----------------------------------------------\n\n  inline EnumValueOptions* New() const { return New(NULL); }\n\n  EnumValueOptions* New(::google::protobuf::Arena* arena) const;\n  void CopyFrom(const ::google::protobuf::Message& from);\n  void MergeFrom(const ::google::protobuf::Message& from);\n  void CopyFrom(const EnumValueOptions& from);\n  void MergeFrom(const EnumValueOptions& from);\n  void Clear();\n  bool IsInitialized() const;\n\n  int ByteSize() const;\n  bool MergePartialFromCodedStream(\n      ::google::protobuf::io::CodedInputStream* input);\n  void SerializeWithCachedSizes(\n      ::google::protobuf::io::CodedOutputStream* output) const;\n  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;\n  int GetCachedSize() const { return _cached_size_; }\n  private:\n  void SharedCtor();\n  void SharedDtor();\n  void SetCachedSize(int size) const;\n  void InternalSwap(EnumValueOptions* other);\n  private:\n  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {\n    return _internal_metadata_.arena();\n  }\n  inline void* MaybeArenaPtr() const {\n    return _internal_metadata_.raw_arena_ptr();\n  }\n  public:\n\n  ::google::protobuf::Metadata GetMetadata() const;\n\n  // nested types ----------------------------------------------------\n\n  // accessors -------------------------------------------------------\n\n  // optional bool deprecated = 1 [default = false];\n  bool has_deprecated() const;\n  void clear_deprecated();\n  static const int kDeprecatedFieldNumber = 1;\n  bool deprecated() const;\n  void set_deprecated(bool value);\n\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  int uninterpreted_option_size() const;\n  void clear_uninterpreted_option();\n  static const int kUninterpretedOptionFieldNumber = 999;\n  const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;\n  ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);\n  ::google::protobuf::UninterpretedOption* add_uninterpreted_option();\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*\n      mutable_uninterpreted_option();\n  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&\n      uninterpreted_option() const;\n\n  GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(EnumValueOptions)\n  // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions)\n private:\n  inline void set_has_deprecated();\n  inline void clear_has_deprecated();\n\n  ::google::protobuf::internal::ExtensionSet _extensions_;\n\n  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;\n  ::google::protobuf::uint32 _has_bits_[1];\n  mutable int _cached_size_;\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;\n  bool deprecated_;\n  friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();\n\n  void InitAsDefaultInstance();\n  static EnumValueOptions* default_instance_;\n};\n// -------------------------------------------------------------------\n\nclass LIBPROTOBUF_EXPORT ServiceOptions : public ::google::protobuf::Message {\n public:\n  ServiceOptions();\n  virtual ~ServiceOptions();\n\n  ServiceOptions(const ServiceOptions& from);\n\n  inline ServiceOptions& operator=(const ServiceOptions& from) {\n    CopyFrom(from);\n    return *this;\n  }\n\n  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {\n    return _internal_metadata_.unknown_fields();\n  }\n\n  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {\n    return _internal_metadata_.mutable_unknown_fields();\n  }\n\n  static const ::google::protobuf::Descriptor* descriptor();\n  static const ServiceOptions& default_instance();\n\n  void Swap(ServiceOptions* other);\n\n  // implements Message ----------------------------------------------\n\n  inline ServiceOptions* New() const { return New(NULL); }\n\n  ServiceOptions* New(::google::protobuf::Arena* arena) const;\n  void CopyFrom(const ::google::protobuf::Message& from);\n  void MergeFrom(const ::google::protobuf::Message& from);\n  void CopyFrom(const ServiceOptions& from);\n  void MergeFrom(const ServiceOptions& from);\n  void Clear();\n  bool IsInitialized() const;\n\n  int ByteSize() const;\n  bool MergePartialFromCodedStream(\n      ::google::protobuf::io::CodedInputStream* input);\n  void SerializeWithCachedSizes(\n      ::google::protobuf::io::CodedOutputStream* output) const;\n  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;\n  int GetCachedSize() const { return _cached_size_; }\n  private:\n  void SharedCtor();\n  void SharedDtor();\n  void SetCachedSize(int size) const;\n  void InternalSwap(ServiceOptions* other);\n  private:\n  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {\n    return _internal_metadata_.arena();\n  }\n  inline void* MaybeArenaPtr() const {\n    return _internal_metadata_.raw_arena_ptr();\n  }\n  public:\n\n  ::google::protobuf::Metadata GetMetadata() const;\n\n  // nested types ----------------------------------------------------\n\n  // accessors -------------------------------------------------------\n\n  // optional bool deprecated = 33 [default = false];\n  bool has_deprecated() const;\n  void clear_deprecated();\n  static const int kDeprecatedFieldNumber = 33;\n  bool deprecated() const;\n  void set_deprecated(bool value);\n\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  int uninterpreted_option_size() const;\n  void clear_uninterpreted_option();\n  static const int kUninterpretedOptionFieldNumber = 999;\n  const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;\n  ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);\n  ::google::protobuf::UninterpretedOption* add_uninterpreted_option();\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*\n      mutable_uninterpreted_option();\n  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&\n      uninterpreted_option() const;\n\n  GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ServiceOptions)\n  // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions)\n private:\n  inline void set_has_deprecated();\n  inline void clear_has_deprecated();\n\n  ::google::protobuf::internal::ExtensionSet _extensions_;\n\n  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;\n  ::google::protobuf::uint32 _has_bits_[1];\n  mutable int _cached_size_;\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;\n  bool deprecated_;\n  friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();\n\n  void InitAsDefaultInstance();\n  static ServiceOptions* default_instance_;\n};\n// -------------------------------------------------------------------\n\nclass LIBPROTOBUF_EXPORT MethodOptions : public ::google::protobuf::Message {\n public:\n  MethodOptions();\n  virtual ~MethodOptions();\n\n  MethodOptions(const MethodOptions& from);\n\n  inline MethodOptions& operator=(const MethodOptions& from) {\n    CopyFrom(from);\n    return *this;\n  }\n\n  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {\n    return _internal_metadata_.unknown_fields();\n  }\n\n  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {\n    return _internal_metadata_.mutable_unknown_fields();\n  }\n\n  static const ::google::protobuf::Descriptor* descriptor();\n  static const MethodOptions& default_instance();\n\n  void Swap(MethodOptions* other);\n\n  // implements Message ----------------------------------------------\n\n  inline MethodOptions* New() const { return New(NULL); }\n\n  MethodOptions* New(::google::protobuf::Arena* arena) const;\n  void CopyFrom(const ::google::protobuf::Message& from);\n  void MergeFrom(const ::google::protobuf::Message& from);\n  void CopyFrom(const MethodOptions& from);\n  void MergeFrom(const MethodOptions& from);\n  void Clear();\n  bool IsInitialized() const;\n\n  int ByteSize() const;\n  bool MergePartialFromCodedStream(\n      ::google::protobuf::io::CodedInputStream* input);\n  void SerializeWithCachedSizes(\n      ::google::protobuf::io::CodedOutputStream* output) const;\n  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;\n  int GetCachedSize() const { return _cached_size_; }\n  private:\n  void SharedCtor();\n  void SharedDtor();\n  void SetCachedSize(int size) const;\n  void InternalSwap(MethodOptions* other);\n  private:\n  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {\n    return _internal_metadata_.arena();\n  }\n  inline void* MaybeArenaPtr() const {\n    return _internal_metadata_.raw_arena_ptr();\n  }\n  public:\n\n  ::google::protobuf::Metadata GetMetadata() const;\n\n  // nested types ----------------------------------------------------\n\n  // accessors -------------------------------------------------------\n\n  // optional bool deprecated = 33 [default = false];\n  bool has_deprecated() const;\n  void clear_deprecated();\n  static const int kDeprecatedFieldNumber = 33;\n  bool deprecated() const;\n  void set_deprecated(bool value);\n\n  // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\n  int uninterpreted_option_size() const;\n  void clear_uninterpreted_option();\n  static const int kUninterpretedOptionFieldNumber = 999;\n  const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;\n  ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);\n  ::google::protobuf::UninterpretedOption* add_uninterpreted_option();\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*\n      mutable_uninterpreted_option();\n  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&\n      uninterpreted_option() const;\n\n  GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(MethodOptions)\n  // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions)\n private:\n  inline void set_has_deprecated();\n  inline void clear_has_deprecated();\n\n  ::google::protobuf::internal::ExtensionSet _extensions_;\n\n  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;\n  ::google::protobuf::uint32 _has_bits_[1];\n  mutable int _cached_size_;\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;\n  bool deprecated_;\n  friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();\n\n  void InitAsDefaultInstance();\n  static MethodOptions* default_instance_;\n};\n// -------------------------------------------------------------------\n\nclass LIBPROTOBUF_EXPORT UninterpretedOption_NamePart : public ::google::protobuf::Message {\n public:\n  UninterpretedOption_NamePart();\n  virtual ~UninterpretedOption_NamePart();\n\n  UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from);\n\n  inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NamePart& from) {\n    CopyFrom(from);\n    return *this;\n  }\n\n  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {\n    return _internal_metadata_.unknown_fields();\n  }\n\n  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {\n    return _internal_metadata_.mutable_unknown_fields();\n  }\n\n  static const ::google::protobuf::Descriptor* descriptor();\n  static const UninterpretedOption_NamePart& default_instance();\n\n  void Swap(UninterpretedOption_NamePart* other);\n\n  // implements Message ----------------------------------------------\n\n  inline UninterpretedOption_NamePart* New() const { return New(NULL); }\n\n  UninterpretedOption_NamePart* New(::google::protobuf::Arena* arena) const;\n  void CopyFrom(const ::google::protobuf::Message& from);\n  void MergeFrom(const ::google::protobuf::Message& from);\n  void CopyFrom(const UninterpretedOption_NamePart& from);\n  void MergeFrom(const UninterpretedOption_NamePart& from);\n  void Clear();\n  bool IsInitialized() const;\n\n  int ByteSize() const;\n  bool MergePartialFromCodedStream(\n      ::google::protobuf::io::CodedInputStream* input);\n  void SerializeWithCachedSizes(\n      ::google::protobuf::io::CodedOutputStream* output) const;\n  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;\n  int GetCachedSize() const { return _cached_size_; }\n  private:\n  void SharedCtor();\n  void SharedDtor();\n  void SetCachedSize(int size) const;\n  void InternalSwap(UninterpretedOption_NamePart* other);\n  private:\n  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {\n    return _internal_metadata_.arena();\n  }\n  inline void* MaybeArenaPtr() const {\n    return _internal_metadata_.raw_arena_ptr();\n  }\n  public:\n\n  ::google::protobuf::Metadata GetMetadata() const;\n\n  // nested types ----------------------------------------------------\n\n  // accessors -------------------------------------------------------\n\n  // required string name_part = 1;\n  bool has_name_part() const;\n  void clear_name_part();\n  static const int kNamePartFieldNumber = 1;\n  const ::std::string& name_part() const;\n  void set_name_part(const ::std::string& value);\n  void set_name_part(const char* value);\n  void set_name_part(const char* value, size_t size);\n  ::std::string* mutable_name_part();\n  ::std::string* release_name_part();\n  void set_allocated_name_part(::std::string* name_part);\n\n  // required bool is_extension = 2;\n  bool has_is_extension() const;\n  void clear_is_extension();\n  static const int kIsExtensionFieldNumber = 2;\n  bool is_extension() const;\n  void set_is_extension(bool value);\n\n  // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.NamePart)\n private:\n  inline void set_has_name_part();\n  inline void clear_has_name_part();\n  inline void set_has_is_extension();\n  inline void clear_has_is_extension();\n\n  // helper for ByteSize()\n  int RequiredFieldsByteSizeFallback() const;\n\n  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;\n  ::google::protobuf::uint32 _has_bits_[1];\n  mutable int _cached_size_;\n  ::google::protobuf::internal::ArenaStringPtr name_part_;\n  bool is_extension_;\n  friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();\n\n  void InitAsDefaultInstance();\n  static UninterpretedOption_NamePart* default_instance_;\n};\n// -------------------------------------------------------------------\n\nclass LIBPROTOBUF_EXPORT UninterpretedOption : public ::google::protobuf::Message {\n public:\n  UninterpretedOption();\n  virtual ~UninterpretedOption();\n\n  UninterpretedOption(const UninterpretedOption& from);\n\n  inline UninterpretedOption& operator=(const UninterpretedOption& from) {\n    CopyFrom(from);\n    return *this;\n  }\n\n  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {\n    return _internal_metadata_.unknown_fields();\n  }\n\n  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {\n    return _internal_metadata_.mutable_unknown_fields();\n  }\n\n  static const ::google::protobuf::Descriptor* descriptor();\n  static const UninterpretedOption& default_instance();\n\n  void Swap(UninterpretedOption* other);\n\n  // implements Message ----------------------------------------------\n\n  inline UninterpretedOption* New() const { return New(NULL); }\n\n  UninterpretedOption* New(::google::protobuf::Arena* arena) const;\n  void CopyFrom(const ::google::protobuf::Message& from);\n  void MergeFrom(const ::google::protobuf::Message& from);\n  void CopyFrom(const UninterpretedOption& from);\n  void MergeFrom(const UninterpretedOption& from);\n  void Clear();\n  bool IsInitialized() const;\n\n  int ByteSize() const;\n  bool MergePartialFromCodedStream(\n      ::google::protobuf::io::CodedInputStream* input);\n  void SerializeWithCachedSizes(\n      ::google::protobuf::io::CodedOutputStream* output) const;\n  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;\n  int GetCachedSize() const { return _cached_size_; }\n  private:\n  void SharedCtor();\n  void SharedDtor();\n  void SetCachedSize(int size) const;\n  void InternalSwap(UninterpretedOption* other);\n  private:\n  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {\n    return _internal_metadata_.arena();\n  }\n  inline void* MaybeArenaPtr() const {\n    return _internal_metadata_.raw_arena_ptr();\n  }\n  public:\n\n  ::google::protobuf::Metadata GetMetadata() const;\n\n  // nested types ----------------------------------------------------\n\n  typedef UninterpretedOption_NamePart NamePart;\n\n  // accessors -------------------------------------------------------\n\n  // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;\n  int name_size() const;\n  void clear_name();\n  static const int kNameFieldNumber = 2;\n  const ::google::protobuf::UninterpretedOption_NamePart& name(int index) const;\n  ::google::protobuf::UninterpretedOption_NamePart* mutable_name(int index);\n  ::google::protobuf::UninterpretedOption_NamePart* add_name();\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart >*\n      mutable_name();\n  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart >&\n      name() const;\n\n  // optional string identifier_value = 3;\n  bool has_identifier_value() const;\n  void clear_identifier_value();\n  static const int kIdentifierValueFieldNumber = 3;\n  const ::std::string& identifier_value() const;\n  void set_identifier_value(const ::std::string& value);\n  void set_identifier_value(const char* value);\n  void set_identifier_value(const char* value, size_t size);\n  ::std::string* mutable_identifier_value();\n  ::std::string* release_identifier_value();\n  void set_allocated_identifier_value(::std::string* identifier_value);\n\n  // optional uint64 positive_int_value = 4;\n  bool has_positive_int_value() const;\n  void clear_positive_int_value();\n  static const int kPositiveIntValueFieldNumber = 4;\n  ::google::protobuf::uint64 positive_int_value() const;\n  void set_positive_int_value(::google::protobuf::uint64 value);\n\n  // optional int64 negative_int_value = 5;\n  bool has_negative_int_value() const;\n  void clear_negative_int_value();\n  static const int kNegativeIntValueFieldNumber = 5;\n  ::google::protobuf::int64 negative_int_value() const;\n  void set_negative_int_value(::google::protobuf::int64 value);\n\n  // optional double double_value = 6;\n  bool has_double_value() const;\n  void clear_double_value();\n  static const int kDoubleValueFieldNumber = 6;\n  double double_value() const;\n  void set_double_value(double value);\n\n  // optional bytes string_value = 7;\n  bool has_string_value() const;\n  void clear_string_value();\n  static const int kStringValueFieldNumber = 7;\n  const ::std::string& string_value() const;\n  void set_string_value(const ::std::string& value);\n  void set_string_value(const char* value);\n  void set_string_value(const void* value, size_t size);\n  ::std::string* mutable_string_value();\n  ::std::string* release_string_value();\n  void set_allocated_string_value(::std::string* string_value);\n\n  // optional string aggregate_value = 8;\n  bool has_aggregate_value() const;\n  void clear_aggregate_value();\n  static const int kAggregateValueFieldNumber = 8;\n  const ::std::string& aggregate_value() const;\n  void set_aggregate_value(const ::std::string& value);\n  void set_aggregate_value(const char* value);\n  void set_aggregate_value(const char* value, size_t size);\n  ::std::string* mutable_aggregate_value();\n  ::std::string* release_aggregate_value();\n  void set_allocated_aggregate_value(::std::string* aggregate_value);\n\n  // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption)\n private:\n  inline void set_has_identifier_value();\n  inline void clear_has_identifier_value();\n  inline void set_has_positive_int_value();\n  inline void clear_has_positive_int_value();\n  inline void set_has_negative_int_value();\n  inline void clear_has_negative_int_value();\n  inline void set_has_double_value();\n  inline void clear_has_double_value();\n  inline void set_has_string_value();\n  inline void clear_has_string_value();\n  inline void set_has_aggregate_value();\n  inline void clear_has_aggregate_value();\n\n  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;\n  ::google::protobuf::uint32 _has_bits_[1];\n  mutable int _cached_size_;\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart > name_;\n  ::google::protobuf::internal::ArenaStringPtr identifier_value_;\n  ::google::protobuf::uint64 positive_int_value_;\n  ::google::protobuf::int64 negative_int_value_;\n  double double_value_;\n  ::google::protobuf::internal::ArenaStringPtr string_value_;\n  ::google::protobuf::internal::ArenaStringPtr aggregate_value_;\n  friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();\n\n  void InitAsDefaultInstance();\n  static UninterpretedOption* default_instance_;\n};\n// -------------------------------------------------------------------\n\nclass LIBPROTOBUF_EXPORT SourceCodeInfo_Location : public ::google::protobuf::Message {\n public:\n  SourceCodeInfo_Location();\n  virtual ~SourceCodeInfo_Location();\n\n  SourceCodeInfo_Location(const SourceCodeInfo_Location& from);\n\n  inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from) {\n    CopyFrom(from);\n    return *this;\n  }\n\n  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {\n    return _internal_metadata_.unknown_fields();\n  }\n\n  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {\n    return _internal_metadata_.mutable_unknown_fields();\n  }\n\n  static const ::google::protobuf::Descriptor* descriptor();\n  static const SourceCodeInfo_Location& default_instance();\n\n  void Swap(SourceCodeInfo_Location* other);\n\n  // implements Message ----------------------------------------------\n\n  inline SourceCodeInfo_Location* New() const { return New(NULL); }\n\n  SourceCodeInfo_Location* New(::google::protobuf::Arena* arena) const;\n  void CopyFrom(const ::google::protobuf::Message& from);\n  void MergeFrom(const ::google::protobuf::Message& from);\n  void CopyFrom(const SourceCodeInfo_Location& from);\n  void MergeFrom(const SourceCodeInfo_Location& from);\n  void Clear();\n  bool IsInitialized() const;\n\n  int ByteSize() const;\n  bool MergePartialFromCodedStream(\n      ::google::protobuf::io::CodedInputStream* input);\n  void SerializeWithCachedSizes(\n      ::google::protobuf::io::CodedOutputStream* output) const;\n  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;\n  int GetCachedSize() const { return _cached_size_; }\n  private:\n  void SharedCtor();\n  void SharedDtor();\n  void SetCachedSize(int size) const;\n  void InternalSwap(SourceCodeInfo_Location* other);\n  private:\n  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {\n    return _internal_metadata_.arena();\n  }\n  inline void* MaybeArenaPtr() const {\n    return _internal_metadata_.raw_arena_ptr();\n  }\n  public:\n\n  ::google::protobuf::Metadata GetMetadata() const;\n\n  // nested types ----------------------------------------------------\n\n  // accessors -------------------------------------------------------\n\n  // repeated int32 path = 1 [packed = true];\n  int path_size() const;\n  void clear_path();\n  static const int kPathFieldNumber = 1;\n  ::google::protobuf::int32 path(int index) const;\n  void set_path(int index, ::google::protobuf::int32 value);\n  void add_path(::google::protobuf::int32 value);\n  const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&\n      path() const;\n  ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*\n      mutable_path();\n\n  // repeated int32 span = 2 [packed = true];\n  int span_size() const;\n  void clear_span();\n  static const int kSpanFieldNumber = 2;\n  ::google::protobuf::int32 span(int index) const;\n  void set_span(int index, ::google::protobuf::int32 value);\n  void add_span(::google::protobuf::int32 value);\n  const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&\n      span() const;\n  ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*\n      mutable_span();\n\n  // optional string leading_comments = 3;\n  bool has_leading_comments() const;\n  void clear_leading_comments();\n  static const int kLeadingCommentsFieldNumber = 3;\n  const ::std::string& leading_comments() const;\n  void set_leading_comments(const ::std::string& value);\n  void set_leading_comments(const char* value);\n  void set_leading_comments(const char* value, size_t size);\n  ::std::string* mutable_leading_comments();\n  ::std::string* release_leading_comments();\n  void set_allocated_leading_comments(::std::string* leading_comments);\n\n  // optional string trailing_comments = 4;\n  bool has_trailing_comments() const;\n  void clear_trailing_comments();\n  static const int kTrailingCommentsFieldNumber = 4;\n  const ::std::string& trailing_comments() const;\n  void set_trailing_comments(const ::std::string& value);\n  void set_trailing_comments(const char* value);\n  void set_trailing_comments(const char* value, size_t size);\n  ::std::string* mutable_trailing_comments();\n  ::std::string* release_trailing_comments();\n  void set_allocated_trailing_comments(::std::string* trailing_comments);\n\n  // repeated string leading_detached_comments = 6;\n  int leading_detached_comments_size() const;\n  void clear_leading_detached_comments();\n  static const int kLeadingDetachedCommentsFieldNumber = 6;\n  const ::std::string& leading_detached_comments(int index) const;\n  ::std::string* mutable_leading_detached_comments(int index);\n  void set_leading_detached_comments(int index, const ::std::string& value);\n  void set_leading_detached_comments(int index, const char* value);\n  void set_leading_detached_comments(int index, const char* value, size_t size);\n  ::std::string* add_leading_detached_comments();\n  void add_leading_detached_comments(const ::std::string& value);\n  void add_leading_detached_comments(const char* value);\n  void add_leading_detached_comments(const char* value, size_t size);\n  const ::google::protobuf::RepeatedPtrField< ::std::string>& leading_detached_comments() const;\n  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_leading_detached_comments();\n\n  // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Location)\n private:\n  inline void set_has_leading_comments();\n  inline void clear_has_leading_comments();\n  inline void set_has_trailing_comments();\n  inline void clear_has_trailing_comments();\n\n  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;\n  ::google::protobuf::uint32 _has_bits_[1];\n  mutable int _cached_size_;\n  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_;\n  mutable int _path_cached_byte_size_;\n  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > span_;\n  mutable int _span_cached_byte_size_;\n  ::google::protobuf::internal::ArenaStringPtr leading_comments_;\n  ::google::protobuf::internal::ArenaStringPtr trailing_comments_;\n  ::google::protobuf::RepeatedPtrField< ::std::string> leading_detached_comments_;\n  friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();\n\n  void InitAsDefaultInstance();\n  static SourceCodeInfo_Location* default_instance_;\n};\n// -------------------------------------------------------------------\n\nclass LIBPROTOBUF_EXPORT SourceCodeInfo : public ::google::protobuf::Message {\n public:\n  SourceCodeInfo();\n  virtual ~SourceCodeInfo();\n\n  SourceCodeInfo(const SourceCodeInfo& from);\n\n  inline SourceCodeInfo& operator=(const SourceCodeInfo& from) {\n    CopyFrom(from);\n    return *this;\n  }\n\n  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {\n    return _internal_metadata_.unknown_fields();\n  }\n\n  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {\n    return _internal_metadata_.mutable_unknown_fields();\n  }\n\n  static const ::google::protobuf::Descriptor* descriptor();\n  static const SourceCodeInfo& default_instance();\n\n  void Swap(SourceCodeInfo* other);\n\n  // implements Message ----------------------------------------------\n\n  inline SourceCodeInfo* New() const { return New(NULL); }\n\n  SourceCodeInfo* New(::google::protobuf::Arena* arena) const;\n  void CopyFrom(const ::google::protobuf::Message& from);\n  void MergeFrom(const ::google::protobuf::Message& from);\n  void CopyFrom(const SourceCodeInfo& from);\n  void MergeFrom(const SourceCodeInfo& from);\n  void Clear();\n  bool IsInitialized() const;\n\n  int ByteSize() const;\n  bool MergePartialFromCodedStream(\n      ::google::protobuf::io::CodedInputStream* input);\n  void SerializeWithCachedSizes(\n      ::google::protobuf::io::CodedOutputStream* output) const;\n  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;\n  int GetCachedSize() const { return _cached_size_; }\n  private:\n  void SharedCtor();\n  void SharedDtor();\n  void SetCachedSize(int size) const;\n  void InternalSwap(SourceCodeInfo* other);\n  private:\n  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {\n    return _internal_metadata_.arena();\n  }\n  inline void* MaybeArenaPtr() const {\n    return _internal_metadata_.raw_arena_ptr();\n  }\n  public:\n\n  ::google::protobuf::Metadata GetMetadata() const;\n\n  // nested types ----------------------------------------------------\n\n  typedef SourceCodeInfo_Location Location;\n\n  // accessors -------------------------------------------------------\n\n  // repeated .google.protobuf.SourceCodeInfo.Location location = 1;\n  int location_size() const;\n  void clear_location();\n  static const int kLocationFieldNumber = 1;\n  const ::google::protobuf::SourceCodeInfo_Location& location(int index) const;\n  ::google::protobuf::SourceCodeInfo_Location* mutable_location(int index);\n  ::google::protobuf::SourceCodeInfo_Location* add_location();\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location >*\n      mutable_location();\n  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location >&\n      location() const;\n\n  // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo)\n private:\n\n  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;\n  ::google::protobuf::uint32 _has_bits_[1];\n  mutable int _cached_size_;\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location > location_;\n  friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();\n\n  void InitAsDefaultInstance();\n  static SourceCodeInfo* default_instance_;\n};\n// -------------------------------------------------------------------\n\nclass LIBPROTOBUF_EXPORT GeneratedCodeInfo_Annotation : public ::google::protobuf::Message {\n public:\n  GeneratedCodeInfo_Annotation();\n  virtual ~GeneratedCodeInfo_Annotation();\n\n  GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation& from);\n\n  inline GeneratedCodeInfo_Annotation& operator=(const GeneratedCodeInfo_Annotation& from) {\n    CopyFrom(from);\n    return *this;\n  }\n\n  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {\n    return _internal_metadata_.unknown_fields();\n  }\n\n  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {\n    return _internal_metadata_.mutable_unknown_fields();\n  }\n\n  static const ::google::protobuf::Descriptor* descriptor();\n  static const GeneratedCodeInfo_Annotation& default_instance();\n\n  void Swap(GeneratedCodeInfo_Annotation* other);\n\n  // implements Message ----------------------------------------------\n\n  inline GeneratedCodeInfo_Annotation* New() const { return New(NULL); }\n\n  GeneratedCodeInfo_Annotation* New(::google::protobuf::Arena* arena) const;\n  void CopyFrom(const ::google::protobuf::Message& from);\n  void MergeFrom(const ::google::protobuf::Message& from);\n  void CopyFrom(const GeneratedCodeInfo_Annotation& from);\n  void MergeFrom(const GeneratedCodeInfo_Annotation& from);\n  void Clear();\n  bool IsInitialized() const;\n\n  int ByteSize() const;\n  bool MergePartialFromCodedStream(\n      ::google::protobuf::io::CodedInputStream* input);\n  void SerializeWithCachedSizes(\n      ::google::protobuf::io::CodedOutputStream* output) const;\n  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;\n  int GetCachedSize() const { return _cached_size_; }\n  private:\n  void SharedCtor();\n  void SharedDtor();\n  void SetCachedSize(int size) const;\n  void InternalSwap(GeneratedCodeInfo_Annotation* other);\n  private:\n  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {\n    return _internal_metadata_.arena();\n  }\n  inline void* MaybeArenaPtr() const {\n    return _internal_metadata_.raw_arena_ptr();\n  }\n  public:\n\n  ::google::protobuf::Metadata GetMetadata() const;\n\n  // nested types ----------------------------------------------------\n\n  // accessors -------------------------------------------------------\n\n  // repeated int32 path = 1 [packed = true];\n  int path_size() const;\n  void clear_path();\n  static const int kPathFieldNumber = 1;\n  ::google::protobuf::int32 path(int index) const;\n  void set_path(int index, ::google::protobuf::int32 value);\n  void add_path(::google::protobuf::int32 value);\n  const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&\n      path() const;\n  ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*\n      mutable_path();\n\n  // optional string source_file = 2;\n  bool has_source_file() const;\n  void clear_source_file();\n  static const int kSourceFileFieldNumber = 2;\n  const ::std::string& source_file() const;\n  void set_source_file(const ::std::string& value);\n  void set_source_file(const char* value);\n  void set_source_file(const char* value, size_t size);\n  ::std::string* mutable_source_file();\n  ::std::string* release_source_file();\n  void set_allocated_source_file(::std::string* source_file);\n\n  // optional int32 begin = 3;\n  bool has_begin() const;\n  void clear_begin();\n  static const int kBeginFieldNumber = 3;\n  ::google::protobuf::int32 begin() const;\n  void set_begin(::google::protobuf::int32 value);\n\n  // optional int32 end = 4;\n  bool has_end() const;\n  void clear_end();\n  static const int kEndFieldNumber = 4;\n  ::google::protobuf::int32 end() const;\n  void set_end(::google::protobuf::int32 value);\n\n  // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo.Annotation)\n private:\n  inline void set_has_source_file();\n  inline void clear_has_source_file();\n  inline void set_has_begin();\n  inline void clear_has_begin();\n  inline void set_has_end();\n  inline void clear_has_end();\n\n  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;\n  ::google::protobuf::uint32 _has_bits_[1];\n  mutable int _cached_size_;\n  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_;\n  mutable int _path_cached_byte_size_;\n  ::google::protobuf::internal::ArenaStringPtr source_file_;\n  ::google::protobuf::int32 begin_;\n  ::google::protobuf::int32 end_;\n  friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();\n\n  void InitAsDefaultInstance();\n  static GeneratedCodeInfo_Annotation* default_instance_;\n};\n// -------------------------------------------------------------------\n\nclass LIBPROTOBUF_EXPORT GeneratedCodeInfo : public ::google::protobuf::Message {\n public:\n  GeneratedCodeInfo();\n  virtual ~GeneratedCodeInfo();\n\n  GeneratedCodeInfo(const GeneratedCodeInfo& from);\n\n  inline GeneratedCodeInfo& operator=(const GeneratedCodeInfo& from) {\n    CopyFrom(from);\n    return *this;\n  }\n\n  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {\n    return _internal_metadata_.unknown_fields();\n  }\n\n  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {\n    return _internal_metadata_.mutable_unknown_fields();\n  }\n\n  static const ::google::protobuf::Descriptor* descriptor();\n  static const GeneratedCodeInfo& default_instance();\n\n  void Swap(GeneratedCodeInfo* other);\n\n  // implements Message ----------------------------------------------\n\n  inline GeneratedCodeInfo* New() const { return New(NULL); }\n\n  GeneratedCodeInfo* New(::google::protobuf::Arena* arena) const;\n  void CopyFrom(const ::google::protobuf::Message& from);\n  void MergeFrom(const ::google::protobuf::Message& from);\n  void CopyFrom(const GeneratedCodeInfo& from);\n  void MergeFrom(const GeneratedCodeInfo& from);\n  void Clear();\n  bool IsInitialized() const;\n\n  int ByteSize() const;\n  bool MergePartialFromCodedStream(\n      ::google::protobuf::io::CodedInputStream* input);\n  void SerializeWithCachedSizes(\n      ::google::protobuf::io::CodedOutputStream* output) const;\n  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;\n  int GetCachedSize() const { return _cached_size_; }\n  private:\n  void SharedCtor();\n  void SharedDtor();\n  void SetCachedSize(int size) const;\n  void InternalSwap(GeneratedCodeInfo* other);\n  private:\n  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {\n    return _internal_metadata_.arena();\n  }\n  inline void* MaybeArenaPtr() const {\n    return _internal_metadata_.raw_arena_ptr();\n  }\n  public:\n\n  ::google::protobuf::Metadata GetMetadata() const;\n\n  // nested types ----------------------------------------------------\n\n  typedef GeneratedCodeInfo_Annotation Annotation;\n\n  // accessors -------------------------------------------------------\n\n  // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;\n  int annotation_size() const;\n  void clear_annotation();\n  static const int kAnnotationFieldNumber = 1;\n  const ::google::protobuf::GeneratedCodeInfo_Annotation& annotation(int index) const;\n  ::google::protobuf::GeneratedCodeInfo_Annotation* mutable_annotation(int index);\n  ::google::protobuf::GeneratedCodeInfo_Annotation* add_annotation();\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_Annotation >*\n      mutable_annotation();\n  const ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_Annotation >&\n      annotation() const;\n\n  // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo)\n private:\n\n  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;\n  ::google::protobuf::uint32 _has_bits_[1];\n  mutable int _cached_size_;\n  ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_Annotation > annotation_;\n  friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();\n  friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();\n\n  void InitAsDefaultInstance();\n  static GeneratedCodeInfo* default_instance_;\n};\n// ===================================================================\n\n\n// ===================================================================\n\n#if !PROTOBUF_INLINE_NOT_IN_HEADERS\n// FileDescriptorSet\n\n// repeated .google.protobuf.FileDescriptorProto file = 1;\ninline int FileDescriptorSet::file_size() const {\n  return file_.size();\n}\ninline void FileDescriptorSet::clear_file() {\n  file_.Clear();\n}\ninline const ::google::protobuf::FileDescriptorProto& FileDescriptorSet::file(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorSet.file)\n  return file_.Get(index);\n}\ninline ::google::protobuf::FileDescriptorProto* FileDescriptorSet::mutable_file(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorSet.file)\n  return file_.Mutable(index);\n}\ninline ::google::protobuf::FileDescriptorProto* FileDescriptorSet::add_file() {\n  // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorSet.file)\n  return file_.Add();\n}\ninline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*\nFileDescriptorSet::mutable_file() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorSet.file)\n  return &file_;\n}\ninline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&\nFileDescriptorSet::file() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorSet.file)\n  return file_;\n}\n\n// -------------------------------------------------------------------\n\n// FileDescriptorProto\n\n// optional string name = 1;\ninline bool FileDescriptorProto::has_name() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\ninline void FileDescriptorProto::set_has_name() {\n  _has_bits_[0] |= 0x00000001u;\n}\ninline void FileDescriptorProto::clear_has_name() {\n  _has_bits_[0] &= ~0x00000001u;\n}\ninline void FileDescriptorProto::clear_name() {\n  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_name();\n}\ninline const ::std::string& FileDescriptorProto::name() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name)\n  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void FileDescriptorProto::set_name(const ::std::string& value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name)\n}\ninline void FileDescriptorProto::set_name(const char* value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.name)\n}\ninline void FileDescriptorProto::set_name(const char* value, size_t size) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.name)\n}\ninline ::std::string* FileDescriptorProto::mutable_name() {\n  set_has_name();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.name)\n  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* FileDescriptorProto::release_name() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.name)\n  clear_has_name();\n  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void FileDescriptorProto::set_allocated_name(::std::string* name) {\n  if (name != NULL) {\n    set_has_name();\n  } else {\n    clear_has_name();\n  }\n  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.name)\n}\n\n// optional string package = 2;\ninline bool FileDescriptorProto::has_package() const {\n  return (_has_bits_[0] & 0x00000002u) != 0;\n}\ninline void FileDescriptorProto::set_has_package() {\n  _has_bits_[0] |= 0x00000002u;\n}\ninline void FileDescriptorProto::clear_has_package() {\n  _has_bits_[0] &= ~0x00000002u;\n}\ninline void FileDescriptorProto::clear_package() {\n  package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_package();\n}\ninline const ::std::string& FileDescriptorProto::package() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.package)\n  return package_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void FileDescriptorProto::set_package(const ::std::string& value) {\n  set_has_package();\n  package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.package)\n}\ninline void FileDescriptorProto::set_package(const char* value) {\n  set_has_package();\n  package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.package)\n}\ninline void FileDescriptorProto::set_package(const char* value, size_t size) {\n  set_has_package();\n  package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.package)\n}\ninline ::std::string* FileDescriptorProto::mutable_package() {\n  set_has_package();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.package)\n  return package_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* FileDescriptorProto::release_package() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.package)\n  clear_has_package();\n  return package_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void FileDescriptorProto::set_allocated_package(::std::string* package) {\n  if (package != NULL) {\n    set_has_package();\n  } else {\n    clear_has_package();\n  }\n  package_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), package);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.package)\n}\n\n// repeated string dependency = 3;\ninline int FileDescriptorProto::dependency_size() const {\n  return dependency_.size();\n}\ninline void FileDescriptorProto::clear_dependency() {\n  dependency_.Clear();\n}\ninline const ::std::string& FileDescriptorProto::dependency(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.dependency)\n  return dependency_.Get(index);\n}\ninline ::std::string* FileDescriptorProto::mutable_dependency(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.dependency)\n  return dependency_.Mutable(index);\n}\ninline void FileDescriptorProto::set_dependency(int index, const ::std::string& value) {\n  // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.dependency)\n  dependency_.Mutable(index)->assign(value);\n}\ninline void FileDescriptorProto::set_dependency(int index, const char* value) {\n  dependency_.Mutable(index)->assign(value);\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.dependency)\n}\ninline void FileDescriptorProto::set_dependency(int index, const char* value, size_t size) {\n  dependency_.Mutable(index)->assign(\n    reinterpret_cast<const char*>(value), size);\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.dependency)\n}\ninline ::std::string* FileDescriptorProto::add_dependency() {\n  // @@protoc_insertion_point(field_add_mutable:google.protobuf.FileDescriptorProto.dependency)\n  return dependency_.Add();\n}\ninline void FileDescriptorProto::add_dependency(const ::std::string& value) {\n  dependency_.Add()->assign(value);\n  // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.dependency)\n}\ninline void FileDescriptorProto::add_dependency(const char* value) {\n  dependency_.Add()->assign(value);\n  // @@protoc_insertion_point(field_add_char:google.protobuf.FileDescriptorProto.dependency)\n}\ninline void FileDescriptorProto::add_dependency(const char* value, size_t size) {\n  dependency_.Add()->assign(reinterpret_cast<const char*>(value), size);\n  // @@protoc_insertion_point(field_add_pointer:google.protobuf.FileDescriptorProto.dependency)\n}\ninline const ::google::protobuf::RepeatedPtrField< ::std::string>&\nFileDescriptorProto::dependency() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.dependency)\n  return dependency_;\n}\ninline ::google::protobuf::RepeatedPtrField< ::std::string>*\nFileDescriptorProto::mutable_dependency() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.dependency)\n  return &dependency_;\n}\n\n// repeated int32 public_dependency = 10;\ninline int FileDescriptorProto::public_dependency_size() const {\n  return public_dependency_.size();\n}\ninline void FileDescriptorProto::clear_public_dependency() {\n  public_dependency_.Clear();\n}\ninline ::google::protobuf::int32 FileDescriptorProto::public_dependency(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.public_dependency)\n  return public_dependency_.Get(index);\n}\ninline void FileDescriptorProto::set_public_dependency(int index, ::google::protobuf::int32 value) {\n  public_dependency_.Set(index, value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.public_dependency)\n}\ninline void FileDescriptorProto::add_public_dependency(::google::protobuf::int32 value) {\n  public_dependency_.Add(value);\n  // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.public_dependency)\n}\ninline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&\nFileDescriptorProto::public_dependency() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.public_dependency)\n  return public_dependency_;\n}\ninline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*\nFileDescriptorProto::mutable_public_dependency() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.public_dependency)\n  return &public_dependency_;\n}\n\n// repeated int32 weak_dependency = 11;\ninline int FileDescriptorProto::weak_dependency_size() const {\n  return weak_dependency_.size();\n}\ninline void FileDescriptorProto::clear_weak_dependency() {\n  weak_dependency_.Clear();\n}\ninline ::google::protobuf::int32 FileDescriptorProto::weak_dependency(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.weak_dependency)\n  return weak_dependency_.Get(index);\n}\ninline void FileDescriptorProto::set_weak_dependency(int index, ::google::protobuf::int32 value) {\n  weak_dependency_.Set(index, value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.weak_dependency)\n}\ninline void FileDescriptorProto::add_weak_dependency(::google::protobuf::int32 value) {\n  weak_dependency_.Add(value);\n  // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.weak_dependency)\n}\ninline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&\nFileDescriptorProto::weak_dependency() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.weak_dependency)\n  return weak_dependency_;\n}\ninline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*\nFileDescriptorProto::mutable_weak_dependency() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.weak_dependency)\n  return &weak_dependency_;\n}\n\n// repeated .google.protobuf.DescriptorProto message_type = 4;\ninline int FileDescriptorProto::message_type_size() const {\n  return message_type_.size();\n}\ninline void FileDescriptorProto::clear_message_type() {\n  message_type_.Clear();\n}\ninline const ::google::protobuf::DescriptorProto& FileDescriptorProto::message_type(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.message_type)\n  return message_type_.Get(index);\n}\ninline ::google::protobuf::DescriptorProto* FileDescriptorProto::mutable_message_type(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.message_type)\n  return message_type_.Mutable(index);\n}\ninline ::google::protobuf::DescriptorProto* FileDescriptorProto::add_message_type() {\n  // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.message_type)\n  return message_type_.Add();\n}\ninline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*\nFileDescriptorProto::mutable_message_type() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.message_type)\n  return &message_type_;\n}\ninline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&\nFileDescriptorProto::message_type() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.message_type)\n  return message_type_;\n}\n\n// repeated .google.protobuf.EnumDescriptorProto enum_type = 5;\ninline int FileDescriptorProto::enum_type_size() const {\n  return enum_type_.size();\n}\ninline void FileDescriptorProto::clear_enum_type() {\n  enum_type_.Clear();\n}\ninline const ::google::protobuf::EnumDescriptorProto& FileDescriptorProto::enum_type(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.enum_type)\n  return enum_type_.Get(index);\n}\ninline ::google::protobuf::EnumDescriptorProto* FileDescriptorProto::mutable_enum_type(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.enum_type)\n  return enum_type_.Mutable(index);\n}\ninline ::google::protobuf::EnumDescriptorProto* FileDescriptorProto::add_enum_type() {\n  // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.enum_type)\n  return enum_type_.Add();\n}\ninline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*\nFileDescriptorProto::mutable_enum_type() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.enum_type)\n  return &enum_type_;\n}\ninline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&\nFileDescriptorProto::enum_type() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.enum_type)\n  return enum_type_;\n}\n\n// repeated .google.protobuf.ServiceDescriptorProto service = 6;\ninline int FileDescriptorProto::service_size() const {\n  return service_.size();\n}\ninline void FileDescriptorProto::clear_service() {\n  service_.Clear();\n}\ninline const ::google::protobuf::ServiceDescriptorProto& FileDescriptorProto::service(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.service)\n  return service_.Get(index);\n}\ninline ::google::protobuf::ServiceDescriptorProto* FileDescriptorProto::mutable_service(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.service)\n  return service_.Mutable(index);\n}\ninline ::google::protobuf::ServiceDescriptorProto* FileDescriptorProto::add_service() {\n  // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.service)\n  return service_.Add();\n}\ninline ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >*\nFileDescriptorProto::mutable_service() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.service)\n  return &service_;\n}\ninline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >&\nFileDescriptorProto::service() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.service)\n  return service_;\n}\n\n// repeated .google.protobuf.FieldDescriptorProto extension = 7;\ninline int FileDescriptorProto::extension_size() const {\n  return extension_.size();\n}\ninline void FileDescriptorProto::clear_extension() {\n  extension_.Clear();\n}\ninline const ::google::protobuf::FieldDescriptorProto& FileDescriptorProto::extension(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.extension)\n  return extension_.Get(index);\n}\ninline ::google::protobuf::FieldDescriptorProto* FileDescriptorProto::mutable_extension(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.extension)\n  return extension_.Mutable(index);\n}\ninline ::google::protobuf::FieldDescriptorProto* FileDescriptorProto::add_extension() {\n  // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.extension)\n  return extension_.Add();\n}\ninline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*\nFileDescriptorProto::mutable_extension() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.extension)\n  return &extension_;\n}\ninline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&\nFileDescriptorProto::extension() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.extension)\n  return extension_;\n}\n\n// optional .google.protobuf.FileOptions options = 8;\ninline bool FileDescriptorProto::has_options() const {\n  return (_has_bits_[0] & 0x00000200u) != 0;\n}\ninline void FileDescriptorProto::set_has_options() {\n  _has_bits_[0] |= 0x00000200u;\n}\ninline void FileDescriptorProto::clear_has_options() {\n  _has_bits_[0] &= ~0x00000200u;\n}\ninline void FileDescriptorProto::clear_options() {\n  if (options_ != NULL) options_->::google::protobuf::FileOptions::Clear();\n  clear_has_options();\n}\ninline const ::google::protobuf::FileOptions& FileDescriptorProto::options() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.options)\n  return options_ != NULL ? *options_ : *default_instance_->options_;\n}\ninline ::google::protobuf::FileOptions* FileDescriptorProto::mutable_options() {\n  set_has_options();\n  if (options_ == NULL) {\n    options_ = new ::google::protobuf::FileOptions;\n  }\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.options)\n  return options_;\n}\ninline ::google::protobuf::FileOptions* FileDescriptorProto::release_options() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.options)\n  clear_has_options();\n  ::google::protobuf::FileOptions* temp = options_;\n  options_ = NULL;\n  return temp;\n}\ninline void FileDescriptorProto::set_allocated_options(::google::protobuf::FileOptions* options) {\n  delete options_;\n  options_ = options;\n  if (options) {\n    set_has_options();\n  } else {\n    clear_has_options();\n  }\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.options)\n}\n\n// optional .google.protobuf.SourceCodeInfo source_code_info = 9;\ninline bool FileDescriptorProto::has_source_code_info() const {\n  return (_has_bits_[0] & 0x00000400u) != 0;\n}\ninline void FileDescriptorProto::set_has_source_code_info() {\n  _has_bits_[0] |= 0x00000400u;\n}\ninline void FileDescriptorProto::clear_has_source_code_info() {\n  _has_bits_[0] &= ~0x00000400u;\n}\ninline void FileDescriptorProto::clear_source_code_info() {\n  if (source_code_info_ != NULL) source_code_info_->::google::protobuf::SourceCodeInfo::Clear();\n  clear_has_source_code_info();\n}\ninline const ::google::protobuf::SourceCodeInfo& FileDescriptorProto::source_code_info() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.source_code_info)\n  return source_code_info_ != NULL ? *source_code_info_ : *default_instance_->source_code_info_;\n}\ninline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::mutable_source_code_info() {\n  set_has_source_code_info();\n  if (source_code_info_ == NULL) {\n    source_code_info_ = new ::google::protobuf::SourceCodeInfo;\n  }\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.source_code_info)\n  return source_code_info_;\n}\ninline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::release_source_code_info() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.source_code_info)\n  clear_has_source_code_info();\n  ::google::protobuf::SourceCodeInfo* temp = source_code_info_;\n  source_code_info_ = NULL;\n  return temp;\n}\ninline void FileDescriptorProto::set_allocated_source_code_info(::google::protobuf::SourceCodeInfo* source_code_info) {\n  delete source_code_info_;\n  source_code_info_ = source_code_info;\n  if (source_code_info) {\n    set_has_source_code_info();\n  } else {\n    clear_has_source_code_info();\n  }\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.source_code_info)\n}\n\n// optional string syntax = 12;\ninline bool FileDescriptorProto::has_syntax() const {\n  return (_has_bits_[0] & 0x00000800u) != 0;\n}\ninline void FileDescriptorProto::set_has_syntax() {\n  _has_bits_[0] |= 0x00000800u;\n}\ninline void FileDescriptorProto::clear_has_syntax() {\n  _has_bits_[0] &= ~0x00000800u;\n}\ninline void FileDescriptorProto::clear_syntax() {\n  syntax_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_syntax();\n}\ninline const ::std::string& FileDescriptorProto::syntax() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.syntax)\n  return syntax_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void FileDescriptorProto::set_syntax(const ::std::string& value) {\n  set_has_syntax();\n  syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.syntax)\n}\ninline void FileDescriptorProto::set_syntax(const char* value) {\n  set_has_syntax();\n  syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.syntax)\n}\ninline void FileDescriptorProto::set_syntax(const char* value, size_t size) {\n  set_has_syntax();\n  syntax_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.syntax)\n}\ninline ::std::string* FileDescriptorProto::mutable_syntax() {\n  set_has_syntax();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.syntax)\n  return syntax_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* FileDescriptorProto::release_syntax() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.syntax)\n  clear_has_syntax();\n  return syntax_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void FileDescriptorProto::set_allocated_syntax(::std::string* syntax) {\n  if (syntax != NULL) {\n    set_has_syntax();\n  } else {\n    clear_has_syntax();\n  }\n  syntax_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), syntax);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.syntax)\n}\n\n// -------------------------------------------------------------------\n\n// DescriptorProto_ExtensionRange\n\n// optional int32 start = 1;\ninline bool DescriptorProto_ExtensionRange::has_start() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\ninline void DescriptorProto_ExtensionRange::set_has_start() {\n  _has_bits_[0] |= 0x00000001u;\n}\ninline void DescriptorProto_ExtensionRange::clear_has_start() {\n  _has_bits_[0] &= ~0x00000001u;\n}\ninline void DescriptorProto_ExtensionRange::clear_start() {\n  start_ = 0;\n  clear_has_start();\n}\ninline ::google::protobuf::int32 DescriptorProto_ExtensionRange::start() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.start)\n  return start_;\n}\ninline void DescriptorProto_ExtensionRange::set_start(::google::protobuf::int32 value) {\n  set_has_start();\n  start_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.start)\n}\n\n// optional int32 end = 2;\ninline bool DescriptorProto_ExtensionRange::has_end() const {\n  return (_has_bits_[0] & 0x00000002u) != 0;\n}\ninline void DescriptorProto_ExtensionRange::set_has_end() {\n  _has_bits_[0] |= 0x00000002u;\n}\ninline void DescriptorProto_ExtensionRange::clear_has_end() {\n  _has_bits_[0] &= ~0x00000002u;\n}\ninline void DescriptorProto_ExtensionRange::clear_end() {\n  end_ = 0;\n  clear_has_end();\n}\ninline ::google::protobuf::int32 DescriptorProto_ExtensionRange::end() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.end)\n  return end_;\n}\ninline void DescriptorProto_ExtensionRange::set_end(::google::protobuf::int32 value) {\n  set_has_end();\n  end_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.end)\n}\n\n// -------------------------------------------------------------------\n\n// DescriptorProto_ReservedRange\n\n// optional int32 start = 1;\ninline bool DescriptorProto_ReservedRange::has_start() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\ninline void DescriptorProto_ReservedRange::set_has_start() {\n  _has_bits_[0] |= 0x00000001u;\n}\ninline void DescriptorProto_ReservedRange::clear_has_start() {\n  _has_bits_[0] &= ~0x00000001u;\n}\ninline void DescriptorProto_ReservedRange::clear_start() {\n  start_ = 0;\n  clear_has_start();\n}\ninline ::google::protobuf::int32 DescriptorProto_ReservedRange::start() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.start)\n  return start_;\n}\ninline void DescriptorProto_ReservedRange::set_start(::google::protobuf::int32 value) {\n  set_has_start();\n  start_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.start)\n}\n\n// optional int32 end = 2;\ninline bool DescriptorProto_ReservedRange::has_end() const {\n  return (_has_bits_[0] & 0x00000002u) != 0;\n}\ninline void DescriptorProto_ReservedRange::set_has_end() {\n  _has_bits_[0] |= 0x00000002u;\n}\ninline void DescriptorProto_ReservedRange::clear_has_end() {\n  _has_bits_[0] &= ~0x00000002u;\n}\ninline void DescriptorProto_ReservedRange::clear_end() {\n  end_ = 0;\n  clear_has_end();\n}\ninline ::google::protobuf::int32 DescriptorProto_ReservedRange::end() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.end)\n  return end_;\n}\ninline void DescriptorProto_ReservedRange::set_end(::google::protobuf::int32 value) {\n  set_has_end();\n  end_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.end)\n}\n\n// -------------------------------------------------------------------\n\n// DescriptorProto\n\n// optional string name = 1;\ninline bool DescriptorProto::has_name() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\ninline void DescriptorProto::set_has_name() {\n  _has_bits_[0] |= 0x00000001u;\n}\ninline void DescriptorProto::clear_has_name() {\n  _has_bits_[0] &= ~0x00000001u;\n}\ninline void DescriptorProto::clear_name() {\n  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_name();\n}\ninline const ::std::string& DescriptorProto::name() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name)\n  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void DescriptorProto::set_name(const ::std::string& value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name)\n}\ninline void DescriptorProto::set_name(const char* value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.name)\n}\ninline void DescriptorProto::set_name(const char* value, size_t size) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.name)\n}\ninline ::std::string* DescriptorProto::mutable_name() {\n  set_has_name();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.name)\n  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* DescriptorProto::release_name() {\n  // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.name)\n  clear_has_name();\n  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void DescriptorProto::set_allocated_name(::std::string* name) {\n  if (name != NULL) {\n    set_has_name();\n  } else {\n    clear_has_name();\n  }\n  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.name)\n}\n\n// repeated .google.protobuf.FieldDescriptorProto field = 2;\ninline int DescriptorProto::field_size() const {\n  return field_.size();\n}\ninline void DescriptorProto::clear_field() {\n  field_.Clear();\n}\ninline const ::google::protobuf::FieldDescriptorProto& DescriptorProto::field(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.field)\n  return field_.Get(index);\n}\ninline ::google::protobuf::FieldDescriptorProto* DescriptorProto::mutable_field(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.field)\n  return field_.Mutable(index);\n}\ninline ::google::protobuf::FieldDescriptorProto* DescriptorProto::add_field() {\n  // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.field)\n  return field_.Add();\n}\ninline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*\nDescriptorProto::mutable_field() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.field)\n  return &field_;\n}\ninline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&\nDescriptorProto::field() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.field)\n  return field_;\n}\n\n// repeated .google.protobuf.FieldDescriptorProto extension = 6;\ninline int DescriptorProto::extension_size() const {\n  return extension_.size();\n}\ninline void DescriptorProto::clear_extension() {\n  extension_.Clear();\n}\ninline const ::google::protobuf::FieldDescriptorProto& DescriptorProto::extension(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension)\n  return extension_.Get(index);\n}\ninline ::google::protobuf::FieldDescriptorProto* DescriptorProto::mutable_extension(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension)\n  return extension_.Mutable(index);\n}\ninline ::google::protobuf::FieldDescriptorProto* DescriptorProto::add_extension() {\n  // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension)\n  return extension_.Add();\n}\ninline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*\nDescriptorProto::mutable_extension() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension)\n  return &extension_;\n}\ninline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&\nDescriptorProto::extension() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension)\n  return extension_;\n}\n\n// repeated .google.protobuf.DescriptorProto nested_type = 3;\ninline int DescriptorProto::nested_type_size() const {\n  return nested_type_.size();\n}\ninline void DescriptorProto::clear_nested_type() {\n  nested_type_.Clear();\n}\ninline const ::google::protobuf::DescriptorProto& DescriptorProto::nested_type(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.nested_type)\n  return nested_type_.Get(index);\n}\ninline ::google::protobuf::DescriptorProto* DescriptorProto::mutable_nested_type(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.nested_type)\n  return nested_type_.Mutable(index);\n}\ninline ::google::protobuf::DescriptorProto* DescriptorProto::add_nested_type() {\n  // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.nested_type)\n  return nested_type_.Add();\n}\ninline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*\nDescriptorProto::mutable_nested_type() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.nested_type)\n  return &nested_type_;\n}\ninline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&\nDescriptorProto::nested_type() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.nested_type)\n  return nested_type_;\n}\n\n// repeated .google.protobuf.EnumDescriptorProto enum_type = 4;\ninline int DescriptorProto::enum_type_size() const {\n  return enum_type_.size();\n}\ninline void DescriptorProto::clear_enum_type() {\n  enum_type_.Clear();\n}\ninline const ::google::protobuf::EnumDescriptorProto& DescriptorProto::enum_type(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.enum_type)\n  return enum_type_.Get(index);\n}\ninline ::google::protobuf::EnumDescriptorProto* DescriptorProto::mutable_enum_type(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.enum_type)\n  return enum_type_.Mutable(index);\n}\ninline ::google::protobuf::EnumDescriptorProto* DescriptorProto::add_enum_type() {\n  // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.enum_type)\n  return enum_type_.Add();\n}\ninline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*\nDescriptorProto::mutable_enum_type() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.enum_type)\n  return &enum_type_;\n}\ninline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&\nDescriptorProto::enum_type() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.enum_type)\n  return enum_type_;\n}\n\n// repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;\ninline int DescriptorProto::extension_range_size() const {\n  return extension_range_.size();\n}\ninline void DescriptorProto::clear_extension_range() {\n  extension_range_.Clear();\n}\ninline const ::google::protobuf::DescriptorProto_ExtensionRange& DescriptorProto::extension_range(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension_range)\n  return extension_range_.Get(index);\n}\ninline ::google::protobuf::DescriptorProto_ExtensionRange* DescriptorProto::mutable_extension_range(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension_range)\n  return extension_range_.Mutable(index);\n}\ninline ::google::protobuf::DescriptorProto_ExtensionRange* DescriptorProto::add_extension_range() {\n  // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension_range)\n  return extension_range_.Add();\n}\ninline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >*\nDescriptorProto::mutable_extension_range() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension_range)\n  return &extension_range_;\n}\ninline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >&\nDescriptorProto::extension_range() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension_range)\n  return extension_range_;\n}\n\n// repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;\ninline int DescriptorProto::oneof_decl_size() const {\n  return oneof_decl_.size();\n}\ninline void DescriptorProto::clear_oneof_decl() {\n  oneof_decl_.Clear();\n}\ninline const ::google::protobuf::OneofDescriptorProto& DescriptorProto::oneof_decl(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.oneof_decl)\n  return oneof_decl_.Get(index);\n}\ninline ::google::protobuf::OneofDescriptorProto* DescriptorProto::mutable_oneof_decl(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.oneof_decl)\n  return oneof_decl_.Mutable(index);\n}\ninline ::google::protobuf::OneofDescriptorProto* DescriptorProto::add_oneof_decl() {\n  // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.oneof_decl)\n  return oneof_decl_.Add();\n}\ninline ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto >*\nDescriptorProto::mutable_oneof_decl() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.oneof_decl)\n  return &oneof_decl_;\n}\ninline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto >&\nDescriptorProto::oneof_decl() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.oneof_decl)\n  return oneof_decl_;\n}\n\n// optional .google.protobuf.MessageOptions options = 7;\ninline bool DescriptorProto::has_options() const {\n  return (_has_bits_[0] & 0x00000080u) != 0;\n}\ninline void DescriptorProto::set_has_options() {\n  _has_bits_[0] |= 0x00000080u;\n}\ninline void DescriptorProto::clear_has_options() {\n  _has_bits_[0] &= ~0x00000080u;\n}\ninline void DescriptorProto::clear_options() {\n  if (options_ != NULL) options_->::google::protobuf::MessageOptions::Clear();\n  clear_has_options();\n}\ninline const ::google::protobuf::MessageOptions& DescriptorProto::options() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.options)\n  return options_ != NULL ? *options_ : *default_instance_->options_;\n}\ninline ::google::protobuf::MessageOptions* DescriptorProto::mutable_options() {\n  set_has_options();\n  if (options_ == NULL) {\n    options_ = new ::google::protobuf::MessageOptions;\n  }\n  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.options)\n  return options_;\n}\ninline ::google::protobuf::MessageOptions* DescriptorProto::release_options() {\n  // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.options)\n  clear_has_options();\n  ::google::protobuf::MessageOptions* temp = options_;\n  options_ = NULL;\n  return temp;\n}\ninline void DescriptorProto::set_allocated_options(::google::protobuf::MessageOptions* options) {\n  delete options_;\n  options_ = options;\n  if (options) {\n    set_has_options();\n  } else {\n    clear_has_options();\n  }\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.options)\n}\n\n// repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;\ninline int DescriptorProto::reserved_range_size() const {\n  return reserved_range_.size();\n}\ninline void DescriptorProto::clear_reserved_range() {\n  reserved_range_.Clear();\n}\ninline const ::google::protobuf::DescriptorProto_ReservedRange& DescriptorProto::reserved_range(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_range)\n  return reserved_range_.Get(index);\n}\ninline ::google::protobuf::DescriptorProto_ReservedRange* DescriptorProto::mutable_reserved_range(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_range)\n  return reserved_range_.Mutable(index);\n}\ninline ::google::protobuf::DescriptorProto_ReservedRange* DescriptorProto::add_reserved_range() {\n  // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_range)\n  return reserved_range_.Add();\n}\ninline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ReservedRange >*\nDescriptorProto::mutable_reserved_range() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_range)\n  return &reserved_range_;\n}\ninline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ReservedRange >&\nDescriptorProto::reserved_range() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_range)\n  return reserved_range_;\n}\n\n// repeated string reserved_name = 10;\ninline int DescriptorProto::reserved_name_size() const {\n  return reserved_name_.size();\n}\ninline void DescriptorProto::clear_reserved_name() {\n  reserved_name_.Clear();\n}\ninline const ::std::string& DescriptorProto::reserved_name(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_name)\n  return reserved_name_.Get(index);\n}\ninline ::std::string* DescriptorProto::mutable_reserved_name(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_name)\n  return reserved_name_.Mutable(index);\n}\ninline void DescriptorProto::set_reserved_name(int index, const ::std::string& value) {\n  // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.reserved_name)\n  reserved_name_.Mutable(index)->assign(value);\n}\ninline void DescriptorProto::set_reserved_name(int index, const char* value) {\n  reserved_name_.Mutable(index)->assign(value);\n  // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.reserved_name)\n}\ninline void DescriptorProto::set_reserved_name(int index, const char* value, size_t size) {\n  reserved_name_.Mutable(index)->assign(\n    reinterpret_cast<const char*>(value), size);\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.reserved_name)\n}\ninline ::std::string* DescriptorProto::add_reserved_name() {\n  // @@protoc_insertion_point(field_add_mutable:google.protobuf.DescriptorProto.reserved_name)\n  return reserved_name_.Add();\n}\ninline void DescriptorProto::add_reserved_name(const ::std::string& value) {\n  reserved_name_.Add()->assign(value);\n  // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_name)\n}\ninline void DescriptorProto::add_reserved_name(const char* value) {\n  reserved_name_.Add()->assign(value);\n  // @@protoc_insertion_point(field_add_char:google.protobuf.DescriptorProto.reserved_name)\n}\ninline void DescriptorProto::add_reserved_name(const char* value, size_t size) {\n  reserved_name_.Add()->assign(reinterpret_cast<const char*>(value), size);\n  // @@protoc_insertion_point(field_add_pointer:google.protobuf.DescriptorProto.reserved_name)\n}\ninline const ::google::protobuf::RepeatedPtrField< ::std::string>&\nDescriptorProto::reserved_name() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_name)\n  return reserved_name_;\n}\ninline ::google::protobuf::RepeatedPtrField< ::std::string>*\nDescriptorProto::mutable_reserved_name() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_name)\n  return &reserved_name_;\n}\n\n// -------------------------------------------------------------------\n\n// FieldDescriptorProto\n\n// optional string name = 1;\ninline bool FieldDescriptorProto::has_name() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\ninline void FieldDescriptorProto::set_has_name() {\n  _has_bits_[0] |= 0x00000001u;\n}\ninline void FieldDescriptorProto::clear_has_name() {\n  _has_bits_[0] &= ~0x00000001u;\n}\ninline void FieldDescriptorProto::clear_name() {\n  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_name();\n}\ninline const ::std::string& FieldDescriptorProto::name() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.name)\n  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void FieldDescriptorProto::set_name(const ::std::string& value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.name)\n}\ninline void FieldDescriptorProto::set_name(const char* value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.name)\n}\ninline void FieldDescriptorProto::set_name(const char* value, size_t size) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.name)\n}\ninline ::std::string* FieldDescriptorProto::mutable_name() {\n  set_has_name();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.name)\n  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* FieldDescriptorProto::release_name() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.name)\n  clear_has_name();\n  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void FieldDescriptorProto::set_allocated_name(::std::string* name) {\n  if (name != NULL) {\n    set_has_name();\n  } else {\n    clear_has_name();\n  }\n  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.name)\n}\n\n// optional int32 number = 3;\ninline bool FieldDescriptorProto::has_number() const {\n  return (_has_bits_[0] & 0x00000002u) != 0;\n}\ninline void FieldDescriptorProto::set_has_number() {\n  _has_bits_[0] |= 0x00000002u;\n}\ninline void FieldDescriptorProto::clear_has_number() {\n  _has_bits_[0] &= ~0x00000002u;\n}\ninline void FieldDescriptorProto::clear_number() {\n  number_ = 0;\n  clear_has_number();\n}\ninline ::google::protobuf::int32 FieldDescriptorProto::number() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.number)\n  return number_;\n}\ninline void FieldDescriptorProto::set_number(::google::protobuf::int32 value) {\n  set_has_number();\n  number_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.number)\n}\n\n// optional .google.protobuf.FieldDescriptorProto.Label label = 4;\ninline bool FieldDescriptorProto::has_label() const {\n  return (_has_bits_[0] & 0x00000004u) != 0;\n}\ninline void FieldDescriptorProto::set_has_label() {\n  _has_bits_[0] |= 0x00000004u;\n}\ninline void FieldDescriptorProto::clear_has_label() {\n  _has_bits_[0] &= ~0x00000004u;\n}\ninline void FieldDescriptorProto::clear_label() {\n  label_ = 1;\n  clear_has_label();\n}\ninline ::google::protobuf::FieldDescriptorProto_Label FieldDescriptorProto::label() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.label)\n  return static_cast< ::google::protobuf::FieldDescriptorProto_Label >(label_);\n}\ninline void FieldDescriptorProto::set_label(::google::protobuf::FieldDescriptorProto_Label value) {\n  assert(::google::protobuf::FieldDescriptorProto_Label_IsValid(value));\n  set_has_label();\n  label_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.label)\n}\n\n// optional .google.protobuf.FieldDescriptorProto.Type type = 5;\ninline bool FieldDescriptorProto::has_type() const {\n  return (_has_bits_[0] & 0x00000008u) != 0;\n}\ninline void FieldDescriptorProto::set_has_type() {\n  _has_bits_[0] |= 0x00000008u;\n}\ninline void FieldDescriptorProto::clear_has_type() {\n  _has_bits_[0] &= ~0x00000008u;\n}\ninline void FieldDescriptorProto::clear_type() {\n  type_ = 1;\n  clear_has_type();\n}\ninline ::google::protobuf::FieldDescriptorProto_Type FieldDescriptorProto::type() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type)\n  return static_cast< ::google::protobuf::FieldDescriptorProto_Type >(type_);\n}\ninline void FieldDescriptorProto::set_type(::google::protobuf::FieldDescriptorProto_Type value) {\n  assert(::google::protobuf::FieldDescriptorProto_Type_IsValid(value));\n  set_has_type();\n  type_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type)\n}\n\n// optional string type_name = 6;\ninline bool FieldDescriptorProto::has_type_name() const {\n  return (_has_bits_[0] & 0x00000010u) != 0;\n}\ninline void FieldDescriptorProto::set_has_type_name() {\n  _has_bits_[0] |= 0x00000010u;\n}\ninline void FieldDescriptorProto::clear_has_type_name() {\n  _has_bits_[0] &= ~0x00000010u;\n}\ninline void FieldDescriptorProto::clear_type_name() {\n  type_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_type_name();\n}\ninline const ::std::string& FieldDescriptorProto::type_name() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type_name)\n  return type_name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void FieldDescriptorProto::set_type_name(const ::std::string& value) {\n  set_has_type_name();\n  type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type_name)\n}\ninline void FieldDescriptorProto::set_type_name(const char* value) {\n  set_has_type_name();\n  type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.type_name)\n}\ninline void FieldDescriptorProto::set_type_name(const char* value, size_t size) {\n  set_has_type_name();\n  type_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.type_name)\n}\ninline ::std::string* FieldDescriptorProto::mutable_type_name() {\n  set_has_type_name();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.type_name)\n  return type_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* FieldDescriptorProto::release_type_name() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.type_name)\n  clear_has_type_name();\n  return type_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void FieldDescriptorProto::set_allocated_type_name(::std::string* type_name) {\n  if (type_name != NULL) {\n    set_has_type_name();\n  } else {\n    clear_has_type_name();\n  }\n  type_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type_name);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.type_name)\n}\n\n// optional string extendee = 2;\ninline bool FieldDescriptorProto::has_extendee() const {\n  return (_has_bits_[0] & 0x00000020u) != 0;\n}\ninline void FieldDescriptorProto::set_has_extendee() {\n  _has_bits_[0] |= 0x00000020u;\n}\ninline void FieldDescriptorProto::clear_has_extendee() {\n  _has_bits_[0] &= ~0x00000020u;\n}\ninline void FieldDescriptorProto::clear_extendee() {\n  extendee_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_extendee();\n}\ninline const ::std::string& FieldDescriptorProto::extendee() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.extendee)\n  return extendee_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void FieldDescriptorProto::set_extendee(const ::std::string& value) {\n  set_has_extendee();\n  extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.extendee)\n}\ninline void FieldDescriptorProto::set_extendee(const char* value) {\n  set_has_extendee();\n  extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.extendee)\n}\ninline void FieldDescriptorProto::set_extendee(const char* value, size_t size) {\n  set_has_extendee();\n  extendee_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.extendee)\n}\ninline ::std::string* FieldDescriptorProto::mutable_extendee() {\n  set_has_extendee();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.extendee)\n  return extendee_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* FieldDescriptorProto::release_extendee() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.extendee)\n  clear_has_extendee();\n  return extendee_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void FieldDescriptorProto::set_allocated_extendee(::std::string* extendee) {\n  if (extendee != NULL) {\n    set_has_extendee();\n  } else {\n    clear_has_extendee();\n  }\n  extendee_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), extendee);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.extendee)\n}\n\n// optional string default_value = 7;\ninline bool FieldDescriptorProto::has_default_value() const {\n  return (_has_bits_[0] & 0x00000040u) != 0;\n}\ninline void FieldDescriptorProto::set_has_default_value() {\n  _has_bits_[0] |= 0x00000040u;\n}\ninline void FieldDescriptorProto::clear_has_default_value() {\n  _has_bits_[0] &= ~0x00000040u;\n}\ninline void FieldDescriptorProto::clear_default_value() {\n  default_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_default_value();\n}\ninline const ::std::string& FieldDescriptorProto::default_value() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.default_value)\n  return default_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void FieldDescriptorProto::set_default_value(const ::std::string& value) {\n  set_has_default_value();\n  default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.default_value)\n}\ninline void FieldDescriptorProto::set_default_value(const char* value) {\n  set_has_default_value();\n  default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.default_value)\n}\ninline void FieldDescriptorProto::set_default_value(const char* value, size_t size) {\n  set_has_default_value();\n  default_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.default_value)\n}\ninline ::std::string* FieldDescriptorProto::mutable_default_value() {\n  set_has_default_value();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.default_value)\n  return default_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* FieldDescriptorProto::release_default_value() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.default_value)\n  clear_has_default_value();\n  return default_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void FieldDescriptorProto::set_allocated_default_value(::std::string* default_value) {\n  if (default_value != NULL) {\n    set_has_default_value();\n  } else {\n    clear_has_default_value();\n  }\n  default_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), default_value);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.default_value)\n}\n\n// optional int32 oneof_index = 9;\ninline bool FieldDescriptorProto::has_oneof_index() const {\n  return (_has_bits_[0] & 0x00000080u) != 0;\n}\ninline void FieldDescriptorProto::set_has_oneof_index() {\n  _has_bits_[0] |= 0x00000080u;\n}\ninline void FieldDescriptorProto::clear_has_oneof_index() {\n  _has_bits_[0] &= ~0x00000080u;\n}\ninline void FieldDescriptorProto::clear_oneof_index() {\n  oneof_index_ = 0;\n  clear_has_oneof_index();\n}\ninline ::google::protobuf::int32 FieldDescriptorProto::oneof_index() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.oneof_index)\n  return oneof_index_;\n}\ninline void FieldDescriptorProto::set_oneof_index(::google::protobuf::int32 value) {\n  set_has_oneof_index();\n  oneof_index_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.oneof_index)\n}\n\n// optional string json_name = 10;\ninline bool FieldDescriptorProto::has_json_name() const {\n  return (_has_bits_[0] & 0x00000100u) != 0;\n}\ninline void FieldDescriptorProto::set_has_json_name() {\n  _has_bits_[0] |= 0x00000100u;\n}\ninline void FieldDescriptorProto::clear_has_json_name() {\n  _has_bits_[0] &= ~0x00000100u;\n}\ninline void FieldDescriptorProto::clear_json_name() {\n  json_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_json_name();\n}\ninline const ::std::string& FieldDescriptorProto::json_name() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.json_name)\n  return json_name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void FieldDescriptorProto::set_json_name(const ::std::string& value) {\n  set_has_json_name();\n  json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.json_name)\n}\ninline void FieldDescriptorProto::set_json_name(const char* value) {\n  set_has_json_name();\n  json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FieldDescriptorProto.json_name)\n}\ninline void FieldDescriptorProto::set_json_name(const char* value, size_t size) {\n  set_has_json_name();\n  json_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldDescriptorProto.json_name)\n}\ninline ::std::string* FieldDescriptorProto::mutable_json_name() {\n  set_has_json_name();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.json_name)\n  return json_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* FieldDescriptorProto::release_json_name() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.json_name)\n  clear_has_json_name();\n  return json_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void FieldDescriptorProto::set_allocated_json_name(::std::string* json_name) {\n  if (json_name != NULL) {\n    set_has_json_name();\n  } else {\n    clear_has_json_name();\n  }\n  json_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), json_name);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.json_name)\n}\n\n// optional .google.protobuf.FieldOptions options = 8;\ninline bool FieldDescriptorProto::has_options() const {\n  return (_has_bits_[0] & 0x00000200u) != 0;\n}\ninline void FieldDescriptorProto::set_has_options() {\n  _has_bits_[0] |= 0x00000200u;\n}\ninline void FieldDescriptorProto::clear_has_options() {\n  _has_bits_[0] &= ~0x00000200u;\n}\ninline void FieldDescriptorProto::clear_options() {\n  if (options_ != NULL) options_->::google::protobuf::FieldOptions::Clear();\n  clear_has_options();\n}\ninline const ::google::protobuf::FieldOptions& FieldDescriptorProto::options() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.options)\n  return options_ != NULL ? *options_ : *default_instance_->options_;\n}\ninline ::google::protobuf::FieldOptions* FieldDescriptorProto::mutable_options() {\n  set_has_options();\n  if (options_ == NULL) {\n    options_ = new ::google::protobuf::FieldOptions;\n  }\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.options)\n  return options_;\n}\ninline ::google::protobuf::FieldOptions* FieldDescriptorProto::release_options() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.options)\n  clear_has_options();\n  ::google::protobuf::FieldOptions* temp = options_;\n  options_ = NULL;\n  return temp;\n}\ninline void FieldDescriptorProto::set_allocated_options(::google::protobuf::FieldOptions* options) {\n  delete options_;\n  options_ = options;\n  if (options) {\n    set_has_options();\n  } else {\n    clear_has_options();\n  }\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.options)\n}\n\n// -------------------------------------------------------------------\n\n// OneofDescriptorProto\n\n// optional string name = 1;\ninline bool OneofDescriptorProto::has_name() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\ninline void OneofDescriptorProto::set_has_name() {\n  _has_bits_[0] |= 0x00000001u;\n}\ninline void OneofDescriptorProto::clear_has_name() {\n  _has_bits_[0] &= ~0x00000001u;\n}\ninline void OneofDescriptorProto::clear_name() {\n  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_name();\n}\ninline const ::std::string& OneofDescriptorProto::name() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.name)\n  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void OneofDescriptorProto::set_name(const ::std::string& value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.OneofDescriptorProto.name)\n}\ninline void OneofDescriptorProto::set_name(const char* value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.OneofDescriptorProto.name)\n}\ninline void OneofDescriptorProto::set_name(const char* value, size_t size) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.OneofDescriptorProto.name)\n}\ninline ::std::string* OneofDescriptorProto::mutable_name() {\n  set_has_name();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.name)\n  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* OneofDescriptorProto::release_name() {\n  // @@protoc_insertion_point(field_release:google.protobuf.OneofDescriptorProto.name)\n  clear_has_name();\n  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void OneofDescriptorProto::set_allocated_name(::std::string* name) {\n  if (name != NULL) {\n    set_has_name();\n  } else {\n    clear_has_name();\n  }\n  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescriptorProto.name)\n}\n\n// -------------------------------------------------------------------\n\n// EnumDescriptorProto\n\n// optional string name = 1;\ninline bool EnumDescriptorProto::has_name() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\ninline void EnumDescriptorProto::set_has_name() {\n  _has_bits_[0] |= 0x00000001u;\n}\ninline void EnumDescriptorProto::clear_has_name() {\n  _has_bits_[0] &= ~0x00000001u;\n}\ninline void EnumDescriptorProto::clear_name() {\n  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_name();\n}\ninline const ::std::string& EnumDescriptorProto::name() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.name)\n  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void EnumDescriptorProto::set_name(const ::std::string& value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.name)\n}\ninline void EnumDescriptorProto::set_name(const char* value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.EnumDescriptorProto.name)\n}\ninline void EnumDescriptorProto::set_name(const char* value, size_t size) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumDescriptorProto.name)\n}\ninline ::std::string* EnumDescriptorProto::mutable_name() {\n  set_has_name();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.name)\n  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* EnumDescriptorProto::release_name() {\n  // @@protoc_insertion_point(field_release:google.protobuf.EnumDescriptorProto.name)\n  clear_has_name();\n  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void EnumDescriptorProto::set_allocated_name(::std::string* name) {\n  if (name != NULL) {\n    set_has_name();\n  } else {\n    clear_has_name();\n  }\n  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.name)\n}\n\n// repeated .google.protobuf.EnumValueDescriptorProto value = 2;\ninline int EnumDescriptorProto::value_size() const {\n  return value_.size();\n}\ninline void EnumDescriptorProto::clear_value() {\n  value_.Clear();\n}\ninline const ::google::protobuf::EnumValueDescriptorProto& EnumDescriptorProto::value(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.value)\n  return value_.Get(index);\n}\ninline ::google::protobuf::EnumValueDescriptorProto* EnumDescriptorProto::mutable_value(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.value)\n  return value_.Mutable(index);\n}\ninline ::google::protobuf::EnumValueDescriptorProto* EnumDescriptorProto::add_value() {\n  // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.value)\n  return value_.Add();\n}\ninline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >*\nEnumDescriptorProto::mutable_value() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.value)\n  return &value_;\n}\ninline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >&\nEnumDescriptorProto::value() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.value)\n  return value_;\n}\n\n// optional .google.protobuf.EnumOptions options = 3;\ninline bool EnumDescriptorProto::has_options() const {\n  return (_has_bits_[0] & 0x00000004u) != 0;\n}\ninline void EnumDescriptorProto::set_has_options() {\n  _has_bits_[0] |= 0x00000004u;\n}\ninline void EnumDescriptorProto::clear_has_options() {\n  _has_bits_[0] &= ~0x00000004u;\n}\ninline void EnumDescriptorProto::clear_options() {\n  if (options_ != NULL) options_->::google::protobuf::EnumOptions::Clear();\n  clear_has_options();\n}\ninline const ::google::protobuf::EnumOptions& EnumDescriptorProto::options() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.options)\n  return options_ != NULL ? *options_ : *default_instance_->options_;\n}\ninline ::google::protobuf::EnumOptions* EnumDescriptorProto::mutable_options() {\n  set_has_options();\n  if (options_ == NULL) {\n    options_ = new ::google::protobuf::EnumOptions;\n  }\n  // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.options)\n  return options_;\n}\ninline ::google::protobuf::EnumOptions* EnumDescriptorProto::release_options() {\n  // @@protoc_insertion_point(field_release:google.protobuf.EnumDescriptorProto.options)\n  clear_has_options();\n  ::google::protobuf::EnumOptions* temp = options_;\n  options_ = NULL;\n  return temp;\n}\ninline void EnumDescriptorProto::set_allocated_options(::google::protobuf::EnumOptions* options) {\n  delete options_;\n  options_ = options;\n  if (options) {\n    set_has_options();\n  } else {\n    clear_has_options();\n  }\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.options)\n}\n\n// -------------------------------------------------------------------\n\n// EnumValueDescriptorProto\n\n// optional string name = 1;\ninline bool EnumValueDescriptorProto::has_name() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\ninline void EnumValueDescriptorProto::set_has_name() {\n  _has_bits_[0] |= 0x00000001u;\n}\ninline void EnumValueDescriptorProto::clear_has_name() {\n  _has_bits_[0] &= ~0x00000001u;\n}\ninline void EnumValueDescriptorProto::clear_name() {\n  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_name();\n}\ninline const ::std::string& EnumValueDescriptorProto::name() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.name)\n  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void EnumValueDescriptorProto::set_name(const ::std::string& value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.name)\n}\ninline void EnumValueDescriptorProto::set_name(const char* value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.EnumValueDescriptorProto.name)\n}\ninline void EnumValueDescriptorProto::set_name(const char* value, size_t size) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumValueDescriptorProto.name)\n}\ninline ::std::string* EnumValueDescriptorProto::mutable_name() {\n  set_has_name();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.name)\n  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* EnumValueDescriptorProto::release_name() {\n  // @@protoc_insertion_point(field_release:google.protobuf.EnumValueDescriptorProto.name)\n  clear_has_name();\n  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void EnumValueDescriptorProto::set_allocated_name(::std::string* name) {\n  if (name != NULL) {\n    set_has_name();\n  } else {\n    clear_has_name();\n  }\n  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.name)\n}\n\n// optional int32 number = 2;\ninline bool EnumValueDescriptorProto::has_number() const {\n  return (_has_bits_[0] & 0x00000002u) != 0;\n}\ninline void EnumValueDescriptorProto::set_has_number() {\n  _has_bits_[0] |= 0x00000002u;\n}\ninline void EnumValueDescriptorProto::clear_has_number() {\n  _has_bits_[0] &= ~0x00000002u;\n}\ninline void EnumValueDescriptorProto::clear_number() {\n  number_ = 0;\n  clear_has_number();\n}\ninline ::google::protobuf::int32 EnumValueDescriptorProto::number() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.number)\n  return number_;\n}\ninline void EnumValueDescriptorProto::set_number(::google::protobuf::int32 value) {\n  set_has_number();\n  number_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.number)\n}\n\n// optional .google.protobuf.EnumValueOptions options = 3;\ninline bool EnumValueDescriptorProto::has_options() const {\n  return (_has_bits_[0] & 0x00000004u) != 0;\n}\ninline void EnumValueDescriptorProto::set_has_options() {\n  _has_bits_[0] |= 0x00000004u;\n}\ninline void EnumValueDescriptorProto::clear_has_options() {\n  _has_bits_[0] &= ~0x00000004u;\n}\ninline void EnumValueDescriptorProto::clear_options() {\n  if (options_ != NULL) options_->::google::protobuf::EnumValueOptions::Clear();\n  clear_has_options();\n}\ninline const ::google::protobuf::EnumValueOptions& EnumValueDescriptorProto::options() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.options)\n  return options_ != NULL ? *options_ : *default_instance_->options_;\n}\ninline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::mutable_options() {\n  set_has_options();\n  if (options_ == NULL) {\n    options_ = new ::google::protobuf::EnumValueOptions;\n  }\n  // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.options)\n  return options_;\n}\ninline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::release_options() {\n  // @@protoc_insertion_point(field_release:google.protobuf.EnumValueDescriptorProto.options)\n  clear_has_options();\n  ::google::protobuf::EnumValueOptions* temp = options_;\n  options_ = NULL;\n  return temp;\n}\ninline void EnumValueDescriptorProto::set_allocated_options(::google::protobuf::EnumValueOptions* options) {\n  delete options_;\n  options_ = options;\n  if (options) {\n    set_has_options();\n  } else {\n    clear_has_options();\n  }\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.options)\n}\n\n// -------------------------------------------------------------------\n\n// ServiceDescriptorProto\n\n// optional string name = 1;\ninline bool ServiceDescriptorProto::has_name() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\ninline void ServiceDescriptorProto::set_has_name() {\n  _has_bits_[0] |= 0x00000001u;\n}\ninline void ServiceDescriptorProto::clear_has_name() {\n  _has_bits_[0] &= ~0x00000001u;\n}\ninline void ServiceDescriptorProto::clear_name() {\n  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_name();\n}\ninline const ::std::string& ServiceDescriptorProto::name() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.name)\n  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void ServiceDescriptorProto::set_name(const ::std::string& value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.ServiceDescriptorProto.name)\n}\ninline void ServiceDescriptorProto::set_name(const char* value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.ServiceDescriptorProto.name)\n}\ninline void ServiceDescriptorProto::set_name(const char* value, size_t size) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.ServiceDescriptorProto.name)\n}\ninline ::std::string* ServiceDescriptorProto::mutable_name() {\n  set_has_name();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.name)\n  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* ServiceDescriptorProto::release_name() {\n  // @@protoc_insertion_point(field_release:google.protobuf.ServiceDescriptorProto.name)\n  clear_has_name();\n  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void ServiceDescriptorProto::set_allocated_name(::std::string* name) {\n  if (name != NULL) {\n    set_has_name();\n  } else {\n    clear_has_name();\n  }\n  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.name)\n}\n\n// repeated .google.protobuf.MethodDescriptorProto method = 2;\ninline int ServiceDescriptorProto::method_size() const {\n  return method_.size();\n}\ninline void ServiceDescriptorProto::clear_method() {\n  method_.Clear();\n}\ninline const ::google::protobuf::MethodDescriptorProto& ServiceDescriptorProto::method(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.method)\n  return method_.Get(index);\n}\ninline ::google::protobuf::MethodDescriptorProto* ServiceDescriptorProto::mutable_method(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.method)\n  return method_.Mutable(index);\n}\ninline ::google::protobuf::MethodDescriptorProto* ServiceDescriptorProto::add_method() {\n  // @@protoc_insertion_point(field_add:google.protobuf.ServiceDescriptorProto.method)\n  return method_.Add();\n}\ninline ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >*\nServiceDescriptorProto::mutable_method() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceDescriptorProto.method)\n  return &method_;\n}\ninline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >&\nServiceDescriptorProto::method() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.ServiceDescriptorProto.method)\n  return method_;\n}\n\n// optional .google.protobuf.ServiceOptions options = 3;\ninline bool ServiceDescriptorProto::has_options() const {\n  return (_has_bits_[0] & 0x00000004u) != 0;\n}\ninline void ServiceDescriptorProto::set_has_options() {\n  _has_bits_[0] |= 0x00000004u;\n}\ninline void ServiceDescriptorProto::clear_has_options() {\n  _has_bits_[0] &= ~0x00000004u;\n}\ninline void ServiceDescriptorProto::clear_options() {\n  if (options_ != NULL) options_->::google::protobuf::ServiceOptions::Clear();\n  clear_has_options();\n}\ninline const ::google::protobuf::ServiceOptions& ServiceDescriptorProto::options() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.options)\n  return options_ != NULL ? *options_ : *default_instance_->options_;\n}\ninline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::mutable_options() {\n  set_has_options();\n  if (options_ == NULL) {\n    options_ = new ::google::protobuf::ServiceOptions;\n  }\n  // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.options)\n  return options_;\n}\ninline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::release_options() {\n  // @@protoc_insertion_point(field_release:google.protobuf.ServiceDescriptorProto.options)\n  clear_has_options();\n  ::google::protobuf::ServiceOptions* temp = options_;\n  options_ = NULL;\n  return temp;\n}\ninline void ServiceDescriptorProto::set_allocated_options(::google::protobuf::ServiceOptions* options) {\n  delete options_;\n  options_ = options;\n  if (options) {\n    set_has_options();\n  } else {\n    clear_has_options();\n  }\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.options)\n}\n\n// -------------------------------------------------------------------\n\n// MethodDescriptorProto\n\n// optional string name = 1;\ninline bool MethodDescriptorProto::has_name() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\ninline void MethodDescriptorProto::set_has_name() {\n  _has_bits_[0] |= 0x00000001u;\n}\ninline void MethodDescriptorProto::clear_has_name() {\n  _has_bits_[0] &= ~0x00000001u;\n}\ninline void MethodDescriptorProto::clear_name() {\n  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_name();\n}\ninline const ::std::string& MethodDescriptorProto::name() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.name)\n  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void MethodDescriptorProto::set_name(const ::std::string& value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.name)\n}\ninline void MethodDescriptorProto::set_name(const char* value) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorProto.name)\n}\ninline void MethodDescriptorProto::set_name(const char* value, size_t size) {\n  set_has_name();\n  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptorProto.name)\n}\ninline ::std::string* MethodDescriptorProto::mutable_name() {\n  set_has_name();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.name)\n  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* MethodDescriptorProto::release_name() {\n  // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.name)\n  clear_has_name();\n  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void MethodDescriptorProto::set_allocated_name(::std::string* name) {\n  if (name != NULL) {\n    set_has_name();\n  } else {\n    clear_has_name();\n  }\n  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.name)\n}\n\n// optional string input_type = 2;\ninline bool MethodDescriptorProto::has_input_type() const {\n  return (_has_bits_[0] & 0x00000002u) != 0;\n}\ninline void MethodDescriptorProto::set_has_input_type() {\n  _has_bits_[0] |= 0x00000002u;\n}\ninline void MethodDescriptorProto::clear_has_input_type() {\n  _has_bits_[0] &= ~0x00000002u;\n}\ninline void MethodDescriptorProto::clear_input_type() {\n  input_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_input_type();\n}\ninline const ::std::string& MethodDescriptorProto::input_type() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.input_type)\n  return input_type_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void MethodDescriptorProto::set_input_type(const ::std::string& value) {\n  set_has_input_type();\n  input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.input_type)\n}\ninline void MethodDescriptorProto::set_input_type(const char* value) {\n  set_has_input_type();\n  input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorProto.input_type)\n}\ninline void MethodDescriptorProto::set_input_type(const char* value, size_t size) {\n  set_has_input_type();\n  input_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptorProto.input_type)\n}\ninline ::std::string* MethodDescriptorProto::mutable_input_type() {\n  set_has_input_type();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.input_type)\n  return input_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* MethodDescriptorProto::release_input_type() {\n  // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.input_type)\n  clear_has_input_type();\n  return input_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void MethodDescriptorProto::set_allocated_input_type(::std::string* input_type) {\n  if (input_type != NULL) {\n    set_has_input_type();\n  } else {\n    clear_has_input_type();\n  }\n  input_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), input_type);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.input_type)\n}\n\n// optional string output_type = 3;\ninline bool MethodDescriptorProto::has_output_type() const {\n  return (_has_bits_[0] & 0x00000004u) != 0;\n}\ninline void MethodDescriptorProto::set_has_output_type() {\n  _has_bits_[0] |= 0x00000004u;\n}\ninline void MethodDescriptorProto::clear_has_output_type() {\n  _has_bits_[0] &= ~0x00000004u;\n}\ninline void MethodDescriptorProto::clear_output_type() {\n  output_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_output_type();\n}\ninline const ::std::string& MethodDescriptorProto::output_type() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.output_type)\n  return output_type_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void MethodDescriptorProto::set_output_type(const ::std::string& value) {\n  set_has_output_type();\n  output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.output_type)\n}\ninline void MethodDescriptorProto::set_output_type(const char* value) {\n  set_has_output_type();\n  output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.MethodDescriptorProto.output_type)\n}\ninline void MethodDescriptorProto::set_output_type(const char* value, size_t size) {\n  set_has_output_type();\n  output_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.MethodDescriptorProto.output_type)\n}\ninline ::std::string* MethodDescriptorProto::mutable_output_type() {\n  set_has_output_type();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.output_type)\n  return output_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* MethodDescriptorProto::release_output_type() {\n  // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.output_type)\n  clear_has_output_type();\n  return output_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void MethodDescriptorProto::set_allocated_output_type(::std::string* output_type) {\n  if (output_type != NULL) {\n    set_has_output_type();\n  } else {\n    clear_has_output_type();\n  }\n  output_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), output_type);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.output_type)\n}\n\n// optional .google.protobuf.MethodOptions options = 4;\ninline bool MethodDescriptorProto::has_options() const {\n  return (_has_bits_[0] & 0x00000008u) != 0;\n}\ninline void MethodDescriptorProto::set_has_options() {\n  _has_bits_[0] |= 0x00000008u;\n}\ninline void MethodDescriptorProto::clear_has_options() {\n  _has_bits_[0] &= ~0x00000008u;\n}\ninline void MethodDescriptorProto::clear_options() {\n  if (options_ != NULL) options_->::google::protobuf::MethodOptions::Clear();\n  clear_has_options();\n}\ninline const ::google::protobuf::MethodOptions& MethodDescriptorProto::options() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.options)\n  return options_ != NULL ? *options_ : *default_instance_->options_;\n}\ninline ::google::protobuf::MethodOptions* MethodDescriptorProto::mutable_options() {\n  set_has_options();\n  if (options_ == NULL) {\n    options_ = new ::google::protobuf::MethodOptions;\n  }\n  // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.options)\n  return options_;\n}\ninline ::google::protobuf::MethodOptions* MethodDescriptorProto::release_options() {\n  // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.options)\n  clear_has_options();\n  ::google::protobuf::MethodOptions* temp = options_;\n  options_ = NULL;\n  return temp;\n}\ninline void MethodDescriptorProto::set_allocated_options(::google::protobuf::MethodOptions* options) {\n  delete options_;\n  options_ = options;\n  if (options) {\n    set_has_options();\n  } else {\n    clear_has_options();\n  }\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.options)\n}\n\n// optional bool client_streaming = 5 [default = false];\ninline bool MethodDescriptorProto::has_client_streaming() const {\n  return (_has_bits_[0] & 0x00000010u) != 0;\n}\ninline void MethodDescriptorProto::set_has_client_streaming() {\n  _has_bits_[0] |= 0x00000010u;\n}\ninline void MethodDescriptorProto::clear_has_client_streaming() {\n  _has_bits_[0] &= ~0x00000010u;\n}\ninline void MethodDescriptorProto::clear_client_streaming() {\n  client_streaming_ = false;\n  clear_has_client_streaming();\n}\ninline bool MethodDescriptorProto::client_streaming() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.client_streaming)\n  return client_streaming_;\n}\ninline void MethodDescriptorProto::set_client_streaming(bool value) {\n  set_has_client_streaming();\n  client_streaming_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.client_streaming)\n}\n\n// optional bool server_streaming = 6 [default = false];\ninline bool MethodDescriptorProto::has_server_streaming() const {\n  return (_has_bits_[0] & 0x00000020u) != 0;\n}\ninline void MethodDescriptorProto::set_has_server_streaming() {\n  _has_bits_[0] |= 0x00000020u;\n}\ninline void MethodDescriptorProto::clear_has_server_streaming() {\n  _has_bits_[0] &= ~0x00000020u;\n}\ninline void MethodDescriptorProto::clear_server_streaming() {\n  server_streaming_ = false;\n  clear_has_server_streaming();\n}\ninline bool MethodDescriptorProto::server_streaming() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.server_streaming)\n  return server_streaming_;\n}\ninline void MethodDescriptorProto::set_server_streaming(bool value) {\n  set_has_server_streaming();\n  server_streaming_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.server_streaming)\n}\n\n// -------------------------------------------------------------------\n\n// FileOptions\n\n// optional string java_package = 1;\ninline bool FileOptions::has_java_package() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\ninline void FileOptions::set_has_java_package() {\n  _has_bits_[0] |= 0x00000001u;\n}\ninline void FileOptions::clear_has_java_package() {\n  _has_bits_[0] &= ~0x00000001u;\n}\ninline void FileOptions::clear_java_package() {\n  java_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_java_package();\n}\ninline const ::std::string& FileOptions::java_package() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_package)\n  return java_package_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void FileOptions::set_java_package(const ::std::string& value) {\n  set_has_java_package();\n  java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_package)\n}\ninline void FileOptions::set_java_package(const char* value) {\n  set_has_java_package();\n  java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_package)\n}\ninline void FileOptions::set_java_package(const char* value, size_t size) {\n  set_has_java_package();\n  java_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.java_package)\n}\ninline ::std::string* FileOptions::mutable_java_package() {\n  set_has_java_package();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_package)\n  return java_package_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* FileOptions::release_java_package() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.java_package)\n  clear_has_java_package();\n  return java_package_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void FileOptions::set_allocated_java_package(::std::string* java_package) {\n  if (java_package != NULL) {\n    set_has_java_package();\n  } else {\n    clear_has_java_package();\n  }\n  java_package_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), java_package);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_package)\n}\n\n// optional string java_outer_classname = 8;\ninline bool FileOptions::has_java_outer_classname() const {\n  return (_has_bits_[0] & 0x00000002u) != 0;\n}\ninline void FileOptions::set_has_java_outer_classname() {\n  _has_bits_[0] |= 0x00000002u;\n}\ninline void FileOptions::clear_has_java_outer_classname() {\n  _has_bits_[0] &= ~0x00000002u;\n}\ninline void FileOptions::clear_java_outer_classname() {\n  java_outer_classname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_java_outer_classname();\n}\ninline const ::std::string& FileOptions::java_outer_classname() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_outer_classname)\n  return java_outer_classname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void FileOptions::set_java_outer_classname(const ::std::string& value) {\n  set_has_java_outer_classname();\n  java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_outer_classname)\n}\ninline void FileOptions::set_java_outer_classname(const char* value) {\n  set_has_java_outer_classname();\n  java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.java_outer_classname)\n}\ninline void FileOptions::set_java_outer_classname(const char* value, size_t size) {\n  set_has_java_outer_classname();\n  java_outer_classname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.java_outer_classname)\n}\ninline ::std::string* FileOptions::mutable_java_outer_classname() {\n  set_has_java_outer_classname();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_outer_classname)\n  return java_outer_classname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* FileOptions::release_java_outer_classname() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.java_outer_classname)\n  clear_has_java_outer_classname();\n  return java_outer_classname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void FileOptions::set_allocated_java_outer_classname(::std::string* java_outer_classname) {\n  if (java_outer_classname != NULL) {\n    set_has_java_outer_classname();\n  } else {\n    clear_has_java_outer_classname();\n  }\n  java_outer_classname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), java_outer_classname);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_outer_classname)\n}\n\n// optional bool java_multiple_files = 10 [default = false];\ninline bool FileOptions::has_java_multiple_files() const {\n  return (_has_bits_[0] & 0x00000004u) != 0;\n}\ninline void FileOptions::set_has_java_multiple_files() {\n  _has_bits_[0] |= 0x00000004u;\n}\ninline void FileOptions::clear_has_java_multiple_files() {\n  _has_bits_[0] &= ~0x00000004u;\n}\ninline void FileOptions::clear_java_multiple_files() {\n  java_multiple_files_ = false;\n  clear_has_java_multiple_files();\n}\ninline bool FileOptions::java_multiple_files() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_multiple_files)\n  return java_multiple_files_;\n}\ninline void FileOptions::set_java_multiple_files(bool value) {\n  set_has_java_multiple_files();\n  java_multiple_files_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_multiple_files)\n}\n\n// optional bool java_generate_equals_and_hash = 20 [default = false];\ninline bool FileOptions::has_java_generate_equals_and_hash() const {\n  return (_has_bits_[0] & 0x00000008u) != 0;\n}\ninline void FileOptions::set_has_java_generate_equals_and_hash() {\n  _has_bits_[0] |= 0x00000008u;\n}\ninline void FileOptions::clear_has_java_generate_equals_and_hash() {\n  _has_bits_[0] &= ~0x00000008u;\n}\ninline void FileOptions::clear_java_generate_equals_and_hash() {\n  java_generate_equals_and_hash_ = false;\n  clear_has_java_generate_equals_and_hash();\n}\ninline bool FileOptions::java_generate_equals_and_hash() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generate_equals_and_hash)\n  return java_generate_equals_and_hash_;\n}\ninline void FileOptions::set_java_generate_equals_and_hash(bool value) {\n  set_has_java_generate_equals_and_hash();\n  java_generate_equals_and_hash_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generate_equals_and_hash)\n}\n\n// optional bool java_string_check_utf8 = 27 [default = false];\ninline bool FileOptions::has_java_string_check_utf8() const {\n  return (_has_bits_[0] & 0x00000010u) != 0;\n}\ninline void FileOptions::set_has_java_string_check_utf8() {\n  _has_bits_[0] |= 0x00000010u;\n}\ninline void FileOptions::clear_has_java_string_check_utf8() {\n  _has_bits_[0] &= ~0x00000010u;\n}\ninline void FileOptions::clear_java_string_check_utf8() {\n  java_string_check_utf8_ = false;\n  clear_has_java_string_check_utf8();\n}\ninline bool FileOptions::java_string_check_utf8() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_string_check_utf8)\n  return java_string_check_utf8_;\n}\ninline void FileOptions::set_java_string_check_utf8(bool value) {\n  set_has_java_string_check_utf8();\n  java_string_check_utf8_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_string_check_utf8)\n}\n\n// optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];\ninline bool FileOptions::has_optimize_for() const {\n  return (_has_bits_[0] & 0x00000020u) != 0;\n}\ninline void FileOptions::set_has_optimize_for() {\n  _has_bits_[0] |= 0x00000020u;\n}\ninline void FileOptions::clear_has_optimize_for() {\n  _has_bits_[0] &= ~0x00000020u;\n}\ninline void FileOptions::clear_optimize_for() {\n  optimize_for_ = 1;\n  clear_has_optimize_for();\n}\ninline ::google::protobuf::FileOptions_OptimizeMode FileOptions::optimize_for() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.optimize_for)\n  return static_cast< ::google::protobuf::FileOptions_OptimizeMode >(optimize_for_);\n}\ninline void FileOptions::set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value) {\n  assert(::google::protobuf::FileOptions_OptimizeMode_IsValid(value));\n  set_has_optimize_for();\n  optimize_for_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.optimize_for)\n}\n\n// optional string go_package = 11;\ninline bool FileOptions::has_go_package() const {\n  return (_has_bits_[0] & 0x00000040u) != 0;\n}\ninline void FileOptions::set_has_go_package() {\n  _has_bits_[0] |= 0x00000040u;\n}\ninline void FileOptions::clear_has_go_package() {\n  _has_bits_[0] &= ~0x00000040u;\n}\ninline void FileOptions::clear_go_package() {\n  go_package_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_go_package();\n}\ninline const ::std::string& FileOptions::go_package() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.go_package)\n  return go_package_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void FileOptions::set_go_package(const ::std::string& value) {\n  set_has_go_package();\n  go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.go_package)\n}\ninline void FileOptions::set_go_package(const char* value) {\n  set_has_go_package();\n  go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.go_package)\n}\ninline void FileOptions::set_go_package(const char* value, size_t size) {\n  set_has_go_package();\n  go_package_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.go_package)\n}\ninline ::std::string* FileOptions::mutable_go_package() {\n  set_has_go_package();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.go_package)\n  return go_package_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* FileOptions::release_go_package() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.go_package)\n  clear_has_go_package();\n  return go_package_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void FileOptions::set_allocated_go_package(::std::string* go_package) {\n  if (go_package != NULL) {\n    set_has_go_package();\n  } else {\n    clear_has_go_package();\n  }\n  go_package_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), go_package);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.go_package)\n}\n\n// optional bool cc_generic_services = 16 [default = false];\ninline bool FileOptions::has_cc_generic_services() const {\n  return (_has_bits_[0] & 0x00000080u) != 0;\n}\ninline void FileOptions::set_has_cc_generic_services() {\n  _has_bits_[0] |= 0x00000080u;\n}\ninline void FileOptions::clear_has_cc_generic_services() {\n  _has_bits_[0] &= ~0x00000080u;\n}\ninline void FileOptions::clear_cc_generic_services() {\n  cc_generic_services_ = false;\n  clear_has_cc_generic_services();\n}\ninline bool FileOptions::cc_generic_services() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_generic_services)\n  return cc_generic_services_;\n}\ninline void FileOptions::set_cc_generic_services(bool value) {\n  set_has_cc_generic_services();\n  cc_generic_services_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_generic_services)\n}\n\n// optional bool java_generic_services = 17 [default = false];\ninline bool FileOptions::has_java_generic_services() const {\n  return (_has_bits_[0] & 0x00000100u) != 0;\n}\ninline void FileOptions::set_has_java_generic_services() {\n  _has_bits_[0] |= 0x00000100u;\n}\ninline void FileOptions::clear_has_java_generic_services() {\n  _has_bits_[0] &= ~0x00000100u;\n}\ninline void FileOptions::clear_java_generic_services() {\n  java_generic_services_ = false;\n  clear_has_java_generic_services();\n}\ninline bool FileOptions::java_generic_services() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generic_services)\n  return java_generic_services_;\n}\ninline void FileOptions::set_java_generic_services(bool value) {\n  set_has_java_generic_services();\n  java_generic_services_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generic_services)\n}\n\n// optional bool py_generic_services = 18 [default = false];\ninline bool FileOptions::has_py_generic_services() const {\n  return (_has_bits_[0] & 0x00000200u) != 0;\n}\ninline void FileOptions::set_has_py_generic_services() {\n  _has_bits_[0] |= 0x00000200u;\n}\ninline void FileOptions::clear_has_py_generic_services() {\n  _has_bits_[0] &= ~0x00000200u;\n}\ninline void FileOptions::clear_py_generic_services() {\n  py_generic_services_ = false;\n  clear_has_py_generic_services();\n}\ninline bool FileOptions::py_generic_services() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.py_generic_services)\n  return py_generic_services_;\n}\ninline void FileOptions::set_py_generic_services(bool value) {\n  set_has_py_generic_services();\n  py_generic_services_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.py_generic_services)\n}\n\n// optional bool deprecated = 23 [default = false];\ninline bool FileOptions::has_deprecated() const {\n  return (_has_bits_[0] & 0x00000400u) != 0;\n}\ninline void FileOptions::set_has_deprecated() {\n  _has_bits_[0] |= 0x00000400u;\n}\ninline void FileOptions::clear_has_deprecated() {\n  _has_bits_[0] &= ~0x00000400u;\n}\ninline void FileOptions::clear_deprecated() {\n  deprecated_ = false;\n  clear_has_deprecated();\n}\ninline bool FileOptions::deprecated() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.deprecated)\n  return deprecated_;\n}\ninline void FileOptions::set_deprecated(bool value) {\n  set_has_deprecated();\n  deprecated_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.deprecated)\n}\n\n// optional bool cc_enable_arenas = 31 [default = false];\ninline bool FileOptions::has_cc_enable_arenas() const {\n  return (_has_bits_[0] & 0x00000800u) != 0;\n}\ninline void FileOptions::set_has_cc_enable_arenas() {\n  _has_bits_[0] |= 0x00000800u;\n}\ninline void FileOptions::clear_has_cc_enable_arenas() {\n  _has_bits_[0] &= ~0x00000800u;\n}\ninline void FileOptions::clear_cc_enable_arenas() {\n  cc_enable_arenas_ = false;\n  clear_has_cc_enable_arenas();\n}\ninline bool FileOptions::cc_enable_arenas() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_enable_arenas)\n  return cc_enable_arenas_;\n}\ninline void FileOptions::set_cc_enable_arenas(bool value) {\n  set_has_cc_enable_arenas();\n  cc_enable_arenas_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_enable_arenas)\n}\n\n// optional string objc_class_prefix = 36;\ninline bool FileOptions::has_objc_class_prefix() const {\n  return (_has_bits_[0] & 0x00001000u) != 0;\n}\ninline void FileOptions::set_has_objc_class_prefix() {\n  _has_bits_[0] |= 0x00001000u;\n}\ninline void FileOptions::clear_has_objc_class_prefix() {\n  _has_bits_[0] &= ~0x00001000u;\n}\ninline void FileOptions::clear_objc_class_prefix() {\n  objc_class_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_objc_class_prefix();\n}\ninline const ::std::string& FileOptions::objc_class_prefix() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.objc_class_prefix)\n  return objc_class_prefix_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void FileOptions::set_objc_class_prefix(const ::std::string& value) {\n  set_has_objc_class_prefix();\n  objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.objc_class_prefix)\n}\ninline void FileOptions::set_objc_class_prefix(const char* value) {\n  set_has_objc_class_prefix();\n  objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.objc_class_prefix)\n}\ninline void FileOptions::set_objc_class_prefix(const char* value, size_t size) {\n  set_has_objc_class_prefix();\n  objc_class_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.objc_class_prefix)\n}\ninline ::std::string* FileOptions::mutable_objc_class_prefix() {\n  set_has_objc_class_prefix();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.objc_class_prefix)\n  return objc_class_prefix_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* FileOptions::release_objc_class_prefix() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.objc_class_prefix)\n  clear_has_objc_class_prefix();\n  return objc_class_prefix_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void FileOptions::set_allocated_objc_class_prefix(::std::string* objc_class_prefix) {\n  if (objc_class_prefix != NULL) {\n    set_has_objc_class_prefix();\n  } else {\n    clear_has_objc_class_prefix();\n  }\n  objc_class_prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), objc_class_prefix);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.objc_class_prefix)\n}\n\n// optional string csharp_namespace = 37;\ninline bool FileOptions::has_csharp_namespace() const {\n  return (_has_bits_[0] & 0x00002000u) != 0;\n}\ninline void FileOptions::set_has_csharp_namespace() {\n  _has_bits_[0] |= 0x00002000u;\n}\ninline void FileOptions::clear_has_csharp_namespace() {\n  _has_bits_[0] &= ~0x00002000u;\n}\ninline void FileOptions::clear_csharp_namespace() {\n  csharp_namespace_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_csharp_namespace();\n}\ninline const ::std::string& FileOptions::csharp_namespace() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.csharp_namespace)\n  return csharp_namespace_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void FileOptions::set_csharp_namespace(const ::std::string& value) {\n  set_has_csharp_namespace();\n  csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.csharp_namespace)\n}\ninline void FileOptions::set_csharp_namespace(const char* value) {\n  set_has_csharp_namespace();\n  csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.FileOptions.csharp_namespace)\n}\ninline void FileOptions::set_csharp_namespace(const char* value, size_t size) {\n  set_has_csharp_namespace();\n  csharp_namespace_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileOptions.csharp_namespace)\n}\ninline ::std::string* FileOptions::mutable_csharp_namespace() {\n  set_has_csharp_namespace();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.csharp_namespace)\n  return csharp_namespace_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* FileOptions::release_csharp_namespace() {\n  // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.csharp_namespace)\n  clear_has_csharp_namespace();\n  return csharp_namespace_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void FileOptions::set_allocated_csharp_namespace(::std::string* csharp_namespace) {\n  if (csharp_namespace != NULL) {\n    set_has_csharp_namespace();\n  } else {\n    clear_has_csharp_namespace();\n  }\n  csharp_namespace_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), csharp_namespace);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.csharp_namespace)\n}\n\n// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\ninline int FileOptions::uninterpreted_option_size() const {\n  return uninterpreted_option_.size();\n}\ninline void FileOptions::clear_uninterpreted_option() {\n  uninterpreted_option_.Clear();\n}\ninline const ::google::protobuf::UninterpretedOption& FileOptions::uninterpreted_option(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.uninterpreted_option)\n  return uninterpreted_option_.Get(index);\n}\ninline ::google::protobuf::UninterpretedOption* FileOptions::mutable_uninterpreted_option(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.uninterpreted_option)\n  return uninterpreted_option_.Mutable(index);\n}\ninline ::google::protobuf::UninterpretedOption* FileOptions::add_uninterpreted_option() {\n  // @@protoc_insertion_point(field_add:google.protobuf.FileOptions.uninterpreted_option)\n  return uninterpreted_option_.Add();\n}\ninline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*\nFileOptions::mutable_uninterpreted_option() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileOptions.uninterpreted_option)\n  return &uninterpreted_option_;\n}\ninline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&\nFileOptions::uninterpreted_option() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.FileOptions.uninterpreted_option)\n  return uninterpreted_option_;\n}\n\n// -------------------------------------------------------------------\n\n// MessageOptions\n\n// optional bool message_set_wire_format = 1 [default = false];\ninline bool MessageOptions::has_message_set_wire_format() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\ninline void MessageOptions::set_has_message_set_wire_format() {\n  _has_bits_[0] |= 0x00000001u;\n}\ninline void MessageOptions::clear_has_message_set_wire_format() {\n  _has_bits_[0] &= ~0x00000001u;\n}\ninline void MessageOptions::clear_message_set_wire_format() {\n  message_set_wire_format_ = false;\n  clear_has_message_set_wire_format();\n}\ninline bool MessageOptions::message_set_wire_format() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.message_set_wire_format)\n  return message_set_wire_format_;\n}\ninline void MessageOptions::set_message_set_wire_format(bool value) {\n  set_has_message_set_wire_format();\n  message_set_wire_format_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.message_set_wire_format)\n}\n\n// optional bool no_standard_descriptor_accessor = 2 [default = false];\ninline bool MessageOptions::has_no_standard_descriptor_accessor() const {\n  return (_has_bits_[0] & 0x00000002u) != 0;\n}\ninline void MessageOptions::set_has_no_standard_descriptor_accessor() {\n  _has_bits_[0] |= 0x00000002u;\n}\ninline void MessageOptions::clear_has_no_standard_descriptor_accessor() {\n  _has_bits_[0] &= ~0x00000002u;\n}\ninline void MessageOptions::clear_no_standard_descriptor_accessor() {\n  no_standard_descriptor_accessor_ = false;\n  clear_has_no_standard_descriptor_accessor();\n}\ninline bool MessageOptions::no_standard_descriptor_accessor() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.no_standard_descriptor_accessor)\n  return no_standard_descriptor_accessor_;\n}\ninline void MessageOptions::set_no_standard_descriptor_accessor(bool value) {\n  set_has_no_standard_descriptor_accessor();\n  no_standard_descriptor_accessor_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.no_standard_descriptor_accessor)\n}\n\n// optional bool deprecated = 3 [default = false];\ninline bool MessageOptions::has_deprecated() const {\n  return (_has_bits_[0] & 0x00000004u) != 0;\n}\ninline void MessageOptions::set_has_deprecated() {\n  _has_bits_[0] |= 0x00000004u;\n}\ninline void MessageOptions::clear_has_deprecated() {\n  _has_bits_[0] &= ~0x00000004u;\n}\ninline void MessageOptions::clear_deprecated() {\n  deprecated_ = false;\n  clear_has_deprecated();\n}\ninline bool MessageOptions::deprecated() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.deprecated)\n  return deprecated_;\n}\ninline void MessageOptions::set_deprecated(bool value) {\n  set_has_deprecated();\n  deprecated_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.deprecated)\n}\n\n// optional bool map_entry = 7;\ninline bool MessageOptions::has_map_entry() const {\n  return (_has_bits_[0] & 0x00000008u) != 0;\n}\ninline void MessageOptions::set_has_map_entry() {\n  _has_bits_[0] |= 0x00000008u;\n}\ninline void MessageOptions::clear_has_map_entry() {\n  _has_bits_[0] &= ~0x00000008u;\n}\ninline void MessageOptions::clear_map_entry() {\n  map_entry_ = false;\n  clear_has_map_entry();\n}\ninline bool MessageOptions::map_entry() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.map_entry)\n  return map_entry_;\n}\ninline void MessageOptions::set_map_entry(bool value) {\n  set_has_map_entry();\n  map_entry_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.map_entry)\n}\n\n// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\ninline int MessageOptions::uninterpreted_option_size() const {\n  return uninterpreted_option_.size();\n}\ninline void MessageOptions::clear_uninterpreted_option() {\n  uninterpreted_option_.Clear();\n}\ninline const ::google::protobuf::UninterpretedOption& MessageOptions::uninterpreted_option(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.uninterpreted_option)\n  return uninterpreted_option_.Get(index);\n}\ninline ::google::protobuf::UninterpretedOption* MessageOptions::mutable_uninterpreted_option(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.MessageOptions.uninterpreted_option)\n  return uninterpreted_option_.Mutable(index);\n}\ninline ::google::protobuf::UninterpretedOption* MessageOptions::add_uninterpreted_option() {\n  // @@protoc_insertion_point(field_add:google.protobuf.MessageOptions.uninterpreted_option)\n  return uninterpreted_option_.Add();\n}\ninline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*\nMessageOptions::mutable_uninterpreted_option() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.MessageOptions.uninterpreted_option)\n  return &uninterpreted_option_;\n}\ninline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&\nMessageOptions::uninterpreted_option() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.MessageOptions.uninterpreted_option)\n  return uninterpreted_option_;\n}\n\n// -------------------------------------------------------------------\n\n// FieldOptions\n\n// optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];\ninline bool FieldOptions::has_ctype() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\ninline void FieldOptions::set_has_ctype() {\n  _has_bits_[0] |= 0x00000001u;\n}\ninline void FieldOptions::clear_has_ctype() {\n  _has_bits_[0] &= ~0x00000001u;\n}\ninline void FieldOptions::clear_ctype() {\n  ctype_ = 0;\n  clear_has_ctype();\n}\ninline ::google::protobuf::FieldOptions_CType FieldOptions::ctype() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.ctype)\n  return static_cast< ::google::protobuf::FieldOptions_CType >(ctype_);\n}\ninline void FieldOptions::set_ctype(::google::protobuf::FieldOptions_CType value) {\n  assert(::google::protobuf::FieldOptions_CType_IsValid(value));\n  set_has_ctype();\n  ctype_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.ctype)\n}\n\n// optional bool packed = 2;\ninline bool FieldOptions::has_packed() const {\n  return (_has_bits_[0] & 0x00000002u) != 0;\n}\ninline void FieldOptions::set_has_packed() {\n  _has_bits_[0] |= 0x00000002u;\n}\ninline void FieldOptions::clear_has_packed() {\n  _has_bits_[0] &= ~0x00000002u;\n}\ninline void FieldOptions::clear_packed() {\n  packed_ = false;\n  clear_has_packed();\n}\ninline bool FieldOptions::packed() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.packed)\n  return packed_;\n}\ninline void FieldOptions::set_packed(bool value) {\n  set_has_packed();\n  packed_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.packed)\n}\n\n// optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];\ninline bool FieldOptions::has_jstype() const {\n  return (_has_bits_[0] & 0x00000004u) != 0;\n}\ninline void FieldOptions::set_has_jstype() {\n  _has_bits_[0] |= 0x00000004u;\n}\ninline void FieldOptions::clear_has_jstype() {\n  _has_bits_[0] &= ~0x00000004u;\n}\ninline void FieldOptions::clear_jstype() {\n  jstype_ = 0;\n  clear_has_jstype();\n}\ninline ::google::protobuf::FieldOptions_JSType FieldOptions::jstype() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.jstype)\n  return static_cast< ::google::protobuf::FieldOptions_JSType >(jstype_);\n}\ninline void FieldOptions::set_jstype(::google::protobuf::FieldOptions_JSType value) {\n  assert(::google::protobuf::FieldOptions_JSType_IsValid(value));\n  set_has_jstype();\n  jstype_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.jstype)\n}\n\n// optional bool lazy = 5 [default = false];\ninline bool FieldOptions::has_lazy() const {\n  return (_has_bits_[0] & 0x00000008u) != 0;\n}\ninline void FieldOptions::set_has_lazy() {\n  _has_bits_[0] |= 0x00000008u;\n}\ninline void FieldOptions::clear_has_lazy() {\n  _has_bits_[0] &= ~0x00000008u;\n}\ninline void FieldOptions::clear_lazy() {\n  lazy_ = false;\n  clear_has_lazy();\n}\ninline bool FieldOptions::lazy() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.lazy)\n  return lazy_;\n}\ninline void FieldOptions::set_lazy(bool value) {\n  set_has_lazy();\n  lazy_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.lazy)\n}\n\n// optional bool deprecated = 3 [default = false];\ninline bool FieldOptions::has_deprecated() const {\n  return (_has_bits_[0] & 0x00000010u) != 0;\n}\ninline void FieldOptions::set_has_deprecated() {\n  _has_bits_[0] |= 0x00000010u;\n}\ninline void FieldOptions::clear_has_deprecated() {\n  _has_bits_[0] &= ~0x00000010u;\n}\ninline void FieldOptions::clear_deprecated() {\n  deprecated_ = false;\n  clear_has_deprecated();\n}\ninline bool FieldOptions::deprecated() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.deprecated)\n  return deprecated_;\n}\ninline void FieldOptions::set_deprecated(bool value) {\n  set_has_deprecated();\n  deprecated_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.deprecated)\n}\n\n// optional bool weak = 10 [default = false];\ninline bool FieldOptions::has_weak() const {\n  return (_has_bits_[0] & 0x00000020u) != 0;\n}\ninline void FieldOptions::set_has_weak() {\n  _has_bits_[0] |= 0x00000020u;\n}\ninline void FieldOptions::clear_has_weak() {\n  _has_bits_[0] &= ~0x00000020u;\n}\ninline void FieldOptions::clear_weak() {\n  weak_ = false;\n  clear_has_weak();\n}\ninline bool FieldOptions::weak() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.weak)\n  return weak_;\n}\ninline void FieldOptions::set_weak(bool value) {\n  set_has_weak();\n  weak_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.weak)\n}\n\n// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\ninline int FieldOptions::uninterpreted_option_size() const {\n  return uninterpreted_option_.size();\n}\ninline void FieldOptions::clear_uninterpreted_option() {\n  uninterpreted_option_.Clear();\n}\ninline const ::google::protobuf::UninterpretedOption& FieldOptions::uninterpreted_option(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.uninterpreted_option)\n  return uninterpreted_option_.Get(index);\n}\ninline ::google::protobuf::UninterpretedOption* FieldOptions::mutable_uninterpreted_option(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.uninterpreted_option)\n  return uninterpreted_option_.Mutable(index);\n}\ninline ::google::protobuf::UninterpretedOption* FieldOptions::add_uninterpreted_option() {\n  // @@protoc_insertion_point(field_add:google.protobuf.FieldOptions.uninterpreted_option)\n  return uninterpreted_option_.Add();\n}\ninline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*\nFieldOptions::mutable_uninterpreted_option() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.FieldOptions.uninterpreted_option)\n  return &uninterpreted_option_;\n}\ninline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&\nFieldOptions::uninterpreted_option() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.uninterpreted_option)\n  return uninterpreted_option_;\n}\n\n// -------------------------------------------------------------------\n\n// EnumOptions\n\n// optional bool allow_alias = 2;\ninline bool EnumOptions::has_allow_alias() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\ninline void EnumOptions::set_has_allow_alias() {\n  _has_bits_[0] |= 0x00000001u;\n}\ninline void EnumOptions::clear_has_allow_alias() {\n  _has_bits_[0] &= ~0x00000001u;\n}\ninline void EnumOptions::clear_allow_alias() {\n  allow_alias_ = false;\n  clear_has_allow_alias();\n}\ninline bool EnumOptions::allow_alias() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.allow_alias)\n  return allow_alias_;\n}\ninline void EnumOptions::set_allow_alias(bool value) {\n  set_has_allow_alias();\n  allow_alias_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.allow_alias)\n}\n\n// optional bool deprecated = 3 [default = false];\ninline bool EnumOptions::has_deprecated() const {\n  return (_has_bits_[0] & 0x00000002u) != 0;\n}\ninline void EnumOptions::set_has_deprecated() {\n  _has_bits_[0] |= 0x00000002u;\n}\ninline void EnumOptions::clear_has_deprecated() {\n  _has_bits_[0] &= ~0x00000002u;\n}\ninline void EnumOptions::clear_deprecated() {\n  deprecated_ = false;\n  clear_has_deprecated();\n}\ninline bool EnumOptions::deprecated() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.deprecated)\n  return deprecated_;\n}\ninline void EnumOptions::set_deprecated(bool value) {\n  set_has_deprecated();\n  deprecated_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.deprecated)\n}\n\n// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\ninline int EnumOptions::uninterpreted_option_size() const {\n  return uninterpreted_option_.size();\n}\ninline void EnumOptions::clear_uninterpreted_option() {\n  uninterpreted_option_.Clear();\n}\ninline const ::google::protobuf::UninterpretedOption& EnumOptions::uninterpreted_option(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.uninterpreted_option)\n  return uninterpreted_option_.Get(index);\n}\ninline ::google::protobuf::UninterpretedOption* EnumOptions::mutable_uninterpreted_option(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.EnumOptions.uninterpreted_option)\n  return uninterpreted_option_.Mutable(index);\n}\ninline ::google::protobuf::UninterpretedOption* EnumOptions::add_uninterpreted_option() {\n  // @@protoc_insertion_point(field_add:google.protobuf.EnumOptions.uninterpreted_option)\n  return uninterpreted_option_.Add();\n}\ninline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*\nEnumOptions::mutable_uninterpreted_option() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumOptions.uninterpreted_option)\n  return &uninterpreted_option_;\n}\ninline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&\nEnumOptions::uninterpreted_option() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.EnumOptions.uninterpreted_option)\n  return uninterpreted_option_;\n}\n\n// -------------------------------------------------------------------\n\n// EnumValueOptions\n\n// optional bool deprecated = 1 [default = false];\ninline bool EnumValueOptions::has_deprecated() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\ninline void EnumValueOptions::set_has_deprecated() {\n  _has_bits_[0] |= 0x00000001u;\n}\ninline void EnumValueOptions::clear_has_deprecated() {\n  _has_bits_[0] &= ~0x00000001u;\n}\ninline void EnumValueOptions::clear_deprecated() {\n  deprecated_ = false;\n  clear_has_deprecated();\n}\ninline bool EnumValueOptions::deprecated() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.deprecated)\n  return deprecated_;\n}\ninline void EnumValueOptions::set_deprecated(bool value) {\n  set_has_deprecated();\n  deprecated_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.EnumValueOptions.deprecated)\n}\n\n// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\ninline int EnumValueOptions::uninterpreted_option_size() const {\n  return uninterpreted_option_.size();\n}\ninline void EnumValueOptions::clear_uninterpreted_option() {\n  uninterpreted_option_.Clear();\n}\ninline const ::google::protobuf::UninterpretedOption& EnumValueOptions::uninterpreted_option(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.uninterpreted_option)\n  return uninterpreted_option_.Get(index);\n}\ninline ::google::protobuf::UninterpretedOption* EnumValueOptions::mutable_uninterpreted_option(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueOptions.uninterpreted_option)\n  return uninterpreted_option_.Mutable(index);\n}\ninline ::google::protobuf::UninterpretedOption* EnumValueOptions::add_uninterpreted_option() {\n  // @@protoc_insertion_point(field_add:google.protobuf.EnumValueOptions.uninterpreted_option)\n  return uninterpreted_option_.Add();\n}\ninline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*\nEnumValueOptions::mutable_uninterpreted_option() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumValueOptions.uninterpreted_option)\n  return &uninterpreted_option_;\n}\ninline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&\nEnumValueOptions::uninterpreted_option() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.EnumValueOptions.uninterpreted_option)\n  return uninterpreted_option_;\n}\n\n// -------------------------------------------------------------------\n\n// ServiceOptions\n\n// optional bool deprecated = 33 [default = false];\ninline bool ServiceOptions::has_deprecated() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\ninline void ServiceOptions::set_has_deprecated() {\n  _has_bits_[0] |= 0x00000001u;\n}\ninline void ServiceOptions::clear_has_deprecated() {\n  _has_bits_[0] &= ~0x00000001u;\n}\ninline void ServiceOptions::clear_deprecated() {\n  deprecated_ = false;\n  clear_has_deprecated();\n}\ninline bool ServiceOptions::deprecated() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.deprecated)\n  return deprecated_;\n}\ninline void ServiceOptions::set_deprecated(bool value) {\n  set_has_deprecated();\n  deprecated_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.ServiceOptions.deprecated)\n}\n\n// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\ninline int ServiceOptions::uninterpreted_option_size() const {\n  return uninterpreted_option_.size();\n}\ninline void ServiceOptions::clear_uninterpreted_option() {\n  uninterpreted_option_.Clear();\n}\ninline const ::google::protobuf::UninterpretedOption& ServiceOptions::uninterpreted_option(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.uninterpreted_option)\n  return uninterpreted_option_.Get(index);\n}\ninline ::google::protobuf::UninterpretedOption* ServiceOptions::mutable_uninterpreted_option(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceOptions.uninterpreted_option)\n  return uninterpreted_option_.Mutable(index);\n}\ninline ::google::protobuf::UninterpretedOption* ServiceOptions::add_uninterpreted_option() {\n  // @@protoc_insertion_point(field_add:google.protobuf.ServiceOptions.uninterpreted_option)\n  return uninterpreted_option_.Add();\n}\ninline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*\nServiceOptions::mutable_uninterpreted_option() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceOptions.uninterpreted_option)\n  return &uninterpreted_option_;\n}\ninline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&\nServiceOptions::uninterpreted_option() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.ServiceOptions.uninterpreted_option)\n  return uninterpreted_option_;\n}\n\n// -------------------------------------------------------------------\n\n// MethodOptions\n\n// optional bool deprecated = 33 [default = false];\ninline bool MethodOptions::has_deprecated() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\ninline void MethodOptions::set_has_deprecated() {\n  _has_bits_[0] |= 0x00000001u;\n}\ninline void MethodOptions::clear_has_deprecated() {\n  _has_bits_[0] &= ~0x00000001u;\n}\ninline void MethodOptions::clear_deprecated() {\n  deprecated_ = false;\n  clear_has_deprecated();\n}\ninline bool MethodOptions::deprecated() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.deprecated)\n  return deprecated_;\n}\ninline void MethodOptions::set_deprecated(bool value) {\n  set_has_deprecated();\n  deprecated_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.deprecated)\n}\n\n// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;\ninline int MethodOptions::uninterpreted_option_size() const {\n  return uninterpreted_option_.size();\n}\ninline void MethodOptions::clear_uninterpreted_option() {\n  uninterpreted_option_.Clear();\n}\ninline const ::google::protobuf::UninterpretedOption& MethodOptions::uninterpreted_option(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.uninterpreted_option)\n  return uninterpreted_option_.Get(index);\n}\ninline ::google::protobuf::UninterpretedOption* MethodOptions::mutable_uninterpreted_option(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.MethodOptions.uninterpreted_option)\n  return uninterpreted_option_.Mutable(index);\n}\ninline ::google::protobuf::UninterpretedOption* MethodOptions::add_uninterpreted_option() {\n  // @@protoc_insertion_point(field_add:google.protobuf.MethodOptions.uninterpreted_option)\n  return uninterpreted_option_.Add();\n}\ninline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*\nMethodOptions::mutable_uninterpreted_option() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.MethodOptions.uninterpreted_option)\n  return &uninterpreted_option_;\n}\ninline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&\nMethodOptions::uninterpreted_option() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.MethodOptions.uninterpreted_option)\n  return uninterpreted_option_;\n}\n\n// -------------------------------------------------------------------\n\n// UninterpretedOption_NamePart\n\n// required string name_part = 1;\ninline bool UninterpretedOption_NamePart::has_name_part() const {\n  return (_has_bits_[0] & 0x00000001u) != 0;\n}\ninline void UninterpretedOption_NamePart::set_has_name_part() {\n  _has_bits_[0] |= 0x00000001u;\n}\ninline void UninterpretedOption_NamePart::clear_has_name_part() {\n  _has_bits_[0] &= ~0x00000001u;\n}\ninline void UninterpretedOption_NamePart::clear_name_part() {\n  name_part_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_name_part();\n}\ninline const ::std::string& UninterpretedOption_NamePart::name_part() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.name_part)\n  return name_part_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void UninterpretedOption_NamePart::set_name_part(const ::std::string& value) {\n  set_has_name_part();\n  name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.name_part)\n}\ninline void UninterpretedOption_NamePart::set_name_part(const char* value) {\n  set_has_name_part();\n  name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.NamePart.name_part)\n}\ninline void UninterpretedOption_NamePart::set_name_part(const char* value, size_t size) {\n  set_has_name_part();\n  name_part_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.NamePart.name_part)\n}\ninline ::std::string* UninterpretedOption_NamePart::mutable_name_part() {\n  set_has_name_part();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.NamePart.name_part)\n  return name_part_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* UninterpretedOption_NamePart::release_name_part() {\n  // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.NamePart.name_part)\n  clear_has_name_part();\n  return name_part_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void UninterpretedOption_NamePart::set_allocated_name_part(::std::string* name_part) {\n  if (name_part != NULL) {\n    set_has_name_part();\n  } else {\n    clear_has_name_part();\n  }\n  name_part_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name_part);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.NamePart.name_part)\n}\n\n// required bool is_extension = 2;\ninline bool UninterpretedOption_NamePart::has_is_extension() const {\n  return (_has_bits_[0] & 0x00000002u) != 0;\n}\ninline void UninterpretedOption_NamePart::set_has_is_extension() {\n  _has_bits_[0] |= 0x00000002u;\n}\ninline void UninterpretedOption_NamePart::clear_has_is_extension() {\n  _has_bits_[0] &= ~0x00000002u;\n}\ninline void UninterpretedOption_NamePart::clear_is_extension() {\n  is_extension_ = false;\n  clear_has_is_extension();\n}\ninline bool UninterpretedOption_NamePart::is_extension() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.is_extension)\n  return is_extension_;\n}\ninline void UninterpretedOption_NamePart::set_is_extension(bool value) {\n  set_has_is_extension();\n  is_extension_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.is_extension)\n}\n\n// -------------------------------------------------------------------\n\n// UninterpretedOption\n\n// repeated .google.protobuf.UninterpretedOption.NamePart name = 2;\ninline int UninterpretedOption::name_size() const {\n  return name_.size();\n}\ninline void UninterpretedOption::clear_name() {\n  name_.Clear();\n}\ninline const ::google::protobuf::UninterpretedOption_NamePart& UninterpretedOption::name(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.name)\n  return name_.Get(index);\n}\ninline ::google::protobuf::UninterpretedOption_NamePart* UninterpretedOption::mutable_name(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.name)\n  return name_.Mutable(index);\n}\ninline ::google::protobuf::UninterpretedOption_NamePart* UninterpretedOption::add_name() {\n  // @@protoc_insertion_point(field_add:google.protobuf.UninterpretedOption.name)\n  return name_.Add();\n}\ninline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart >*\nUninterpretedOption::mutable_name() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.UninterpretedOption.name)\n  return &name_;\n}\ninline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart >&\nUninterpretedOption::name() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.UninterpretedOption.name)\n  return name_;\n}\n\n// optional string identifier_value = 3;\ninline bool UninterpretedOption::has_identifier_value() const {\n  return (_has_bits_[0] & 0x00000002u) != 0;\n}\ninline void UninterpretedOption::set_has_identifier_value() {\n  _has_bits_[0] |= 0x00000002u;\n}\ninline void UninterpretedOption::clear_has_identifier_value() {\n  _has_bits_[0] &= ~0x00000002u;\n}\ninline void UninterpretedOption::clear_identifier_value() {\n  identifier_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_identifier_value();\n}\ninline const ::std::string& UninterpretedOption::identifier_value() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.identifier_value)\n  return identifier_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void UninterpretedOption::set_identifier_value(const ::std::string& value) {\n  set_has_identifier_value();\n  identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.identifier_value)\n}\ninline void UninterpretedOption::set_identifier_value(const char* value) {\n  set_has_identifier_value();\n  identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.identifier_value)\n}\ninline void UninterpretedOption::set_identifier_value(const char* value, size_t size) {\n  set_has_identifier_value();\n  identifier_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.identifier_value)\n}\ninline ::std::string* UninterpretedOption::mutable_identifier_value() {\n  set_has_identifier_value();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.identifier_value)\n  return identifier_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* UninterpretedOption::release_identifier_value() {\n  // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.identifier_value)\n  clear_has_identifier_value();\n  return identifier_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void UninterpretedOption::set_allocated_identifier_value(::std::string* identifier_value) {\n  if (identifier_value != NULL) {\n    set_has_identifier_value();\n  } else {\n    clear_has_identifier_value();\n  }\n  identifier_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), identifier_value);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.identifier_value)\n}\n\n// optional uint64 positive_int_value = 4;\ninline bool UninterpretedOption::has_positive_int_value() const {\n  return (_has_bits_[0] & 0x00000004u) != 0;\n}\ninline void UninterpretedOption::set_has_positive_int_value() {\n  _has_bits_[0] |= 0x00000004u;\n}\ninline void UninterpretedOption::clear_has_positive_int_value() {\n  _has_bits_[0] &= ~0x00000004u;\n}\ninline void UninterpretedOption::clear_positive_int_value() {\n  positive_int_value_ = GOOGLE_ULONGLONG(0);\n  clear_has_positive_int_value();\n}\ninline ::google::protobuf::uint64 UninterpretedOption::positive_int_value() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.positive_int_value)\n  return positive_int_value_;\n}\ninline void UninterpretedOption::set_positive_int_value(::google::protobuf::uint64 value) {\n  set_has_positive_int_value();\n  positive_int_value_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.positive_int_value)\n}\n\n// optional int64 negative_int_value = 5;\ninline bool UninterpretedOption::has_negative_int_value() const {\n  return (_has_bits_[0] & 0x00000008u) != 0;\n}\ninline void UninterpretedOption::set_has_negative_int_value() {\n  _has_bits_[0] |= 0x00000008u;\n}\ninline void UninterpretedOption::clear_has_negative_int_value() {\n  _has_bits_[0] &= ~0x00000008u;\n}\ninline void UninterpretedOption::clear_negative_int_value() {\n  negative_int_value_ = GOOGLE_LONGLONG(0);\n  clear_has_negative_int_value();\n}\ninline ::google::protobuf::int64 UninterpretedOption::negative_int_value() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.negative_int_value)\n  return negative_int_value_;\n}\ninline void UninterpretedOption::set_negative_int_value(::google::protobuf::int64 value) {\n  set_has_negative_int_value();\n  negative_int_value_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.negative_int_value)\n}\n\n// optional double double_value = 6;\ninline bool UninterpretedOption::has_double_value() const {\n  return (_has_bits_[0] & 0x00000010u) != 0;\n}\ninline void UninterpretedOption::set_has_double_value() {\n  _has_bits_[0] |= 0x00000010u;\n}\ninline void UninterpretedOption::clear_has_double_value() {\n  _has_bits_[0] &= ~0x00000010u;\n}\ninline void UninterpretedOption::clear_double_value() {\n  double_value_ = 0;\n  clear_has_double_value();\n}\ninline double UninterpretedOption::double_value() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.double_value)\n  return double_value_;\n}\ninline void UninterpretedOption::set_double_value(double value) {\n  set_has_double_value();\n  double_value_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.double_value)\n}\n\n// optional bytes string_value = 7;\ninline bool UninterpretedOption::has_string_value() const {\n  return (_has_bits_[0] & 0x00000020u) != 0;\n}\ninline void UninterpretedOption::set_has_string_value() {\n  _has_bits_[0] |= 0x00000020u;\n}\ninline void UninterpretedOption::clear_has_string_value() {\n  _has_bits_[0] &= ~0x00000020u;\n}\ninline void UninterpretedOption::clear_string_value() {\n  string_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_string_value();\n}\ninline const ::std::string& UninterpretedOption::string_value() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.string_value)\n  return string_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void UninterpretedOption::set_string_value(const ::std::string& value) {\n  set_has_string_value();\n  string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.string_value)\n}\ninline void UninterpretedOption::set_string_value(const char* value) {\n  set_has_string_value();\n  string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.string_value)\n}\ninline void UninterpretedOption::set_string_value(const void* value, size_t size) {\n  set_has_string_value();\n  string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.string_value)\n}\ninline ::std::string* UninterpretedOption::mutable_string_value() {\n  set_has_string_value();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.string_value)\n  return string_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* UninterpretedOption::release_string_value() {\n  // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.string_value)\n  clear_has_string_value();\n  return string_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void UninterpretedOption::set_allocated_string_value(::std::string* string_value) {\n  if (string_value != NULL) {\n    set_has_string_value();\n  } else {\n    clear_has_string_value();\n  }\n  string_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), string_value);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.string_value)\n}\n\n// optional string aggregate_value = 8;\ninline bool UninterpretedOption::has_aggregate_value() const {\n  return (_has_bits_[0] & 0x00000040u) != 0;\n}\ninline void UninterpretedOption::set_has_aggregate_value() {\n  _has_bits_[0] |= 0x00000040u;\n}\ninline void UninterpretedOption::clear_has_aggregate_value() {\n  _has_bits_[0] &= ~0x00000040u;\n}\ninline void UninterpretedOption::clear_aggregate_value() {\n  aggregate_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_aggregate_value();\n}\ninline const ::std::string& UninterpretedOption::aggregate_value() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.aggregate_value)\n  return aggregate_value_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void UninterpretedOption::set_aggregate_value(const ::std::string& value) {\n  set_has_aggregate_value();\n  aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.aggregate_value)\n}\ninline void UninterpretedOption::set_aggregate_value(const char* value) {\n  set_has_aggregate_value();\n  aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.UninterpretedOption.aggregate_value)\n}\ninline void UninterpretedOption::set_aggregate_value(const char* value, size_t size) {\n  set_has_aggregate_value();\n  aggregate_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.UninterpretedOption.aggregate_value)\n}\ninline ::std::string* UninterpretedOption::mutable_aggregate_value() {\n  set_has_aggregate_value();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.aggregate_value)\n  return aggregate_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* UninterpretedOption::release_aggregate_value() {\n  // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.aggregate_value)\n  clear_has_aggregate_value();\n  return aggregate_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void UninterpretedOption::set_allocated_aggregate_value(::std::string* aggregate_value) {\n  if (aggregate_value != NULL) {\n    set_has_aggregate_value();\n  } else {\n    clear_has_aggregate_value();\n  }\n  aggregate_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), aggregate_value);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.aggregate_value)\n}\n\n// -------------------------------------------------------------------\n\n// SourceCodeInfo_Location\n\n// repeated int32 path = 1 [packed = true];\ninline int SourceCodeInfo_Location::path_size() const {\n  return path_.size();\n}\ninline void SourceCodeInfo_Location::clear_path() {\n  path_.Clear();\n}\ninline ::google::protobuf::int32 SourceCodeInfo_Location::path(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.path)\n  return path_.Get(index);\n}\ninline void SourceCodeInfo_Location::set_path(int index, ::google::protobuf::int32 value) {\n  path_.Set(index, value);\n  // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.path)\n}\ninline void SourceCodeInfo_Location::add_path(::google::protobuf::int32 value) {\n  path_.Add(value);\n  // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.path)\n}\ninline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&\nSourceCodeInfo_Location::path() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.path)\n  return path_;\n}\ninline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*\nSourceCodeInfo_Location::mutable_path() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.path)\n  return &path_;\n}\n\n// repeated int32 span = 2 [packed = true];\ninline int SourceCodeInfo_Location::span_size() const {\n  return span_.size();\n}\ninline void SourceCodeInfo_Location::clear_span() {\n  span_.Clear();\n}\ninline ::google::protobuf::int32 SourceCodeInfo_Location::span(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.span)\n  return span_.Get(index);\n}\ninline void SourceCodeInfo_Location::set_span(int index, ::google::protobuf::int32 value) {\n  span_.Set(index, value);\n  // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.span)\n}\ninline void SourceCodeInfo_Location::add_span(::google::protobuf::int32 value) {\n  span_.Add(value);\n  // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.span)\n}\ninline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&\nSourceCodeInfo_Location::span() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.span)\n  return span_;\n}\ninline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*\nSourceCodeInfo_Location::mutable_span() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.span)\n  return &span_;\n}\n\n// optional string leading_comments = 3;\ninline bool SourceCodeInfo_Location::has_leading_comments() const {\n  return (_has_bits_[0] & 0x00000004u) != 0;\n}\ninline void SourceCodeInfo_Location::set_has_leading_comments() {\n  _has_bits_[0] |= 0x00000004u;\n}\ninline void SourceCodeInfo_Location::clear_has_leading_comments() {\n  _has_bits_[0] &= ~0x00000004u;\n}\ninline void SourceCodeInfo_Location::clear_leading_comments() {\n  leading_comments_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_leading_comments();\n}\ninline const ::std::string& SourceCodeInfo_Location::leading_comments() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_comments)\n  return leading_comments_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void SourceCodeInfo_Location::set_leading_comments(const ::std::string& value) {\n  set_has_leading_comments();\n  leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_comments)\n}\ninline void SourceCodeInfo_Location::set_leading_comments(const char* value) {\n  set_has_leading_comments();\n  leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Location.leading_comments)\n}\ninline void SourceCodeInfo_Location::set_leading_comments(const char* value, size_t size) {\n  set_has_leading_comments();\n  leading_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.Location.leading_comments)\n}\ninline ::std::string* SourceCodeInfo_Location::mutable_leading_comments() {\n  set_has_leading_comments();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_comments)\n  return leading_comments_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* SourceCodeInfo_Location::release_leading_comments() {\n  // @@protoc_insertion_point(field_release:google.protobuf.SourceCodeInfo.Location.leading_comments)\n  clear_has_leading_comments();\n  return leading_comments_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void SourceCodeInfo_Location::set_allocated_leading_comments(::std::string* leading_comments) {\n  if (leading_comments != NULL) {\n    set_has_leading_comments();\n  } else {\n    clear_has_leading_comments();\n  }\n  leading_comments_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), leading_comments);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.leading_comments)\n}\n\n// optional string trailing_comments = 4;\ninline bool SourceCodeInfo_Location::has_trailing_comments() const {\n  return (_has_bits_[0] & 0x00000008u) != 0;\n}\ninline void SourceCodeInfo_Location::set_has_trailing_comments() {\n  _has_bits_[0] |= 0x00000008u;\n}\ninline void SourceCodeInfo_Location::clear_has_trailing_comments() {\n  _has_bits_[0] &= ~0x00000008u;\n}\ninline void SourceCodeInfo_Location::clear_trailing_comments() {\n  trailing_comments_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_trailing_comments();\n}\ninline const ::std::string& SourceCodeInfo_Location::trailing_comments() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.trailing_comments)\n  return trailing_comments_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void SourceCodeInfo_Location::set_trailing_comments(const ::std::string& value) {\n  set_has_trailing_comments();\n  trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.trailing_comments)\n}\ninline void SourceCodeInfo_Location::set_trailing_comments(const char* value) {\n  set_has_trailing_comments();\n  trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Location.trailing_comments)\n}\ninline void SourceCodeInfo_Location::set_trailing_comments(const char* value, size_t size) {\n  set_has_trailing_comments();\n  trailing_comments_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.Location.trailing_comments)\n}\ninline ::std::string* SourceCodeInfo_Location::mutable_trailing_comments() {\n  set_has_trailing_comments();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.trailing_comments)\n  return trailing_comments_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* SourceCodeInfo_Location::release_trailing_comments() {\n  // @@protoc_insertion_point(field_release:google.protobuf.SourceCodeInfo.Location.trailing_comments)\n  clear_has_trailing_comments();\n  return trailing_comments_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void SourceCodeInfo_Location::set_allocated_trailing_comments(::std::string* trailing_comments) {\n  if (trailing_comments != NULL) {\n    set_has_trailing_comments();\n  } else {\n    clear_has_trailing_comments();\n  }\n  trailing_comments_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), trailing_comments);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.trailing_comments)\n}\n\n// repeated string leading_detached_comments = 6;\ninline int SourceCodeInfo_Location::leading_detached_comments_size() const {\n  return leading_detached_comments_.size();\n}\ninline void SourceCodeInfo_Location::clear_leading_detached_comments() {\n  leading_detached_comments_.Clear();\n}\ninline const ::std::string& SourceCodeInfo_Location::leading_detached_comments(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)\n  return leading_detached_comments_.Get(index);\n}\ninline ::std::string* SourceCodeInfo_Location::mutable_leading_detached_comments(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)\n  return leading_detached_comments_.Mutable(index);\n}\ninline void SourceCodeInfo_Location::set_leading_detached_comments(int index, const ::std::string& value) {\n  // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)\n  leading_detached_comments_.Mutable(index)->assign(value);\n}\ninline void SourceCodeInfo_Location::set_leading_detached_comments(int index, const char* value) {\n  leading_detached_comments_.Mutable(index)->assign(value);\n  // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)\n}\ninline void SourceCodeInfo_Location::set_leading_detached_comments(int index, const char* value, size_t size) {\n  leading_detached_comments_.Mutable(index)->assign(\n    reinterpret_cast<const char*>(value), size);\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)\n}\ninline ::std::string* SourceCodeInfo_Location::add_leading_detached_comments() {\n  // @@protoc_insertion_point(field_add_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)\n  return leading_detached_comments_.Add();\n}\ninline void SourceCodeInfo_Location::add_leading_detached_comments(const ::std::string& value) {\n  leading_detached_comments_.Add()->assign(value);\n  // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)\n}\ninline void SourceCodeInfo_Location::add_leading_detached_comments(const char* value) {\n  leading_detached_comments_.Add()->assign(value);\n  // @@protoc_insertion_point(field_add_char:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)\n}\ninline void SourceCodeInfo_Location::add_leading_detached_comments(const char* value, size_t size) {\n  leading_detached_comments_.Add()->assign(reinterpret_cast<const char*>(value), size);\n  // @@protoc_insertion_point(field_add_pointer:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)\n}\ninline const ::google::protobuf::RepeatedPtrField< ::std::string>&\nSourceCodeInfo_Location::leading_detached_comments() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)\n  return leading_detached_comments_;\n}\ninline ::google::protobuf::RepeatedPtrField< ::std::string>*\nSourceCodeInfo_Location::mutable_leading_detached_comments() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments)\n  return &leading_detached_comments_;\n}\n\n// -------------------------------------------------------------------\n\n// SourceCodeInfo\n\n// repeated .google.protobuf.SourceCodeInfo.Location location = 1;\ninline int SourceCodeInfo::location_size() const {\n  return location_.size();\n}\ninline void SourceCodeInfo::clear_location() {\n  location_.Clear();\n}\ninline const ::google::protobuf::SourceCodeInfo_Location& SourceCodeInfo::location(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.location)\n  return location_.Get(index);\n}\ninline ::google::protobuf::SourceCodeInfo_Location* SourceCodeInfo::mutable_location(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.location)\n  return location_.Mutable(index);\n}\ninline ::google::protobuf::SourceCodeInfo_Location* SourceCodeInfo::add_location() {\n  // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.location)\n  return location_.Add();\n}\ninline ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location >*\nSourceCodeInfo::mutable_location() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.location)\n  return &location_;\n}\ninline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location >&\nSourceCodeInfo::location() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.location)\n  return location_;\n}\n\n// -------------------------------------------------------------------\n\n// GeneratedCodeInfo_Annotation\n\n// repeated int32 path = 1 [packed = true];\ninline int GeneratedCodeInfo_Annotation::path_size() const {\n  return path_.size();\n}\ninline void GeneratedCodeInfo_Annotation::clear_path() {\n  path_.Clear();\n}\ninline ::google::protobuf::int32 GeneratedCodeInfo_Annotation::path(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.path)\n  return path_.Get(index);\n}\ninline void GeneratedCodeInfo_Annotation::set_path(int index, ::google::protobuf::int32 value) {\n  path_.Set(index, value);\n  // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.path)\n}\ninline void GeneratedCodeInfo_Annotation::add_path(::google::protobuf::int32 value) {\n  path_.Add(value);\n  // @@protoc_insertion_point(field_add:google.protobuf.GeneratedCodeInfo.Annotation.path)\n}\ninline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&\nGeneratedCodeInfo_Annotation::path() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.GeneratedCodeInfo.Annotation.path)\n  return path_;\n}\ninline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*\nGeneratedCodeInfo_Annotation::mutable_path() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeInfo.Annotation.path)\n  return &path_;\n}\n\n// optional string source_file = 2;\ninline bool GeneratedCodeInfo_Annotation::has_source_file() const {\n  return (_has_bits_[0] & 0x00000002u) != 0;\n}\ninline void GeneratedCodeInfo_Annotation::set_has_source_file() {\n  _has_bits_[0] |= 0x00000002u;\n}\ninline void GeneratedCodeInfo_Annotation::clear_has_source_file() {\n  _has_bits_[0] &= ~0x00000002u;\n}\ninline void GeneratedCodeInfo_Annotation::clear_source_file() {\n  source_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n  clear_has_source_file();\n}\ninline const ::std::string& GeneratedCodeInfo_Annotation::source_file() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.source_file)\n  return source_file_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void GeneratedCodeInfo_Annotation::set_source_file(const ::std::string& value) {\n  set_has_source_file();\n  source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);\n  // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.source_file)\n}\ninline void GeneratedCodeInfo_Annotation::set_source_file(const char* value) {\n  set_has_source_file();\n  source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));\n  // @@protoc_insertion_point(field_set_char:google.protobuf.GeneratedCodeInfo.Annotation.source_file)\n}\ninline void GeneratedCodeInfo_Annotation::set_source_file(const char* value, size_t size) {\n  set_has_source_file();\n  source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),\n      ::std::string(reinterpret_cast<const char*>(value), size));\n  // @@protoc_insertion_point(field_set_pointer:google.protobuf.GeneratedCodeInfo.Annotation.source_file)\n}\ninline ::std::string* GeneratedCodeInfo_Annotation::mutable_source_file() {\n  set_has_source_file();\n  // @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.Annotation.source_file)\n  return source_file_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline ::std::string* GeneratedCodeInfo_Annotation::release_source_file() {\n  // @@protoc_insertion_point(field_release:google.protobuf.GeneratedCodeInfo.Annotation.source_file)\n  clear_has_source_file();\n  return source_file_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());\n}\ninline void GeneratedCodeInfo_Annotation::set_allocated_source_file(::std::string* source_file) {\n  if (source_file != NULL) {\n    set_has_source_file();\n  } else {\n    clear_has_source_file();\n  }\n  source_file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), source_file);\n  // @@protoc_insertion_point(field_set_allocated:google.protobuf.GeneratedCodeInfo.Annotation.source_file)\n}\n\n// optional int32 begin = 3;\ninline bool GeneratedCodeInfo_Annotation::has_begin() const {\n  return (_has_bits_[0] & 0x00000004u) != 0;\n}\ninline void GeneratedCodeInfo_Annotation::set_has_begin() {\n  _has_bits_[0] |= 0x00000004u;\n}\ninline void GeneratedCodeInfo_Annotation::clear_has_begin() {\n  _has_bits_[0] &= ~0x00000004u;\n}\ninline void GeneratedCodeInfo_Annotation::clear_begin() {\n  begin_ = 0;\n  clear_has_begin();\n}\ninline ::google::protobuf::int32 GeneratedCodeInfo_Annotation::begin() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.begin)\n  return begin_;\n}\ninline void GeneratedCodeInfo_Annotation::set_begin(::google::protobuf::int32 value) {\n  set_has_begin();\n  begin_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.begin)\n}\n\n// optional int32 end = 4;\ninline bool GeneratedCodeInfo_Annotation::has_end() const {\n  return (_has_bits_[0] & 0x00000008u) != 0;\n}\ninline void GeneratedCodeInfo_Annotation::set_has_end() {\n  _has_bits_[0] |= 0x00000008u;\n}\ninline void GeneratedCodeInfo_Annotation::clear_has_end() {\n  _has_bits_[0] &= ~0x00000008u;\n}\ninline void GeneratedCodeInfo_Annotation::clear_end() {\n  end_ = 0;\n  clear_has_end();\n}\ninline ::google::protobuf::int32 GeneratedCodeInfo_Annotation::end() const {\n  // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.end)\n  return end_;\n}\ninline void GeneratedCodeInfo_Annotation::set_end(::google::protobuf::int32 value) {\n  set_has_end();\n  end_ = value;\n  // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.end)\n}\n\n// -------------------------------------------------------------------\n\n// GeneratedCodeInfo\n\n// repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;\ninline int GeneratedCodeInfo::annotation_size() const {\n  return annotation_.size();\n}\ninline void GeneratedCodeInfo::clear_annotation() {\n  annotation_.Clear();\n}\ninline const ::google::protobuf::GeneratedCodeInfo_Annotation& GeneratedCodeInfo::annotation(int index) const {\n  // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.annotation)\n  return annotation_.Get(index);\n}\ninline ::google::protobuf::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::mutable_annotation(int index) {\n  // @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.annotation)\n  return annotation_.Mutable(index);\n}\ninline ::google::protobuf::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::add_annotation() {\n  // @@protoc_insertion_point(field_add:google.protobuf.GeneratedCodeInfo.annotation)\n  return annotation_.Add();\n}\ninline ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_Annotation >*\nGeneratedCodeInfo::mutable_annotation() {\n  // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeInfo.annotation)\n  return &annotation_;\n}\ninline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_Annotation >&\nGeneratedCodeInfo::annotation() const {\n  // @@protoc_insertion_point(field_list:google.protobuf.GeneratedCodeInfo.annotation)\n  return annotation_;\n}\n\n#endif  // !PROTOBUF_INLINE_NOT_IN_HEADERS\n// -------------------------------------------------------------------\n\n// -------------------------------------------------------------------\n\n// -------------------------------------------------------------------\n\n// -------------------------------------------------------------------\n\n// -------------------------------------------------------------------\n\n// -------------------------------------------------------------------\n\n// -------------------------------------------------------------------\n\n// -------------------------------------------------------------------\n\n// -------------------------------------------------------------------\n\n// -------------------------------------------------------------------\n\n// -------------------------------------------------------------------\n\n// -------------------------------------------------------------------\n\n// -------------------------------------------------------------------\n\n// -------------------------------------------------------------------\n\n// -------------------------------------------------------------------\n\n// -------------------------------------------------------------------\n\n// -------------------------------------------------------------------\n\n// -------------------------------------------------------------------\n\n// -------------------------------------------------------------------\n\n// -------------------------------------------------------------------\n\n// -------------------------------------------------------------------\n\n// -------------------------------------------------------------------\n\n// -------------------------------------------------------------------\n\n\n// @@protoc_insertion_point(namespace_scope)\n\n}  // namespace protobuf\n}  // namespace google\n\n#ifndef SWIG\nnamespace google {\nnamespace protobuf {\n\ntemplate <> struct is_proto_enum< ::google::protobuf::FieldDescriptorProto_Type> : ::google::protobuf::internal::true_type {};\ntemplate <>\ninline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldDescriptorProto_Type>() {\n  return ::google::protobuf::FieldDescriptorProto_Type_descriptor();\n}\ntemplate <> struct is_proto_enum< ::google::protobuf::FieldDescriptorProto_Label> : ::google::protobuf::internal::true_type {};\ntemplate <>\ninline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldDescriptorProto_Label>() {\n  return ::google::protobuf::FieldDescriptorProto_Label_descriptor();\n}\ntemplate <> struct is_proto_enum< ::google::protobuf::FileOptions_OptimizeMode> : ::google::protobuf::internal::true_type {};\ntemplate <>\ninline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FileOptions_OptimizeMode>() {\n  return ::google::protobuf::FileOptions_OptimizeMode_descriptor();\n}\ntemplate <> struct is_proto_enum< ::google::protobuf::FieldOptions_CType> : ::google::protobuf::internal::true_type {};\ntemplate <>\ninline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldOptions_CType>() {\n  return ::google::protobuf::FieldOptions_CType_descriptor();\n}\ntemplate <> struct is_proto_enum< ::google::protobuf::FieldOptions_JSType> : ::google::protobuf::internal::true_type {};\ntemplate <>\ninline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::FieldOptions_JSType>() {\n  return ::google::protobuf::FieldOptions_JSType_descriptor();\n}\n\n}  // namespace protobuf\n}  // namespace google\n#endif  // SWIG\n\n// @@protoc_insertion_point(global_scope)\n\n#endif  // PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED\n"
  },
  {
    "path": "deps/cpplint/samples/protobuf-sample/src/descriptor_unittest.cc",
    "content": "// Protocol Buffers - Google's data interchange format\n// Copyright 2008 Google Inc.  All rights reserved.\n// https://developers.google.com/protocol-buffers/\n//\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions are\n// met:\n//\n//     * Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n//     * Redistributions in binary form must reproduce the above\n// copyright notice, this list of conditions and the following disclaimer\n// in the documentation and/or other materials provided with the\n// distribution.\n//     * Neither the name of Google Inc. nor the names of its\n// contributors may be used to endorse or promote products derived from\n// this software without specific prior written permission.\n//\n// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n// \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n// Author: kenton@google.com (Kenton Varda)\n//  Based on original Protocol Buffers design by\n//  Sanjay Ghemawat, Jeff Dean, and others.\n//\n// This file makes extensive use of RFC 3092.  :)\n\n#include <memory>\n#ifndef _SHARED_PTR_H\n#include <google/protobuf/stubs/shared_ptr.h>\n#endif\n#include <vector>\n\n#include <google/protobuf/compiler/importer.h>\n#include <google/protobuf/unittest.pb.h>\n#include <google/protobuf/unittest_custom_options.pb.h>\n#include <google/protobuf/io/zero_copy_stream_impl.h>\n#include <google/protobuf/descriptor.pb.h>\n#include <google/protobuf/descriptor.h>\n#include <google/protobuf/descriptor_database.h>\n#include <google/protobuf/dynamic_message.h>\n#include <google/protobuf/text_format.h>\n#include <google/protobuf/stubs/strutil.h>\n#include <google/protobuf/stubs/substitute.h>\n\n#include <google/protobuf/stubs/common.h>\n#include <google/protobuf/stubs/logging.h>\n#include <google/protobuf/stubs/logging.h>\n#include <google/protobuf/stubs/scoped_ptr.h>\n#include <google/protobuf/testing/googletest.h>\n#include <gtest/gtest.h>\n\nnamespace google {\nnamespace protobuf {\n\n// Can't use an anonymous namespace here due to brokenness of Tru64 compiler.\nnamespace descriptor_unittest {\n\n// Some helpers to make assembling descriptors faster.\nDescriptorProto* AddMessage(FileDescriptorProto* file, const string& name) {\n  DescriptorProto* result = file->add_message_type();\n  result->set_name(name);\n  return result;\n}\n\nDescriptorProto* AddNestedMessage(DescriptorProto* parent, const string& name) {\n  DescriptorProto* result = parent->add_nested_type();\n  result->set_name(name);\n  return result;\n}\n\nEnumDescriptorProto* AddEnum(FileDescriptorProto* file, const string& name) {\n  EnumDescriptorProto* result = file->add_enum_type();\n  result->set_name(name);\n  return result;\n}\n\nEnumDescriptorProto* AddNestedEnum(DescriptorProto* parent,\n                                   const string& name) {\n  EnumDescriptorProto* result = parent->add_enum_type();\n  result->set_name(name);\n  return result;\n}\n\nServiceDescriptorProto* AddService(FileDescriptorProto* file,\n                                   const string& name) {\n  ServiceDescriptorProto* result = file->add_service();\n  result->set_name(name);\n  return result;\n}\n\nFieldDescriptorProto* AddField(DescriptorProto* parent,\n                               const string& name, int number,\n                               FieldDescriptorProto::Label label,\n                               FieldDescriptorProto::Type type) {\n  FieldDescriptorProto* result = parent->add_field();\n  result->set_name(name);\n  result->set_number(number);\n  result->set_label(label);\n  result->set_type(type);\n  return result;\n}\n\nFieldDescriptorProto* AddExtension(FileDescriptorProto* file,\n                                   const string& extendee,\n                                   const string& name, int number,\n                                   FieldDescriptorProto::Label label,\n                                   FieldDescriptorProto::Type type) {\n  FieldDescriptorProto* result = file->add_extension();\n  result->set_name(name);\n  result->set_number(number);\n  result->set_label(label);\n  result->set_type(type);\n  result->set_extendee(extendee);\n  return result;\n}\n\nFieldDescriptorProto* AddNestedExtension(DescriptorProto* parent,\n                                         const string& extendee,\n                                         const string& name, int number,\n                                         FieldDescriptorProto::Label label,\n                                         FieldDescriptorProto::Type type) {\n  FieldDescriptorProto* result = parent->add_extension();\n  result->set_name(name);\n  result->set_number(number);\n  result->set_label(label);\n  result->set_type(type);\n  result->set_extendee(extendee);\n  return result;\n}\n\nDescriptorProto::ExtensionRange* AddExtensionRange(DescriptorProto* parent,\n                                                   int start, int end) {\n  DescriptorProto::ExtensionRange* result = parent->add_extension_range();\n  result->set_start(start);\n  result->set_end(end);\n  return result;\n}\n\nDescriptorProto::ReservedRange* AddReservedRange(DescriptorProto* parent,\n                                                 int start, int end) {\n  DescriptorProto::ReservedRange* result = parent->add_reserved_range();\n  result->set_start(start);\n  result->set_end(end);\n  return result;\n}\n\nEnumValueDescriptorProto* AddEnumValue(EnumDescriptorProto* enum_proto,\n                                       const string& name, int number) {\n  EnumValueDescriptorProto* result = enum_proto->add_value();\n  result->set_name(name);\n  result->set_number(number);\n  return result;\n}\n\nMethodDescriptorProto* AddMethod(ServiceDescriptorProto* service,\n                                 const string& name,\n                                 const string& input_type,\n                                 const string& output_type) {\n  MethodDescriptorProto* result = service->add_method();\n  result->set_name(name);\n  result->set_input_type(input_type);\n  result->set_output_type(output_type);\n  return result;\n}\n\n// Empty enums technically aren't allowed.  We need to insert a dummy value\n// into them.\nvoid AddEmptyEnum(FileDescriptorProto* file, const string& name) {\n  AddEnumValue(AddEnum(file, name), name + \"_DUMMY\", 1);\n}\n\nclass MockErrorCollector : public DescriptorPool::ErrorCollector {\n public:\n  MockErrorCollector() {}\n  ~MockErrorCollector() {}\n\n  string text_;\n  string warning_text_;\n\n  // implements ErrorCollector ---------------------------------------\n  void AddError(const string& filename,\n                const string& element_name, const Message* descriptor,\n                ErrorLocation location, const string& message) {\n    const char* location_name = NULL;\n    switch (location) {\n      case NAME         : location_name = \"NAME\"         ; break;\n      case NUMBER       : location_name = \"NUMBER\"       ; break;\n      case TYPE         : location_name = \"TYPE\"         ; break;\n      case EXTENDEE     : location_name = \"EXTENDEE\"     ; break;\n      case DEFAULT_VALUE: location_name = \"DEFAULT_VALUE\"; break;\n      case OPTION_NAME  : location_name = \"OPTION_NAME\"  ; break;\n      case OPTION_VALUE : location_name = \"OPTION_VALUE\" ; break;\n      case INPUT_TYPE   : location_name = \"INPUT_TYPE\"   ; break;\n      case OUTPUT_TYPE  : location_name = \"OUTPUT_TYPE\"  ; break;\n      case OTHER        : location_name = \"OTHER\"        ; break;\n    }\n\n    strings::SubstituteAndAppend(\n      &text_, \"$0: $1: $2: $3\\n\",\n      filename, element_name, location_name, message);\n  }\n\n  // implements ErrorCollector ---------------------------------------\n  void AddWarning(const string& filename, const string& element_name,\n                  const Message* descriptor, ErrorLocation location,\n                  const string& message) {\n    const char* location_name = NULL;\n    switch (location) {\n      case NAME         : location_name = \"NAME\"         ; break;\n      case NUMBER       : location_name = \"NUMBER\"       ; break;\n      case TYPE         : location_name = \"TYPE\"         ; break;\n      case EXTENDEE     : location_name = \"EXTENDEE\"     ; break;\n      case DEFAULT_VALUE: location_name = \"DEFAULT_VALUE\"; break;\n      case OPTION_NAME  : location_name = \"OPTION_NAME\"  ; break;\n      case OPTION_VALUE : location_name = \"OPTION_VALUE\" ; break;\n      case INPUT_TYPE   : location_name = \"INPUT_TYPE\"   ; break;\n      case OUTPUT_TYPE  : location_name = \"OUTPUT_TYPE\"  ; break;\n      case OTHER        : location_name = \"OTHER\"        ; break;\n    }\n\n    strings::SubstituteAndAppend(\n      &warning_text_, \"$0: $1: $2: $3\\n\",\n      filename, element_name, location_name, message);\n  }\n};\n\n// ===================================================================\n\n// Test simple files.\nclass FileDescriptorTest : public testing::Test {\n protected:\n  virtual void SetUp() {\n    // Build descriptors for the following definitions:\n    //\n    //   // in \"foo.proto\"\n    //   message FooMessage { extensions 1; }\n    //   enum FooEnum {FOO_ENUM_VALUE = 1;}\n    //   service FooService {}\n    //   extend FooMessage { optional int32 foo_extension = 1; }\n    //\n    //   // in \"bar.proto\"\n    //   package bar_package;\n    //   message BarMessage { extensions 1; }\n    //   enum BarEnum {BAR_ENUM_VALUE = 1;}\n    //   service BarService {}\n    //   extend BarMessage { optional int32 bar_extension = 1; }\n    //\n    // Also, we have an empty file \"baz.proto\".  This file's purpose is to\n    // make sure that even though it has the same package as foo.proto,\n    // searching it for members of foo.proto won't work.\n\n    FileDescriptorProto foo_file;\n    foo_file.set_name(\"foo.proto\");\n    AddExtensionRange(AddMessage(&foo_file, \"FooMessage\"), 1, 2);\n    AddEnumValue(AddEnum(&foo_file, \"FooEnum\"), \"FOO_ENUM_VALUE\", 1);\n    AddService(&foo_file, \"FooService\");\n    AddExtension(&foo_file, \"FooMessage\", \"foo_extension\", 1,\n                 FieldDescriptorProto::LABEL_OPTIONAL,\n                 FieldDescriptorProto::TYPE_INT32);\n\n    FileDescriptorProto bar_file;\n    bar_file.set_name(\"bar.proto\");\n    bar_file.set_package(\"bar_package\");\n    bar_file.add_dependency(\"foo.proto\");\n    AddExtensionRange(AddMessage(&bar_file, \"BarMessage\"), 1, 2);\n    AddEnumValue(AddEnum(&bar_file, \"BarEnum\"), \"BAR_ENUM_VALUE\", 1);\n    AddService(&bar_file, \"BarService\");\n    AddExtension(&bar_file, \"bar_package.BarMessage\", \"bar_extension\", 1,\n                 FieldDescriptorProto::LABEL_OPTIONAL,\n                 FieldDescriptorProto::TYPE_INT32);\n\n    FileDescriptorProto baz_file;\n    baz_file.set_name(\"baz.proto\");\n\n    // Build the descriptors and get the pointers.\n    foo_file_ = pool_.BuildFile(foo_file);\n    ASSERT_TRUE(foo_file_ != NULL);\n\n    bar_file_ = pool_.BuildFile(bar_file);\n    ASSERT_TRUE(bar_file_ != NULL);\n\n    baz_file_ = pool_.BuildFile(baz_file);\n    ASSERT_TRUE(baz_file_ != NULL);\n\n    ASSERT_EQ(1, foo_file_->message_type_count());\n    foo_message_ = foo_file_->message_type(0);\n    ASSERT_EQ(1, foo_file_->enum_type_count());\n    foo_enum_ = foo_file_->enum_type(0);\n    ASSERT_EQ(1, foo_enum_->value_count());\n    foo_enum_value_ = foo_enum_->value(0);\n    ASSERT_EQ(1, foo_file_->service_count());\n    foo_service_ = foo_file_->service(0);\n    ASSERT_EQ(1, foo_file_->extension_count());\n    foo_extension_ = foo_file_->extension(0);\n\n    ASSERT_EQ(1, bar_file_->message_type_count());\n    bar_message_ = bar_file_->message_type(0);\n    ASSERT_EQ(1, bar_file_->enum_type_count());\n    bar_enum_ = bar_file_->enum_type(0);\n    ASSERT_EQ(1, bar_enum_->value_count());\n    bar_enum_value_ = bar_enum_->value(0);\n    ASSERT_EQ(1, bar_file_->service_count());\n    bar_service_ = bar_file_->service(0);\n    ASSERT_EQ(1, bar_file_->extension_count());\n    bar_extension_ = bar_file_->extension(0);\n  }\n\n  DescriptorPool pool_;\n\n  const FileDescriptor* foo_file_;\n  const FileDescriptor* bar_file_;\n  const FileDescriptor* baz_file_;\n\n  const Descriptor*          foo_message_;\n  const EnumDescriptor*      foo_enum_;\n  const EnumValueDescriptor* foo_enum_value_;\n  const ServiceDescriptor*   foo_service_;\n  const FieldDescriptor*     foo_extension_;\n\n  const Descriptor*          bar_message_;\n  const EnumDescriptor*      bar_enum_;\n  const EnumValueDescriptor* bar_enum_value_;\n  const ServiceDescriptor*   bar_service_;\n  const FieldDescriptor*     bar_extension_;\n};\n\nTEST_F(FileDescriptorTest, Name) {\n  EXPECT_EQ(\"foo.proto\", foo_file_->name());\n  EXPECT_EQ(\"bar.proto\", bar_file_->name());\n  EXPECT_EQ(\"baz.proto\", baz_file_->name());\n}\n\nTEST_F(FileDescriptorTest, Package) {\n  EXPECT_EQ(\"\", foo_file_->package());\n  EXPECT_EQ(\"bar_package\", bar_file_->package());\n}\n\nTEST_F(FileDescriptorTest, Dependencies) {\n  EXPECT_EQ(0, foo_file_->dependency_count());\n  EXPECT_EQ(1, bar_file_->dependency_count());\n  EXPECT_EQ(foo_file_, bar_file_->dependency(0));\n}\n\nTEST_F(FileDescriptorTest, FindMessageTypeByName) {\n  EXPECT_EQ(foo_message_, foo_file_->FindMessageTypeByName(\"FooMessage\"));\n  EXPECT_EQ(bar_message_, bar_file_->FindMessageTypeByName(\"BarMessage\"));\n\n  EXPECT_TRUE(foo_file_->FindMessageTypeByName(\"BarMessage\") == NULL);\n  EXPECT_TRUE(bar_file_->FindMessageTypeByName(\"FooMessage\") == NULL);\n  EXPECT_TRUE(baz_file_->FindMessageTypeByName(\"FooMessage\") == NULL);\n\n  EXPECT_TRUE(foo_file_->FindMessageTypeByName(\"NoSuchMessage\") == NULL);\n  EXPECT_TRUE(foo_file_->FindMessageTypeByName(\"FooEnum\") == NULL);\n}\n\nTEST_F(FileDescriptorTest, FindEnumTypeByName) {\n  EXPECT_EQ(foo_enum_, foo_file_->FindEnumTypeByName(\"FooEnum\"));\n  EXPECT_EQ(bar_enum_, bar_file_->FindEnumTypeByName(\"BarEnum\"));\n\n  EXPECT_TRUE(foo_file_->FindEnumTypeByName(\"BarEnum\") == NULL);\n  EXPECT_TRUE(bar_file_->FindEnumTypeByName(\"FooEnum\") == NULL);\n  EXPECT_TRUE(baz_file_->FindEnumTypeByName(\"FooEnum\") == NULL);\n\n  EXPECT_TRUE(foo_file_->FindEnumTypeByName(\"NoSuchEnum\") == NULL);\n  EXPECT_TRUE(foo_file_->FindEnumTypeByName(\"FooMessage\") == NULL);\n}\n\nTEST_F(FileDescriptorTest, FindEnumValueByName) {\n  EXPECT_EQ(foo_enum_value_, foo_file_->FindEnumValueByName(\"FOO_ENUM_VALUE\"));\n  EXPECT_EQ(bar_enum_value_, bar_file_->FindEnumValueByName(\"BAR_ENUM_VALUE\"));\n\n  EXPECT_TRUE(foo_file_->FindEnumValueByName(\"BAR_ENUM_VALUE\") == NULL);\n  EXPECT_TRUE(bar_file_->FindEnumValueByName(\"FOO_ENUM_VALUE\") == NULL);\n  EXPECT_TRUE(baz_file_->FindEnumValueByName(\"FOO_ENUM_VALUE\") == NULL);\n\n  EXPECT_TRUE(foo_file_->FindEnumValueByName(\"NO_SUCH_VALUE\") == NULL);\n  EXPECT_TRUE(foo_file_->FindEnumValueByName(\"FooMessage\") == NULL);\n}\n\nTEST_F(FileDescriptorTest, FindServiceByName) {\n  EXPECT_EQ(foo_service_, foo_file_->FindServiceByName(\"FooService\"));\n  EXPECT_EQ(bar_service_, bar_file_->FindServiceByName(\"BarService\"));\n\n  EXPECT_TRUE(foo_file_->FindServiceByName(\"BarService\") == NULL);\n  EXPECT_TRUE(bar_file_->FindServiceByName(\"FooService\") == NULL);\n  EXPECT_TRUE(baz_file_->FindServiceByName(\"FooService\") == NULL);\n\n  EXPECT_TRUE(foo_file_->FindServiceByName(\"NoSuchService\") == NULL);\n  EXPECT_TRUE(foo_file_->FindServiceByName(\"FooMessage\") == NULL);\n}\n\nTEST_F(FileDescriptorTest, FindExtensionByName) {\n  EXPECT_EQ(foo_extension_, foo_file_->FindExtensionByName(\"foo_extension\"));\n  EXPECT_EQ(bar_extension_, bar_file_->FindExtensionByName(\"bar_extension\"));\n\n  EXPECT_TRUE(foo_file_->FindExtensionByName(\"bar_extension\") == NULL);\n  EXPECT_TRUE(bar_file_->FindExtensionByName(\"foo_extension\") == NULL);\n  EXPECT_TRUE(baz_file_->FindExtensionByName(\"foo_extension\") == NULL);\n\n  EXPECT_TRUE(foo_file_->FindExtensionByName(\"no_such_extension\") == NULL);\n  EXPECT_TRUE(foo_file_->FindExtensionByName(\"FooMessage\") == NULL);\n}\n\nTEST_F(FileDescriptorTest, FindExtensionByNumber) {\n  EXPECT_EQ(foo_extension_, pool_.FindExtensionByNumber(foo_message_, 1));\n  EXPECT_EQ(bar_extension_, pool_.FindExtensionByNumber(bar_message_, 1));\n\n  EXPECT_TRUE(pool_.FindExtensionByNumber(foo_message_, 2) == NULL);\n}\n\nTEST_F(FileDescriptorTest, BuildAgain) {\n  // Test that if te call BuildFile again on the same input we get the same\n  // FileDescriptor back.\n  FileDescriptorProto file;\n  foo_file_->CopyTo(&file);\n  EXPECT_EQ(foo_file_, pool_.BuildFile(file));\n\n  // But if we change the file then it won't work.\n  file.set_package(\"some.other.package\");\n  EXPECT_TRUE(pool_.BuildFile(file) == NULL);\n}\n\nTEST_F(FileDescriptorTest, BuildAgainWithSyntax) {\n  // Test that if te call BuildFile again on the same input we get the same\n  // FileDescriptor back even if syntax param is specified.\n  FileDescriptorProto proto_syntax2;\n  proto_syntax2.set_name(\"foo_syntax2\");\n  proto_syntax2.set_syntax(\"proto2\");\n\n  const FileDescriptor* proto2_descriptor = pool_.BuildFile(proto_syntax2);\n  EXPECT_TRUE(proto2_descriptor != NULL);\n  EXPECT_EQ(proto2_descriptor, pool_.BuildFile(proto_syntax2));\n\n  FileDescriptorProto implicit_proto2;\n  implicit_proto2.set_name(\"foo_implicit_syntax2\");\n\n  const FileDescriptor* implicit_proto2_descriptor =\n      pool_.BuildFile(implicit_proto2);\n  EXPECT_TRUE(implicit_proto2_descriptor != NULL);\n  // We get the same FileDescriptor back if syntax param is explicitly\n  // specified.\n  implicit_proto2.set_syntax(\"proto2\");\n  EXPECT_EQ(implicit_proto2_descriptor, pool_.BuildFile(implicit_proto2));\n\n  FileDescriptorProto proto_syntax3;\n  proto_syntax3.set_name(\"foo_syntax3\");\n  proto_syntax3.set_syntax(\"proto3\");\n\n  const FileDescriptor* proto3_descriptor = pool_.BuildFile(proto_syntax3);\n  EXPECT_TRUE(proto3_descriptor != NULL);\n  EXPECT_EQ(proto3_descriptor, pool_.BuildFile(proto_syntax3));\n}\n\nTEST_F(FileDescriptorTest, Syntax) {\n  FileDescriptorProto proto;\n  proto.set_name(\"foo\");\n  // Enable the test when we also populate the syntax for proto2.\n#if 0\n  {\n    proto.set_syntax(\"proto2\");\n    DescriptorPool pool;\n    const FileDescriptor* file = pool.BuildFile(proto);\n    EXPECT_TRUE(file != NULL);\n    EXPECT_EQ(FileDescriptor::SYNTAX_PROTO2, file->syntax());\n    FileDescriptorProto other;\n    file->CopyTo(&other);\n    EXPECT_EQ(\"proto2\", other.syntax());\n  }\n#endif\n  {\n    proto.set_syntax(\"proto3\");\n    DescriptorPool pool;\n    const FileDescriptor* file = pool.BuildFile(proto);\n    EXPECT_TRUE(file != NULL);\n    EXPECT_EQ(FileDescriptor::SYNTAX_PROTO3, file->syntax());\n    FileDescriptorProto other;\n    file->CopyTo(&other);\n    EXPECT_EQ(\"proto3\", other.syntax());\n  }\n}\n\n// ===================================================================\n\n// Test simple flat messages and fields.\nclass DescriptorTest : public testing::Test {\n protected:\n  virtual void SetUp() {\n    // Build descriptors for the following definitions:\n    //\n    //   // in \"foo.proto\"\n    //   message TestForeign {}\n    //   enum TestEnum {}\n    //\n    //   message TestMessage {\n    //     required string      foo = 1;\n    //     optional TestEnum    bar = 6;\n    //     repeated TestForeign baz = 500000000;\n    //     optional group       qux = 15 {}\n    //   }\n    //\n    //   // in \"bar.proto\"\n    //   package corge.grault;\n    //   message TestMessage2 {\n    //     required string foo = 1;\n    //     required string bar = 2;\n    //     required string quux = 6;\n    //   }\n    //\n    //   // in \"map.proto\"\n    //   message TestMessage3 {\n    //     map<int32, int32> map_int32_int32 = 1;\n    //   }\n    //\n    //   // in \"json.proto\"\n    //   message TestMessage4 {\n    //     optional int32 field_name1 = 1;\n    //     optional int32 fieldName2 = 2;\n    //     optional int32 FieldName3 = 3;\n    //     optional int32 _field_name4 = 4;\n    //     optional int32 FIELD_NAME5 = 5;\n    //     optional int32 field_name6 = 6 [json_name = \"@type\"];\n    //   }\n    //\n    // We cheat and use TestForeign as the type for qux rather than create\n    // an actual nested type.\n    //\n    // Since all primitive types (including string) use the same building\n    // code, there's no need to test each one individually.\n    //\n    // TestMessage2 is primarily here to test FindFieldByName and friends.\n    // All messages created from the same DescriptorPool share the same lookup\n    // table, so we need to insure that they don't interfere.\n\n    FileDescriptorProto foo_file;\n    foo_file.set_name(\"foo.proto\");\n    AddMessage(&foo_file, \"TestForeign\");\n    AddEmptyEnum(&foo_file, \"TestEnum\");\n\n    DescriptorProto* message = AddMessage(&foo_file, \"TestMessage\");\n    AddField(message, \"foo\", 1,\n             FieldDescriptorProto::LABEL_REQUIRED,\n             FieldDescriptorProto::TYPE_STRING);\n    AddField(message, \"bar\", 6,\n             FieldDescriptorProto::LABEL_OPTIONAL,\n             FieldDescriptorProto::TYPE_ENUM)\n      ->set_type_name(\"TestEnum\");\n    AddField(message, \"baz\", 500000000,\n             FieldDescriptorProto::LABEL_REPEATED,\n             FieldDescriptorProto::TYPE_MESSAGE)\n      ->set_type_name(\"TestForeign\");\n    AddField(message, \"qux\", 15,\n             FieldDescriptorProto::LABEL_OPTIONAL,\n             FieldDescriptorProto::TYPE_GROUP)\n      ->set_type_name(\"TestForeign\");\n\n    FileDescriptorProto bar_file;\n    bar_file.set_name(\"bar.proto\");\n    bar_file.set_package(\"corge.grault\");\n\n    DescriptorProto* message2 = AddMessage(&bar_file, \"TestMessage2\");\n    AddField(message2, \"foo\", 1,\n             FieldDescriptorProto::LABEL_REQUIRED,\n             FieldDescriptorProto::TYPE_STRING);\n    AddField(message2, \"bar\", 2,\n             FieldDescriptorProto::LABEL_REQUIRED,\n             FieldDescriptorProto::TYPE_STRING);\n    AddField(message2, \"quux\", 6,\n             FieldDescriptorProto::LABEL_REQUIRED,\n             FieldDescriptorProto::TYPE_STRING);\n\n    FileDescriptorProto map_file;\n    map_file.set_name(\"map.proto\");\n    DescriptorProto* message3 = AddMessage(&map_file, \"TestMessage3\");\n\n    DescriptorProto* entry = AddNestedMessage(message3, \"MapInt32Int32Entry\");\n    AddField(entry, \"key\", 1,\n             FieldDescriptorProto::LABEL_OPTIONAL,\n             FieldDescriptorProto::TYPE_INT32);\n    AddField(entry, \"value\", 2,\n             FieldDescriptorProto::LABEL_OPTIONAL,\n             FieldDescriptorProto::TYPE_INT32);\n    entry->mutable_options()->set_map_entry(true);\n\n    AddField(message3, \"map_int32_int32\", 1,\n             FieldDescriptorProto::LABEL_REPEATED,\n             FieldDescriptorProto::TYPE_MESSAGE)\n        ->set_type_name(\"MapInt32Int32Entry\");\n\n    FileDescriptorProto json_file;\n    json_file.set_name(\"json.proto\");\n    json_file.set_syntax(\"proto3\");\n    DescriptorProto* message4 = AddMessage(&json_file, \"TestMessage4\");\n    AddField(message4, \"field_name1\", 1,\n             FieldDescriptorProto::LABEL_OPTIONAL,\n             FieldDescriptorProto::TYPE_INT32);\n    AddField(message4, \"fieldName2\", 2,\n             FieldDescriptorProto::LABEL_OPTIONAL,\n             FieldDescriptorProto::TYPE_INT32);\n    AddField(message4, \"FieldName3\", 3,\n             FieldDescriptorProto::LABEL_OPTIONAL,\n             FieldDescriptorProto::TYPE_INT32);\n    AddField(message4, \"_field_name4\", 4,\n             FieldDescriptorProto::LABEL_OPTIONAL,\n             FieldDescriptorProto::TYPE_INT32);\n    AddField(message4, \"FIELD_NAME5\", 5,\n             FieldDescriptorProto::LABEL_OPTIONAL,\n             FieldDescriptorProto::TYPE_INT32);\n    AddField(message4, \"field_name6\", 6,\n             FieldDescriptorProto::LABEL_OPTIONAL,\n             FieldDescriptorProto::TYPE_INT32)\n        ->set_json_name(\"@type\");\n\n    // Build the descriptors and get the pointers.\n    foo_file_ = pool_.BuildFile(foo_file);\n    ASSERT_TRUE(foo_file_ != NULL);\n\n    bar_file_ = pool_.BuildFile(bar_file);\n    ASSERT_TRUE(bar_file_ != NULL);\n\n    map_file_ = pool_.BuildFile(map_file);\n    ASSERT_TRUE(map_file_ != NULL);\n\n    json_file_ = pool_.BuildFile(json_file);\n    ASSERT_TRUE(json_file_ != NULL);\n\n    ASSERT_EQ(1, foo_file_->enum_type_count());\n    enum_ = foo_file_->enum_type(0);\n\n    ASSERT_EQ(2, foo_file_->message_type_count());\n    foreign_ = foo_file_->message_type(0);\n    message_ = foo_file_->message_type(1);\n\n    ASSERT_EQ(4, message_->field_count());\n    foo_ = message_->field(0);\n    bar_ = message_->field(1);\n    baz_ = message_->field(2);\n    qux_ = message_->field(3);\n\n    ASSERT_EQ(1, bar_file_->message_type_count());\n    message2_ = bar_file_->message_type(0);\n\n    ASSERT_EQ(3, message2_->field_count());\n    foo2_  = message2_->field(0);\n    bar2_  = message2_->field(1);\n    quux2_ = message2_->field(2);\n\n    ASSERT_EQ(1, map_file_->message_type_count());\n    message3_ = map_file_->message_type(0);\n\n    ASSERT_EQ(1, message3_->field_count());\n    map_  = message3_->field(0);\n\n    ASSERT_EQ(1, json_file_->message_type_count());\n    message4_ = json_file_->message_type(0);\n  }\n\n  void CopyWithJsonName(const Descriptor* message, DescriptorProto* proto) {\n    message->CopyTo(proto);\n    message->CopyJsonNameTo(proto);\n  }\n\n  DescriptorPool pool_;\n\n  const FileDescriptor* foo_file_;\n  const FileDescriptor* bar_file_;\n  const FileDescriptor* map_file_;\n  const FileDescriptor* json_file_;\n\n  const Descriptor* message_;\n  const Descriptor* message2_;\n  const Descriptor* message3_;\n  const Descriptor* message4_;\n  const Descriptor* foreign_;\n  const EnumDescriptor* enum_;\n\n  const FieldDescriptor* foo_;\n  const FieldDescriptor* bar_;\n  const FieldDescriptor* baz_;\n  const FieldDescriptor* qux_;\n\n  const FieldDescriptor* foo2_;\n  const FieldDescriptor* bar2_;\n  const FieldDescriptor* quux2_;\n\n  const FieldDescriptor* map_;\n};\n\nTEST_F(DescriptorTest, Name) {\n  EXPECT_EQ(\"TestMessage\", message_->name());\n  EXPECT_EQ(\"TestMessage\", message_->full_name());\n  EXPECT_EQ(foo_file_, message_->file());\n\n  EXPECT_EQ(\"TestMessage2\", message2_->name());\n  EXPECT_EQ(\"corge.grault.TestMessage2\", message2_->full_name());\n  EXPECT_EQ(bar_file_, message2_->file());\n}\n\nTEST_F(DescriptorTest, ContainingType) {\n  EXPECT_TRUE(message_->containing_type() == NULL);\n  EXPECT_TRUE(message2_->containing_type() == NULL);\n}\n\nTEST_F(DescriptorTest, FieldsByIndex) {\n  ASSERT_EQ(4, message_->field_count());\n  EXPECT_EQ(foo_, message_->field(0));\n  EXPECT_EQ(bar_, message_->field(1));\n  EXPECT_EQ(baz_, message_->field(2));\n  EXPECT_EQ(qux_, message_->field(3));\n}\n\nTEST_F(DescriptorTest, FindFieldByName) {\n  // All messages in the same DescriptorPool share a single lookup table for\n  // fields.  So, in addition to testing that FindFieldByName finds the fields\n  // of the message, we need to test that it does *not* find the fields of\n  // *other* messages.\n\n  EXPECT_EQ(foo_, message_->FindFieldByName(\"foo\"));\n  EXPECT_EQ(bar_, message_->FindFieldByName(\"bar\"));\n  EXPECT_EQ(baz_, message_->FindFieldByName(\"baz\"));\n  EXPECT_EQ(qux_, message_->FindFieldByName(\"qux\"));\n  EXPECT_TRUE(message_->FindFieldByName(\"no_such_field\") == NULL);\n  EXPECT_TRUE(message_->FindFieldByName(\"quux\") == NULL);\n\n  EXPECT_EQ(foo2_ , message2_->FindFieldByName(\"foo\" ));\n  EXPECT_EQ(bar2_ , message2_->FindFieldByName(\"bar\" ));\n  EXPECT_EQ(quux2_, message2_->FindFieldByName(\"quux\"));\n  EXPECT_TRUE(message2_->FindFieldByName(\"baz\") == NULL);\n  EXPECT_TRUE(message2_->FindFieldByName(\"qux\") == NULL);\n}\n\nTEST_F(DescriptorTest, FindFieldByNumber) {\n  EXPECT_EQ(foo_, message_->FindFieldByNumber(1));\n  EXPECT_EQ(bar_, message_->FindFieldByNumber(6));\n  EXPECT_EQ(baz_, message_->FindFieldByNumber(500000000));\n  EXPECT_EQ(qux_, message_->FindFieldByNumber(15));\n  EXPECT_TRUE(message_->FindFieldByNumber(837592) == NULL);\n  EXPECT_TRUE(message_->FindFieldByNumber(2) == NULL);\n\n  EXPECT_EQ(foo2_ , message2_->FindFieldByNumber(1));\n  EXPECT_EQ(bar2_ , message2_->FindFieldByNumber(2));\n  EXPECT_EQ(quux2_, message2_->FindFieldByNumber(6));\n  EXPECT_TRUE(message2_->FindFieldByNumber(15) == NULL);\n  EXPECT_TRUE(message2_->FindFieldByNumber(500000000) == NULL);\n}\n\nTEST_F(DescriptorTest, FieldName) {\n  EXPECT_EQ(\"foo\", foo_->name());\n  EXPECT_EQ(\"bar\", bar_->name());\n  EXPECT_EQ(\"baz\", baz_->name());\n  EXPECT_EQ(\"qux\", qux_->name());\n}\n\nTEST_F(DescriptorTest, FieldFullName) {\n  EXPECT_EQ(\"TestMessage.foo\", foo_->full_name());\n  EXPECT_EQ(\"TestMessage.bar\", bar_->full_name());\n  EXPECT_EQ(\"TestMessage.baz\", baz_->full_name());\n  EXPECT_EQ(\"TestMessage.qux\", qux_->full_name());\n\n  EXPECT_EQ(\"corge.grault.TestMessage2.foo\", foo2_->full_name());\n  EXPECT_EQ(\"corge.grault.TestMessage2.bar\", bar2_->full_name());\n  EXPECT_EQ(\"corge.grault.TestMessage2.quux\", quux2_->full_name());\n}\n\nTEST_F(DescriptorTest, FieldJsonName) {\n  EXPECT_EQ(\"fieldName1\", message4_->field(0)->json_name());\n  EXPECT_EQ(\"fieldName2\", message4_->field(1)->json_name());\n  EXPECT_EQ(\"fieldName3\", message4_->field(2)->json_name());\n  EXPECT_EQ(\"fieldName4\", message4_->field(3)->json_name());\n  EXPECT_EQ(\"fIELDNAME5\", message4_->field(4)->json_name());\n  EXPECT_EQ(\"@type\", message4_->field(5)->json_name());\n\n  DescriptorProto proto;\n  message4_->CopyTo(&proto);\n  ASSERT_EQ(6, proto.field_size());\n  EXPECT_FALSE(proto.field(0).has_json_name());\n  EXPECT_FALSE(proto.field(1).has_json_name());\n  EXPECT_FALSE(proto.field(2).has_json_name());\n  EXPECT_FALSE(proto.field(3).has_json_name());\n  EXPECT_FALSE(proto.field(4).has_json_name());\n  EXPECT_EQ(\"@type\", proto.field(5).json_name());\n\n  proto.Clear();\n  CopyWithJsonName(message4_, &proto);\n  ASSERT_EQ(6, proto.field_size());\n  EXPECT_EQ(\"fieldName1\", proto.field(0).json_name());\n  EXPECT_EQ(\"fieldName2\", proto.field(1).json_name());\n  EXPECT_EQ(\"fieldName3\", proto.field(2).json_name());\n  EXPECT_EQ(\"fieldName4\", proto.field(3).json_name());\n  EXPECT_EQ(\"fIELDNAME5\", proto.field(4).json_name());\n  EXPECT_EQ(\"@type\", proto.field(5).json_name());\n}\n\nTEST_F(DescriptorTest, FieldFile) {\n  EXPECT_EQ(foo_file_, foo_->file());\n  EXPECT_EQ(foo_file_, bar_->file());\n  EXPECT_EQ(foo_file_, baz_->file());\n  EXPECT_EQ(foo_file_, qux_->file());\n\n  EXPECT_EQ(bar_file_, foo2_->file());\n  EXPECT_EQ(bar_file_, bar2_->file());\n  EXPECT_EQ(bar_file_, quux2_->file());\n}\n\nTEST_F(DescriptorTest, FieldIndex) {\n  EXPECT_EQ(0, foo_->index());\n  EXPECT_EQ(1, bar_->index());\n  EXPECT_EQ(2, baz_->index());\n  EXPECT_EQ(3, qux_->index());\n}\n\nTEST_F(DescriptorTest, FieldNumber) {\n  EXPECT_EQ(        1, foo_->number());\n  EXPECT_EQ(        6, bar_->number());\n  EXPECT_EQ(500000000, baz_->number());\n  EXPECT_EQ(       15, qux_->number());\n}\n\nTEST_F(DescriptorTest, FieldType) {\n  EXPECT_EQ(FieldDescriptor::TYPE_STRING , foo_->type());\n  EXPECT_EQ(FieldDescriptor::TYPE_ENUM   , bar_->type());\n  EXPECT_EQ(FieldDescriptor::TYPE_MESSAGE, baz_->type());\n  EXPECT_EQ(FieldDescriptor::TYPE_GROUP  , qux_->type());\n}\n\nTEST_F(DescriptorTest, FieldLabel) {\n  EXPECT_EQ(FieldDescriptor::LABEL_REQUIRED, foo_->label());\n  EXPECT_EQ(FieldDescriptor::LABEL_OPTIONAL, bar_->label());\n  EXPECT_EQ(FieldDescriptor::LABEL_REPEATED, baz_->label());\n  EXPECT_EQ(FieldDescriptor::LABEL_OPTIONAL, qux_->label());\n\n  EXPECT_TRUE (foo_->is_required());\n  EXPECT_FALSE(foo_->is_optional());\n  EXPECT_FALSE(foo_->is_repeated());\n\n  EXPECT_FALSE(bar_->is_required());\n  EXPECT_TRUE (bar_->is_optional());\n  EXPECT_FALSE(bar_->is_repeated());\n\n  EXPECT_FALSE(baz_->is_required());\n  EXPECT_FALSE(baz_->is_optional());\n  EXPECT_TRUE (baz_->is_repeated());\n}\n\nTEST_F(DescriptorTest, IsMap) {\n  EXPECT_TRUE(map_->is_map());\n  EXPECT_FALSE(baz_->is_map());\n  EXPECT_TRUE(map_->message_type()->options().map_entry());\n}\n\nTEST_F(DescriptorTest, FieldHasDefault) {\n  EXPECT_FALSE(foo_->has_default_value());\n  EXPECT_FALSE(bar_->has_default_value());\n  EXPECT_FALSE(baz_->has_default_value());\n  EXPECT_FALSE(qux_->has_default_value());\n}\n\nTEST_F(DescriptorTest, FieldContainingType) {\n  EXPECT_EQ(message_, foo_->containing_type());\n  EXPECT_EQ(message_, bar_->containing_type());\n  EXPECT_EQ(message_, baz_->containing_type());\n  EXPECT_EQ(message_, qux_->containing_type());\n\n  EXPECT_EQ(message2_, foo2_ ->containing_type());\n  EXPECT_EQ(message2_, bar2_ ->containing_type());\n  EXPECT_EQ(message2_, quux2_->containing_type());\n}\n\nTEST_F(DescriptorTest, FieldMessageType) {\n  EXPECT_TRUE(foo_->message_type() == NULL);\n  EXPECT_TRUE(bar_->message_type() == NULL);\n\n  EXPECT_EQ(foreign_, baz_->message_type());\n  EXPECT_EQ(foreign_, qux_->message_type());\n}\n\nTEST_F(DescriptorTest, FieldEnumType) {\n  EXPECT_TRUE(foo_->enum_type() == NULL);\n  EXPECT_TRUE(baz_->enum_type() == NULL);\n  EXPECT_TRUE(qux_->enum_type() == NULL);\n\n  EXPECT_EQ(enum_, bar_->enum_type());\n}\n\n// ===================================================================\n\n// Test simple flat messages and fields.\nclass OneofDescriptorTest : public testing::Test {\n protected:\n  virtual void SetUp() {\n    // Build descriptors for the following definitions:\n    //\n    //   package garply;\n    //   message TestOneof {\n    //     optional int32 a = 1;\n    //     oneof foo {\n    //       string b = 2;\n    //       TestOneof c = 3;\n    //     }\n    //     oneof bar {\n    //       float d = 4;\n    //     }\n    //   }\n\n    FileDescriptorProto baz_file;\n    baz_file.set_name(\"baz.proto\");\n    baz_file.set_package(\"garply\");\n\n    DescriptorProto* oneof_message = AddMessage(&baz_file, \"TestOneof\");\n    oneof_message->add_oneof_decl()->set_name(\"foo\");\n    oneof_message->add_oneof_decl()->set_name(\"bar\");\n\n    AddField(oneof_message, \"a\", 1,\n             FieldDescriptorProto::LABEL_OPTIONAL,\n             FieldDescriptorProto::TYPE_INT32);\n    AddField(oneof_message, \"b\", 2,\n             FieldDescriptorProto::LABEL_OPTIONAL,\n             FieldDescriptorProto::TYPE_STRING);\n    oneof_message->mutable_field(1)->set_oneof_index(0);\n    AddField(oneof_message, \"c\", 3,\n             FieldDescriptorProto::LABEL_OPTIONAL,\n             FieldDescriptorProto::TYPE_MESSAGE);\n    oneof_message->mutable_field(2)->set_oneof_index(0);\n    oneof_message->mutable_field(2)->set_type_name(\"TestOneof\");\n\n    AddField(oneof_message, \"d\", 4,\n             FieldDescriptorProto::LABEL_OPTIONAL,\n             FieldDescriptorProto::TYPE_FLOAT);\n    oneof_message->mutable_field(3)->set_oneof_index(1);\n\n    // Build the descriptors and get the pointers.\n    baz_file_ = pool_.BuildFile(baz_file);\n    ASSERT_TRUE(baz_file_ != NULL);\n\n    ASSERT_EQ(1, baz_file_->message_type_count());\n    oneof_message_ = baz_file_->message_type(0);\n\n    ASSERT_EQ(2, oneof_message_->oneof_decl_count());\n    oneof_ = oneof_message_->oneof_decl(0);\n    oneof2_ = oneof_message_->oneof_decl(1);\n\n    ASSERT_EQ(4, oneof_message_->field_count());\n    a_ = oneof_message_->field(0);\n    b_ = oneof_message_->field(1);\n    c_ = oneof_message_->field(2);\n    d_ = oneof_message_->field(3);\n  }\n\n  DescriptorPool pool_;\n\n  const FileDescriptor* baz_file_;\n\n  const Descriptor* oneof_message_;\n\n  const OneofDescriptor* oneof_;\n  const OneofDescriptor* oneof2_;\n  const FieldDescriptor* a_;\n  const FieldDescriptor* b_;\n  const FieldDescriptor* c_;\n  const FieldDescriptor* d_;\n  const FieldDescriptor* e_;\n  const FieldDescriptor* f_;\n};\n\nTEST_F(OneofDescriptorTest, Normal) {\n  EXPECT_EQ(\"foo\", oneof_->name());\n  EXPECT_EQ(\"garply.TestOneof.foo\", oneof_->full_name());\n  EXPECT_EQ(0, oneof_->index());\n  ASSERT_EQ(2, oneof_->field_count());\n  EXPECT_EQ(b_, oneof_->field(0));\n  EXPECT_EQ(c_, oneof_->field(1));\n  EXPECT_TRUE(a_->containing_oneof() == NULL);\n  EXPECT_EQ(oneof_, b_->containing_oneof());\n  EXPECT_EQ(oneof_, c_->containing_oneof());\n}\n\nTEST_F(OneofDescriptorTest, FindByName) {\n  EXPECT_EQ(oneof_, oneof_message_->FindOneofByName(\"foo\"));\n  EXPECT_EQ(oneof2_, oneof_message_->FindOneofByName(\"bar\"));\n  EXPECT_TRUE(oneof_message_->FindOneofByName(\"no_such_oneof\") == NULL);\n}\n\n// ===================================================================\n\nclass StylizedFieldNamesTest : public testing::Test {\n protected:\n  void SetUp() {\n    FileDescriptorProto file;\n    file.set_name(\"foo.proto\");\n\n    AddExtensionRange(AddMessage(&file, \"ExtendableMessage\"), 1, 1000);\n\n    DescriptorProto* message = AddMessage(&file, \"TestMessage\");\n    AddField(message, \"foo_foo\", 1,\n             FieldDescriptorProto::LABEL_OPTIONAL,\n             FieldDescriptorProto::TYPE_INT32);\n    AddField(message, \"FooBar\", 2,\n             FieldDescriptorProto::LABEL_OPTIONAL,\n             FieldDescriptorProto::TYPE_INT32);\n    AddField(message, \"fooBaz\", 3,\n             FieldDescriptorProto::LABEL_OPTIONAL,\n             FieldDescriptorProto::TYPE_INT32);\n    AddField(message, \"fooFoo\", 4,  // Camel-case conflict with foo_foo.\n             FieldDescriptorProto::LABEL_OPTIONAL,\n             FieldDescriptorProto::TYPE_INT32);\n    AddField(message, \"foobar\", 5,  // Lower-case conflict with FooBar.\n             FieldDescriptorProto::LABEL_OPTIONAL,\n             FieldDescriptorProto::TYPE_INT32);\n\n    AddNestedExtension(message, \"ExtendableMessage\", \"bar_foo\", 1,\n                       FieldDescriptorProto::LABEL_OPTIONAL,\n                       FieldDescriptorProto::TYPE_INT32);\n    AddNestedExtension(message, \"ExtendableMessage\", \"BarBar\", 2,\n                       FieldDescriptorProto::LABEL_OPTIONAL,\n                       FieldDescriptorProto::TYPE_INT32);\n    AddNestedExtension(message, \"ExtendableMessage\", \"BarBaz\", 3,\n                       FieldDescriptorProto::LABEL_OPTIONAL,\n                       FieldDescriptorProto::TYPE_INT32);\n    AddNestedExtension(message, \"ExtendableMessage\", \"barFoo\", 4,  // Conflict\n                       FieldDescriptorProto::LABEL_OPTIONAL,\n                       FieldDescriptorProto::TYPE_INT32);\n    AddNestedExtension(message, \"ExtendableMessage\", \"barbar\", 5,  // Conflict\n                       FieldDescriptorProto::LABEL_OPTIONAL,\n                       FieldDescriptorProto::TYPE_INT32);\n\n    AddExtension(&file, \"ExtendableMessage\", \"baz_foo\", 11,\n                 FieldDescriptorProto::LABEL_OPTIONAL,\n                 FieldDescriptorProto::TYPE_INT32);\n    AddExtension(&file, \"ExtendableMessage\", \"BazBar\", 12,\n                 FieldDescriptorProto::LABEL_OPTIONAL,\n                 FieldDescriptorProto::TYPE_INT32);\n    AddExtension(&file, \"ExtendableMessage\", \"BazBaz\", 13,\n                 FieldDescriptorProto::LABEL_OPTIONAL,\n                 FieldDescriptorProto::TYPE_INT32);\n    AddExtension(&file, \"ExtendableMessage\", \"bazFoo\", 14,  // Conflict\n                 FieldDescriptorProto::LABEL_OPTIONAL,\n                 FieldDescriptorProto::TYPE_INT32);\n    AddExtension(&file, \"ExtendableMessage\", \"bazbar\", 15,  // Conflict\n                 FieldDescriptorProto::LABEL_OPTIONAL,\n                 FieldDescriptorProto::TYPE_INT32);\n\n    file_ = pool_.BuildFile(file);\n    ASSERT_TRUE(file_ != NULL);\n    ASSERT_EQ(2, file_->message_type_count());\n    message_ = file_->message_type(1);\n    ASSERT_EQ(\"TestMessage\", message_->name());\n    ASSERT_EQ(5, message_->field_count());\n    ASSERT_EQ(5, message_->extension_count());\n    ASSERT_EQ(5, file_->extension_count());\n  }\n\n  DescriptorPool pool_;\n  const FileDescriptor* file_;\n  const Descriptor* message_;\n};\n\nTEST_F(StylizedFieldNamesTest, LowercaseName) {\n  EXPECT_EQ(\"foo_foo\", message_->field(0)->lowercase_name());\n  EXPECT_EQ(\"foobar\" , message_->field(1)->lowercase_name());\n  EXPECT_EQ(\"foobaz\" , message_->field(2)->lowercase_name());\n  EXPECT_EQ(\"foofoo\" , message_->field(3)->lowercase_name());\n  EXPECT_EQ(\"foobar\" , message_->field(4)->lowercase_name());\n\n  EXPECT_EQ(\"bar_foo\", message_->extension(0)->lowercase_name());\n  EXPECT_EQ(\"barbar\" , message_->extension(1)->lowercase_name());\n  EXPECT_EQ(\"barbaz\" , message_->extension(2)->lowercase_name());\n  EXPECT_EQ(\"barfoo\" , message_->extension(3)->lowercase_name());\n  EXPECT_EQ(\"barbar\" , message_->extension(4)->lowercase_name());\n\n  EXPECT_EQ(\"baz_foo\", file_->extension(0)->lowercase_name());\n  EXPECT_EQ(\"bazbar\" , file_->extension(1)->lowercase_name());\n  EXPECT_EQ(\"bazbaz\" , file_->extension(2)->lowercase_name());\n  EXPECT_EQ(\"bazfoo\" , file_->extension(3)->lowercase_name());\n  EXPECT_EQ(\"bazbar\" , file_->extension(4)->lowercase_name());\n}\n\nTEST_F(StylizedFieldNamesTest, CamelcaseName) {\n  EXPECT_EQ(\"fooFoo\", message_->field(0)->camelcase_name());\n  EXPECT_EQ(\"fooBar\", message_->field(1)->camelcase_name());\n  EXPECT_EQ(\"fooBaz\", message_->field(2)->camelcase_name());\n  EXPECT_EQ(\"fooFoo\", message_->field(3)->camelcase_name());\n  EXPECT_EQ(\"foobar\", message_->field(4)->camelcase_name());\n\n  EXPECT_EQ(\"barFoo\", message_->extension(0)->camelcase_name());\n  EXPECT_EQ(\"barBar\", message_->extension(1)->camelcase_name());\n  EXPECT_EQ(\"barBaz\", message_->extension(2)->camelcase_name());\n  EXPECT_EQ(\"barFoo\", message_->extension(3)->camelcase_name());\n  EXPECT_EQ(\"barbar\", message_->extension(4)->camelcase_name());\n\n  EXPECT_EQ(\"bazFoo\", file_->extension(0)->camelcase_name());\n  EXPECT_EQ(\"bazBar\", file_->extension(1)->camelcase_name());\n  EXPECT_EQ(\"bazBaz\", file_->extension(2)->camelcase_name());\n  EXPECT_EQ(\"bazFoo\", file_->extension(3)->camelcase_name());\n  EXPECT_EQ(\"bazbar\", file_->extension(4)->camelcase_name());\n}\n\nTEST_F(StylizedFieldNamesTest, FindByLowercaseName) {\n  EXPECT_EQ(message_->field(0),\n            message_->FindFieldByLowercaseName(\"foo_foo\"));\n  EXPECT_EQ(message_->field(1),\n            message_->FindFieldByLowercaseName(\"foobar\"));\n  EXPECT_EQ(message_->field(2),\n            message_->FindFieldByLowercaseName(\"foobaz\"));\n  EXPECT_TRUE(message_->FindFieldByLowercaseName(\"FooBar\") == NULL);\n  EXPECT_TRUE(message_->FindFieldByLowercaseName(\"fooBaz\") == NULL);\n  EXPECT_TRUE(message_->FindFieldByLowercaseName(\"bar_foo\") == NULL);\n  EXPECT_TRUE(message_->FindFieldByLowercaseName(\"nosuchfield\") == NULL);\n\n  EXPECT_EQ(message_->extension(0),\n            message_->FindExtensionByLowercaseName(\"bar_foo\"));\n  EXPECT_EQ(message_->extension(1),\n            message_->FindExtensionByLowercaseName(\"barbar\"));\n  EXPECT_EQ(message_->extension(2),\n            message_->FindExtensionByLowercaseName(\"barbaz\"));\n  EXPECT_TRUE(message_->FindExtensionByLowercaseName(\"BarBar\") == NULL);\n  EXPECT_TRUE(message_->FindExtensionByLowercaseName(\"barBaz\") == NULL);\n  EXPECT_TRUE(message_->FindExtensionByLowercaseName(\"foo_foo\") == NULL);\n  EXPECT_TRUE(message_->FindExtensionByLowercaseName(\"nosuchfield\") == NULL);\n\n  EXPECT_EQ(file_->extension(0),\n            file_->FindExtensionByLowercaseName(\"baz_foo\"));\n  EXPECT_EQ(file_->extension(1),\n            file_->FindExtensionByLowercaseName(\"bazbar\"));\n  EXPECT_EQ(file_->extension(2),\n            file_->FindExtensionByLowercaseName(\"bazbaz\"));\n  EXPECT_TRUE(file_->FindExtensionByLowercaseName(\"BazBar\") == NULL);\n  EXPECT_TRUE(file_->FindExtensionByLowercaseName(\"bazBaz\") == NULL);\n  EXPECT_TRUE(file_->FindExtensionByLowercaseName(\"nosuchfield\") == NULL);\n}\n\nTEST_F(StylizedFieldNamesTest, FindByCamelcaseName) {\n  EXPECT_EQ(message_->field(0),\n            message_->FindFieldByCamelcaseName(\"fooFoo\"));\n  EXPECT_EQ(message_->field(1),\n            message_->FindFieldByCamelcaseName(\"fooBar\"));\n  EXPECT_EQ(message_->field(2),\n            message_->FindFieldByCamelcaseName(\"fooBaz\"));\n  EXPECT_TRUE(message_->FindFieldByCamelcaseName(\"foo_foo\") == NULL);\n  EXPECT_TRUE(message_->FindFieldByCamelcaseName(\"FooBar\") == NULL);\n  EXPECT_TRUE(message_->FindFieldByCamelcaseName(\"barFoo\") == NULL);\n  EXPECT_TRUE(message_->FindFieldByCamelcaseName(\"nosuchfield\") == NULL);\n\n  EXPECT_EQ(message_->extension(0),\n            message_->FindExtensionByCamelcaseName(\"barFoo\"));\n  EXPECT_EQ(message_->extension(1),\n            message_->FindExtensionByCamelcaseName(\"barBar\"));\n  EXPECT_EQ(message_->extension(2),\n            message_->FindExtensionByCamelcaseName(\"barBaz\"));\n  EXPECT_TRUE(message_->FindExtensionByCamelcaseName(\"bar_foo\") == NULL);\n  EXPECT_TRUE(message_->FindExtensionByCamelcaseName(\"BarBar\") == NULL);\n  EXPECT_TRUE(message_->FindExtensionByCamelcaseName(\"fooFoo\") == NULL);\n  EXPECT_TRUE(message_->FindExtensionByCamelcaseName(\"nosuchfield\") == NULL);\n\n  EXPECT_EQ(file_->extension(0),\n            file_->FindExtensionByCamelcaseName(\"bazFoo\"));\n  EXPECT_EQ(file_->extension(1),\n            file_->FindExtensionByCamelcaseName(\"bazBar\"));\n  EXPECT_EQ(file_->extension(2),\n            file_->FindExtensionByCamelcaseName(\"bazBaz\"));\n  EXPECT_TRUE(file_->FindExtensionByCamelcaseName(\"baz_foo\") == NULL);\n  EXPECT_TRUE(file_->FindExtensionByCamelcaseName(\"BazBar\") == NULL);\n  EXPECT_TRUE(file_->FindExtensionByCamelcaseName(\"nosuchfield\") == NULL);\n}\n\n// ===================================================================\n\n// Test enum descriptors.\nclass EnumDescriptorTest : public testing::Test {\n protected:\n  virtual void SetUp() {\n    // Build descriptors for the following definitions:\n    //\n    //   // in \"foo.proto\"\n    //   enum TestEnum {\n    //     FOO = 1;\n    //     BAR = 2;\n    //   }\n    //\n    //   // in \"bar.proto\"\n    //   package corge.grault;\n    //   enum TestEnum2 {\n    //     FOO = 1;\n    //     BAZ = 3;\n    //   }\n    //\n    // TestEnum2 is primarily here to test FindValueByName and friends.\n    // All enums created from the same DescriptorPool share the same lookup\n    // table, so we need to insure that they don't interfere.\n\n    // TestEnum\n    FileDescriptorProto foo_file;\n    foo_file.set_name(\"foo.proto\");\n\n    EnumDescriptorProto* enum_proto = AddEnum(&foo_file, \"TestEnum\");\n    AddEnumValue(enum_proto, \"FOO\", 1);\n    AddEnumValue(enum_proto, \"BAR\", 2);\n\n    // TestEnum2\n    FileDescriptorProto bar_file;\n    bar_file.set_name(\"bar.proto\");\n    bar_file.set_package(\"corge.grault\");\n\n    EnumDescriptorProto* enum2_proto = AddEnum(&bar_file, \"TestEnum2\");\n    AddEnumValue(enum2_proto, \"FOO\", 1);\n    AddEnumValue(enum2_proto, \"BAZ\", 3);\n\n    // Build the descriptors and get the pointers.\n    foo_file_ = pool_.BuildFile(foo_file);\n    ASSERT_TRUE(foo_file_ != NULL);\n\n    bar_file_ = pool_.BuildFile(bar_file);\n    ASSERT_TRUE(bar_file_ != NULL);\n\n    ASSERT_EQ(1, foo_file_->enum_type_count());\n    enum_ = foo_file_->enum_type(0);\n\n    ASSERT_EQ(2, enum_->value_count());\n    foo_ = enum_->value(0);\n    bar_ = enum_->value(1);\n\n    ASSERT_EQ(1, bar_file_->enum_type_count());\n    enum2_ = bar_file_->enum_type(0);\n\n    ASSERT_EQ(2, enum2_->value_count());\n    foo2_ = enum2_->value(0);\n    baz2_ = enum2_->value(1);\n  }\n\n  DescriptorPool pool_;\n\n  const FileDescriptor* foo_file_;\n  const FileDescriptor* bar_file_;\n\n  const EnumDescriptor* enum_;\n  const EnumDescriptor* enum2_;\n\n  const EnumValueDescriptor* foo_;\n  const EnumValueDescriptor* bar_;\n\n  const EnumValueDescriptor* foo2_;\n  const EnumValueDescriptor* baz2_;\n};\n\nTEST_F(EnumDescriptorTest, Name) {\n  EXPECT_EQ(\"TestEnum\", enum_->name());\n  EXPECT_EQ(\"TestEnum\", enum_->full_name());\n  EXPECT_EQ(foo_file_, enum_->file());\n\n  EXPECT_EQ(\"TestEnum2\", enum2_->name());\n  EXPECT_EQ(\"corge.grault.TestEnum2\", enum2_->full_name());\n  EXPECT_EQ(bar_file_, enum2_->file());\n}\n\nTEST_F(EnumDescriptorTest, ContainingType) {\n  EXPECT_TRUE(enum_->containing_type() == NULL);\n  EXPECT_TRUE(enum2_->containing_type() == NULL);\n}\n\nTEST_F(EnumDescriptorTest, ValuesByIndex) {\n  ASSERT_EQ(2, enum_->value_count());\n  EXPECT_EQ(foo_, enum_->value(0));\n  EXPECT_EQ(bar_, enum_->value(1));\n}\n\nTEST_F(EnumDescriptorTest, FindValueByName) {\n  EXPECT_EQ(foo_ , enum_ ->FindValueByName(\"FOO\"));\n  EXPECT_EQ(bar_ , enum_ ->FindValueByName(\"BAR\"));\n  EXPECT_EQ(foo2_, enum2_->FindValueByName(\"FOO\"));\n  EXPECT_EQ(baz2_, enum2_->FindValueByName(\"BAZ\"));\n\n  EXPECT_TRUE(enum_ ->FindValueByName(\"NO_SUCH_VALUE\") == NULL);\n  EXPECT_TRUE(enum_ ->FindValueByName(\"BAZ\"          ) == NULL);\n  EXPECT_TRUE(enum2_->FindValueByName(\"BAR\"          ) == NULL);\n}\n\nTEST_F(EnumDescriptorTest, FindValueByNumber) {\n  EXPECT_EQ(foo_ , enum_ ->FindValueByNumber(1));\n  EXPECT_EQ(bar_ , enum_ ->FindValueByNumber(2));\n  EXPECT_EQ(foo2_, enum2_->FindValueByNumber(1));\n  EXPECT_EQ(baz2_, enum2_->FindValueByNumber(3));\n\n  EXPECT_TRUE(enum_ ->FindValueByNumber(416) == NULL);\n  EXPECT_TRUE(enum_ ->FindValueByNumber(3) == NULL);\n  EXPECT_TRUE(enum2_->FindValueByNumber(2) == NULL);\n}\n\nTEST_F(EnumDescriptorTest, ValueName) {\n  EXPECT_EQ(\"FOO\", foo_->name());\n  EXPECT_EQ(\"BAR\", bar_->name());\n}\n\nTEST_F(EnumDescriptorTest, ValueFullName) {\n  EXPECT_EQ(\"FOO\", foo_->full_name());\n  EXPECT_EQ(\"BAR\", bar_->full_name());\n  EXPECT_EQ(\"corge.grault.FOO\", foo2_->full_name());\n  EXPECT_EQ(\"corge.grault.BAZ\", baz2_->full_name());\n}\n\nTEST_F(EnumDescriptorTest, ValueIndex) {\n  EXPECT_EQ(0, foo_->index());\n  EXPECT_EQ(1, bar_->index());\n}\n\nTEST_F(EnumDescriptorTest, ValueNumber) {\n  EXPECT_EQ(1, foo_->number());\n  EXPECT_EQ(2, bar_->number());\n}\n\nTEST_F(EnumDescriptorTest, ValueType) {\n  EXPECT_EQ(enum_ , foo_ ->type());\n  EXPECT_EQ(enum_ , bar_ ->type());\n  EXPECT_EQ(enum2_, foo2_->type());\n  EXPECT_EQ(enum2_, baz2_->type());\n}\n\n// ===================================================================\n\n// Test service descriptors.\nclass ServiceDescriptorTest : public testing::Test {\n protected:\n  virtual void SetUp() {\n    // Build descriptors for the following messages and service:\n    //    // in \"foo.proto\"\n    //    message FooRequest  {}\n    //    message FooResponse {}\n    //    message BarRequest  {}\n    //    message BarResponse {}\n    //    message BazRequest  {}\n    //    message BazResponse {}\n    //\n    //    service TestService {\n    //      rpc Foo(FooRequest) returns (FooResponse);\n    //      rpc Bar(BarRequest) returns (BarResponse);\n    //    }\n    //\n    //    // in \"bar.proto\"\n    //    package corge.grault\n    //    service TestService2 {\n    //      rpc Foo(FooRequest) returns (FooResponse);\n    //      rpc Baz(BazRequest) returns (BazResponse);\n    //    }\n\n    FileDescriptorProto foo_file;\n    foo_file.set_name(\"foo.proto\");\n\n    AddMessage(&foo_file, \"FooRequest\");\n    AddMessage(&foo_file, \"FooResponse\");\n    AddMessage(&foo_file, \"BarRequest\");\n    AddMessage(&foo_file, \"BarResponse\");\n    AddMessage(&foo_file, \"BazRequest\");\n    AddMessage(&foo_file, \"BazResponse\");\n\n    ServiceDescriptorProto* service = AddService(&foo_file, \"TestService\");\n    AddMethod(service, \"Foo\", \"FooRequest\", \"FooResponse\");\n    AddMethod(service, \"Bar\", \"BarRequest\", \"BarResponse\");\n\n    FileDescriptorProto bar_file;\n    bar_file.set_name(\"bar.proto\");\n    bar_file.set_package(\"corge.grault\");\n    bar_file.add_dependency(\"foo.proto\");\n\n    ServiceDescriptorProto* service2 = AddService(&bar_file, \"TestService2\");\n    AddMethod(service2, \"Foo\", \"FooRequest\", \"FooResponse\");\n    AddMethod(service2, \"Baz\", \"BazRequest\", \"BazResponse\");\n\n    // Build the descriptors and get the pointers.\n    foo_file_ = pool_.BuildFile(foo_file);\n    ASSERT_TRUE(foo_file_ != NULL);\n\n    bar_file_ = pool_.BuildFile(bar_file);\n    ASSERT_TRUE(bar_file_ != NULL);\n\n    ASSERT_EQ(6, foo_file_->message_type_count());\n    foo_request_  = foo_file_->message_type(0);\n    foo_response_ = foo_file_->message_type(1);\n    bar_request_  = foo_file_->message_type(2);\n    bar_response_ = foo_file_->message_type(3);\n    baz_request_  = foo_file_->message_type(4);\n    baz_response_ = foo_file_->message_type(5);\n\n    ASSERT_EQ(1, foo_file_->service_count());\n    service_ = foo_file_->service(0);\n\n    ASSERT_EQ(2, service_->method_count());\n    foo_ = service_->method(0);\n    bar_ = service_->method(1);\n\n    ASSERT_EQ(1, bar_file_->service_count());\n    service2_ = bar_file_->service(0);\n\n    ASSERT_EQ(2, service2_->method_count());\n    foo2_ = service2_->method(0);\n    baz2_ = service2_->method(1);\n  }\n\n  DescriptorPool pool_;\n\n  const FileDescriptor* foo_file_;\n  const FileDescriptor* bar_file_;\n\n  const Descriptor* foo_request_;\n  const Descriptor* foo_response_;\n  const Descriptor* bar_request_;\n  const Descriptor* bar_response_;\n  const Descriptor* baz_request_;\n  const Descriptor* baz_response_;\n\n  const ServiceDescriptor* service_;\n  const ServiceDescriptor* service2_;\n\n  const MethodDescriptor* foo_;\n  const MethodDescriptor* bar_;\n\n  const MethodDescriptor* foo2_;\n  const MethodDescriptor* baz2_;\n};\n\nTEST_F(ServiceDescriptorTest, Name) {\n  EXPECT_EQ(\"TestService\", service_->name());\n  EXPECT_EQ(\"TestService\", service_->full_name());\n  EXPECT_EQ(foo_file_, service_->file());\n\n  EXPECT_EQ(\"TestService2\", service2_->name());\n  EXPECT_EQ(\"corge.grault.TestService2\", service2_->full_name());\n  EXPECT_EQ(bar_file_, service2_->file());\n}\n\nTEST_F(ServiceDescriptorTest, MethodsByIndex) {\n  ASSERT_EQ(2, service_->method_count());\n  EXPECT_EQ(foo_, service_->method(0));\n  EXPECT_EQ(bar_, service_->method(1));\n}\n\nTEST_F(ServiceDescriptorTest, FindMethodByName) {\n  EXPECT_EQ(foo_ , service_ ->FindMethodByName(\"Foo\"));\n  EXPECT_EQ(bar_ , service_ ->FindMethodByName(\"Bar\"));\n  EXPECT_EQ(foo2_, service2_->FindMethodByName(\"Foo\"));\n  EXPECT_EQ(baz2_, service2_->FindMethodByName(\"Baz\"));\n\n  EXPECT_TRUE(service_ ->FindMethodByName(\"NoSuchMethod\") == NULL);\n  EXPECT_TRUE(service_ ->FindMethodByName(\"Baz\"         ) == NULL);\n  EXPECT_TRUE(service2_->FindMethodByName(\"Bar\"         ) == NULL);\n}\n\nTEST_F(ServiceDescriptorTest, MethodName) {\n  EXPECT_EQ(\"Foo\", foo_->name());\n  EXPECT_EQ(\"Bar\", bar_->name());\n}\n\nTEST_F(ServiceDescriptorTest, MethodFullName) {\n  EXPECT_EQ(\"TestService.Foo\", foo_->full_name());\n  EXPECT_EQ(\"TestService.Bar\", bar_->full_name());\n  EXPECT_EQ(\"corge.grault.TestService2.Foo\", foo2_->full_name());\n  EXPECT_EQ(\"corge.grault.TestService2.Baz\", baz2_->full_name());\n}\n\nTEST_F(ServiceDescriptorTest, MethodIndex) {\n  EXPECT_EQ(0, foo_->index());\n  EXPECT_EQ(1, bar_->index());\n}\n\nTEST_F(ServiceDescriptorTest, MethodParent) {\n  EXPECT_EQ(service_, foo_->service());\n  EXPECT_EQ(service_, bar_->service());\n}\n\nTEST_F(ServiceDescriptorTest, MethodInputType) {\n  EXPECT_EQ(foo_request_, foo_->input_type());\n  EXPECT_EQ(bar_request_, bar_->input_type());\n}\n\nTEST_F(ServiceDescriptorTest, MethodOutputType) {\n  EXPECT_EQ(foo_response_, foo_->output_type());\n  EXPECT_EQ(bar_response_, bar_->output_type());\n}\n\n// ===================================================================\n\n// Test nested types.\nclass NestedDescriptorTest : public testing::Test {\n protected:\n  virtual void SetUp() {\n    // Build descriptors for the following definitions:\n    //\n    //   // in \"foo.proto\"\n    //   message TestMessage {\n    //     message Foo {}\n    //     message Bar {}\n    //     enum Baz { A = 1; }\n    //     enum Qux { B = 1; }\n    //   }\n    //\n    //   // in \"bar.proto\"\n    //   package corge.grault;\n    //   message TestMessage2 {\n    //     message Foo {}\n    //     message Baz {}\n    //     enum Qux  { A = 1; }\n    //     enum Quux { C = 1; }\n    //   }\n    //\n    // TestMessage2 is primarily here to test FindNestedTypeByName and friends.\n    // All messages created from the same DescriptorPool share the same lookup\n    // table, so we need to insure that they don't interfere.\n    //\n    // We add enum values to the enums in order to test searching for enum\n    // values across a message's scope.\n\n    FileDescriptorProto foo_file;\n    foo_file.set_name(\"foo.proto\");\n\n    DescriptorProto* message = AddMessage(&foo_file, \"TestMessage\");\n    AddNestedMessage(message, \"Foo\");\n    AddNestedMessage(message, \"Bar\");\n    EnumDescriptorProto* baz = AddNestedEnum(message, \"Baz\");\n    AddEnumValue(baz, \"A\", 1);\n    EnumDescriptorProto* qux = AddNestedEnum(message, \"Qux\");\n    AddEnumValue(qux, \"B\", 1);\n\n    FileDescriptorProto bar_file;\n    bar_file.set_name(\"bar.proto\");\n    bar_file.set_package(\"corge.grault\");\n\n    DescriptorProto* message2 = AddMessage(&bar_file, \"TestMessage2\");\n    AddNestedMessage(message2, \"Foo\");\n    AddNestedMessage(message2, \"Baz\");\n    EnumDescriptorProto* qux2 = AddNestedEnum(message2, \"Qux\");\n    AddEnumValue(qux2, \"A\", 1);\n    EnumDescriptorProto* quux2 = AddNestedEnum(message2, \"Quux\");\n    AddEnumValue(quux2, \"C\", 1);\n\n    // Build the descriptors and get the pointers.\n    foo_file_ = pool_.BuildFile(foo_file);\n    ASSERT_TRUE(foo_file_ != NULL);\n\n    bar_file_ = pool_.BuildFile(bar_file);\n    ASSERT_TRUE(bar_file_ != NULL);\n\n    ASSERT_EQ(1, foo_file_->message_type_count());\n    message_ = foo_file_->message_type(0);\n\n    ASSERT_EQ(2, message_->nested_type_count());\n    foo_ = message_->nested_type(0);\n    bar_ = message_->nested_type(1);\n\n    ASSERT_EQ(2, message_->enum_type_count());\n    baz_ = message_->enum_type(0);\n    qux_ = message_->enum_type(1);\n\n    ASSERT_EQ(1, baz_->value_count());\n    a_ = baz_->value(0);\n    ASSERT_EQ(1, qux_->value_count());\n    b_ = qux_->value(0);\n\n    ASSERT_EQ(1, bar_file_->message_type_count());\n    message2_ = bar_file_->message_type(0);\n\n    ASSERT_EQ(2, message2_->nested_type_count());\n    foo2_ = message2_->nested_type(0);\n    baz2_ = message2_->nested_type(1);\n\n    ASSERT_EQ(2, message2_->enum_type_count());\n    qux2_ = message2_->enum_type(0);\n    quux2_ = message2_->enum_type(1);\n\n    ASSERT_EQ(1, qux2_->value_count());\n    a2_ = qux2_->value(0);\n    ASSERT_EQ(1, quux2_->value_count());\n    c2_ = quux2_->value(0);\n  }\n\n  DescriptorPool pool_;\n\n  const FileDescriptor* foo_file_;\n  const FileDescriptor* bar_file_;\n\n  const Descriptor* message_;\n  const Descriptor* message2_;\n\n  const Descriptor* foo_;\n  const Descriptor* bar_;\n  const EnumDescriptor* baz_;\n  const EnumDescriptor* qux_;\n  const EnumValueDescriptor* a_;\n  const EnumValueDescriptor* b_;\n\n  const Descriptor* foo2_;\n  const Descriptor* baz2_;\n  const EnumDescriptor* qux2_;\n  const EnumDescriptor* quux2_;\n  const EnumValueDescriptor* a2_;\n  const EnumValueDescriptor* c2_;\n};\n\nTEST_F(NestedDescriptorTest, MessageName) {\n  EXPECT_EQ(\"Foo\", foo_ ->name());\n  EXPECT_EQ(\"Bar\", bar_ ->name());\n  EXPECT_EQ(\"Foo\", foo2_->name());\n  EXPECT_EQ(\"Baz\", baz2_->name());\n\n  EXPECT_EQ(\"TestMessage.Foo\", foo_->full_name());\n  EXPECT_EQ(\"TestMessage.Bar\", bar_->full_name());\n  EXPECT_EQ(\"corge.grault.TestMessage2.Foo\", foo2_->full_name());\n  EXPECT_EQ(\"corge.grault.TestMessage2.Baz\", baz2_->full_name());\n}\n\nTEST_F(NestedDescriptorTest, MessageContainingType) {\n  EXPECT_EQ(message_ , foo_ ->containing_type());\n  EXPECT_EQ(message_ , bar_ ->containing_type());\n  EXPECT_EQ(message2_, foo2_->containing_type());\n  EXPECT_EQ(message2_, baz2_->containing_type());\n}\n\nTEST_F(NestedDescriptorTest, NestedMessagesByIndex) {\n  ASSERT_EQ(2, message_->nested_type_count());\n  EXPECT_EQ(foo_, message_->nested_type(0));\n  EXPECT_EQ(bar_, message_->nested_type(1));\n}\n\nTEST_F(NestedDescriptorTest, FindFieldByNameDoesntFindNestedTypes) {\n  EXPECT_TRUE(message_->FindFieldByName(\"Foo\") == NULL);\n  EXPECT_TRUE(message_->FindFieldByName(\"Qux\") == NULL);\n  EXPECT_TRUE(message_->FindExtensionByName(\"Foo\") == NULL);\n  EXPECT_TRUE(message_->FindExtensionByName(\"Qux\") == NULL);\n}\n\nTEST_F(NestedDescriptorTest, FindNestedTypeByName) {\n  EXPECT_EQ(foo_ , message_ ->FindNestedTypeByName(\"Foo\"));\n  EXPECT_EQ(bar_ , message_ ->FindNestedTypeByName(\"Bar\"));\n  EXPECT_EQ(foo2_, message2_->FindNestedTypeByName(\"Foo\"));\n  EXPECT_EQ(baz2_, message2_->FindNestedTypeByName(\"Baz\"));\n\n  EXPECT_TRUE(message_ ->FindNestedTypeByName(\"NoSuchType\") == NULL);\n  EXPECT_TRUE(message_ ->FindNestedTypeByName(\"Baz\"       ) == NULL);\n  EXPECT_TRUE(message2_->FindNestedTypeByName(\"Bar\"       ) == NULL);\n\n  EXPECT_TRUE(message_->FindNestedTypeByName(\"Qux\") == NULL);\n}\n\nTEST_F(NestedDescriptorTest, EnumName) {\n  EXPECT_EQ(\"Baz\" , baz_ ->name());\n  EXPECT_EQ(\"Qux\" , qux_ ->name());\n  EXPECT_EQ(\"Qux\" , qux2_->name());\n  EXPECT_EQ(\"Quux\", quux2_->name());\n\n  EXPECT_EQ(\"TestMessage.Baz\", baz_->full_name());\n  EXPECT_EQ(\"TestMessage.Qux\", qux_->full_name());\n  EXPECT_EQ(\"corge.grault.TestMessage2.Qux\" , qux2_ ->full_name());\n  EXPECT_EQ(\"corge.grault.TestMessage2.Quux\", quux2_->full_name());\n}\n\nTEST_F(NestedDescriptorTest, EnumContainingType) {\n  EXPECT_EQ(message_ , baz_  ->containing_type());\n  EXPECT_EQ(message_ , qux_  ->containing_type());\n  EXPECT_EQ(message2_, qux2_ ->containing_type());\n  EXPECT_EQ(message2_, quux2_->containing_type());\n}\n\nTEST_F(NestedDescriptorTest, NestedEnumsByIndex) {\n  ASSERT_EQ(2, message_->nested_type_count());\n  EXPECT_EQ(foo_, message_->nested_type(0));\n  EXPECT_EQ(bar_, message_->nested_type(1));\n}\n\nTEST_F(NestedDescriptorTest, FindEnumTypeByName) {\n  EXPECT_EQ(baz_  , message_ ->FindEnumTypeByName(\"Baz\" ));\n  EXPECT_EQ(qux_  , message_ ->FindEnumTypeByName(\"Qux\" ));\n  EXPECT_EQ(qux2_ , message2_->FindEnumTypeByName(\"Qux\" ));\n  EXPECT_EQ(quux2_, message2_->FindEnumTypeByName(\"Quux\"));\n\n  EXPECT_TRUE(message_ ->FindEnumTypeByName(\"NoSuchType\") == NULL);\n  EXPECT_TRUE(message_ ->FindEnumTypeByName(\"Quux\"      ) == NULL);\n  EXPECT_TRUE(message2_->FindEnumTypeByName(\"Baz\"       ) == NULL);\n\n  EXPECT_TRUE(message_->FindEnumTypeByName(\"Foo\") == NULL);\n}\n\nTEST_F(NestedDescriptorTest, FindEnumValueByName) {\n  EXPECT_EQ(a_ , message_ ->FindEnumValueByName(\"A\"));\n  EXPECT_EQ(b_ , message_ ->FindEnumValueByName(\"B\"));\n  EXPECT_EQ(a2_, message2_->FindEnumValueByName(\"A\"));\n  EXPECT_EQ(c2_, message2_->FindEnumValueByName(\"C\"));\n\n  EXPECT_TRUE(message_ ->FindEnumValueByName(\"NO_SUCH_VALUE\") == NULL);\n  EXPECT_TRUE(message_ ->FindEnumValueByName(\"C\"            ) == NULL);\n  EXPECT_TRUE(message2_->FindEnumValueByName(\"B\"            ) == NULL);\n\n  EXPECT_TRUE(message_->FindEnumValueByName(\"Foo\") == NULL);\n}\n\n// ===================================================================\n\n// Test extensions.\nclass ExtensionDescriptorTest : public testing::Test {\n protected:\n  virtual void SetUp() {\n    // Build descriptors for the following definitions:\n    //\n    //   enum Baz {}\n    //   message Qux {}\n    //\n    //   message Foo {\n    //     extensions 10 to 19;\n    //     extensions 30 to 39;\n    //   }\n    //   extends Foo with optional int32 foo_int32 = 10;\n    //   extends Foo with repeated TestEnum foo_enum = 19;\n    //   message Bar {\n    //     extends Foo with optional Qux foo_message = 30;\n    //     // (using Qux as the group type)\n    //     extends Foo with repeated group foo_group = 39;\n    //   }\n\n    FileDescriptorProto foo_file;\n    foo_file.set_name(\"foo.proto\");\n\n    AddEmptyEnum(&foo_file, \"Baz\");\n    AddMessage(&foo_file, \"Qux\");\n\n    DescriptorProto* foo = AddMessage(&foo_file, \"Foo\");\n    AddExtensionRange(foo, 10, 20);\n    AddExtensionRange(foo, 30, 40);\n\n    AddExtension(&foo_file, \"Foo\", \"foo_int32\", 10,\n                 FieldDescriptorProto::LABEL_OPTIONAL,\n                 FieldDescriptorProto::TYPE_INT32);\n    AddExtension(&foo_file, \"Foo\", \"foo_enum\", 19,\n                 FieldDescriptorProto::LABEL_REPEATED,\n                 FieldDescriptorProto::TYPE_ENUM)\n      ->set_type_name(\"Baz\");\n\n    DescriptorProto* bar = AddMessage(&foo_file, \"Bar\");\n    AddNestedExtension(bar, \"Foo\", \"foo_message\", 30,\n                       FieldDescriptorProto::LABEL_OPTIONAL,\n                       FieldDescriptorProto::TYPE_MESSAGE)\n      ->set_type_name(\"Qux\");\n    AddNestedExtension(bar, \"Foo\", \"foo_group\", 39,\n                       FieldDescriptorProto::LABEL_REPEATED,\n                       FieldDescriptorProto::TYPE_GROUP)\n      ->set_type_name(\"Qux\");\n\n    // Build the descriptors and get the pointers.\n    foo_file_ = pool_.BuildFile(foo_file);\n    ASSERT_TRUE(foo_file_ != NULL);\n\n    ASSERT_EQ(1, foo_file_->enum_type_count());\n    baz_ = foo_file_->enum_type(0);\n\n    ASSERT_EQ(3, foo_file_->message_type_count());\n    qux_ = foo_file_->message_type(0);\n    foo_ = foo_file_->message_type(1);\n    bar_ = foo_file_->message_type(2);\n  }\n\n  DescriptorPool pool_;\n\n  const FileDescriptor* foo_file_;\n\n  const Descriptor* foo_;\n  const Descriptor* bar_;\n  const EnumDescriptor* baz_;\n  const Descriptor* qux_;\n};\n\nTEST_F(ExtensionDescriptorTest, ExtensionRanges) {\n  EXPECT_EQ(0, bar_->extension_range_count());\n  ASSERT_EQ(2, foo_->extension_range_count());\n\n  EXPECT_EQ(10, foo_->extension_range(0)->start);\n  EXPECT_EQ(30, foo_->extension_range(1)->start);\n\n  EXPECT_EQ(20, foo_->extension_range(0)->end);\n  EXPECT_EQ(40, foo_->extension_range(1)->end);\n};\n\nTEST_F(ExtensionDescriptorTest, Extensions) {\n  EXPECT_EQ(0, foo_->extension_count());\n  ASSERT_EQ(2, foo_file_->extension_count());\n  ASSERT_EQ(2, bar_->extension_count());\n\n  EXPECT_TRUE(foo_file_->extension(0)->is_extension());\n  EXPECT_TRUE(foo_file_->extension(1)->is_extension());\n  EXPECT_TRUE(bar_->extension(0)->is_extension());\n  EXPECT_TRUE(bar_->extension(1)->is_extension());\n\n  EXPECT_EQ(\"foo_int32\"  , foo_file_->extension(0)->name());\n  EXPECT_EQ(\"foo_enum\"   , foo_file_->extension(1)->name());\n  EXPECT_EQ(\"foo_message\", bar_->extension(0)->name());\n  EXPECT_EQ(\"foo_group\"  , bar_->extension(1)->name());\n\n  EXPECT_EQ(10, foo_file_->extension(0)->number());\n  EXPECT_EQ(19, foo_file_->extension(1)->number());\n  EXPECT_EQ(30, bar_->extension(0)->number());\n  EXPECT_EQ(39, bar_->extension(1)->number());\n\n  EXPECT_EQ(FieldDescriptor::TYPE_INT32  , foo_file_->extension(0)->type());\n  EXPECT_EQ(FieldDescriptor::TYPE_ENUM   , foo_file_->extension(1)->type());\n  EXPECT_EQ(FieldDescriptor::TYPE_MESSAGE, bar_->extension(0)->type());\n  EXPECT_EQ(FieldDescriptor::TYPE_GROUP  , bar_->extension(1)->type());\n\n  EXPECT_EQ(baz_, foo_file_->extension(1)->enum_type());\n  EXPECT_EQ(qux_, bar_->extension(0)->message_type());\n  EXPECT_EQ(qux_, bar_->extension(1)->message_type());\n\n  EXPECT_EQ(FieldDescriptor::LABEL_OPTIONAL, foo_file_->extension(0)->label());\n  EXPECT_EQ(FieldDescriptor::LABEL_REPEATED, foo_file_->extension(1)->label());\n  EXPECT_EQ(FieldDescriptor::LABEL_OPTIONAL, bar_->extension(0)->label());\n  EXPECT_EQ(FieldDescriptor::LABEL_REPEATED, bar_->extension(1)->label());\n\n  EXPECT_EQ(foo_, foo_file_->extension(0)->containing_type());\n  EXPECT_EQ(foo_, foo_file_->extension(1)->containing_type());\n  EXPECT_EQ(foo_, bar_->extension(0)->containing_type());\n  EXPECT_EQ(foo_, bar_->extension(1)->containing_type());\n\n  EXPECT_TRUE(foo_file_->extension(0)->extension_scope() == NULL);\n  EXPECT_TRUE(foo_file_->extension(1)->extension_scope() == NULL);\n  EXPECT_EQ(bar_, bar_->extension(0)->extension_scope());\n  EXPECT_EQ(bar_, bar_->extension(1)->extension_scope());\n};\n\nTEST_F(ExtensionDescriptorTest, IsExtensionNumber) {\n  EXPECT_FALSE(foo_->IsExtensionNumber( 9));\n  EXPECT_TRUE (foo_->IsExtensionNumber(10));\n  EXPECT_TRUE (foo_->IsExtensionNumber(19));\n  EXPECT_FALSE(foo_->IsExtensionNumber(20));\n  EXPECT_FALSE(foo_->IsExtensionNumber(29));\n  EXPECT_TRUE (foo_->IsExtensionNumber(30));\n  EXPECT_TRUE (foo_->IsExtensionNumber(39));\n  EXPECT_FALSE(foo_->IsExtensionNumber(40));\n}\n\nTEST_F(ExtensionDescriptorTest, FindExtensionByName) {\n  // Note that FileDescriptor::FindExtensionByName() is tested by\n  // FileDescriptorTest.\n  ASSERT_EQ(2, bar_->extension_count());\n\n  EXPECT_EQ(bar_->extension(0), bar_->FindExtensionByName(\"foo_message\"));\n  EXPECT_EQ(bar_->extension(1), bar_->FindExtensionByName(\"foo_group\"  ));\n\n  EXPECT_TRUE(bar_->FindExtensionByName(\"no_such_extension\") == NULL);\n  EXPECT_TRUE(foo_->FindExtensionByName(\"foo_int32\") == NULL);\n  EXPECT_TRUE(foo_->FindExtensionByName(\"foo_message\") == NULL);\n}\n\nTEST_F(ExtensionDescriptorTest, FindAllExtensions) {\n  vector<const FieldDescriptor*> extensions;\n  pool_.FindAllExtensions(foo_, &extensions);\n  ASSERT_EQ(4, extensions.size());\n  EXPECT_EQ(10, extensions[0]->number());\n  EXPECT_EQ(19, extensions[1]->number());\n  EXPECT_EQ(30, extensions[2]->number());\n  EXPECT_EQ(39, extensions[3]->number());\n}\n\nTEST_F(ExtensionDescriptorTest, DuplicateFieldNumber) {\n  DescriptorPool pool;\n  FileDescriptorProto file_proto;\n  // Add \"google/protobuf/descriptor.proto\".\n  FileDescriptorProto::descriptor()->file()->CopyTo(&file_proto);\n  ASSERT_TRUE(pool.BuildFile(file_proto) != NULL);\n  // Add \"foo.proto\":\n  //   import \"google/protobuf/descriptor.proto\";\n  //   extend google.protobuf.FieldOptions {\n  //     optional int32 option1 = 1000;\n  //   }\n  file_proto.Clear();\n  file_proto.set_name(\"foo.proto\");\n  file_proto.add_dependency(\"google/protobuf/descriptor.proto\");\n  AddExtension(&file_proto, \"google.protobuf.FieldOptions\", \"option1\", 1000,\n               FieldDescriptorProto::LABEL_OPTIONAL,\n               FieldDescriptorProto::TYPE_INT32);\n  ASSERT_TRUE(pool.BuildFile(file_proto) != NULL);\n  // Add \"bar.proto\":\n  //   import \"google/protobuf/descriptor.proto\";\n  //   extend google.protobuf.FieldOptions {\n  //     optional int32 option2 = 1000;\n  //   }\n  file_proto.Clear();\n  file_proto.set_name(\"bar.proto\");\n  file_proto.add_dependency(\"google/protobuf/descriptor.proto\");\n  AddExtension(&file_proto, \"google.protobuf.FieldOptions\", \"option2\", 1000,\n               FieldDescriptorProto::LABEL_OPTIONAL,\n               FieldDescriptorProto::TYPE_INT32);\n  // Currently we only generate a warning for conflicting extension numbers.\n  // TODO(xiaofeng): Change it to an error.\n  ASSERT_TRUE(pool.BuildFile(file_proto) != NULL);\n}\n\n// ===================================================================\n\n// Test reserved fields.\nclass ReservedDescriptorTest : public testing::Test {\n protected:\n  virtual void SetUp() {\n    // Build descriptors for the following definitions:\n    //\n    //   message Foo {\n    //     reserved 2, 9 to 11, 15;\n    //     reserved \"foo\", \"bar\";\n    //   }\n\n    FileDescriptorProto foo_file;\n    foo_file.set_name(\"foo.proto\");\n\n    DescriptorProto* foo = AddMessage(&foo_file, \"Foo\");\n    AddReservedRange(foo, 2, 3);\n    AddReservedRange(foo, 9, 12);\n    AddReservedRange(foo, 15, 16);\n\n    foo->add_reserved_name(\"foo\");\n    foo->add_reserved_name(\"bar\");\n\n    // Build the descriptors and get the pointers.\n    foo_file_ = pool_.BuildFile(foo_file);\n    ASSERT_TRUE(foo_file_ != NULL);\n\n    ASSERT_EQ(1, foo_file_->message_type_count());\n    foo_ = foo_file_->message_type(0);\n  }\n\n  DescriptorPool pool_;\n  const FileDescriptor* foo_file_;\n  const Descriptor* foo_;\n};\n\nTEST_F(ReservedDescriptorTest, ReservedRanges) {\n  ASSERT_EQ(3, foo_->reserved_range_count());\n\n  EXPECT_EQ(2, foo_->reserved_range(0)->start);\n  EXPECT_EQ(3, foo_->reserved_range(0)->end);\n\n  EXPECT_EQ(9, foo_->reserved_range(1)->start);\n  EXPECT_EQ(12, foo_->reserved_range(1)->end);\n\n  EXPECT_EQ(15, foo_->reserved_range(2)->start);\n  EXPECT_EQ(16, foo_->reserved_range(2)->end);\n};\n\nTEST_F(ReservedDescriptorTest, IsReservedNumber) {\n  EXPECT_FALSE(foo_->IsReservedNumber(1));\n  EXPECT_TRUE (foo_->IsReservedNumber(2));\n  EXPECT_FALSE(foo_->IsReservedNumber(3));\n  EXPECT_FALSE(foo_->IsReservedNumber(8));\n  EXPECT_TRUE (foo_->IsReservedNumber(9));\n  EXPECT_TRUE (foo_->IsReservedNumber(10));\n  EXPECT_TRUE (foo_->IsReservedNumber(11));\n  EXPECT_FALSE(foo_->IsReservedNumber(12));\n  EXPECT_FALSE(foo_->IsReservedNumber(13));\n  EXPECT_FALSE(foo_->IsReservedNumber(14));\n  EXPECT_TRUE (foo_->IsReservedNumber(15));\n  EXPECT_FALSE(foo_->IsReservedNumber(16));\n};\n\nTEST_F(ReservedDescriptorTest, ReservedNames) {\n  ASSERT_EQ(2, foo_->reserved_name_count());\n\n  EXPECT_EQ(\"foo\", foo_->reserved_name(0));\n  EXPECT_EQ(\"bar\", foo_->reserved_name(1));\n};\n\nTEST_F(ReservedDescriptorTest, IsReservedName) {\n  EXPECT_TRUE (foo_->IsReservedName(\"foo\"));\n  EXPECT_TRUE (foo_->IsReservedName(\"bar\"));\n  EXPECT_FALSE(foo_->IsReservedName(\"baz\"));\n};\n\n// ===================================================================\n\nclass MiscTest : public testing::Test {\n protected:\n  // Function which makes a field descriptor of the given type.\n  const FieldDescriptor* GetFieldDescriptorOfType(FieldDescriptor::Type type) {\n    FileDescriptorProto file_proto;\n    file_proto.set_name(\"foo.proto\");\n    AddEmptyEnum(&file_proto, \"DummyEnum\");\n\n    DescriptorProto* message = AddMessage(&file_proto, \"TestMessage\");\n    FieldDescriptorProto* field =\n      AddField(message, \"foo\", 1, FieldDescriptorProto::LABEL_OPTIONAL,\n               static_cast<FieldDescriptorProto::Type>(static_cast<int>(type)));\n\n    if (type == FieldDescriptor::TYPE_MESSAGE ||\n        type == FieldDescriptor::TYPE_GROUP) {\n      field->set_type_name(\"TestMessage\");\n    } else if (type == FieldDescriptor::TYPE_ENUM) {\n      field->set_type_name(\"DummyEnum\");\n    }\n\n    // Build the descriptors and get the pointers.\n    pool_.reset(new DescriptorPool());\n    const FileDescriptor* file = pool_->BuildFile(file_proto);\n\n    if (file != NULL &&\n        file->message_type_count() == 1 &&\n        file->message_type(0)->field_count() == 1) {\n      return file->message_type(0)->field(0);\n    } else {\n      return NULL;\n    }\n  }\n\n  const char* GetTypeNameForFieldType(FieldDescriptor::Type type) {\n    const FieldDescriptor* field = GetFieldDescriptorOfType(type);\n    return field != NULL ? field->type_name() : \"\";\n  }\n\n  FieldDescriptor::CppType GetCppTypeForFieldType(FieldDescriptor::Type type) {\n    const FieldDescriptor* field = GetFieldDescriptorOfType(type);\n    return field != NULL ? field->cpp_type() :\n        static_cast<FieldDescriptor::CppType>(0);\n  }\n\n  const char* GetCppTypeNameForFieldType(FieldDescriptor::Type type) {\n    const FieldDescriptor* field = GetFieldDescriptorOfType(type);\n    return field != NULL ? field->cpp_type_name() : \"\";\n  }\n\n  const Descriptor* GetMessageDescriptorForFieldType(\n      FieldDescriptor::Type type) {\n    const FieldDescriptor* field = GetFieldDescriptorOfType(type);\n    return field != NULL ? field->message_type() : NULL;\n  }\n\n  const EnumDescriptor* GetEnumDescriptorForFieldType(\n    FieldDescriptor::Type type) {\n    const FieldDescriptor* field = GetFieldDescriptorOfType(type);\n    return field != NULL ? field->enum_type() : NULL;\n  }\n\n  google::protobuf::scoped_ptr<DescriptorPool> pool_;\n};\n\nTEST_F(MiscTest, TypeNames) {\n  // Test that correct type names are returned.\n\n  typedef FieldDescriptor FD;  // avoid ugly line wrapping\n\n  EXPECT_STREQ(\"double\"  , GetTypeNameForFieldType(FD::TYPE_DOUBLE  ));\n  EXPECT_STREQ(\"float\"   , GetTypeNameForFieldType(FD::TYPE_FLOAT   ));\n  EXPECT_STREQ(\"int64\"   , GetTypeNameForFieldType(FD::TYPE_INT64   ));\n  EXPECT_STREQ(\"uint64\"  , GetTypeNameForFieldType(FD::TYPE_UINT64  ));\n  EXPECT_STREQ(\"int32\"   , GetTypeNameForFieldType(FD::TYPE_INT32   ));\n  EXPECT_STREQ(\"fixed64\" , GetTypeNameForFieldType(FD::TYPE_FIXED64 ));\n  EXPECT_STREQ(\"fixed32\" , GetTypeNameForFieldType(FD::TYPE_FIXED32 ));\n  EXPECT_STREQ(\"bool\"    , GetTypeNameForFieldType(FD::TYPE_BOOL    ));\n  EXPECT_STREQ(\"string\"  , GetTypeNameForFieldType(FD::TYPE_STRING  ));\n  EXPECT_STREQ(\"group\"   , GetTypeNameForFieldType(FD::TYPE_GROUP   ));\n  EXPECT_STREQ(\"message\" , GetTypeNameForFieldType(FD::TYPE_MESSAGE ));\n  EXPECT_STREQ(\"bytes\"   , GetTypeNameForFieldType(FD::TYPE_BYTES   ));\n  EXPECT_STREQ(\"uint32\"  , GetTypeNameForFieldType(FD::TYPE_UINT32  ));\n  EXPECT_STREQ(\"enum\"    , GetTypeNameForFieldType(FD::TYPE_ENUM    ));\n  EXPECT_STREQ(\"sfixed32\", GetTypeNameForFieldType(FD::TYPE_SFIXED32));\n  EXPECT_STREQ(\"sfixed64\", GetTypeNameForFieldType(FD::TYPE_SFIXED64));\n  EXPECT_STREQ(\"sint32\"  , GetTypeNameForFieldType(FD::TYPE_SINT32  ));\n  EXPECT_STREQ(\"sint64\"  , GetTypeNameForFieldType(FD::TYPE_SINT64  ));\n}\n\nTEST_F(MiscTest, StaticTypeNames) {\n  // Test that correct type names are returned.\n\n  typedef FieldDescriptor FD;  // avoid ugly line wrapping\n\n  EXPECT_STREQ(\"double\"  , FD::TypeName(FD::TYPE_DOUBLE  ));\n  EXPECT_STREQ(\"float\"   , FD::TypeName(FD::TYPE_FLOAT   ));\n  EXPECT_STREQ(\"int64\"   , FD::TypeName(FD::TYPE_INT64   ));\n  EXPECT_STREQ(\"uint64\"  , FD::TypeName(FD::TYPE_UINT64  ));\n  EXPECT_STREQ(\"int32\"   , FD::TypeName(FD::TYPE_INT32   ));\n  EXPECT_STREQ(\"fixed64\" , FD::TypeName(FD::TYPE_FIXED64 ));\n  EXPECT_STREQ(\"fixed32\" , FD::TypeName(FD::TYPE_FIXED32 ));\n  EXPECT_STREQ(\"bool\"    , FD::TypeName(FD::TYPE_BOOL    ));\n  EXPECT_STREQ(\"string\"  , FD::TypeName(FD::TYPE_STRING  ));\n  EXPECT_STREQ(\"group\"   , FD::TypeName(FD::TYPE_GROUP   ));\n  EXPECT_STREQ(\"message\" , FD::TypeName(FD::TYPE_MESSAGE ));\n  EXPECT_STREQ(\"bytes\"   , FD::TypeName(FD::TYPE_BYTES   ));\n  EXPECT_STREQ(\"uint32\"  , FD::TypeName(FD::TYPE_UINT32  ));\n  EXPECT_STREQ(\"enum\"    , FD::TypeName(FD::TYPE_ENUM    ));\n  EXPECT_STREQ(\"sfixed32\", FD::TypeName(FD::TYPE_SFIXED32));\n  EXPECT_STREQ(\"sfixed64\", FD::TypeName(FD::TYPE_SFIXED64));\n  EXPECT_STREQ(\"sint32\"  , FD::TypeName(FD::TYPE_SINT32  ));\n  EXPECT_STREQ(\"sint64\"  , FD::TypeName(FD::TYPE_SINT64  ));\n}\n\nTEST_F(MiscTest, CppTypes) {\n  // Test that CPP types are assigned correctly.\n\n  typedef FieldDescriptor FD;  // avoid ugly line wrapping\n\n  EXPECT_EQ(FD::CPPTYPE_DOUBLE , GetCppTypeForFieldType(FD::TYPE_DOUBLE  ));\n  EXPECT_EQ(FD::CPPTYPE_FLOAT  , GetCppTypeForFieldType(FD::TYPE_FLOAT   ));\n  EXPECT_EQ(FD::CPPTYPE_INT64  , GetCppTypeForFieldType(FD::TYPE_INT64   ));\n  EXPECT_EQ(FD::CPPTYPE_UINT64 , GetCppTypeForFieldType(FD::TYPE_UINT64  ));\n  EXPECT_EQ(FD::CPPTYPE_INT32  , GetCppTypeForFieldType(FD::TYPE_INT32   ));\n  EXPECT_EQ(FD::CPPTYPE_UINT64 , GetCppTypeForFieldType(FD::TYPE_FIXED64 ));\n  EXPECT_EQ(FD::CPPTYPE_UINT32 , GetCppTypeForFieldType(FD::TYPE_FIXED32 ));\n  EXPECT_EQ(FD::CPPTYPE_BOOL   , GetCppTypeForFieldType(FD::TYPE_BOOL    ));\n  EXPECT_EQ(FD::CPPTYPE_STRING , GetCppTypeForFieldType(FD::TYPE_STRING  ));\n  EXPECT_EQ(FD::CPPTYPE_MESSAGE, GetCppTypeForFieldType(FD::TYPE_GROUP   ));\n  EXPECT_EQ(FD::CPPTYPE_MESSAGE, GetCppTypeForFieldType(FD::TYPE_MESSAGE ));\n  EXPECT_EQ(FD::CPPTYPE_STRING , GetCppTypeForFieldType(FD::TYPE_BYTES   ));\n  EXPECT_EQ(FD::CPPTYPE_UINT32 , GetCppTypeForFieldType(FD::TYPE_UINT32  ));\n  EXPECT_EQ(FD::CPPTYPE_ENUM   , GetCppTypeForFieldType(FD::TYPE_ENUM    ));\n  EXPECT_EQ(FD::CPPTYPE_INT32  , GetCppTypeForFieldType(FD::TYPE_SFIXED32));\n  EXPECT_EQ(FD::CPPTYPE_INT64  , GetCppTypeForFieldType(FD::TYPE_SFIXED64));\n  EXPECT_EQ(FD::CPPTYPE_INT32  , GetCppTypeForFieldType(FD::TYPE_SINT32  ));\n  EXPECT_EQ(FD::CPPTYPE_INT64  , GetCppTypeForFieldType(FD::TYPE_SINT64  ));\n}\n\nTEST_F(MiscTest, CppTypeNames) {\n  // Test that correct CPP type names are returned.\n\n  typedef FieldDescriptor FD;  // avoid ugly line wrapping\n\n  EXPECT_STREQ(\"double\" , GetCppTypeNameForFieldType(FD::TYPE_DOUBLE  ));\n  EXPECT_STREQ(\"float\"  , GetCppTypeNameForFieldType(FD::TYPE_FLOAT   ));\n  EXPECT_STREQ(\"int64\"  , GetCppTypeNameForFieldType(FD::TYPE_INT64   ));\n  EXPECT_STREQ(\"uint64\" , GetCppTypeNameForFieldType(FD::TYPE_UINT64  ));\n  EXPECT_STREQ(\"int32\"  , GetCppTypeNameForFieldType(FD::TYPE_INT32   ));\n  EXPECT_STREQ(\"uint64\" , GetCppTypeNameForFieldType(FD::TYPE_FIXED64 ));\n  EXPECT_STREQ(\"uint32\" , GetCppTypeNameForFieldType(FD::TYPE_FIXED32 ));\n  EXPECT_STREQ(\"bool\"   , GetCppTypeNameForFieldType(FD::TYPE_BOOL    ));\n  EXPECT_STREQ(\"string\" , GetCppTypeNameForFieldType(FD::TYPE_STRING  ));\n  EXPECT_STREQ(\"message\", GetCppTypeNameForFieldType(FD::TYPE_GROUP   ));\n  EXPECT_STREQ(\"message\", GetCppTypeNameForFieldType(FD::TYPE_MESSAGE ));\n  EXPECT_STREQ(\"string\" , GetCppTypeNameForFieldType(FD::TYPE_BYTES   ));\n  EXPECT_STREQ(\"uint32\" , GetCppTypeNameForFieldType(FD::TYPE_UINT32  ));\n  EXPECT_STREQ(\"enum\"   , GetCppTypeNameForFieldType(FD::TYPE_ENUM    ));\n  EXPECT_STREQ(\"int32\"  , GetCppTypeNameForFieldType(FD::TYPE_SFIXED32));\n  EXPECT_STREQ(\"int64\"  , GetCppTypeNameForFieldType(FD::TYPE_SFIXED64));\n  EXPECT_STREQ(\"int32\"  , GetCppTypeNameForFieldType(FD::TYPE_SINT32  ));\n  EXPECT_STREQ(\"int64\"  , GetCppTypeNameForFieldType(FD::TYPE_SINT64  ));\n}\n\nTEST_F(MiscTest, StaticCppTypeNames) {\n  // Test that correct CPP type names are returned.\n\n  typedef FieldDescriptor FD;  // avoid ugly line wrapping\n\n  EXPECT_STREQ(\"int32\"  , FD::CppTypeName(FD::CPPTYPE_INT32  ));\n  EXPECT_STREQ(\"int64\"  , FD::CppTypeName(FD::CPPTYPE_INT64  ));\n  EXPECT_STREQ(\"uint32\" , FD::CppTypeName(FD::CPPTYPE_UINT32 ));\n  EXPECT_STREQ(\"uint64\" , FD::CppTypeName(FD::CPPTYPE_UINT64 ));\n  EXPECT_STREQ(\"double\" , FD::CppTypeName(FD::CPPTYPE_DOUBLE ));\n  EXPECT_STREQ(\"float\"  , FD::CppTypeName(FD::CPPTYPE_FLOAT  ));\n  EXPECT_STREQ(\"bool\"   , FD::CppTypeName(FD::CPPTYPE_BOOL   ));\n  EXPECT_STREQ(\"enum\"   , FD::CppTypeName(FD::CPPTYPE_ENUM   ));\n  EXPECT_STREQ(\"string\" , FD::CppTypeName(FD::CPPTYPE_STRING ));\n  EXPECT_STREQ(\"message\", FD::CppTypeName(FD::CPPTYPE_MESSAGE));\n}\n\nTEST_F(MiscTest, MessageType) {\n  // Test that message_type() is NULL for non-aggregate fields\n\n  typedef FieldDescriptor FD;  // avoid ugly line wrapping\n\n  EXPECT_TRUE(NULL == GetMessageDescriptorForFieldType(FD::TYPE_DOUBLE  ));\n  EXPECT_TRUE(NULL == GetMessageDescriptorForFieldType(FD::TYPE_FLOAT   ));\n  EXPECT_TRUE(NULL == GetMessageDescriptorForFieldType(FD::TYPE_INT64   ));\n  EXPECT_TRUE(NULL == GetMessageDescriptorForFieldType(FD::TYPE_UINT64  ));\n  EXPECT_TRUE(NULL == GetMessageDescriptorForFieldType(FD::TYPE_INT32   ));\n  EXPECT_TRUE(NULL == GetMessageDescriptorForFieldType(FD::TYPE_FIXED64 ));\n  EXPECT_TRUE(NULL == GetMessageDescriptorForFieldType(FD::TYPE_FIXED32 ));\n  EXPECT_TRUE(NULL == GetMessageDescriptorForFieldType(FD::TYPE_BOOL    ));\n  EXPECT_TRUE(NULL == GetMessageDescriptorForFieldType(FD::TYPE_STRING  ));\n  EXPECT_TRUE(NULL != GetMessageDescriptorForFieldType(FD::TYPE_GROUP   ));\n  EXPECT_TRUE(NULL != GetMessageDescriptorForFieldType(FD::TYPE_MESSAGE ));\n  EXPECT_TRUE(NULL == GetMessageDescriptorForFieldType(FD::TYPE_BYTES   ));\n  EXPECT_TRUE(NULL == GetMessageDescriptorForFieldType(FD::TYPE_UINT32  ));\n  EXPECT_TRUE(NULL == GetMessageDescriptorForFieldType(FD::TYPE_ENUM    ));\n  EXPECT_TRUE(NULL == GetMessageDescriptorForFieldType(FD::TYPE_SFIXED32));\n  EXPECT_TRUE(NULL == GetMessageDescriptorForFieldType(FD::TYPE_SFIXED64));\n  EXPECT_TRUE(NULL == GetMessageDescriptorForFieldType(FD::TYPE_SINT32  ));\n  EXPECT_TRUE(NULL == GetMessageDescriptorForFieldType(FD::TYPE_SINT64  ));\n}\n\nTEST_F(MiscTest, EnumType) {\n  // Test that enum_type() is NULL for non-enum fields\n\n  typedef FieldDescriptor FD;  // avoid ugly line wrapping\n\n  EXPECT_TRUE(NULL == GetEnumDescriptorForFieldType(FD::TYPE_DOUBLE  ));\n  EXPECT_TRUE(NULL == GetEnumDescriptorForFieldType(FD::TYPE_FLOAT   ));\n  EXPECT_TRUE(NULL == GetEnumDescriptorForFieldType(FD::TYPE_INT64   ));\n  EXPECT_TRUE(NULL == GetEnumDescriptorForFieldType(FD::TYPE_UINT64  ));\n  EXPECT_TRUE(NULL == GetEnumDescriptorForFieldType(FD::TYPE_INT32   ));\n  EXPECT_TRUE(NULL == GetEnumDescriptorForFieldType(FD::TYPE_FIXED64 ));\n  EXPECT_TRUE(NULL == GetEnumDescriptorForFieldType(FD::TYPE_FIXED32 ));\n  EXPECT_TRUE(NULL == GetEnumDescriptorForFieldType(FD::TYPE_BOOL    ));\n  EXPECT_TRUE(NULL == GetEnumDescriptorForFieldType(FD::TYPE_STRING  ));\n  EXPECT_TRUE(NULL == GetEnumDescriptorForFieldType(FD::TYPE_GROUP   ));\n  EXPECT_TRUE(NULL == GetEnumDescriptorForFieldType(FD::TYPE_MESSAGE ));\n  EXPECT_TRUE(NULL == GetEnumDescriptorForFieldType(FD::TYPE_BYTES   ));\n  EXPECT_TRUE(NULL == GetEnumDescriptorForFieldType(FD::TYPE_UINT32  ));\n  EXPECT_TRUE(NULL != GetEnumDescriptorForFieldType(FD::TYPE_ENUM    ));\n  EXPECT_TRUE(NULL == GetEnumDescriptorForFieldType(FD::TYPE_SFIXED32));\n  EXPECT_TRUE(NULL == GetEnumDescriptorForFieldType(FD::TYPE_SFIXED64));\n  EXPECT_TRUE(NULL == GetEnumDescriptorForFieldType(FD::TYPE_SINT32  ));\n  EXPECT_TRUE(NULL == GetEnumDescriptorForFieldType(FD::TYPE_SINT64  ));\n}\n\n\nTEST_F(MiscTest, DefaultValues) {\n  // Test that setting default values works.\n  FileDescriptorProto file_proto;\n  file_proto.set_name(\"foo.proto\");\n\n  EnumDescriptorProto* enum_type_proto = AddEnum(&file_proto, \"DummyEnum\");\n  AddEnumValue(enum_type_proto, \"A\", 1);\n  AddEnumValue(enum_type_proto, \"B\", 2);\n\n  DescriptorProto* message_proto = AddMessage(&file_proto, \"TestMessage\");\n\n  typedef FieldDescriptorProto FD;  // avoid ugly line wrapping\n  const FD::Label label = FD::LABEL_OPTIONAL;\n\n  // Create fields of every CPP type with default values.\n  AddField(message_proto, \"int32\" , 1, label, FD::TYPE_INT32 )\n    ->set_default_value(\"-1\");\n  AddField(message_proto, \"int64\" , 2, label, FD::TYPE_INT64 )\n    ->set_default_value(\"-1000000000000\");\n  AddField(message_proto, \"uint32\", 3, label, FD::TYPE_UINT32)\n    ->set_default_value(\"42\");\n  AddField(message_proto, \"uint64\", 4, label, FD::TYPE_UINT64)\n    ->set_default_value(\"2000000000000\");\n  AddField(message_proto, \"float\" , 5, label, FD::TYPE_FLOAT )\n    ->set_default_value(\"4.5\");\n  AddField(message_proto, \"double\", 6, label, FD::TYPE_DOUBLE)\n    ->set_default_value(\"10e100\");\n  AddField(message_proto, \"bool\"  , 7, label, FD::TYPE_BOOL  )\n    ->set_default_value(\"true\");\n  AddField(message_proto, \"string\", 8, label, FD::TYPE_STRING)\n    ->set_default_value(\"hello\");\n  AddField(message_proto, \"data\"  , 9, label, FD::TYPE_BYTES )\n    ->set_default_value(\"\\\\001\\\\002\\\\003\");\n\n  FieldDescriptorProto* enum_field =\n    AddField(message_proto, \"enum\", 10, label, FD::TYPE_ENUM);\n  enum_field->set_type_name(\"DummyEnum\");\n  enum_field->set_default_value(\"B\");\n\n  // Strings are allowed to have empty defaults.  (At one point, due to\n  // a bug, empty defaults for strings were rejected.  Oops.)\n  AddField(message_proto, \"empty_string\", 11, label, FD::TYPE_STRING)\n    ->set_default_value(\"\");\n\n  // Add a second set of fields with implicit defalut values.\n  AddField(message_proto, \"implicit_int32\" , 21, label, FD::TYPE_INT32 );\n  AddField(message_proto, \"implicit_int64\" , 22, label, FD::TYPE_INT64 );\n  AddField(message_proto, \"implicit_uint32\", 23, label, FD::TYPE_UINT32);\n  AddField(message_proto, \"implicit_uint64\", 24, label, FD::TYPE_UINT64);\n  AddField(message_proto, \"implicit_float\" , 25, label, FD::TYPE_FLOAT );\n  AddField(message_proto, \"implicit_double\", 26, label, FD::TYPE_DOUBLE);\n  AddField(message_proto, \"implicit_bool\"  , 27, label, FD::TYPE_BOOL  );\n  AddField(message_proto, \"implicit_string\", 28, label, FD::TYPE_STRING);\n  AddField(message_proto, \"implicit_data\"  , 29, label, FD::TYPE_BYTES );\n  AddField(message_proto, \"implicit_enum\"  , 30, label, FD::TYPE_ENUM)\n    ->set_type_name(\"DummyEnum\");\n\n  // Build it.\n  DescriptorPool pool;\n  const FileDescriptor* file = pool.BuildFile(file_proto);\n  ASSERT_TRUE(file != NULL);\n\n  ASSERT_EQ(1, file->enum_type_count());\n  const EnumDescriptor* enum_type = file->enum_type(0);\n  ASSERT_EQ(2, enum_type->value_count());\n  const EnumValueDescriptor* enum_value_a = enum_type->value(0);\n  const EnumValueDescriptor* enum_value_b = enum_type->value(1);\n\n  ASSERT_EQ(1, file->message_type_count());\n  const Descriptor* message = file->message_type(0);\n\n  ASSERT_EQ(21, message->field_count());\n\n  // Check the default values.\n  ASSERT_TRUE(message->field(0)->has_default_value());\n  ASSERT_TRUE(message->field(1)->has_default_value());\n  ASSERT_TRUE(message->field(2)->has_default_value());\n  ASSERT_TRUE(message->field(3)->has_default_value());\n  ASSERT_TRUE(message->field(4)->has_default_value());\n  ASSERT_TRUE(message->field(5)->has_default_value());\n  ASSERT_TRUE(message->field(6)->has_default_value());\n  ASSERT_TRUE(message->field(7)->has_default_value());\n  ASSERT_TRUE(message->field(8)->has_default_value());\n  ASSERT_TRUE(message->field(9)->has_default_value());\n  ASSERT_TRUE(message->field(10)->has_default_value());\n\n  EXPECT_EQ(-1              , message->field(0)->default_value_int32 ());\n  EXPECT_EQ(-GOOGLE_ULONGLONG(1000000000000),\n            message->field(1)->default_value_int64 ());\n  EXPECT_EQ(42              , message->field(2)->default_value_uint32());\n  EXPECT_EQ(GOOGLE_ULONGLONG(2000000000000),\n            message->field(3)->default_value_uint64());\n  EXPECT_EQ(4.5             , message->field(4)->default_value_float ());\n  EXPECT_EQ(10e100          , message->field(5)->default_value_double());\n  EXPECT_TRUE(                message->field(6)->default_value_bool  ());\n  EXPECT_EQ(\"hello\"         , message->field(7)->default_value_string());\n  EXPECT_EQ(\"\\001\\002\\003\"  , message->field(8)->default_value_string());\n  EXPECT_EQ(enum_value_b    , message->field(9)->default_value_enum  ());\n  EXPECT_EQ(\"\"              , message->field(10)->default_value_string());\n\n  ASSERT_FALSE(message->field(11)->has_default_value());\n  ASSERT_FALSE(message->field(12)->has_default_value());\n  ASSERT_FALSE(message->field(13)->has_default_value());\n  ASSERT_FALSE(message->field(14)->has_default_value());\n  ASSERT_FALSE(message->field(15)->has_default_value());\n  ASSERT_FALSE(message->field(16)->has_default_value());\n  ASSERT_FALSE(message->field(17)->has_default_value());\n  ASSERT_FALSE(message->field(18)->has_default_value());\n  ASSERT_FALSE(message->field(19)->has_default_value());\n  ASSERT_FALSE(message->field(20)->has_default_value());\n\n  EXPECT_EQ(0    , message->field(11)->default_value_int32 ());\n  EXPECT_EQ(0    , message->field(12)->default_value_int64 ());\n  EXPECT_EQ(0    , message->field(13)->default_value_uint32());\n  EXPECT_EQ(0    , message->field(14)->default_value_uint64());\n  EXPECT_EQ(0.0f , message->field(15)->default_value_float ());\n  EXPECT_EQ(0.0  , message->field(16)->default_value_double());\n  EXPECT_FALSE(    message->field(17)->default_value_bool  ());\n  EXPECT_EQ(\"\"   , message->field(18)->default_value_string());\n  EXPECT_EQ(\"\"   , message->field(19)->default_value_string());\n  EXPECT_EQ(enum_value_a, message->field(20)->default_value_enum());\n}\n\nTEST_F(MiscTest, FieldOptions) {\n  // Try setting field options.\n\n  FileDescriptorProto file_proto;\n  file_proto.set_name(\"foo.proto\");\n\n  DescriptorProto* message_proto = AddMessage(&file_proto, \"TestMessage\");\n  AddField(message_proto, \"foo\", 1,\n           FieldDescriptorProto::LABEL_OPTIONAL,\n           FieldDescriptorProto::TYPE_INT32);\n  FieldDescriptorProto* bar_proto =\n    AddField(message_proto, \"bar\", 2,\n             FieldDescriptorProto::LABEL_OPTIONAL,\n             FieldDescriptorProto::TYPE_INT32);\n\n  FieldOptions* options = bar_proto->mutable_options();\n  options->set_ctype(FieldOptions::CORD);\n\n  // Build the descriptors and get the pointers.\n  DescriptorPool pool;\n  const FileDescriptor* file = pool.BuildFile(file_proto);\n  ASSERT_TRUE(file != NULL);\n\n  ASSERT_EQ(1, file->message_type_count());\n  const Descriptor* message = file->message_type(0);\n\n  ASSERT_EQ(2, message->field_count());\n  const FieldDescriptor* foo = message->field(0);\n  const FieldDescriptor* bar = message->field(1);\n\n  // \"foo\" had no options set, so it should return the default options.\n  EXPECT_EQ(&FieldOptions::default_instance(), &foo->options());\n\n  // \"bar\" had options set.\n  EXPECT_NE(&FieldOptions::default_instance(), options);\n  EXPECT_TRUE(bar->options().has_ctype());\n  EXPECT_EQ(FieldOptions::CORD, bar->options().ctype());\n}\n\n// ===================================================================\nenum DescriptorPoolMode {\n  NO_DATABASE,\n  FALLBACK_DATABASE\n};\n\nclass AllowUnknownDependenciesTest\n    : public testing::TestWithParam<DescriptorPoolMode> {\n protected:\n  DescriptorPoolMode mode() {\n    return GetParam();\n   }\n\n  virtual void SetUp() {\n    FileDescriptorProto foo_proto, bar_proto;\n\n    switch (mode()) {\n      case NO_DATABASE:\n        pool_.reset(new DescriptorPool);\n        break;\n      case FALLBACK_DATABASE:\n        pool_.reset(new DescriptorPool(&db_));\n        break;\n    }\n\n    pool_->AllowUnknownDependencies();\n\n    ASSERT_TRUE(TextFormat::ParseFromString(\n      \"name: 'foo.proto'\"\n      \"dependency: 'bar.proto'\"\n      \"dependency: 'baz.proto'\"\n      \"message_type {\"\n      \"  name: 'Foo'\"\n      \"  field { name:'bar' number:1 label:LABEL_OPTIONAL type_name:'Bar' }\"\n      \"  field { name:'baz' number:2 label:LABEL_OPTIONAL type_name:'Baz' }\"\n      \"  field { name:'qux' number:3 label:LABEL_OPTIONAL\"\n      \"    type_name: '.corge.Qux'\"\n      \"    type: TYPE_ENUM\"\n      \"    options {\"\n      \"      uninterpreted_option {\"\n      \"        name {\"\n      \"          name_part: 'grault'\"\n      \"          is_extension: true\"\n      \"        }\"\n      \"        positive_int_value: 1234\"\n      \"      }\"\n      \"    }\"\n      \"  }\"\n      \"}\",\n      &foo_proto));\n    ASSERT_TRUE(TextFormat::ParseFromString(\n      \"name: 'bar.proto'\"\n      \"message_type { name: 'Bar' }\",\n      &bar_proto));\n\n    // Collect pointers to stuff.\n    bar_file_ = BuildFile(bar_proto);\n    ASSERT_TRUE(bar_file_ != NULL);\n\n    ASSERT_EQ(1, bar_file_->message_type_count());\n    bar_type_ = bar_file_->message_type(0);\n\n    foo_file_ = BuildFile(foo_proto);\n    ASSERT_TRUE(foo_file_ != NULL);\n\n    ASSERT_EQ(1, foo_file_->message_type_count());\n    foo_type_ = foo_file_->message_type(0);\n\n    ASSERT_EQ(3, foo_type_->field_count());\n    bar_field_ = foo_type_->field(0);\n    baz_field_ = foo_type_->field(1);\n    qux_field_ = foo_type_->field(2);\n  }\n\n  const FileDescriptor* BuildFile(const FileDescriptorProto& proto) {\n    switch (mode()) {\n      case NO_DATABASE:\n        return pool_->BuildFile(proto);\n        break;\n      case FALLBACK_DATABASE: {\n        EXPECT_TRUE(db_.Add(proto));\n        return pool_->FindFileByName(proto.name());\n      }\n    }\n    GOOGLE_LOG(FATAL) << \"Can't get here.\";\n    return NULL;\n  }\n\n  const FileDescriptor* bar_file_;\n  const Descriptor* bar_type_;\n  const FileDescriptor* foo_file_;\n  const Descriptor* foo_type_;\n  const FieldDescriptor* bar_field_;\n  const FieldDescriptor* baz_field_;\n  const FieldDescriptor* qux_field_;\n\n  SimpleDescriptorDatabase db_;        // used if in FALLBACK_DATABASE mode.\n  google::protobuf::scoped_ptr<DescriptorPool> pool_;\n};\n\nTEST_P(AllowUnknownDependenciesTest, PlaceholderFile) {\n  ASSERT_EQ(2, foo_file_->dependency_count());\n  EXPECT_EQ(bar_file_, foo_file_->dependency(0));\n  EXPECT_FALSE(bar_file_->is_placeholder());\n\n  const FileDescriptor* baz_file = foo_file_->dependency(1);\n  EXPECT_EQ(\"baz.proto\", baz_file->name());\n  EXPECT_EQ(0, baz_file->message_type_count());\n  EXPECT_TRUE(baz_file->is_placeholder());\n\n  // Placeholder files should not be findable.\n  EXPECT_EQ(bar_file_, pool_->FindFileByName(bar_file_->name()));\n  EXPECT_TRUE(pool_->FindFileByName(baz_file->name()) == NULL);\n\n  // Copy*To should not crash for placeholder files.\n  FileDescriptorProto baz_file_proto;\n  baz_file->CopyTo(&baz_file_proto);\n  baz_file->CopySourceCodeInfoTo(&baz_file_proto);\n  EXPECT_FALSE(baz_file_proto.has_source_code_info());\n}\n\nTEST_P(AllowUnknownDependenciesTest, PlaceholderTypes) {\n  ASSERT_EQ(FieldDescriptor::TYPE_MESSAGE, bar_field_->type());\n  EXPECT_EQ(bar_type_, bar_field_->message_type());\n  EXPECT_FALSE(bar_type_->is_placeholder());\n\n  ASSERT_EQ(FieldDescriptor::TYPE_MESSAGE, baz_field_->type());\n  const Descriptor* baz_type = baz_field_->message_type();\n  EXPECT_EQ(\"Baz\", baz_type->name());\n  EXPECT_EQ(\"Baz\", baz_type->full_name());\n  EXPECT_EQ(0, baz_type->extension_range_count());\n  EXPECT_TRUE(baz_type->is_placeholder());\n\n  ASSERT_EQ(FieldDescriptor::TYPE_ENUM, qux_field_->type());\n  const EnumDescriptor* qux_type = qux_field_->enum_type();\n  EXPECT_EQ(\"Qux\", qux_type->name());\n  EXPECT_EQ(\"corge.Qux\", qux_type->full_name());\n  EXPECT_TRUE(qux_type->is_placeholder());\n\n  // Placeholder types should not be findable.\n  EXPECT_EQ(bar_type_, pool_->FindMessageTypeByName(bar_type_->full_name()));\n  EXPECT_TRUE(pool_->FindMessageTypeByName(baz_type->full_name()) == NULL);\n  EXPECT_TRUE(pool_->FindEnumTypeByName(qux_type->full_name()) == NULL);\n}\n\nTEST_P(AllowUnknownDependenciesTest, CopyTo) {\n  // FieldDescriptor::CopyTo() should write non-fully-qualified type names\n  // for placeholder types which were not originally fully-qualified.\n  FieldDescriptorProto proto;\n\n  // Bar is not a placeholder, so it is fully-qualified.\n  bar_field_->CopyTo(&proto);\n  EXPECT_EQ(\".Bar\", proto.type_name());\n  EXPECT_EQ(FieldDescriptorProto::TYPE_MESSAGE, proto.type());\n\n  // Baz is an unqualified placeholder.\n  proto.Clear();\n  baz_field_->CopyTo(&proto);\n  EXPECT_EQ(\"Baz\", proto.type_name());\n  EXPECT_FALSE(proto.has_type());\n\n  // Qux is a fully-qualified placeholder.\n  proto.Clear();\n  qux_field_->CopyTo(&proto);\n  EXPECT_EQ(\".corge.Qux\", proto.type_name());\n  EXPECT_EQ(FieldDescriptorProto::TYPE_ENUM, proto.type());\n}\n\nTEST_P(AllowUnknownDependenciesTest, CustomOptions) {\n  // Qux should still have the uninterpreted option attached.\n  ASSERT_EQ(1, qux_field_->options().uninterpreted_option_size());\n  const UninterpretedOption& option =\n    qux_field_->options().uninterpreted_option(0);\n  ASSERT_EQ(1, option.name_size());\n  EXPECT_EQ(\"grault\", option.name(0).name_part());\n}\n\nTEST_P(AllowUnknownDependenciesTest, UnknownExtendee) {\n  // Test that we can extend an unknown type.  This is slightly tricky because\n  // it means that the placeholder type must have an extension range.\n\n  FileDescriptorProto extension_proto;\n\n  ASSERT_TRUE(TextFormat::ParseFromString(\n    \"name: 'extension.proto'\"\n    \"extension { extendee: 'UnknownType' name:'some_extension' number:123\"\n    \"            label:LABEL_OPTIONAL type:TYPE_INT32 }\",\n    &extension_proto));\n  const FileDescriptor* file = BuildFile(extension_proto);\n\n  ASSERT_TRUE(file != NULL);\n\n  ASSERT_EQ(1, file->extension_count());\n  const Descriptor* extendee = file->extension(0)->containing_type();\n  EXPECT_EQ(\"UnknownType\", extendee->name());\n  EXPECT_TRUE(extendee->is_placeholder());\n  ASSERT_EQ(1, extendee->extension_range_count());\n  EXPECT_EQ(1, extendee->extension_range(0)->start);\n  EXPECT_EQ(FieldDescriptor::kMaxNumber + 1, extendee->extension_range(0)->end);\n}\n\nTEST_P(AllowUnknownDependenciesTest, CustomOption) {\n  // Test that we can use a custom option without having parsed\n  // descriptor.proto.\n\n  FileDescriptorProto option_proto;\n\n  ASSERT_TRUE(TextFormat::ParseFromString(\n    \"name: \\\"unknown_custom_options.proto\\\" \"\n    \"dependency: \\\"google/protobuf/descriptor.proto\\\" \"\n    \"extension { \"\n    \"  extendee: \\\"google.protobuf.FileOptions\\\" \"\n    \"  name: \\\"some_option\\\" \"\n    \"  number: 123456 \"\n    \"  label: LABEL_OPTIONAL \"\n    \"  type: TYPE_INT32 \"\n    \"} \"\n    \"options { \"\n    \"  uninterpreted_option { \"\n    \"    name { \"\n    \"      name_part: \\\"some_option\\\" \"\n    \"      is_extension: true \"\n    \"    } \"\n    \"    positive_int_value: 1234 \"\n    \"  } \"\n    \"  uninterpreted_option { \"\n    \"    name { \"\n    \"      name_part: \\\"unknown_option\\\" \"\n    \"      is_extension: true \"\n    \"    } \"\n    \"    positive_int_value: 1234 \"\n    \"  } \"\n    \"  uninterpreted_option { \"\n    \"    name { \"\n    \"      name_part: \\\"optimize_for\\\" \"\n    \"      is_extension: false \"\n    \"    } \"\n    \"    identifier_value: \\\"SPEED\\\" \"\n    \"  } \"\n    \"}\",\n    &option_proto));\n\n  const FileDescriptor* file = BuildFile(option_proto);\n  ASSERT_TRUE(file != NULL);\n\n  // Verify that no extension options were set, but they were left as\n  // uninterpreted_options.\n  vector<const FieldDescriptor*> fields;\n  file->options().GetReflection()->ListFields(file->options(), &fields);\n  ASSERT_EQ(2, fields.size());\n  EXPECT_TRUE(file->options().has_optimize_for());\n  EXPECT_EQ(2, file->options().uninterpreted_option_size());\n}\n\nTEST_P(AllowUnknownDependenciesTest,\n       UndeclaredDependencyTriggersBuildOfDependency) {\n  // Crazy case: suppose foo.proto refers to a symbol without declaring the\n  // dependency that finds it. In the event that the pool is backed by a\n  // DescriptorDatabase, the pool will attempt to find the symbol in the\n  // database. If successful, it will build the undeclared dependency to verify\n  // that the file does indeed contain the symbol. If that file fails to build,\n  // then its descriptors must be rolled back. However, we still want foo.proto\n  // to build successfully, since we are allowing unknown dependencies.\n\n  FileDescriptorProto undeclared_dep_proto;\n  // We make this file fail to build by giving it two fields with tag 1.\n  ASSERT_TRUE(TextFormat::ParseFromString(\n    \"name: \\\"invalid_file_as_undeclared_dep.proto\\\" \"\n    \"package: \\\"undeclared\\\" \"\n    \"message_type: {  \"\n    \"  name: \\\"Quux\\\"  \"\n    \"  field { \"\n    \"    name:'qux' number:1 label:LABEL_OPTIONAL type: TYPE_INT32 \"\n    \"  }\"\n    \"  field { \"\n    \"    name:'quux' number:1 label:LABEL_OPTIONAL type: TYPE_INT64 \"\n    \"  }\"\n    \"}\",\n    &undeclared_dep_proto));\n  // We can't use the BuildFile() helper because we don't actually want to build\n  // it into the descriptor pool in the fallback database case: it just needs to\n  // be sitting in the database so that it gets built during the building of\n  // test.proto below.\n  switch (mode()) {\n    case NO_DATABASE: {\n      ASSERT_TRUE(pool_->BuildFile(undeclared_dep_proto) == NULL);\n      break;\n    }\n    case FALLBACK_DATABASE: {\n      ASSERT_TRUE(db_.Add(undeclared_dep_proto));\n    }\n  }\n\n  FileDescriptorProto test_proto;\n  ASSERT_TRUE(TextFormat::ParseFromString(\n    \"name: \\\"test.proto\\\" \"\n    \"message_type: { \"\n    \"  name: \\\"Corge\\\" \"\n    \"  field { \"\n    \"    name:'quux' number:1 label: LABEL_OPTIONAL \"\n    \"    type_name:'undeclared.Quux' type: TYPE_MESSAGE \"\n    \"  }\"\n    \"}\",\n    &test_proto));\n\n  const FileDescriptor* file = BuildFile(test_proto);\n  ASSERT_TRUE(file != NULL);\n  GOOGLE_LOG(INFO) << file->DebugString();\n\n  EXPECT_EQ(0, file->dependency_count());\n  ASSERT_EQ(1, file->message_type_count());\n  const Descriptor* corge_desc = file->message_type(0);\n  ASSERT_EQ(\"Corge\", corge_desc->name());\n  ASSERT_EQ(1, corge_desc->field_count());\n  EXPECT_FALSE(corge_desc->is_placeholder());\n\n  const FieldDescriptor* quux_field = corge_desc->field(0);\n  ASSERT_EQ(FieldDescriptor::TYPE_MESSAGE, quux_field->type());\n  ASSERT_EQ(\"Quux\", quux_field->message_type()->name());\n  ASSERT_EQ(\"undeclared.Quux\", quux_field->message_type()->full_name());\n  EXPECT_TRUE(quux_field->message_type()->is_placeholder());\n  // The place holder type should not be findable.\n  ASSERT_TRUE(pool_->FindMessageTypeByName(\"undeclared.Quux\") == NULL);\n}\n\nINSTANTIATE_TEST_CASE_P(DatabaseSource,\n                        AllowUnknownDependenciesTest,\n                        testing::Values(NO_DATABASE, FALLBACK_DATABASE));\n\n// ===================================================================\n\nTEST(CustomOptions, OptionLocations) {\n  const Descriptor* message =\n      protobuf_unittest::TestMessageWithCustomOptions::descriptor();\n  const FileDescriptor* file = message->file();\n  const FieldDescriptor* field = message->FindFieldByName(\"field1\");\n  const EnumDescriptor* enm = message->FindEnumTypeByName(\"AnEnum\");\n  // TODO(benjy): Support EnumValue options, once the compiler does.\n  const ServiceDescriptor* service =\n      file->FindServiceByName(\"TestServiceWithCustomOptions\");\n  const MethodDescriptor* method = service->FindMethodByName(\"Foo\");\n\n  EXPECT_EQ(GOOGLE_LONGLONG(9876543210),\n            file->options().GetExtension(protobuf_unittest::file_opt1));\n  EXPECT_EQ(-56,\n            message->options().GetExtension(protobuf_unittest::message_opt1));\n  EXPECT_EQ(GOOGLE_LONGLONG(8765432109),\n            field->options().GetExtension(protobuf_unittest::field_opt1));\n  EXPECT_EQ(42,  // Check that we get the default for an option we don't set.\n            field->options().GetExtension(protobuf_unittest::field_opt2));\n  EXPECT_EQ(-789,\n            enm->options().GetExtension(protobuf_unittest::enum_opt1));\n  EXPECT_EQ(123,\n            enm->value(1)->options().GetExtension(\n              protobuf_unittest::enum_value_opt1));\n  EXPECT_EQ(GOOGLE_LONGLONG(-9876543210),\n            service->options().GetExtension(protobuf_unittest::service_opt1));\n  EXPECT_EQ(protobuf_unittest::METHODOPT1_VAL2,\n            method->options().GetExtension(protobuf_unittest::method_opt1));\n\n  // See that the regular options went through unscathed.\n  EXPECT_TRUE(message->options().has_message_set_wire_format());\n  EXPECT_EQ(FieldOptions::CORD, field->options().ctype());\n}\n\nTEST(CustomOptions, OptionTypes) {\n  const MessageOptions* options = NULL;\n\n  options =\n      &protobuf_unittest::CustomOptionMinIntegerValues::descriptor()->options();\n  EXPECT_EQ(false    , options->GetExtension(protobuf_unittest::bool_opt));\n  EXPECT_EQ(kint32min, options->GetExtension(protobuf_unittest::int32_opt));\n  EXPECT_EQ(kint64min, options->GetExtension(protobuf_unittest::int64_opt));\n  EXPECT_EQ(0        , options->GetExtension(protobuf_unittest::uint32_opt));\n  EXPECT_EQ(0        , options->GetExtension(protobuf_unittest::uint64_opt));\n  EXPECT_EQ(kint32min, options->GetExtension(protobuf_unittest::sint32_opt));\n  EXPECT_EQ(kint64min, options->GetExtension(protobuf_unittest::sint64_opt));\n  EXPECT_EQ(0        , options->GetExtension(protobuf_unittest::fixed32_opt));\n  EXPECT_EQ(0        , options->GetExtension(protobuf_unittest::fixed64_opt));\n  EXPECT_EQ(kint32min, options->GetExtension(protobuf_unittest::sfixed32_opt));\n  EXPECT_EQ(kint64min, options->GetExtension(protobuf_unittest::sfixed64_opt));\n\n  options =\n      &protobuf_unittest::CustomOptionMaxIntegerValues::descriptor()->options();\n  EXPECT_EQ(true      , options->GetExtension(protobuf_unittest::bool_opt));\n  EXPECT_EQ(kint32max , options->GetExtension(protobuf_unittest::int32_opt));\n  EXPECT_EQ(kint64max , options->GetExtension(protobuf_unittest::int64_opt));\n  EXPECT_EQ(kuint32max, options->GetExtension(protobuf_unittest::uint32_opt));\n  EXPECT_EQ(kuint64max, options->GetExtension(protobuf_unittest::uint64_opt));\n  EXPECT_EQ(kint32max , options->GetExtension(protobuf_unittest::sint32_opt));\n  EXPECT_EQ(kint64max , options->GetExtension(protobuf_unittest::sint64_opt));\n  EXPECT_EQ(kuint32max, options->GetExtension(protobuf_unittest::fixed32_opt));\n  EXPECT_EQ(kuint64max, options->GetExtension(protobuf_unittest::fixed64_opt));\n  EXPECT_EQ(kint32max , options->GetExtension(protobuf_unittest::sfixed32_opt));\n  EXPECT_EQ(kint64max , options->GetExtension(protobuf_unittest::sfixed64_opt));\n\n  options =\n      &protobuf_unittest::CustomOptionOtherValues::descriptor()->options();\n  EXPECT_EQ(-100, options->GetExtension(protobuf_unittest::int32_opt));\n  EXPECT_FLOAT_EQ(12.3456789,\n                  options->GetExtension(protobuf_unittest::float_opt));\n  EXPECT_DOUBLE_EQ(1.234567890123456789,\n                   options->GetExtension(protobuf_unittest::double_opt));\n  EXPECT_EQ(\"Hello, \\\"World\\\"\",\n            options->GetExtension(protobuf_unittest::string_opt));\n\n  EXPECT_EQ(string(\"Hello\\0World\", 11),\n            options->GetExtension(protobuf_unittest::bytes_opt));\n\n  EXPECT_EQ(protobuf_unittest::DummyMessageContainingEnum::TEST_OPTION_ENUM_TYPE2,\n            options->GetExtension(protobuf_unittest::enum_opt));\n\n  options =\n      &protobuf_unittest::SettingRealsFromPositiveInts::descriptor()->options();\n  EXPECT_FLOAT_EQ(12, options->GetExtension(protobuf_unittest::float_opt));\n  EXPECT_DOUBLE_EQ(154, options->GetExtension(protobuf_unittest::double_opt));\n\n  options =\n      &protobuf_unittest::SettingRealsFromNegativeInts::descriptor()->options();\n  EXPECT_FLOAT_EQ(-12, options->GetExtension(protobuf_unittest::float_opt));\n  EXPECT_DOUBLE_EQ(-154, options->GetExtension(protobuf_unittest::double_opt));\n}\n\nTEST(CustomOptions, ComplexExtensionOptions) {\n  const MessageOptions* options =\n      &protobuf_unittest::VariousComplexOptions::descriptor()->options();\n  EXPECT_EQ(options->GetExtension(protobuf_unittest::complex_opt1).foo(), 42);\n  EXPECT_EQ(options->GetExtension(protobuf_unittest::complex_opt1).\n            GetExtension(protobuf_unittest::quux), 324);\n  EXPECT_EQ(options->GetExtension(protobuf_unittest::complex_opt1).\n            GetExtension(protobuf_unittest::corge).qux(), 876);\n  EXPECT_EQ(options->GetExtension(protobuf_unittest::complex_opt2).baz(), 987);\n  EXPECT_EQ(options->GetExtension(protobuf_unittest::complex_opt2).\n            GetExtension(protobuf_unittest::grault), 654);\n  EXPECT_EQ(options->GetExtension(protobuf_unittest::complex_opt2).bar().foo(),\n            743);\n  EXPECT_EQ(options->GetExtension(protobuf_unittest::complex_opt2).bar().\n            GetExtension(protobuf_unittest::quux), 1999);\n  EXPECT_EQ(options->GetExtension(protobuf_unittest::complex_opt2).bar().\n            GetExtension(protobuf_unittest::corge).qux(), 2008);\n  EXPECT_EQ(options->GetExtension(protobuf_unittest::complex_opt2).\n            GetExtension(protobuf_unittest::garply).foo(), 741);\n  EXPECT_EQ(options->GetExtension(protobuf_unittest::complex_opt2).\n            GetExtension(protobuf_unittest::garply).\n            GetExtension(protobuf_unittest::quux), 1998);\n  EXPECT_EQ(options->GetExtension(protobuf_unittest::complex_opt2).\n            GetExtension(protobuf_unittest::garply).\n            GetExtension(protobuf_unittest::corge).qux(), 2121);\n  EXPECT_EQ(options->GetExtension(\n      protobuf_unittest::ComplexOptionType2::ComplexOptionType4::complex_opt4).\n            waldo(), 1971);\n  EXPECT_EQ(options->GetExtension(protobuf_unittest::complex_opt2).\n            fred().waldo(), 321);\n  EXPECT_EQ(9, options->GetExtension(protobuf_unittest::complex_opt3).qux());\n  EXPECT_EQ(22, options->GetExtension(protobuf_unittest::complex_opt3).\n                complexoptiontype5().plugh());\n  EXPECT_EQ(24, options->GetExtension(protobuf_unittest::complexopt6).xyzzy());\n}\n\nTEST(CustomOptions, OptionsFromOtherFile) {\n  // Test that to use a custom option, we only need to import the file\n  // defining the option; we do not also have to import descriptor.proto.\n  DescriptorPool pool;\n\n  FileDescriptorProto file_proto;\n  FileDescriptorProto::descriptor()->file()->CopyTo(&file_proto);\n  ASSERT_TRUE(pool.BuildFile(file_proto) != NULL);\n\n  protobuf_unittest::TestMessageWithCustomOptions::descriptor()\n    ->file()->CopyTo(&file_proto);\n  ASSERT_TRUE(pool.BuildFile(file_proto) != NULL);\n\n  ASSERT_TRUE(TextFormat::ParseFromString(\n    \"name: \\\"custom_options_import.proto\\\" \"\n    \"package: \\\"protobuf_unittest\\\" \"\n    \"dependency: \\\"google/protobuf/unittest_custom_options.proto\\\" \"\n    \"options { \"\n    \"  uninterpreted_option { \"\n    \"    name { \"\n    \"      name_part: \\\"file_opt1\\\" \"\n    \"      is_extension: true \"\n    \"    } \"\n    \"    positive_int_value: 1234 \"\n    \"  } \"\n    // Test a non-extension option too.  (At one point this failed due to a\n    // bug.)\n    \"  uninterpreted_option { \"\n    \"    name { \"\n    \"      name_part: \\\"java_package\\\" \"\n    \"      is_extension: false \"\n    \"    } \"\n    \"    string_value: \\\"foo\\\" \"\n    \"  } \"\n    // Test that enum-typed options still work too.  (At one point this also\n    // failed due to a bug.)\n    \"  uninterpreted_option { \"\n    \"    name { \"\n    \"      name_part: \\\"optimize_for\\\" \"\n    \"      is_extension: false \"\n    \"    } \"\n    \"    identifier_value: \\\"SPEED\\\" \"\n    \"  } \"\n    \"}\"\n    ,\n    &file_proto));\n\n  const FileDescriptor* file = pool.BuildFile(file_proto);\n  ASSERT_TRUE(file != NULL);\n  EXPECT_EQ(1234, file->options().GetExtension(protobuf_unittest::file_opt1));\n  EXPECT_TRUE(file->options().has_java_package());\n  EXPECT_EQ(\"foo\", file->options().java_package());\n  EXPECT_TRUE(file->options().has_optimize_for());\n  EXPECT_EQ(FileOptions::SPEED, file->options().optimize_for());\n}\n\nTEST(CustomOptions, MessageOptionThreeFieldsSet) {\n  // This tests a bug which previously existed in custom options parsing.  The\n  // bug occurred when you defined a custom option with message type and then\n  // set three fields of that option on a single definition (see the example\n  // below).  The bug is a bit hard to explain, so check the change history if\n  // you want to know more.\n  DescriptorPool pool;\n\n  FileDescriptorProto file_proto;\n  FileDescriptorProto::descriptor()->file()->CopyTo(&file_proto);\n  ASSERT_TRUE(pool.BuildFile(file_proto) != NULL);\n\n  protobuf_unittest::TestMessageWithCustomOptions::descriptor()\n    ->file()->CopyTo(&file_proto);\n  ASSERT_TRUE(pool.BuildFile(file_proto) != NULL);\n\n  // The following represents the definition:\n  //\n  //   import \"google/protobuf/unittest_custom_options.proto\"\n  //   package protobuf_unittest;\n  //   message Foo {\n  //     option (complex_opt1).foo  = 1234;\n  //     option (complex_opt1).foo2 = 1234;\n  //     option (complex_opt1).foo3 = 1234;\n  //   }\n  ASSERT_TRUE(TextFormat::ParseFromString(\n    \"name: \\\"custom_options_import.proto\\\" \"\n    \"package: \\\"protobuf_unittest\\\" \"\n    \"dependency: \\\"google/protobuf/unittest_custom_options.proto\\\" \"\n    \"message_type { \"\n    \"  name: \\\"Foo\\\" \"\n    \"  options { \"\n    \"    uninterpreted_option { \"\n    \"      name { \"\n    \"        name_part: \\\"complex_opt1\\\" \"\n    \"        is_extension: true \"\n    \"      } \"\n    \"      name { \"\n    \"        name_part: \\\"foo\\\" \"\n    \"        is_extension: false \"\n    \"      } \"\n    \"      positive_int_value: 1234 \"\n    \"    } \"\n    \"    uninterpreted_option { \"\n    \"      name { \"\n    \"        name_part: \\\"complex_opt1\\\" \"\n    \"        is_extension: true \"\n    \"      } \"\n    \"      name { \"\n    \"        name_part: \\\"foo2\\\" \"\n    \"        is_extension: false \"\n    \"      } \"\n    \"      positive_int_value: 1234 \"\n    \"    } \"\n    \"    uninterpreted_option { \"\n    \"      name { \"\n    \"        name_part: \\\"complex_opt1\\\" \"\n    \"        is_extension: true \"\n    \"      } \"\n    \"      name { \"\n    \"        name_part: \\\"foo3\\\" \"\n    \"        is_extension: false \"\n    \"      } \"\n    \"      positive_int_value: 1234 \"\n    \"    } \"\n    \"  } \"\n    \"}\",\n    &file_proto));\n\n  const FileDescriptor* file = pool.BuildFile(file_proto);\n  ASSERT_TRUE(file != NULL);\n  ASSERT_EQ(1, file->message_type_count());\n\n  const MessageOptions& options = file->message_type(0)->options();\n  EXPECT_EQ(1234, options.GetExtension(protobuf_unittest::complex_opt1).foo());\n}\n\nTEST(CustomOptions, MessageOptionRepeatedLeafFieldSet) {\n  // This test verifies that repeated fields in custom options can be\n  // given multiple values by repeating the option with a different value.\n  // This test checks repeated leaf values. Each repeated custom value\n  // appears in a different uninterpreted_option, which will be concatenated\n  // when they are merged into the final option value.\n  DescriptorPool pool;\n\n  FileDescriptorProto file_proto;\n  FileDescriptorProto::descriptor()->file()->CopyTo(&file_proto);\n  ASSERT_TRUE(pool.BuildFile(file_proto) != NULL);\n\n  protobuf_unittest::TestMessageWithCustomOptions::descriptor()\n    ->file()->CopyTo(&file_proto);\n  ASSERT_TRUE(pool.BuildFile(file_proto) != NULL);\n\n  // The following represents the definition:\n  //\n  //   import \"google/protobuf/unittest_custom_options.proto\"\n  //   package protobuf_unittest;\n  //   message Foo {\n  //     option (complex_opt1).foo4 = 12;\n  //     option (complex_opt1).foo4 = 34;\n  //     option (complex_opt1).foo4 = 56;\n  //   }\n  ASSERT_TRUE(TextFormat::ParseFromString(\n    \"name: \\\"custom_options_import.proto\\\" \"\n    \"package: \\\"protobuf_unittest\\\" \"\n    \"dependency: \\\"google/protobuf/unittest_custom_options.proto\\\" \"\n    \"message_type { \"\n    \"  name: \\\"Foo\\\" \"\n    \"  options { \"\n    \"    uninterpreted_option { \"\n    \"      name { \"\n    \"        name_part: \\\"complex_opt1\\\" \"\n    \"        is_extension: true \"\n    \"      } \"\n    \"      name { \"\n    \"        name_part: \\\"foo4\\\" \"\n    \"        is_extension: false \"\n    \"      } \"\n    \"      positive_int_value: 12 \"\n    \"    } \"\n    \"    uninterpreted_option { \"\n    \"      name { \"\n    \"        name_part: \\\"complex_opt1\\\" \"\n    \"        is_extension: true \"\n    \"      } \"\n    \"      name { \"\n    \"        name_part: \\\"foo4\\\" \"\n    \"        is_extension: false \"\n    \"      } \"\n    \"      positive_int_value: 34 \"\n    \"    } \"\n    \"    uninterpreted_option { \"\n    \"      name { \"\n    \"        name_part: \\\"complex_opt1\\\" \"\n    \"        is_extension: true \"\n    \"      } \"\n    \"      name { \"\n    \"        name_part: \\\"foo4\\\" \"\n    \"        is_extension: false \"\n    \"      } \"\n    \"      positive_int_value: 56 \"\n    \"    } \"\n    \"  } \"\n    \"}\",\n    &file_proto));\n\n  const FileDescriptor* file = pool.BuildFile(file_proto);\n  ASSERT_TRUE(file != NULL);\n  ASSERT_EQ(1, file->message_type_count());\n\n  const MessageOptions& options = file->message_type(0)->options();\n  EXPECT_EQ(3, options.GetExtension(protobuf_unittest::complex_opt1).foo4_size());\n  EXPECT_EQ(12, options.GetExtension(protobuf_unittest::complex_opt1).foo4(0));\n  EXPECT_EQ(34, options.GetExtension(protobuf_unittest::complex_opt1).foo4(1));\n  EXPECT_EQ(56, options.GetExtension(protobuf_unittest::complex_opt1).foo4(2));\n}\n\nTEST(CustomOptions, MessageOptionRepeatedMsgFieldSet) {\n  // This test verifies that repeated fields in custom options can be\n  // given multiple values by repeating the option with a different value.\n  // This test checks repeated message values. Each repeated custom value\n  // appears in a different uninterpreted_option, which will be concatenated\n  // when they are merged into the final option value.\n  DescriptorPool pool;\n\n  FileDescriptorProto file_proto;\n  FileDescriptorProto::descriptor()->file()->CopyTo(&file_proto);\n  ASSERT_TRUE(pool.BuildFile(file_proto) != NULL);\n\n  protobuf_unittest::TestMessageWithCustomOptions::descriptor()\n    ->file()->CopyTo(&file_proto);\n  ASSERT_TRUE(pool.BuildFile(file_proto) != NULL);\n\n  // The following represents the definition:\n  //\n  //   import \"google/protobuf/unittest_custom_options.proto\"\n  //   package protobuf_unittest;\n  //   message Foo {\n  //     option (complex_opt2).barney = {waldo: 1};\n  //     option (complex_opt2).barney = {waldo: 10};\n  //     option (complex_opt2).barney = {waldo: 100};\n  //   }\n  ASSERT_TRUE(TextFormat::ParseFromString(\n    \"name: \\\"custom_options_import.proto\\\" \"\n    \"package: \\\"protobuf_unittest\\\" \"\n    \"dependency: \\\"google/protobuf/unittest_custom_options.proto\\\" \"\n    \"message_type { \"\n    \"  name: \\\"Foo\\\" \"\n    \"  options { \"\n    \"    uninterpreted_option { \"\n    \"      name { \"\n    \"        name_part: \\\"complex_opt2\\\" \"\n    \"        is_extension: true \"\n    \"      } \"\n    \"      name { \"\n    \"        name_part: \\\"barney\\\" \"\n    \"        is_extension: false \"\n    \"      } \"\n    \"      aggregate_value: \\\"waldo: 1\\\" \"\n    \"    } \"\n    \"    uninterpreted_option { \"\n    \"      name { \"\n    \"        name_part: \\\"complex_opt2\\\" \"\n    \"        is_extension: true \"\n    \"      } \"\n    \"      name { \"\n    \"        name_part: \\\"barney\\\" \"\n    \"        is_extension: false \"\n    \"      } \"\n    \"      aggregate_value: \\\"waldo: 10\\\" \"\n    \"    } \"\n    \"    uninterpreted_option { \"\n    \"      name { \"\n    \"        name_part: \\\"complex_opt2\\\" \"\n    \"        is_extension: true \"\n    \"      } \"\n    \"      name { \"\n    \"        name_part: \\\"barney\\\" \"\n    \"        is_extension: false \"\n    \"      } \"\n    \"      aggregate_value: \\\"waldo: 100\\\" \"\n    \"    } \"\n    \"  } \"\n    \"}\",\n    &file_proto));\n\n  const FileDescriptor* file = pool.BuildFile(file_proto);\n  ASSERT_TRUE(file != NULL);\n  ASSERT_EQ(1, file->message_type_count());\n\n  const MessageOptions& options = file->message_type(0)->options();\n  EXPECT_EQ(3, options.GetExtension(\n      protobuf_unittest::complex_opt2).barney_size());\n  EXPECT_EQ(1,options.GetExtension(\n      protobuf_unittest::complex_opt2).barney(0).waldo());\n  EXPECT_EQ(10, options.GetExtension(\n      protobuf_unittest::complex_opt2).barney(1).waldo());\n  EXPECT_EQ(100, options.GetExtension(\n      protobuf_unittest::complex_opt2).barney(2).waldo());\n}\n\n// Check that aggregate options were parsed and saved correctly in\n// the appropriate descriptors.\nTEST(CustomOptions, AggregateOptions) {\n  const Descriptor* msg = protobuf_unittest::AggregateMessage::descriptor();\n  const FileDescriptor* file = msg->file();\n  const FieldDescriptor* field = msg->FindFieldByName(\"fieldname\");\n  const EnumDescriptor* enumd = file->FindEnumTypeByName(\"AggregateEnum\");\n  const EnumValueDescriptor* enumv = enumd->FindValueByName(\"VALUE\");\n  const ServiceDescriptor* service = file->FindServiceByName(\n      \"AggregateService\");\n  const MethodDescriptor* method = service->FindMethodByName(\"Method\");\n\n  // Tests for the different types of data embedded in fileopt\n  const protobuf_unittest::Aggregate& file_options =\n      file->options().GetExtension(protobuf_unittest::fileopt);\n  EXPECT_EQ(100, file_options.i());\n  EXPECT_EQ(\"FileAnnotation\", file_options.s());\n  EXPECT_EQ(\"NestedFileAnnotation\", file_options.sub().s());\n  EXPECT_EQ(\"FileExtensionAnnotation\",\n            file_options.file().GetExtension(protobuf_unittest::fileopt).s());\n  EXPECT_EQ(\"EmbeddedMessageSetElement\",\n            file_options.mset().GetExtension(\n                protobuf_unittest::AggregateMessageSetElement\n                ::message_set_extension).s());\n\n  // Simple tests for all the other types of annotations\n  EXPECT_EQ(\"MessageAnnotation\",\n            msg->options().GetExtension(protobuf_unittest::msgopt).s());\n  EXPECT_EQ(\"FieldAnnotation\",\n            field->options().GetExtension(protobuf_unittest::fieldopt).s());\n  EXPECT_EQ(\"EnumAnnotation\",\n            enumd->options().GetExtension(protobuf_unittest::enumopt).s());\n  EXPECT_EQ(\"EnumValueAnnotation\",\n            enumv->options().GetExtension(protobuf_unittest::enumvalopt).s());\n  EXPECT_EQ(\"ServiceAnnotation\",\n            service->options().GetExtension(protobuf_unittest::serviceopt).s());\n  EXPECT_EQ(\"MethodAnnotation\",\n            method->options().GetExtension(protobuf_unittest::methodopt).s());\n}\n\nTEST(CustomOptions, UnusedImportWarning) {\n  DescriptorPool pool;\n\n  FileDescriptorProto file_proto;\n  FileDescriptorProto::descriptor()->file()->CopyTo(&file_proto);\n  ASSERT_TRUE(pool.BuildFile(file_proto) != NULL);\n\n  protobuf_unittest::TestMessageWithCustomOptions::descriptor()\n      ->file()->CopyTo(&file_proto);\n  ASSERT_TRUE(pool.BuildFile(file_proto) != NULL);\n\n  pool.AddUnusedImportTrackFile(\"custom_options_import.proto\");\n  ASSERT_TRUE(TextFormat::ParseFromString(\n    \"name: \\\"custom_options_import.proto\\\" \"\n    \"package: \\\"protobuf_unittest\\\" \"\n    \"dependency: \\\"google/protobuf/unittest_custom_options.proto\\\" \",\n    &file_proto));\n\n  MockErrorCollector error_collector;\n  EXPECT_TRUE(pool.BuildFileCollectingErrors(file_proto, &error_collector));\n  EXPECT_EQ(\"\", error_collector.warning_text_);\n}\n\n// Verifies that proto files can correctly be parsed, even if the\n// custom options defined in the file are incompatible with those\n// compiled in the binary. See http://b/19276250.\nTEST(CustomOptions, OptionsWithRequiredEnums) {\n  DescriptorPool pool;\n\n  FileDescriptorProto file_proto;\n  MessageOptions::descriptor()->file()->CopyTo(&file_proto);\n  ASSERT_TRUE(pool.BuildFile(file_proto) != NULL);\n\n  // Create a new file descriptor proto containing a subset of the\n  // messages defined in google/protobuf/unittest_custom_options.proto.\n  file_proto.Clear();\n  file_proto.set_name(\"unittest_custom_options.proto\");\n  file_proto.set_package(\"protobuf_unittest\");\n  file_proto.add_dependency(\"google/protobuf/descriptor.proto\");\n\n  // Add the \"required_enum_opt\" extension.\n  FieldDescriptorProto* extension = file_proto.add_extension();\n  protobuf_unittest::OldOptionType::descriptor()->file()\n      ->FindExtensionByName(\"required_enum_opt\")->CopyTo(extension);\n\n  // Add a test message that uses the \"required_enum_opt\" option.\n  DescriptorProto* test_message_type = file_proto.add_message_type();\n  protobuf_unittest::TestMessageWithRequiredEnumOption::descriptor()\n      ->CopyTo(test_message_type);\n\n  // Instruct the extension to use NewOptionType instead of\n  // OldOptionType, and add the descriptor of NewOptionType.\n  extension->set_type_name(\".protobuf_unittest.NewOptionType\");\n  DescriptorProto* new_option_type = file_proto.add_message_type();\n  protobuf_unittest::NewOptionType::descriptor()\n      ->CopyTo(new_option_type);\n\n  // Replace the value of the \"required_enum_opt\" option used in the\n  // test message with an enum value that only exists in NewOptionType.\n  ASSERT_TRUE(TextFormat::ParseFromString(\n      \"uninterpreted_option { \"\n      \"  name { \"\n      \"    name_part: 'required_enum_opt' \"\n      \"    is_extension: true \"\n      \"  } \"\n      \"  aggregate_value: 'value: NEW_VALUE' \"\n      \"}\",\n      test_message_type->mutable_options()));\n\n  // Add the file descriptor to the pool.\n  ASSERT_TRUE(pool.BuildFile(file_proto) != NULL);\n\n  // Find the test message.\n  const Descriptor* test_message = pool.FindMessageTypeByName(\n      \"protobuf_unittest.TestMessageWithRequiredEnumOption\");\n  ASSERT_TRUE(test_message != NULL);\n\n  const MessageOptions& options = test_message->options();\n  // Extract the \"required_enum_opt\" option. Since the binary does not\n  // know that the extension was updated, this will still return an\n  // OldOptionType message.\n  ASSERT_TRUE(\n      options.HasExtension(protobuf_unittest::required_enum_opt));\n  const protobuf_unittest::OldOptionType& old_enum_opt =\n      options.GetExtension(protobuf_unittest::required_enum_opt);\n\n  // Confirm that the required enum field is missing.\n  EXPECT_FALSE(old_enum_opt.IsInitialized());\n  EXPECT_FALSE(old_enum_opt.has_value());\n\n  string buf;\n  // Verify that the required enum field does show up when the option\n  // is re-parsed as a NewOptionType message;\n  protobuf_unittest::NewOptionType new_enum_opt;\n  EXPECT_TRUE(old_enum_opt.AppendPartialToString(&buf));\n  EXPECT_TRUE(new_enum_opt.ParseFromString(buf));\n  EXPECT_EQ(protobuf_unittest::NewOptionType::NEW_VALUE, new_enum_opt.value());\n}\n\n// ===================================================================\n\nclass ValidationErrorTest : public testing::Test {\n protected:\n  // Parse file_text as a FileDescriptorProto in text format and add it\n  // to the DescriptorPool.  Expect no errors.\n  const FileDescriptor* BuildFile(const string& file_text) {\n    FileDescriptorProto file_proto;\n    EXPECT_TRUE(TextFormat::ParseFromString(file_text, &file_proto));\n    return GOOGLE_CHECK_NOTNULL(pool_.BuildFile(file_proto));\n  }\n\n  // Parse file_text as a FileDescriptorProto in text format and add it\n  // to the DescriptorPool.  Expect errors to be produced which match the\n  // given error text.\n  void BuildFileWithErrors(const string& file_text,\n                           const string& expected_errors) {\n    FileDescriptorProto file_proto;\n    ASSERT_TRUE(TextFormat::ParseFromString(file_text, &file_proto));\n\n    MockErrorCollector error_collector;\n    EXPECT_TRUE(\n      pool_.BuildFileCollectingErrors(file_proto, &error_collector) == NULL);\n    EXPECT_EQ(expected_errors, error_collector.text_);\n  }\n\n  // Parse file_text as a FileDescriptorProto in text format and add it\n  // to the DescriptorPool.  Expect errors to be produced which match the\n  // given warning text.\n  void BuildFileWithWarnings(const string& file_text,\n                             const string& expected_warnings) {\n    FileDescriptorProto file_proto;\n    ASSERT_TRUE(TextFormat::ParseFromString(file_text, &file_proto));\n\n    MockErrorCollector error_collector;\n    EXPECT_TRUE(pool_.BuildFileCollectingErrors(file_proto, &error_collector));\n    EXPECT_EQ(expected_warnings, error_collector.warning_text_);\n  }\n\n  // Builds some already-parsed file in our test pool.\n  void BuildFileInTestPool(const FileDescriptor* file) {\n    FileDescriptorProto file_proto;\n    file->CopyTo(&file_proto);\n    ASSERT_TRUE(pool_.BuildFile(file_proto) != NULL);\n  }\n\n  // Build descriptor.proto in our test pool. This allows us to extend it in\n  // the test pool, so we can test custom options.\n  void BuildDescriptorMessagesInTestPool() {\n    BuildFileInTestPool(DescriptorProto::descriptor()->file());\n  }\n\n  DescriptorPool pool_;\n};\n\nTEST_F(ValidationErrorTest, AlreadyDefined) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type { name: \\\"Foo\\\" }\"\n    \"message_type { name: \\\"Foo\\\" }\",\n\n    \"foo.proto: Foo: NAME: \\\"Foo\\\" is already defined.\\n\");\n}\n\nTEST_F(ValidationErrorTest, AlreadyDefinedInPackage) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"package: \\\"foo.bar\\\" \"\n    \"message_type { name: \\\"Foo\\\" }\"\n    \"message_type { name: \\\"Foo\\\" }\",\n\n    \"foo.proto: foo.bar.Foo: NAME: \\\"Foo\\\" is already defined in \"\n      \"\\\"foo.bar\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, AlreadyDefinedInOtherFile) {\n  BuildFile(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type { name: \\\"Foo\\\" }\");\n\n  BuildFileWithErrors(\n    \"name: \\\"bar.proto\\\" \"\n    \"message_type { name: \\\"Foo\\\" }\",\n\n    \"bar.proto: Foo: NAME: \\\"Foo\\\" is already defined in file \"\n      \"\\\"foo.proto\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, PackageAlreadyDefined) {\n  BuildFile(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type { name: \\\"foo\\\" }\");\n  BuildFileWithErrors(\n    \"name: \\\"bar.proto\\\" \"\n    \"package: \\\"foo.bar\\\"\",\n\n    \"bar.proto: foo: NAME: \\\"foo\\\" is already defined (as something other \"\n      \"than a package) in file \\\"foo.proto\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, EnumValueAlreadyDefinedInParent) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"enum_type { name: \\\"Foo\\\" value { name: \\\"FOO\\\" number: 1 } } \"\n    \"enum_type { name: \\\"Bar\\\" value { name: \\\"FOO\\\" number: 1 } } \",\n\n    \"foo.proto: FOO: NAME: \\\"FOO\\\" is already defined.\\n\"\n    \"foo.proto: FOO: NAME: Note that enum values use C++ scoping rules, \"\n      \"meaning that enum values are siblings of their type, not children of \"\n      \"it.  Therefore, \\\"FOO\\\" must be unique within the global scope, not \"\n      \"just within \\\"Bar\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, EnumValueAlreadyDefinedInParentNonGlobal) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"package: \\\"pkg\\\" \"\n    \"enum_type { name: \\\"Foo\\\" value { name: \\\"FOO\\\" number: 1 } } \"\n    \"enum_type { name: \\\"Bar\\\" value { name: \\\"FOO\\\" number: 1 } } \",\n\n    \"foo.proto: pkg.FOO: NAME: \\\"FOO\\\" is already defined in \\\"pkg\\\".\\n\"\n    \"foo.proto: pkg.FOO: NAME: Note that enum values use C++ scoping rules, \"\n      \"meaning that enum values are siblings of their type, not children of \"\n      \"it.  Therefore, \\\"FOO\\\" must be unique within \\\"pkg\\\", not just within \"\n      \"\\\"Bar\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, MissingName) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type { }\",\n\n    \"foo.proto: : NAME: Missing name.\\n\");\n}\n\nTEST_F(ValidationErrorTest, InvalidName) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type { name: \\\"$\\\" }\",\n\n    \"foo.proto: $: NAME: \\\"$\\\" is not a valid identifier.\\n\");\n}\n\nTEST_F(ValidationErrorTest, InvalidPackageName) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"package: \\\"foo.$\\\"\",\n\n    \"foo.proto: foo.$: NAME: \\\"$\\\" is not a valid identifier.\\n\");\n}\n\nTEST_F(ValidationErrorTest, MissingFileName) {\n  BuildFileWithErrors(\n    \"\",\n\n    \": : OTHER: Missing field: FileDescriptorProto.name.\\n\");\n}\n\nTEST_F(ValidationErrorTest, DupeDependency) {\n  BuildFile(\"name: \\\"foo.proto\\\"\");\n  BuildFileWithErrors(\n    \"name: \\\"bar.proto\\\" \"\n    \"dependency: \\\"foo.proto\\\" \"\n    \"dependency: \\\"foo.proto\\\" \",\n\n    \"bar.proto: bar.proto: OTHER: Import \\\"foo.proto\\\" was listed twice.\\n\");\n}\n\nTEST_F(ValidationErrorTest, UnknownDependency) {\n  BuildFileWithErrors(\n    \"name: \\\"bar.proto\\\" \"\n    \"dependency: \\\"foo.proto\\\" \",\n\n    \"bar.proto: bar.proto: OTHER: Import \\\"foo.proto\\\" has not been loaded.\\n\");\n}\n\nTEST_F(ValidationErrorTest, InvalidPublicDependencyIndex) {\n  BuildFile(\"name: \\\"foo.proto\\\"\");\n  BuildFileWithErrors(\n    \"name: \\\"bar.proto\\\" \"\n    \"dependency: \\\"foo.proto\\\" \"\n    \"public_dependency: 1\",\n    \"bar.proto: bar.proto: OTHER: Invalid public dependency index.\\n\");\n}\n\nTEST_F(ValidationErrorTest, ForeignUnimportedPackageNoCrash) {\n  // Used to crash:  If we depend on a non-existent file and then refer to a\n  // package defined in a file that we didn't import, and that package is\n  // nested within a parent package which this file is also in, and we don't\n  // include that parent package in the name (i.e. we do a relative lookup)...\n  // Yes, really.\n  BuildFile(\n    \"name: 'foo.proto' \"\n    \"package: 'outer.foo' \");\n  BuildFileWithErrors(\n    \"name: 'bar.proto' \"\n    \"dependency: 'baz.proto' \"\n    \"package: 'outer.bar' \"\n    \"message_type { \"\n    \"  name: 'Bar' \"\n    \"  field { name:'bar' number:1 label:LABEL_OPTIONAL type_name:'foo.Foo' }\"\n    \"}\",\n\n    \"bar.proto: bar.proto: OTHER: Import \\\"baz.proto\\\" has not been loaded.\\n\"\n    \"bar.proto: outer.bar.Bar.bar: TYPE: \\\"outer.foo\\\" seems to be defined in \"\n      \"\\\"foo.proto\\\", which is not imported by \\\"bar.proto\\\".  To use it here, \"\n      \"please add the necessary import.\\n\");\n}\n\nTEST_F(ValidationErrorTest, DupeFile) {\n  BuildFile(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type { name: \\\"Foo\\\" }\");\n  // Note:  We should *not* get redundant errors about \"Foo\" already being\n  //   defined.\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type { name: \\\"Foo\\\" } \"\n    // Add another type so that the files aren't identical (in which case there\n    // would be no error).\n    \"enum_type { name: \\\"Bar\\\" }\",\n\n    \"foo.proto: foo.proto: OTHER: A file with this name is already in the \"\n      \"pool.\\n\");\n}\n\nTEST_F(ValidationErrorTest, FieldInExtensionRange) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name: \\\"foo\\\" number:  9 label:LABEL_OPTIONAL type:TYPE_INT32 }\"\n    \"  field { name: \\\"bar\\\" number: 10 label:LABEL_OPTIONAL type:TYPE_INT32 }\"\n    \"  field { name: \\\"baz\\\" number: 19 label:LABEL_OPTIONAL type:TYPE_INT32 }\"\n    \"  field { name: \\\"qux\\\" number: 20 label:LABEL_OPTIONAL type:TYPE_INT32 }\"\n    \"  extension_range { start: 10 end: 20 }\"\n    \"}\",\n\n    \"foo.proto: Foo.bar: NUMBER: Extension range 10 to 19 includes field \"\n      \"\\\"bar\\\" (10).\\n\"\n    \"foo.proto: Foo.baz: NUMBER: Extension range 10 to 19 includes field \"\n      \"\\\"baz\\\" (19).\\n\");\n}\n\nTEST_F(ValidationErrorTest, OverlappingExtensionRanges) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  extension_range { start: 10 end: 20 }\"\n    \"  extension_range { start: 20 end: 30 }\"\n    \"  extension_range { start: 19 end: 21 }\"\n    \"}\",\n\n    \"foo.proto: Foo: NUMBER: Extension range 19 to 20 overlaps with \"\n      \"already-defined range 10 to 19.\\n\"\n    \"foo.proto: Foo: NUMBER: Extension range 19 to 20 overlaps with \"\n      \"already-defined range 20 to 29.\\n\");\n}\n\nTEST_F(ValidationErrorTest, ReservedFieldError) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name: \\\"foo\\\" number: 15 label:LABEL_OPTIONAL type:TYPE_INT32 }\"\n    \"  reserved_range { start: 10 end: 20 }\"\n    \"}\",\n\n    \"foo.proto: Foo.foo: NUMBER: Field \\\"foo\\\" uses reserved number 15.\\n\");\n}\n\nTEST_F(ValidationErrorTest, ReservedExtensionRangeError) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  extension_range { start: 10 end: 20 }\"\n    \"  reserved_range { start: 5 end: 15 }\"\n    \"}\",\n\n    \"foo.proto: Foo: NUMBER: Extension range 10 to 19\"\n    \" overlaps with reserved range 5 to 14.\\n\");\n}\n\nTEST_F(ValidationErrorTest, ReservedExtensionRangeAdjacent) {\n  BuildFile(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  extension_range { start: 10 end: 20 }\"\n    \"  reserved_range { start: 5 end: 10 }\"\n    \"}\");\n}\n\nTEST_F(ValidationErrorTest, ReservedRangeOverlap) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  reserved_range { start: 10 end: 20 }\"\n    \"  reserved_range { start: 5 end: 15 }\"\n    \"}\",\n\n    \"foo.proto: Foo: NUMBER: Reserved range 5 to 14\"\n    \" overlaps with already-defined range 10 to 19.\\n\");\n}\n\nTEST_F(ValidationErrorTest, ReservedNameError) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name: \\\"foo\\\" number: 15 label:LABEL_OPTIONAL type:TYPE_INT32 }\"\n    \"  field { name: \\\"bar\\\" number: 16 label:LABEL_OPTIONAL type:TYPE_INT32 }\"\n    \"  field { name: \\\"baz\\\" number: 17 label:LABEL_OPTIONAL type:TYPE_INT32 }\"\n    \"  reserved_name: \\\"foo\\\"\"\n    \"  reserved_name: \\\"bar\\\"\"\n    \"}\",\n\n    \"foo.proto: Foo.foo: NAME: Field name \\\"foo\\\" is reserved.\\n\"\n    \"foo.proto: Foo.bar: NAME: Field name \\\"bar\\\" is reserved.\\n\");\n}\n\nTEST_F(ValidationErrorTest, ReservedNameRedundant) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  reserved_name: \\\"foo\\\"\"\n    \"  reserved_name: \\\"foo\\\"\"\n    \"}\",\n\n    \"foo.proto: foo: NAME: Field name \\\"foo\\\" is reserved multiple times.\\n\");\n}\n\nTEST_F(ValidationErrorTest, ReservedFieldsDebugString) {\n  const FileDescriptor* file = BuildFile(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  reserved_name: \\\"foo\\\"\"\n    \"  reserved_name: \\\"bar\\\"\"\n    \"  reserved_range { start: 5 end: 6 }\"\n    \"  reserved_range { start: 10 end: 20 }\"\n    \"}\");\n\n  ASSERT_EQ(\n    \"syntax = \\\"proto2\\\";\\n\\n\"\n    \"message Foo {\\n\"\n    \"  reserved 5, 10 to 19;\\n\"\n    \"  reserved \\\"foo\\\", \\\"bar\\\";\\n\"\n    \"}\\n\\n\",\n    file->DebugString());\n}\n\nTEST_F(ValidationErrorTest, InvalidDefaults) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n\n    // Invalid number.\n    \"  field { name: \\\"foo\\\" number: 1 label: LABEL_OPTIONAL type: TYPE_INT32\"\n    \"          default_value: \\\"abc\\\" }\"\n\n    // Empty default value.\n    \"  field { name: \\\"bar\\\" number: 2 label: LABEL_OPTIONAL type: TYPE_INT32\"\n    \"          default_value: \\\"\\\" }\"\n\n    // Invalid boolean.\n    \"  field { name: \\\"baz\\\" number: 3 label: LABEL_OPTIONAL type: TYPE_BOOL\"\n    \"          default_value: \\\"abc\\\" }\"\n\n    // Messages can't have defaults.\n    \"  field { name: \\\"qux\\\" number: 4 label: LABEL_OPTIONAL type: TYPE_MESSAGE\"\n    \"          default_value: \\\"abc\\\" type_name: \\\"Foo\\\" }\"\n\n    // Same thing, but we don't know that this field has message type until\n    // we look up the type name.\n    \"  field { name: \\\"quux\\\" number: 5 label: LABEL_OPTIONAL\"\n    \"          default_value: \\\"abc\\\" type_name: \\\"Foo\\\" }\"\n\n    // Repeateds can't have defaults.\n    \"  field { name: \\\"corge\\\" number: 6 label: LABEL_REPEATED type: TYPE_INT32\"\n    \"          default_value: \\\"1\\\" }\"\n    \"}\",\n\n    \"foo.proto: Foo.foo: DEFAULT_VALUE: Couldn't parse default value \\\"abc\\\".\\n\"\n    \"foo.proto: Foo.bar: DEFAULT_VALUE: Couldn't parse default value \\\"\\\".\\n\"\n    \"foo.proto: Foo.baz: DEFAULT_VALUE: Boolean default must be true or \"\n      \"false.\\n\"\n    \"foo.proto: Foo.qux: DEFAULT_VALUE: Messages can't have default values.\\n\"\n    \"foo.proto: Foo.corge: DEFAULT_VALUE: Repeated fields can't have default \"\n      \"values.\\n\"\n    // This ends up being reported later because the error is detected at\n    // cross-linking time.\n    \"foo.proto: Foo.quux: DEFAULT_VALUE: Messages can't have default \"\n      \"values.\\n\");\n}\n\nTEST_F(ValidationErrorTest, NegativeFieldNumber) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name: \\\"foo\\\" number: -1 label:LABEL_OPTIONAL type:TYPE_INT32 }\"\n    \"}\",\n\n    \"foo.proto: Foo.foo: NUMBER: Field numbers must be positive integers.\\n\");\n}\n\nTEST_F(ValidationErrorTest, HugeFieldNumber) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name: \\\"foo\\\" number: 0x70000000 \"\n    \"          label:LABEL_OPTIONAL type:TYPE_INT32 }\"\n    \"}\",\n\n    \"foo.proto: Foo.foo: NUMBER: Field numbers cannot be greater than \"\n      \"536870911.\\n\");\n}\n\nTEST_F(ValidationErrorTest, ReservedFieldNumber) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field {name:\\\"foo\\\" number: 18999 label:LABEL_OPTIONAL type:TYPE_INT32 }\"\n    \"  field {name:\\\"bar\\\" number: 19000 label:LABEL_OPTIONAL type:TYPE_INT32 }\"\n    \"  field {name:\\\"baz\\\" number: 19999 label:LABEL_OPTIONAL type:TYPE_INT32 }\"\n    \"  field {name:\\\"qux\\\" number: 20000 label:LABEL_OPTIONAL type:TYPE_INT32 }\"\n    \"}\",\n\n    \"foo.proto: Foo.bar: NUMBER: Field numbers 19000 through 19999 are \"\n      \"reserved for the protocol buffer library implementation.\\n\"\n    \"foo.proto: Foo.baz: NUMBER: Field numbers 19000 through 19999 are \"\n      \"reserved for the protocol buffer library implementation.\\n\");\n}\n\nTEST_F(ValidationErrorTest, ExtensionMissingExtendee) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  extension { name: \\\"foo\\\" number: 1 label: LABEL_OPTIONAL\"\n    \"              type_name: \\\"Foo\\\" }\"\n    \"}\",\n\n    \"foo.proto: Foo.foo: EXTENDEE: FieldDescriptorProto.extendee not set for \"\n      \"extension field.\\n\");\n}\n\nTEST_F(ValidationErrorTest, NonExtensionWithExtendee) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Bar\\\"\"\n    \"  extension_range { start: 1 end: 2 }\"\n    \"}\"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name: \\\"foo\\\" number: 1 label: LABEL_OPTIONAL\"\n    \"          type_name: \\\"Foo\\\" extendee: \\\"Bar\\\" }\"\n    \"}\",\n\n    \"foo.proto: Foo.foo: EXTENDEE: FieldDescriptorProto.extendee set for \"\n      \"non-extension field.\\n\");\n}\n\nTEST_F(ValidationErrorTest, FieldOneofIndexTooLarge) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name:\\\"foo\\\" number:1 label:LABEL_OPTIONAL type:TYPE_INT32 \"\n    \"          oneof_index: 1 }\"\n    \"  field { name:\\\"dummy\\\" number:2 label:LABEL_OPTIONAL type:TYPE_INT32 \"\n    \"          oneof_index: 0 }\"\n    \"  oneof_decl { name:\\\"bar\\\" }\"\n    \"}\",\n\n    \"foo.proto: Foo.foo: OTHER: FieldDescriptorProto.oneof_index 1 is out of \"\n      \"range for type \\\"Foo\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, FieldOneofIndexNegative) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name:\\\"foo\\\" number:1 label:LABEL_OPTIONAL type:TYPE_INT32 \"\n    \"          oneof_index: -1 }\"\n    \"  field { name:\\\"dummy\\\" number:2 label:LABEL_OPTIONAL type:TYPE_INT32 \"\n    \"          oneof_index: 0 }\"\n    \"  oneof_decl { name:\\\"bar\\\" }\"\n    \"}\",\n\n    \"foo.proto: Foo.foo: OTHER: FieldDescriptorProto.oneof_index -1 is out of \"\n      \"range for type \\\"Foo\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, OneofFieldsConsecutiveDefinition) {\n  // Fields belonging to the same oneof must be defined consecutively.\n  BuildFileWithErrors(\n      \"name: \\\"foo.proto\\\" \"\n      \"message_type {\"\n      \"  name: \\\"Foo\\\"\"\n      \"  field { name:\\\"foo1\\\" number: 1 label:LABEL_OPTIONAL type:TYPE_INT32 \"\n      \"          oneof_index: 0 }\"\n      \"  field { name:\\\"bar\\\" number: 2 label:LABEL_OPTIONAL type:TYPE_INT32 }\"\n      \"  field { name:\\\"foo2\\\" number: 3 label:LABEL_OPTIONAL type:TYPE_INT32 \"\n      \"          oneof_index: 0 }\"\n      \"  oneof_decl { name:\\\"foos\\\" }\"\n      \"}\",\n\n      \"foo.proto: Foo.bar: OTHER: Fields in the same oneof must be defined \"\n      \"consecutively. \\\"bar\\\" cannot be defined before the completion of the \"\n      \"\\\"foos\\\" oneof definition.\\n\");\n\n  // Prevent interleaved fields, which belong to different oneofs.\n  BuildFileWithErrors(\n      \"name: \\\"foo2.proto\\\" \"\n      \"message_type {\"\n      \"  name: \\\"Foo2\\\"\"\n      \"  field { name:\\\"foo1\\\" number: 1 label:LABEL_OPTIONAL type:TYPE_INT32 \"\n      \"          oneof_index: 0 }\"\n      \"  field { name:\\\"bar1\\\" number: 2 label:LABEL_OPTIONAL type:TYPE_INT32 \"\n      \"          oneof_index: 1 }\"\n      \"  field { name:\\\"foo2\\\" number: 3 label:LABEL_OPTIONAL type:TYPE_INT32 \"\n      \"          oneof_index: 0 }\"\n      \"  field { name:\\\"bar2\\\" number: 4 label:LABEL_OPTIONAL type:TYPE_INT32 \"\n      \"          oneof_index: 1 }\"\n      \"  oneof_decl { name:\\\"foos\\\" }\"\n      \"  oneof_decl { name:\\\"bars\\\" }\"\n      \"}\",\n      \"foo2.proto: Foo2.bar1: OTHER: Fields in the same oneof must be defined \"\n      \"consecutively. \\\"bar1\\\" cannot be defined before the completion of the \"\n      \"\\\"foos\\\" oneof definition.\\n\"\n      \"foo2.proto: Foo2.foo2: OTHER: Fields in the same oneof must be defined \"\n      \"consecutively. \\\"foo2\\\" cannot be defined before the completion of the \"\n      \"\\\"bars\\\" oneof definition.\\n\");\n\n  // Another case for normal fields and different oneof fields interleave.\n  BuildFileWithErrors(\n      \"name: \\\"foo3.proto\\\" \"\n      \"message_type {\"\n      \"  name: \\\"Foo3\\\"\"\n      \"  field { name:\\\"foo1\\\" number: 1 label:LABEL_OPTIONAL type:TYPE_INT32 \"\n      \"          oneof_index: 0 }\"\n      \"  field { name:\\\"bar1\\\" number: 2 label:LABEL_OPTIONAL type:TYPE_INT32 \"\n      \"          oneof_index: 1 }\"\n      \"  field { name:\\\"baz\\\" number: 3 label:LABEL_OPTIONAL type:TYPE_INT32 }\"\n      \"  field { name:\\\"foo2\\\" number: 4 label:LABEL_OPTIONAL type:TYPE_INT32 \"\n      \"          oneof_index: 0 }\"\n      \"  oneof_decl { name:\\\"foos\\\" }\"\n      \"  oneof_decl { name:\\\"bars\\\" }\"\n      \"}\",\n      \"foo3.proto: Foo3.baz: OTHER: Fields in the same oneof must be defined \"\n      \"consecutively. \\\"baz\\\" cannot be defined before the completion of the \"\n      \"\\\"foos\\\" oneof definition.\\n\");\n}\n\nTEST_F(ValidationErrorTest, FieldNumberConflict) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name: \\\"foo\\\" number: 1 label:LABEL_OPTIONAL type:TYPE_INT32 }\"\n    \"  field { name: \\\"bar\\\" number: 1 label:LABEL_OPTIONAL type:TYPE_INT32 }\"\n    \"}\",\n\n    \"foo.proto: Foo.bar: NUMBER: Field number 1 has already been used in \"\n      \"\\\"Foo\\\" by field \\\"foo\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, BadMessageSetExtensionType) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"MessageSet\\\"\"\n    \"  options { message_set_wire_format: true }\"\n    \"  extension_range { start: 4 end: 5 }\"\n    \"}\"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  extension { name:\\\"foo\\\" number:4 label:LABEL_OPTIONAL type:TYPE_INT32\"\n    \"              extendee: \\\"MessageSet\\\" }\"\n    \"}\",\n\n    \"foo.proto: Foo.foo: TYPE: Extensions of MessageSets must be optional \"\n      \"messages.\\n\");\n}\n\nTEST_F(ValidationErrorTest, BadMessageSetExtensionLabel) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"MessageSet\\\"\"\n    \"  options { message_set_wire_format: true }\"\n    \"  extension_range { start: 4 end: 5 }\"\n    \"}\"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  extension { name:\\\"foo\\\" number:4 label:LABEL_REPEATED type:TYPE_MESSAGE\"\n    \"              type_name: \\\"Foo\\\" extendee: \\\"MessageSet\\\" }\"\n    \"}\",\n\n    \"foo.proto: Foo.foo: TYPE: Extensions of MessageSets must be optional \"\n      \"messages.\\n\");\n}\n\nTEST_F(ValidationErrorTest, FieldInMessageSet) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  options { message_set_wire_format: true }\"\n    \"  field { name: \\\"foo\\\" number: 1 label:LABEL_OPTIONAL type:TYPE_INT32 }\"\n    \"}\",\n\n    \"foo.proto: Foo.foo: NAME: MessageSets cannot have fields, only \"\n      \"extensions.\\n\");\n}\n\nTEST_F(ValidationErrorTest, NegativeExtensionRangeNumber) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  extension_range { start: -10 end: -1 }\"\n    \"}\",\n\n    \"foo.proto: Foo: NUMBER: Extension numbers must be positive integers.\\n\");\n}\n\nTEST_F(ValidationErrorTest, HugeExtensionRangeNumber) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  extension_range { start: 1 end: 0x70000000 }\"\n    \"}\",\n\n    \"foo.proto: Foo: NUMBER: Extension numbers cannot be greater than \"\n      \"536870911.\\n\");\n}\n\nTEST_F(ValidationErrorTest, ExtensionRangeEndBeforeStart) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  extension_range { start: 10 end: 10 }\"\n    \"  extension_range { start: 10 end: 5 }\"\n    \"}\",\n\n    \"foo.proto: Foo: NUMBER: Extension range end number must be greater than \"\n      \"start number.\\n\"\n    \"foo.proto: Foo: NUMBER: Extension range end number must be greater than \"\n      \"start number.\\n\");\n}\n\nTEST_F(ValidationErrorTest, EmptyEnum) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"enum_type { name: \\\"Foo\\\" }\"\n    // Also use the empty enum in a message to make sure there are no crashes\n    // during validation (possible if the code attempts to derive a default\n    // value for the field).\n    \"message_type {\"\n    \"  name: \\\"Bar\\\"\"\n    \"  field { name: \\\"foo\\\" number: 1 label:LABEL_OPTIONAL type_name:\\\"Foo\\\" }\"\n    \"  field { name: \\\"bar\\\" number: 2 label:LABEL_OPTIONAL type_name:\\\"Foo\\\" \"\n    \"          default_value: \\\"NO_SUCH_VALUE\\\" }\"\n    \"}\",\n\n    \"foo.proto: Foo: NAME: Enums must contain at least one value.\\n\"\n    \"foo.proto: Bar.bar: DEFAULT_VALUE: Enum type \\\"Foo\\\" has no value named \"\n      \"\\\"NO_SUCH_VALUE\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, UndefinedExtendee) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  extension { name:\\\"foo\\\" number:1 label:LABEL_OPTIONAL type:TYPE_INT32\"\n    \"              extendee: \\\"Bar\\\" }\"\n    \"}\",\n\n    \"foo.proto: Foo.foo: EXTENDEE: \\\"Bar\\\" is not defined.\\n\");\n}\n\nTEST_F(ValidationErrorTest, NonMessageExtendee) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"enum_type { name: \\\"Bar\\\" value { name:\\\"DUMMY\\\" number:0 } }\"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  extension { name:\\\"foo\\\" number:1 label:LABEL_OPTIONAL type:TYPE_INT32\"\n    \"              extendee: \\\"Bar\\\" }\"\n    \"}\",\n\n    \"foo.proto: Foo.foo: EXTENDEE: \\\"Bar\\\" is not a message type.\\n\");\n}\n\nTEST_F(ValidationErrorTest, NotAnExtensionNumber) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Bar\\\"\"\n    \"}\"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  extension { name:\\\"foo\\\" number:1 label:LABEL_OPTIONAL type:TYPE_INT32\"\n    \"              extendee: \\\"Bar\\\" }\"\n    \"}\",\n\n    \"foo.proto: Foo.foo: NUMBER: \\\"Bar\\\" does not declare 1 as an extension \"\n      \"number.\\n\");\n}\n\nTEST_F(ValidationErrorTest, RequiredExtension) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Bar\\\"\"\n    \"  extension_range { start: 1000 end: 10000 }\"\n    \"}\"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  extension {\"\n    \"    name:\\\"foo\\\"\"\n    \"    number:1000\"\n    \"    label:LABEL_REQUIRED\"\n    \"    type:TYPE_INT32\"\n    \"    extendee: \\\"Bar\\\"\"\n    \"  }\"\n    \"}\",\n\n    \"foo.proto: Foo.foo: TYPE: Message extensions cannot have required \"\n    \"fields.\\n\");\n}\n\nTEST_F(ValidationErrorTest, UndefinedFieldType) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name:\\\"foo\\\" number:1 label:LABEL_OPTIONAL type_name:\\\"Bar\\\" }\"\n    \"}\",\n\n    \"foo.proto: Foo.foo: TYPE: \\\"Bar\\\" is not defined.\\n\");\n}\n\nTEST_F(ValidationErrorTest, UndefinedFieldTypeWithDefault) {\n  // See b/12533582. Previously this failed because the default value was not\n  // accepted by the parser, which assumed an enum type, leading to an unclear\n  // error message. We want this input to yield a validation error instead,\n  // since the unknown type is the primary problem.\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name:\\\"foo\\\" number:1 label:LABEL_OPTIONAL type_name:\\\"int\\\" \"\n    \"          default_value:\\\"1\\\" }\"\n    \"}\",\n\n    \"foo.proto: Foo.foo: TYPE: \\\"int\\\" is not defined.\\n\");\n}\n\nTEST_F(ValidationErrorTest, UndefinedNestedFieldType) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  nested_type { name:\\\"Baz\\\" }\"\n    \"  field { name:\\\"foo\\\" number:1\"\n    \"          label:LABEL_OPTIONAL\"\n    \"          type_name:\\\"Foo.Baz.Bar\\\" }\"\n    \"}\",\n\n    \"foo.proto: Foo.foo: TYPE: \\\"Foo.Baz.Bar\\\" is not defined.\\n\");\n}\n\nTEST_F(ValidationErrorTest, FieldTypeDefinedInUndeclaredDependency) {\n  BuildFile(\n    \"name: \\\"bar.proto\\\" \"\n    \"message_type { name: \\\"Bar\\\" } \");\n\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name:\\\"foo\\\" number:1 label:LABEL_OPTIONAL type_name:\\\"Bar\\\" }\"\n    \"}\",\n    \"foo.proto: Foo.foo: TYPE: \\\"Bar\\\" seems to be defined in \\\"bar.proto\\\", \"\n      \"which is not imported by \\\"foo.proto\\\".  To use it here, please add the \"\n      \"necessary import.\\n\");\n}\n\nTEST_F(ValidationErrorTest, FieldTypeDefinedInIndirectDependency) {\n  // Test for hidden dependencies.\n  //\n  // // bar.proto\n  // message Bar{}\n  //\n  // // forward.proto\n  // import \"bar.proto\"\n  //\n  // // foo.proto\n  // import \"forward.proto\"\n  // message Foo {\n  //   optional Bar foo = 1;  // Error, needs to import bar.proto explicitly.\n  // }\n  //\n  BuildFile(\n    \"name: \\\"bar.proto\\\" \"\n    \"message_type { name: \\\"Bar\\\" }\");\n\n  BuildFile(\n    \"name: \\\"forward.proto\\\"\"\n    \"dependency: \\\"bar.proto\\\"\");\n\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"dependency: \\\"forward.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name:\\\"foo\\\" number:1 label:LABEL_OPTIONAL type_name:\\\"Bar\\\" }\"\n    \"}\",\n    \"foo.proto: Foo.foo: TYPE: \\\"Bar\\\" seems to be defined in \\\"bar.proto\\\", \"\n      \"which is not imported by \\\"foo.proto\\\".  To use it here, please add the \"\n      \"necessary import.\\n\");\n}\n\nTEST_F(ValidationErrorTest, FieldTypeDefinedInPublicDependency) {\n  // Test for public dependencies.\n  //\n  // // bar.proto\n  // message Bar{}\n  //\n  // // forward.proto\n  // import public \"bar.proto\"\n  //\n  // // foo.proto\n  // import \"forward.proto\"\n  // message Foo {\n  //   optional Bar foo = 1;  // Correct. \"bar.proto\" is public imported into\n  //                          // forward.proto, so when \"foo.proto\" imports\n  //                          // \"forward.proto\", it imports \"bar.proto\" too.\n  // }\n  //\n  BuildFile(\n    \"name: \\\"bar.proto\\\" \"\n    \"message_type { name: \\\"Bar\\\" }\");\n\n  BuildFile(\n    \"name: \\\"forward.proto\\\"\"\n    \"dependency: \\\"bar.proto\\\" \"\n    \"public_dependency: 0\");\n\n  BuildFile(\n    \"name: \\\"foo.proto\\\" \"\n    \"dependency: \\\"forward.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name:\\\"foo\\\" number:1 label:LABEL_OPTIONAL type_name:\\\"Bar\\\" }\"\n    \"}\");\n}\n\nTEST_F(ValidationErrorTest, FieldTypeDefinedInTransitivePublicDependency) {\n  // Test for public dependencies.\n  //\n  // // bar.proto\n  // message Bar{}\n  //\n  // // forward.proto\n  // import public \"bar.proto\"\n  //\n  // // forward2.proto\n  // import public \"forward.proto\"\n  //\n  // // foo.proto\n  // import \"forward2.proto\"\n  // message Foo {\n  //   optional Bar foo = 1;  // Correct, public imports are transitive.\n  // }\n  //\n  BuildFile(\n    \"name: \\\"bar.proto\\\" \"\n    \"message_type { name: \\\"Bar\\\" }\");\n\n  BuildFile(\n    \"name: \\\"forward.proto\\\"\"\n    \"dependency: \\\"bar.proto\\\" \"\n    \"public_dependency: 0\");\n\n  BuildFile(\n    \"name: \\\"forward2.proto\\\"\"\n    \"dependency: \\\"forward.proto\\\" \"\n    \"public_dependency: 0\");\n\n  BuildFile(\n    \"name: \\\"foo.proto\\\" \"\n    \"dependency: \\\"forward2.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name:\\\"foo\\\" number:1 label:LABEL_OPTIONAL type_name:\\\"Bar\\\" }\"\n    \"}\");\n}\n\nTEST_F(ValidationErrorTest,\n       FieldTypeDefinedInPrivateDependencyOfPublicDependency) {\n  // Test for public dependencies.\n  //\n  // // bar.proto\n  // message Bar{}\n  //\n  // // forward.proto\n  // import \"bar.proto\"\n  //\n  // // forward2.proto\n  // import public \"forward.proto\"\n  //\n  // // foo.proto\n  // import \"forward2.proto\"\n  // message Foo {\n  //   optional Bar foo = 1;  // Error, the \"bar.proto\" is not public imported\n  //                          // into \"forward.proto\", so will not be imported\n  //                          // into either \"forward2.proto\" or \"foo.proto\".\n  // }\n  //\n  BuildFile(\n    \"name: \\\"bar.proto\\\" \"\n    \"message_type { name: \\\"Bar\\\" }\");\n\n  BuildFile(\n    \"name: \\\"forward.proto\\\"\"\n    \"dependency: \\\"bar.proto\\\"\");\n\n  BuildFile(\n    \"name: \\\"forward2.proto\\\"\"\n    \"dependency: \\\"forward.proto\\\" \"\n    \"public_dependency: 0\");\n\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"dependency: \\\"forward2.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name:\\\"foo\\\" number:1 label:LABEL_OPTIONAL type_name:\\\"Bar\\\" }\"\n    \"}\",\n    \"foo.proto: Foo.foo: TYPE: \\\"Bar\\\" seems to be defined in \\\"bar.proto\\\", \"\n      \"which is not imported by \\\"foo.proto\\\".  To use it here, please add the \"\n      \"necessary import.\\n\");\n}\n\n\nTEST_F(ValidationErrorTest, SearchMostLocalFirst) {\n  // The following should produce an error that Bar.Baz is resolved but\n  // not defined:\n  //   message Bar { message Baz {} }\n  //   message Foo {\n  //     message Bar {\n  //       // Placing \"message Baz{}\" here, or removing Foo.Bar altogether,\n  //       // would fix the error.\n  //     }\n  //     optional Bar.Baz baz = 1;\n  //   }\n  // An one point the lookup code incorrectly did not produce an error in this\n  // case, because when looking for Bar.Baz, it would try \"Foo.Bar.Baz\" first,\n  // fail, and ten try \"Bar.Baz\" and succeed, even though \"Bar\" should actually\n  // refer to the inner Bar, not the outer one.\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Bar\\\"\"\n    \"  nested_type { name: \\\"Baz\\\" }\"\n    \"}\"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  nested_type { name: \\\"Bar\\\" }\"\n    \"  field { name:\\\"baz\\\" number:1 label:LABEL_OPTIONAL\"\n    \"          type_name:\\\"Bar.Baz\\\" }\"\n    \"}\",\n\n    \"foo.proto: Foo.baz: TYPE: \\\"Bar.Baz\\\" is resolved to \\\"Foo.Bar.Baz\\\",\"\n    \" which is not defined. The innermost scope is searched first in name \"\n    \"resolution. Consider using a leading '.'(i.e., \\\".Bar.Baz\\\") to start \"\n    \"from the outermost scope.\\n\");\n}\n\nTEST_F(ValidationErrorTest, SearchMostLocalFirst2) {\n  // This test would find the most local \"Bar\" first, and does, but\n  // proceeds to find the outer one because the inner one's not an\n  // aggregate.\n  BuildFile(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Bar\\\"\"\n    \"  nested_type { name: \\\"Baz\\\" }\"\n    \"}\"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name: \\\"Bar\\\" number:1 type:TYPE_BYTES } \"\n    \"  field { name:\\\"baz\\\" number:2 label:LABEL_OPTIONAL\"\n    \"          type_name:\\\"Bar.Baz\\\" }\"\n    \"}\");\n}\n\nTEST_F(ValidationErrorTest, PackageOriginallyDeclaredInTransitiveDependent) {\n  // Imagine we have the following:\n  //\n  // foo.proto:\n  //   package foo.bar;\n  // bar.proto:\n  //   package foo.bar;\n  //   import \"foo.proto\";\n  //   message Bar {}\n  // baz.proto:\n  //   package foo;\n  //   import \"bar.proto\"\n  //   message Baz { optional bar.Bar qux = 1; }\n  //\n  // When validating baz.proto, we will look up \"bar.Bar\".  As part of this\n  // lookup, we first lookup \"bar\" then try to find \"Bar\" within it.  \"bar\"\n  // should resolve to \"foo.bar\".  Note, though, that \"foo.bar\" was originally\n  // defined in foo.proto, which is not a direct dependency of baz.proto.  The\n  // implementation of FindSymbol() normally only returns symbols in direct\n  // dependencies, not indirect ones.  This test insures that this does not\n  // prevent it from finding \"foo.bar\".\n\n  BuildFile(\n    \"name: \\\"foo.proto\\\" \"\n    \"package: \\\"foo.bar\\\" \");\n  BuildFile(\n    \"name: \\\"bar.proto\\\" \"\n    \"package: \\\"foo.bar\\\" \"\n    \"dependency: \\\"foo.proto\\\" \"\n    \"message_type { name: \\\"Bar\\\" }\");\n  BuildFile(\n    \"name: \\\"baz.proto\\\" \"\n    \"package: \\\"foo\\\" \"\n    \"dependency: \\\"bar.proto\\\" \"\n    \"message_type { \"\n    \"  name: \\\"Baz\\\" \"\n    \"  field { name:\\\"qux\\\" number:1 label:LABEL_OPTIONAL \"\n    \"          type_name:\\\"bar.Bar\\\" }\"\n    \"}\");\n}\n\nTEST_F(ValidationErrorTest, FieldTypeNotAType) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name:\\\"foo\\\" number:1 label:LABEL_OPTIONAL \"\n    \"          type_name:\\\".Foo.bar\\\" }\"\n    \"  field { name:\\\"bar\\\" number:2 label:LABEL_OPTIONAL type:TYPE_INT32 }\"\n    \"}\",\n\n    \"foo.proto: Foo.foo: TYPE: \\\".Foo.bar\\\" is not a type.\\n\");\n}\n\nTEST_F(ValidationErrorTest, RelativeFieldTypeNotAType) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  nested_type {\"\n    \"    name: \\\"Bar\\\"\"\n    \"    field { name:\\\"Baz\\\" number:2 label:LABEL_OPTIONAL type:TYPE_INT32 }\"\n    \"  }\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name:\\\"foo\\\" number:1 label:LABEL_OPTIONAL \"\n    \"          type_name:\\\"Bar.Baz\\\" }\"\n    \"}\",\n    \"foo.proto: Foo.foo: TYPE: \\\"Bar.Baz\\\" is not a type.\\n\");\n}\n\nTEST_F(ValidationErrorTest, FieldTypeMayBeItsName) {\n  BuildFile(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Bar\\\"\"\n    \"}\"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name:\\\"Bar\\\" number:1 label:LABEL_OPTIONAL type_name:\\\"Bar\\\" }\"\n    \"}\");\n}\n\nTEST_F(ValidationErrorTest, EnumFieldTypeIsMessage) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type { name: \\\"Bar\\\" } \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name:\\\"foo\\\" number:1 label:LABEL_OPTIONAL type:TYPE_ENUM\"\n    \"          type_name:\\\"Bar\\\" }\"\n    \"}\",\n\n    \"foo.proto: Foo.foo: TYPE: \\\"Bar\\\" is not an enum type.\\n\");\n}\n\nTEST_F(ValidationErrorTest, MessageFieldTypeIsEnum) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"enum_type { name: \\\"Bar\\\" value { name:\\\"DUMMY\\\" number:0 } } \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name:\\\"foo\\\" number:1 label:LABEL_OPTIONAL type:TYPE_MESSAGE\"\n    \"          type_name:\\\"Bar\\\" }\"\n    \"}\",\n\n    \"foo.proto: Foo.foo: TYPE: \\\"Bar\\\" is not a message type.\\n\");\n}\n\nTEST_F(ValidationErrorTest, BadEnumDefaultValue) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"enum_type { name: \\\"Bar\\\" value { name:\\\"DUMMY\\\" number:0 } } \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name:\\\"foo\\\" number:1 label:LABEL_OPTIONAL type_name:\\\"Bar\\\"\"\n    \"          default_value:\\\"NO_SUCH_VALUE\\\" }\"\n    \"}\",\n\n    \"foo.proto: Foo.foo: DEFAULT_VALUE: Enum type \\\"Bar\\\" has no value named \"\n      \"\\\"NO_SUCH_VALUE\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, EnumDefaultValueIsInteger) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"enum_type { name: \\\"Bar\\\" value { name:\\\"DUMMY\\\" number:0 } } \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name:\\\"foo\\\" number:1 label:LABEL_OPTIONAL type_name:\\\"Bar\\\"\"\n    \"          default_value:\\\"0\\\" }\"\n    \"}\",\n\n    \"foo.proto: Foo.foo: DEFAULT_VALUE: Default value for an enum field must \"\n    \"be an identifier.\\n\");\n}\n\nTEST_F(ValidationErrorTest, PrimitiveWithTypeName) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name:\\\"foo\\\" number:1 label:LABEL_OPTIONAL type:TYPE_INT32\"\n    \"          type_name:\\\"Foo\\\" }\"\n    \"}\",\n\n    \"foo.proto: Foo.foo: TYPE: Field with primitive type has type_name.\\n\");\n}\n\nTEST_F(ValidationErrorTest, NonPrimitiveWithoutTypeName) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name:\\\"foo\\\" number:1 label:LABEL_OPTIONAL type:TYPE_MESSAGE }\"\n    \"}\",\n\n    \"foo.proto: Foo.foo: TYPE: Field with message or enum type missing \"\n      \"type_name.\\n\");\n}\n\nTEST_F(ValidationErrorTest, OneofWithNoFields) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  oneof_decl { name:\\\"bar\\\" }\"\n    \"}\",\n\n    \"foo.proto: Foo.bar: NAME: Oneof must have at least one field.\\n\");\n}\n\nTEST_F(ValidationErrorTest, OneofLabelMismatch) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name:\\\"foo\\\" number:1 label:LABEL_REPEATED type:TYPE_INT32 \"\n    \"          oneof_index:0 }\"\n    \"  oneof_decl { name:\\\"bar\\\" }\"\n    \"}\",\n\n    \"foo.proto: Foo.foo: NAME: Fields of oneofs must themselves have label \"\n      \"LABEL_OPTIONAL.\\n\");\n}\n\nTEST_F(ValidationErrorTest, InputTypeNotDefined) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type { name: \\\"Foo\\\" } \"\n    \"service {\"\n    \"  name: \\\"TestService\\\"\"\n    \"  method { name: \\\"A\\\" input_type: \\\"Bar\\\" output_type: \\\"Foo\\\" }\"\n    \"}\",\n\n    \"foo.proto: TestService.A: INPUT_TYPE: \\\"Bar\\\" is not defined.\\n\"\n    );\n}\n\nTEST_F(ValidationErrorTest, InputTypeNotAMessage) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type { name: \\\"Foo\\\" } \"\n    \"enum_type { name: \\\"Bar\\\" value { name:\\\"DUMMY\\\" number:0 } } \"\n    \"service {\"\n    \"  name: \\\"TestService\\\"\"\n    \"  method { name: \\\"A\\\" input_type: \\\"Bar\\\" output_type: \\\"Foo\\\" }\"\n    \"}\",\n\n    \"foo.proto: TestService.A: INPUT_TYPE: \\\"Bar\\\" is not a message type.\\n\"\n    );\n}\n\nTEST_F(ValidationErrorTest, OutputTypeNotDefined) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type { name: \\\"Foo\\\" } \"\n    \"service {\"\n    \"  name: \\\"TestService\\\"\"\n    \"  method { name: \\\"A\\\" input_type: \\\"Foo\\\" output_type: \\\"Bar\\\" }\"\n    \"}\",\n\n    \"foo.proto: TestService.A: OUTPUT_TYPE: \\\"Bar\\\" is not defined.\\n\"\n    );\n}\n\nTEST_F(ValidationErrorTest, OutputTypeNotAMessage) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type { name: \\\"Foo\\\" } \"\n    \"enum_type { name: \\\"Bar\\\" value { name:\\\"DUMMY\\\" number:0 } } \"\n    \"service {\"\n    \"  name: \\\"TestService\\\"\"\n    \"  method { name: \\\"A\\\" input_type: \\\"Foo\\\" output_type: \\\"Bar\\\" }\"\n    \"}\",\n\n    \"foo.proto: TestService.A: OUTPUT_TYPE: \\\"Bar\\\" is not a message type.\\n\"\n    );\n}\n\n\nTEST_F(ValidationErrorTest, IllegalPackedField) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\\n\"\n    \"  name: \\\"Foo\\\"\"\n    \"  field { name:\\\"packed_string\\\" number:1 label:LABEL_REPEATED \"\n    \"          type:TYPE_STRING \"\n    \"          options { uninterpreted_option {\"\n    \"            name { name_part: \\\"packed\\\" is_extension: false }\"\n    \"            identifier_value: \\\"true\\\" }}}\\n\"\n    \"  field { name:\\\"packed_message\\\" number:3 label:LABEL_REPEATED \"\n    \"          type_name: \\\"Foo\\\"\"\n    \"          options { uninterpreted_option {\"\n    \"            name { name_part: \\\"packed\\\" is_extension: false }\"\n    \"            identifier_value: \\\"true\\\" }}}\\n\"\n    \"  field { name:\\\"optional_int32\\\" number: 4 label: LABEL_OPTIONAL \"\n    \"          type:TYPE_INT32 \"\n    \"          options { uninterpreted_option {\"\n    \"            name { name_part: \\\"packed\\\" is_extension: false }\"\n    \"            identifier_value: \\\"true\\\" }}}\\n\"\n    \"}\",\n\n    \"foo.proto: Foo.packed_string: TYPE: [packed = true] can only be \"\n        \"specified for repeated primitive fields.\\n\"\n    \"foo.proto: Foo.packed_message: TYPE: [packed = true] can only be \"\n        \"specified for repeated primitive fields.\\n\"\n    \"foo.proto: Foo.optional_int32: TYPE: [packed = true] can only be \"\n        \"specified for repeated primitive fields.\\n\"\n        );\n}\n\nTEST_F(ValidationErrorTest, OptionWrongType) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type { \"\n    \"  name: \\\"TestMessage\\\" \"\n    \"  field { name:\\\"foo\\\" number:1 label:LABEL_OPTIONAL type:TYPE_STRING \"\n    \"          options { uninterpreted_option { name { name_part: \\\"ctype\\\" \"\n    \"                                                  is_extension: false }\"\n    \"                                           positive_int_value: 1 }\"\n    \"          }\"\n    \"  }\"\n    \"}\\n\",\n\n    \"foo.proto: TestMessage.foo: OPTION_VALUE: Value must be identifier for \"\n    \"enum-valued option \\\"google.protobuf.FieldOptions.ctype\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, OptionExtendsAtomicType) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type { \"\n    \"  name: \\\"TestMessage\\\" \"\n    \"  field { name:\\\"foo\\\" number:1 label:LABEL_OPTIONAL type:TYPE_STRING \"\n    \"          options { uninterpreted_option { name { name_part: \\\"ctype\\\" \"\n    \"                                                  is_extension: false }\"\n    \"                                           name { name_part: \\\"foo\\\" \"\n    \"                                                  is_extension: true }\"\n    \"                                           positive_int_value: 1 }\"\n    \"          }\"\n    \"  }\"\n    \"}\\n\",\n\n    \"foo.proto: TestMessage.foo: OPTION_NAME: Option \\\"ctype\\\" is an \"\n    \"atomic type, not a message.\\n\");\n}\n\nTEST_F(ValidationErrorTest, DupOption) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type { \"\n    \"  name: \\\"TestMessage\\\" \"\n    \"  field { name:\\\"foo\\\" number:1 label:LABEL_OPTIONAL type:TYPE_UINT32 \"\n    \"          options { uninterpreted_option { name { name_part: \\\"ctype\\\" \"\n    \"                                                  is_extension: false }\"\n    \"                                           identifier_value: \\\"CORD\\\" }\"\n    \"                    uninterpreted_option { name { name_part: \\\"ctype\\\" \"\n    \"                                                  is_extension: false }\"\n    \"                                           identifier_value: \\\"CORD\\\" }\"\n    \"          }\"\n    \"  }\"\n    \"}\\n\",\n\n    \"foo.proto: TestMessage.foo: OPTION_NAME: Option \\\"ctype\\\" was \"\n    \"already set.\\n\");\n}\n\nTEST_F(ValidationErrorTest, InvalidOptionName) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type { \"\n    \"  name: \\\"TestMessage\\\" \"\n    \"  field { name:\\\"foo\\\" number:1 label:LABEL_OPTIONAL type:TYPE_BOOL \"\n    \"          options { uninterpreted_option { \"\n    \"                      name { name_part: \\\"uninterpreted_option\\\" \"\n    \"                             is_extension: false }\"\n    \"                      positive_int_value: 1 \"\n    \"                    }\"\n    \"          }\"\n    \"  }\"\n    \"}\\n\",\n\n    \"foo.proto: TestMessage.foo: OPTION_NAME: Option must not use \"\n    \"reserved name \\\"uninterpreted_option\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, RepeatedMessageOption) {\n  BuildDescriptorMessagesInTestPool();\n\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"dependency: \\\"google/protobuf/descriptor.proto\\\" \"\n    \"message_type: { name: \\\"Bar\\\" field: { \"\n    \"  name: \\\"foo\\\" number: 1 label: LABEL_OPTIONAL type: TYPE_INT32 } \"\n    \"} \"\n    \"extension { name: \\\"bar\\\" number: 7672757 label: LABEL_REPEATED \"\n    \"            type: TYPE_MESSAGE type_name: \\\"Bar\\\" \"\n    \"            extendee: \\\"google.protobuf.FileOptions\\\" }\"\n    \"options { uninterpreted_option { name { name_part: \\\"bar\\\" \"\n    \"                                        is_extension: true } \"\n    \"                                 name { name_part: \\\"foo\\\" \"\n    \"                                        is_extension: false } \"\n    \"                                 positive_int_value: 1 } }\",\n\n    \"foo.proto: foo.proto: OPTION_NAME: Option field \\\"(bar)\\\" is a \"\n    \"repeated message. Repeated message options must be initialized \"\n    \"using an aggregate value.\\n\");\n}\n\nTEST_F(ValidationErrorTest, ResolveUndefinedOption) {\n  // The following should produce an eror that baz.bar is resolved but not\n  // defined.\n  // foo.proto:\n  //   package baz\n  //   import google/protobuf/descriptor.proto\n  //   message Bar { optional int32 foo = 1; }\n  //   extend FileOptions { optional Bar bar = 7672757; }\n  //\n  // qux.proto:\n  //   package qux.baz\n  //   option (baz.bar).foo = 1;\n  //\n  // Although \"baz.bar\" is already defined, the lookup code will try\n  // \"qux.baz.bar\", since it's the match from the innermost scope, which will\n  // cause a symbol not defined error.\n  BuildDescriptorMessagesInTestPool();\n\n  BuildFile(\n    \"name: \\\"foo.proto\\\" \"\n    \"package: \\\"baz\\\" \"\n    \"dependency: \\\"google/protobuf/descriptor.proto\\\" \"\n    \"message_type: { name: \\\"Bar\\\" field: { \"\n    \"  name: \\\"foo\\\" number: 1 label: LABEL_OPTIONAL type: TYPE_INT32 } \"\n    \"} \"\n    \"extension { name: \\\"bar\\\" number: 7672757 label: LABEL_OPTIONAL \"\n    \"            type: TYPE_MESSAGE type_name: \\\"Bar\\\" \"\n    \"            extendee: \\\"google.protobuf.FileOptions\\\" }\");\n\n  BuildFileWithErrors(\n    \"name: \\\"qux.proto\\\" \"\n    \"package: \\\"qux.baz\\\" \"\n    \"options { uninterpreted_option { name { name_part: \\\"baz.bar\\\" \"\n    \"                                        is_extension: true } \"\n    \"                                 name { name_part: \\\"foo\\\" \"\n    \"                                        is_extension: false } \"\n    \"                                 positive_int_value: 1 } }\",\n\n    \"qux.proto: qux.proto: OPTION_NAME: Option \\\"(baz.bar)\\\" is resolved to \"\n    \"\\\"(qux.baz.bar)\\\",\"\n    \" which is not defined. The innermost scope is searched first in name \"\n    \"resolution. Consider using a leading '.'(i.e., \\\"(.baz.bar)\\\") to start \"\n    \"from the outermost scope.\\n\");\n}\n\nTEST_F(ValidationErrorTest, UnknownOption) {\n  BuildFileWithErrors(\n    \"name: \\\"qux.proto\\\" \"\n    \"package: \\\"qux.baz\\\" \"\n    \"options { uninterpreted_option { name { name_part: \\\"baaz.bar\\\" \"\n    \"                                        is_extension: true } \"\n    \"                                 name { name_part: \\\"foo\\\" \"\n    \"                                        is_extension: false } \"\n    \"                                 positive_int_value: 1 } }\",\n\n    \"qux.proto: qux.proto: OPTION_NAME: Option \\\"(baaz.bar)\\\" unknown.\\n\");\n}\n\nTEST_F(ValidationErrorTest, CustomOptionConflictingFieldNumber) {\n  BuildDescriptorMessagesInTestPool();\n\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"dependency: \\\"google/protobuf/descriptor.proto\\\" \"\n    \"extension { name: \\\"foo1\\\" number: 7672757 label: LABEL_OPTIONAL \"\n    \"            type: TYPE_INT32 extendee: \\\"google.protobuf.FieldOptions\\\" }\"\n    \"extension { name: \\\"foo2\\\" number: 7672757 label: LABEL_OPTIONAL \"\n    \"            type: TYPE_INT32 extendee: \\\"google.protobuf.FieldOptions\\\" }\",\n\n    \"foo.proto: foo2: NUMBER: Extension number 7672757 has already been used \"\n    \"in \\\"google.protobuf.FieldOptions\\\" by extension \\\"foo1\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, Int32OptionValueOutOfPositiveRange) {\n  BuildDescriptorMessagesInTestPool();\n\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"dependency: \\\"google/protobuf/descriptor.proto\\\" \"\n    \"extension { name: \\\"foo\\\" number: 7672757 label: LABEL_OPTIONAL \"\n    \"            type: TYPE_INT32 extendee: \\\"google.protobuf.FileOptions\\\" }\"\n    \"options { uninterpreted_option { name { name_part: \\\"foo\\\" \"\n    \"                                        is_extension: true } \"\n    \"                                 positive_int_value: 0x80000000 } \"\n    \"}\",\n\n    \"foo.proto: foo.proto: OPTION_VALUE: Value out of range \"\n    \"for int32 option \\\"foo\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, Int32OptionValueOutOfNegativeRange) {\n  BuildDescriptorMessagesInTestPool();\n\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"dependency: \\\"google/protobuf/descriptor.proto\\\" \"\n    \"extension { name: \\\"foo\\\" number: 7672757 label: LABEL_OPTIONAL \"\n    \"            type: TYPE_INT32 extendee: \\\"google.protobuf.FileOptions\\\" }\"\n    \"options { uninterpreted_option { name { name_part: \\\"foo\\\" \"\n    \"                                        is_extension: true } \"\n    \"                                 negative_int_value: -0x80000001 } \"\n    \"}\",\n\n    \"foo.proto: foo.proto: OPTION_VALUE: Value out of range \"\n    \"for int32 option \\\"foo\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, Int32OptionValueIsNotPositiveInt) {\n  BuildDescriptorMessagesInTestPool();\n\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"dependency: \\\"google/protobuf/descriptor.proto\\\" \"\n    \"extension { name: \\\"foo\\\" number: 7672757 label: LABEL_OPTIONAL \"\n    \"            type: TYPE_INT32 extendee: \\\"google.protobuf.FileOptions\\\" }\"\n    \"options { uninterpreted_option { name { name_part: \\\"foo\\\" \"\n    \"                                        is_extension: true } \"\n    \"                                 string_value: \\\"5\\\" } }\",\n\n    \"foo.proto: foo.proto: OPTION_VALUE: Value must be integer \"\n    \"for int32 option \\\"foo\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, Int64OptionValueOutOfRange) {\n  BuildDescriptorMessagesInTestPool();\n\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"dependency: \\\"google/protobuf/descriptor.proto\\\" \"\n    \"extension { name: \\\"foo\\\" number: 7672757 label: LABEL_OPTIONAL \"\n    \"            type: TYPE_INT64 extendee: \\\"google.protobuf.FileOptions\\\" }\"\n    \"options { uninterpreted_option { name { name_part: \\\"foo\\\" \"\n    \"                                        is_extension: true } \"\n    \"                                 positive_int_value: 0x8000000000000000 } \"\n    \"}\",\n\n    \"foo.proto: foo.proto: OPTION_VALUE: Value out of range \"\n    \"for int64 option \\\"foo\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, Int64OptionValueIsNotPositiveInt) {\n  BuildDescriptorMessagesInTestPool();\n\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"dependency: \\\"google/protobuf/descriptor.proto\\\" \"\n    \"extension { name: \\\"foo\\\" number: 7672757 label: LABEL_OPTIONAL \"\n    \"            type: TYPE_INT64 extendee: \\\"google.protobuf.FileOptions\\\" }\"\n    \"options { uninterpreted_option { name { name_part: \\\"foo\\\" \"\n    \"                                        is_extension: true } \"\n    \"                                 identifier_value: \\\"5\\\" } }\",\n\n    \"foo.proto: foo.proto: OPTION_VALUE: Value must be integer \"\n    \"for int64 option \\\"foo\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, UInt32OptionValueOutOfRange) {\n  BuildDescriptorMessagesInTestPool();\n\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"dependency: \\\"google/protobuf/descriptor.proto\\\" \"\n    \"extension { name: \\\"foo\\\" number: 7672757 label: LABEL_OPTIONAL \"\n    \"            type: TYPE_UINT32 extendee: \\\"google.protobuf.FileOptions\\\" }\"\n    \"options { uninterpreted_option { name { name_part: \\\"foo\\\" \"\n    \"                                        is_extension: true } \"\n    \"                                 positive_int_value: 0x100000000 } }\",\n\n    \"foo.proto: foo.proto: OPTION_VALUE: Value out of range \"\n    \"for uint32 option \\\"foo\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, UInt32OptionValueIsNotPositiveInt) {\n  BuildDescriptorMessagesInTestPool();\n\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"dependency: \\\"google/protobuf/descriptor.proto\\\" \"\n    \"extension { name: \\\"foo\\\" number: 7672757 label: LABEL_OPTIONAL \"\n    \"            type: TYPE_UINT32 extendee: \\\"google.protobuf.FileOptions\\\" }\"\n    \"options { uninterpreted_option { name { name_part: \\\"foo\\\" \"\n    \"                                        is_extension: true } \"\n    \"                                 double_value: -5.6 } }\",\n\n    \"foo.proto: foo.proto: OPTION_VALUE: Value must be non-negative integer \"\n    \"for uint32 option \\\"foo\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, UInt64OptionValueIsNotPositiveInt) {\n  BuildDescriptorMessagesInTestPool();\n\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"dependency: \\\"google/protobuf/descriptor.proto\\\" \"\n    \"extension { name: \\\"foo\\\" number: 7672757 label: LABEL_OPTIONAL \"\n    \"            type: TYPE_UINT64 extendee: \\\"google.protobuf.FileOptions\\\" }\"\n    \"options { uninterpreted_option { name { name_part: \\\"foo\\\" \"\n    \"                                        is_extension: true } \"\n    \"                                 negative_int_value: -5 } }\",\n\n    \"foo.proto: foo.proto: OPTION_VALUE: Value must be non-negative integer \"\n    \"for uint64 option \\\"foo\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, FloatOptionValueIsNotNumber) {\n  BuildDescriptorMessagesInTestPool();\n\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"dependency: \\\"google/protobuf/descriptor.proto\\\" \"\n    \"extension { name: \\\"foo\\\" number: 7672757 label: LABEL_OPTIONAL \"\n    \"            type: TYPE_FLOAT extendee: \\\"google.protobuf.FileOptions\\\" }\"\n    \"options { uninterpreted_option { name { name_part: \\\"foo\\\" \"\n    \"                                        is_extension: true } \"\n    \"                                 string_value: \\\"bar\\\" } }\",\n\n    \"foo.proto: foo.proto: OPTION_VALUE: Value must be number \"\n    \"for float option \\\"foo\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, DoubleOptionValueIsNotNumber) {\n  BuildDescriptorMessagesInTestPool();\n\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"dependency: \\\"google/protobuf/descriptor.proto\\\" \"\n    \"extension { name: \\\"foo\\\" number: 7672757 label: LABEL_OPTIONAL \"\n    \"            type: TYPE_DOUBLE extendee: \\\"google.protobuf.FileOptions\\\" }\"\n    \"options { uninterpreted_option { name { name_part: \\\"foo\\\" \"\n    \"                                        is_extension: true } \"\n    \"                                 string_value: \\\"bar\\\" } }\",\n\n    \"foo.proto: foo.proto: OPTION_VALUE: Value must be number \"\n    \"for double option \\\"foo\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, BoolOptionValueIsNotTrueOrFalse) {\n  BuildDescriptorMessagesInTestPool();\n\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"dependency: \\\"google/protobuf/descriptor.proto\\\" \"\n    \"extension { name: \\\"foo\\\" number: 7672757 label: LABEL_OPTIONAL \"\n    \"            type: TYPE_BOOL extendee: \\\"google.protobuf.FileOptions\\\" }\"\n    \"options { uninterpreted_option { name { name_part: \\\"foo\\\" \"\n    \"                                        is_extension: true } \"\n    \"                                 identifier_value: \\\"bar\\\" } }\",\n\n    \"foo.proto: foo.proto: OPTION_VALUE: Value must be \\\"true\\\" or \\\"false\\\" \"\n    \"for boolean option \\\"foo\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, EnumOptionValueIsNotIdentifier) {\n  BuildDescriptorMessagesInTestPool();\n\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"dependency: \\\"google/protobuf/descriptor.proto\\\" \"\n    \"enum_type { name: \\\"FooEnum\\\" value { name: \\\"BAR\\\" number: 1 } \"\n    \"                              value { name: \\\"BAZ\\\" number: 2 } }\"\n    \"extension { name: \\\"foo\\\" number: 7672757 label: LABEL_OPTIONAL \"\n    \"            type: TYPE_ENUM type_name: \\\"FooEnum\\\" \"\n    \"            extendee: \\\"google.protobuf.FileOptions\\\" }\"\n    \"options { uninterpreted_option { name { name_part: \\\"foo\\\" \"\n    \"                                        is_extension: true } \"\n    \"                                 string_value: \\\"QUUX\\\" } }\",\n\n    \"foo.proto: foo.proto: OPTION_VALUE: Value must be identifier for \"\n    \"enum-valued option \\\"foo\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, EnumOptionValueIsNotEnumValueName) {\n  BuildDescriptorMessagesInTestPool();\n\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"dependency: \\\"google/protobuf/descriptor.proto\\\" \"\n    \"enum_type { name: \\\"FooEnum\\\" value { name: \\\"BAR\\\" number: 1 } \"\n    \"                              value { name: \\\"BAZ\\\" number: 2 } }\"\n    \"extension { name: \\\"foo\\\" number: 7672757 label: LABEL_OPTIONAL \"\n    \"            type: TYPE_ENUM type_name: \\\"FooEnum\\\" \"\n    \"            extendee: \\\"google.protobuf.FileOptions\\\" }\"\n    \"options { uninterpreted_option { name { name_part: \\\"foo\\\" \"\n    \"                                        is_extension: true } \"\n    \"                                 identifier_value: \\\"QUUX\\\" } }\",\n\n    \"foo.proto: foo.proto: OPTION_VALUE: Enum type \\\"FooEnum\\\" has no value \"\n    \"named \\\"QUUX\\\" for option \\\"foo\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, EnumOptionValueIsSiblingEnumValueName) {\n  BuildDescriptorMessagesInTestPool();\n\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"dependency: \\\"google/protobuf/descriptor.proto\\\" \"\n    \"enum_type { name: \\\"FooEnum1\\\" value { name: \\\"BAR\\\" number: 1 } \"\n    \"                               value { name: \\\"BAZ\\\" number: 2 } }\"\n    \"enum_type { name: \\\"FooEnum2\\\" value { name: \\\"QUX\\\" number: 1 } \"\n    \"                               value { name: \\\"QUUX\\\" number: 2 } }\"\n    \"extension { name: \\\"foo\\\" number: 7672757 label: LABEL_OPTIONAL \"\n    \"            type: TYPE_ENUM type_name: \\\"FooEnum1\\\" \"\n    \"            extendee: \\\"google.protobuf.FileOptions\\\" }\"\n    \"options { uninterpreted_option { name { name_part: \\\"foo\\\" \"\n    \"                                        is_extension: true } \"\n    \"                                 identifier_value: \\\"QUUX\\\" } }\",\n\n    \"foo.proto: foo.proto: OPTION_VALUE: Enum type \\\"FooEnum1\\\" has no value \"\n    \"named \\\"QUUX\\\" for option \\\"foo\\\". This appears to be a value from a \"\n    \"sibling type.\\n\");\n}\n\nTEST_F(ValidationErrorTest, StringOptionValueIsNotString) {\n  BuildDescriptorMessagesInTestPool();\n\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"dependency: \\\"google/protobuf/descriptor.proto\\\" \"\n    \"extension { name: \\\"foo\\\" number: 7672757 label: LABEL_OPTIONAL \"\n    \"            type: TYPE_STRING extendee: \\\"google.protobuf.FileOptions\\\" }\"\n    \"options { uninterpreted_option { name { name_part: \\\"foo\\\" \"\n    \"                                        is_extension: true } \"\n    \"                                 identifier_value: \\\"QUUX\\\" } }\",\n\n    \"foo.proto: foo.proto: OPTION_VALUE: Value must be quoted string for \"\n    \"string option \\\"foo\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, DuplicateExtensionFieldNumber) {\n  BuildDescriptorMessagesInTestPool();\n\n  BuildFile(\n      \"name: \\\"foo.proto\\\" \"\n      \"dependency: \\\"google/protobuf/descriptor.proto\\\" \"\n      \"extension { name: \\\"option1\\\" number: 1000 label: LABEL_OPTIONAL \"\n      \"            type: TYPE_INT32 extendee: \\\"google.protobuf.FileOptions\\\" }\");\n\n  BuildFileWithWarnings(\n      \"name: \\\"bar.proto\\\" \"\n      \"dependency: \\\"google/protobuf/descriptor.proto\\\" \"\n      \"extension { name: \\\"option2\\\" number: 1000 label: LABEL_OPTIONAL \"\n      \"            type: TYPE_INT32 extendee: \\\"google.protobuf.FileOptions\\\" }\",\n      \"bar.proto: option2: NUMBER: Extension number 1000 has already been used \"\n      \"in \\\"google.protobuf.FileOptions\\\" by extension \\\"option1\\\" defined in \"\n      \"foo.proto.\\n\");\n}\n\n// Helper function for tests that check for aggregate value parsing\n// errors.  The \"value\" argument is embedded inside the\n// \"uninterpreted_option\" portion of the result.\nstatic string EmbedAggregateValue(const char* value) {\n  return strings::Substitute(\n      \"name: \\\"foo.proto\\\" \"\n      \"dependency: \\\"google/protobuf/descriptor.proto\\\" \"\n      \"message_type { name: \\\"Foo\\\" } \"\n      \"extension { name: \\\"foo\\\" number: 7672757 label: LABEL_OPTIONAL \"\n      \"            type: TYPE_MESSAGE type_name: \\\"Foo\\\" \"\n      \"            extendee: \\\"google.protobuf.FileOptions\\\" }\"\n      \"options { uninterpreted_option { name { name_part: \\\"foo\\\" \"\n      \"                                        is_extension: true } \"\n      \"                                 $0 } }\",\n      value);\n}\n\nTEST_F(ValidationErrorTest, AggregateValueNotFound) {\n  BuildDescriptorMessagesInTestPool();\n\n  BuildFileWithErrors(\n      EmbedAggregateValue(\"string_value: \\\"\\\"\"),\n      \"foo.proto: foo.proto: OPTION_VALUE: Option \\\"foo\\\" is a message. \"\n      \"To set the entire message, use syntax like \"\n      \"\\\"foo = { <proto text format> }\\\". To set fields within it, use \"\n      \"syntax like \\\"foo.foo = value\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, AggregateValueParseError) {\n  BuildDescriptorMessagesInTestPool();\n\n  BuildFileWithErrors(\n      EmbedAggregateValue(\"aggregate_value: \\\"1+2\\\"\"),\n      \"foo.proto: foo.proto: OPTION_VALUE: Error while parsing option \"\n      \"value for \\\"foo\\\": Expected identifier.\\n\");\n}\n\nTEST_F(ValidationErrorTest, AggregateValueUnknownFields) {\n  BuildDescriptorMessagesInTestPool();\n\n  BuildFileWithErrors(\n      EmbedAggregateValue(\"aggregate_value: \\\"x:100\\\"\"),\n      \"foo.proto: foo.proto: OPTION_VALUE: Error while parsing option \"\n      \"value for \\\"foo\\\": Message type \\\"Foo\\\" has no field named \\\"x\\\".\\n\");\n}\n\nTEST_F(ValidationErrorTest, NotLiteImportsLite) {\n  BuildFile(\n    \"name: \\\"bar.proto\\\" \"\n    \"options { optimize_for: LITE_RUNTIME } \");\n\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"dependency: \\\"bar.proto\\\" \",\n\n    \"foo.proto: foo.proto: OTHER: Files that do not use optimize_for = \"\n      \"LITE_RUNTIME cannot import files which do use this option.  This file \"\n      \"is not lite, but it imports \\\"bar.proto\\\" which is.\\n\");\n}\n\nTEST_F(ValidationErrorTest, LiteExtendsNotLite) {\n  BuildFile(\n    \"name: \\\"bar.proto\\\" \"\n    \"message_type: {\"\n    \"  name: \\\"Bar\\\"\"\n    \"  extension_range { start: 1 end: 1000 }\"\n    \"}\");\n\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"dependency: \\\"bar.proto\\\" \"\n    \"options { optimize_for: LITE_RUNTIME } \"\n    \"extension { name: \\\"ext\\\" number: 123 label: LABEL_OPTIONAL \"\n    \"            type: TYPE_INT32 extendee: \\\"Bar\\\" }\",\n\n    \"foo.proto: ext: EXTENDEE: Extensions to non-lite types can only be \"\n      \"declared in non-lite files.  Note that you cannot extend a non-lite \"\n      \"type to contain a lite type, but the reverse is allowed.\\n\");\n}\n\nTEST_F(ValidationErrorTest, NoLiteServices) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"options {\"\n    \"  optimize_for: LITE_RUNTIME\"\n    \"  cc_generic_services: true\"\n    \"  java_generic_services: true\"\n    \"} \"\n    \"service { name: \\\"Foo\\\" }\",\n\n    \"foo.proto: Foo: NAME: Files with optimize_for = LITE_RUNTIME cannot \"\n    \"define services unless you set both options cc_generic_services and \"\n    \"java_generic_sevices to false.\\n\");\n\n  BuildFile(\n    \"name: \\\"bar.proto\\\" \"\n    \"options {\"\n    \"  optimize_for: LITE_RUNTIME\"\n    \"  cc_generic_services: false\"\n    \"  java_generic_services: false\"\n    \"} \"\n    \"service { name: \\\"Bar\\\" }\");\n}\n\nTEST_F(ValidationErrorTest, RollbackAfterError) {\n  // Build a file which contains every kind of construct but references an\n  // undefined type.  All these constructs will be added to the symbol table\n  // before the undefined type error is noticed.  The DescriptorPool will then\n  // have to roll everything back.\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"TestMessage\\\"\"\n    \"  field { name:\\\"foo\\\" label:LABEL_OPTIONAL type:TYPE_INT32 number:1 }\"\n    \"} \"\n    \"enum_type {\"\n    \"  name: \\\"TestEnum\\\"\"\n    \"  value { name:\\\"BAR\\\" number:1 }\"\n    \"} \"\n    \"service {\"\n    \"  name: \\\"TestService\\\"\"\n    \"  method {\"\n    \"    name: \\\"Baz\\\"\"\n    \"    input_type: \\\"NoSuchType\\\"\"    // error\n    \"    output_type: \\\"TestMessage\\\"\"\n    \"  }\"\n    \"}\",\n\n    \"foo.proto: TestService.Baz: INPUT_TYPE: \\\"NoSuchType\\\" is not defined.\\n\"\n    );\n\n  // Make sure that if we build the same file again with the error fixed,\n  // it works.  If the above rollback was incomplete, then some symbols will\n  // be left defined, and this second attempt will fail since it tries to\n  // re-define the same symbols.\n  BuildFile(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type {\"\n    \"  name: \\\"TestMessage\\\"\"\n    \"  field { name:\\\"foo\\\" label:LABEL_OPTIONAL type:TYPE_INT32 number:1 }\"\n    \"} \"\n    \"enum_type {\"\n    \"  name: \\\"TestEnum\\\"\"\n    \"  value { name:\\\"BAR\\\" number:1 }\"\n    \"} \"\n    \"service {\"\n    \"  name: \\\"TestService\\\"\"\n    \"  method { name:\\\"Baz\\\"\"\n    \"           input_type:\\\"TestMessage\\\"\"\n    \"           output_type:\\\"TestMessage\\\" }\"\n    \"}\");\n}\n\nTEST_F(ValidationErrorTest, ErrorsReportedToLogError) {\n  // Test that errors are reported to GOOGLE_LOG(ERROR) if no error collector is\n  // provided.\n\n  FileDescriptorProto file_proto;\n  ASSERT_TRUE(TextFormat::ParseFromString(\n    \"name: \\\"foo.proto\\\" \"\n    \"message_type { name: \\\"Foo\\\" } \"\n    \"message_type { name: \\\"Foo\\\" } \",\n    &file_proto));\n\n  vector<string> errors;\n\n  {\n    ScopedMemoryLog log;\n    EXPECT_TRUE(pool_.BuildFile(file_proto) == NULL);\n    errors = log.GetMessages(ERROR);\n  }\n\n  ASSERT_EQ(2, errors.size());\n\n  EXPECT_EQ(\"Invalid proto descriptor for file \\\"foo.proto\\\":\", errors[0]);\n  EXPECT_EQ(\"  Foo: \\\"Foo\\\" is already defined.\", errors[1]);\n}\n\nTEST_F(ValidationErrorTest, DisallowEnumAlias) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"enum_type {\"\n    \"  name: \\\"Bar\\\"\"\n    \"  value { name:\\\"ENUM_A\\\" number:0 }\"\n    \"  value { name:\\\"ENUM_B\\\" number:0 }\"\n    \"}\",\n    \"foo.proto: Bar: NUMBER: \"\n    \"\\\"ENUM_B\\\" uses the same enum value as \\\"ENUM_A\\\". \"\n    \"If this is intended, set 'option allow_alias = true;' to the enum \"\n    \"definition.\\n\");\n}\n\nTEST_F(ValidationErrorTest, AllowEnumAlias) {\n  BuildFile(\n    \"name: \\\"foo.proto\\\" \"\n    \"enum_type {\"\n    \"  name: \\\"Bar\\\"\"\n    \"  value { name:\\\"ENUM_A\\\" number:0 }\"\n    \"  value { name:\\\"ENUM_B\\\" number:0 }\"\n    \"  options { allow_alias: true }\"\n    \"}\");\n}\n\nTEST_F(ValidationErrorTest, UnusedImportWarning) {\n  pool_.AddUnusedImportTrackFile(\"bar.proto\");\n  BuildFile(\n    \"name: \\\"bar.proto\\\" \"\n    \"message_type { name: \\\"Bar\\\" }\");\n\n  pool_.AddUnusedImportTrackFile(\"base.proto\");\n  BuildFile(\n    \"name: \\\"base.proto\\\" \"\n    \"message_type { name: \\\"Base\\\" }\");\n\n  pool_.AddUnusedImportTrackFile(\"baz.proto\");\n  BuildFile(\n    \"name: \\\"baz.proto\\\" \"\n    \"message_type { name: \\\"Baz\\\" }\");\n\n  pool_.AddUnusedImportTrackFile(\"public.proto\");\n  BuildFile(\n    \"name: \\\"public.proto\\\" \"\n    \"dependency: \\\"bar.proto\\\"\"\n    \"public_dependency: 0\");\n\n  // // forward.proto\n  // import \"base.proto\"       // No warning: Base message is used.\n  // import \"bar.proto\"        // Will log a warning.\n  // import public \"baz.proto\" // No warning: Do not track import public.\n  // import \"public.proto\"     // No warning: public.proto has import public.\n  // message Forward {\n  //   optional Base base = 1;\n  // }\n  //\n  pool_.AddUnusedImportTrackFile(\"forward.proto\");\n  BuildFileWithWarnings(\n    \"name: \\\"forward.proto\\\"\"\n    \"dependency: \\\"base.proto\\\"\"\n    \"dependency: \\\"bar.proto\\\"\"\n    \"dependency: \\\"baz.proto\\\"\"\n    \"dependency: \\\"public.proto\\\"\"\n    \"public_dependency: 2 \"\n    \"message_type {\"\n    \"  name: \\\"Forward\\\"\"\n    \"  field { name:\\\"base\\\" number:1 label:LABEL_OPTIONAL type_name:\\\"Base\\\" }\"\n    \"}\",\n    \"forward.proto: bar.proto: OTHER: Import bar.proto but not used.\\n\");\n}\n\nnamespace {\nvoid FillValidMapEntry(FileDescriptorProto* file_proto) {\n  ASSERT_TRUE(TextFormat::ParseFromString(\n      \"name: 'foo.proto' \"\n      \"message_type { \"\n      \"  name: 'Foo' \"\n      \"  field { \"\n      \"    name: 'foo_map' number: 1 label:LABEL_REPEATED \"\n      \"    type_name: 'FooMapEntry' \"\n      \"  } \"\n      \"  nested_type { \"\n      \"    name: 'FooMapEntry' \"\n      \"    options {  map_entry: true } \"\n      \"    field { \"\n      \"      name: 'key' number: 1 type:TYPE_INT32 label:LABEL_OPTIONAL \"\n      \"    } \"\n      \"    field { \"\n      \"      name: 'value' number: 2 type:TYPE_INT32 label:LABEL_OPTIONAL \"\n      \"    } \"\n      \"  } \"\n      \"} \"\n      \"message_type { \"\n      \"  name: 'Bar' \"\n      \"  extension_range { start: 1 end: 10 }\"\n      \"} \",\n      file_proto));\n}\nstatic const char* kMapEntryErrorMessage =\n    \"foo.proto: Foo.foo_map: OTHER: map_entry should not be set explicitly. \"\n    \"Use map<KeyType, ValueType> instead.\\n\";\nstatic const char* kMapEntryKeyTypeErrorMessage =\n    \"foo.proto: Foo.foo_map: TYPE: Key in map fields cannot be float/double, \"\n    \"bytes or message types.\\n\";\n\n}  // namespace\n\nTEST_F(ValidationErrorTest, MapEntryBase) {\n  FileDescriptorProto file_proto;\n  FillValidMapEntry(&file_proto);\n  BuildFile(file_proto.DebugString());\n}\n\nTEST_F(ValidationErrorTest, MapEntryExtensionRange) {\n  FileDescriptorProto file_proto;\n  FillValidMapEntry(&file_proto);\n  TextFormat::MergeFromString(\n      \"extension_range { \"\n      \"  start: 10 end: 20 \"\n      \"} \",\n      file_proto.mutable_message_type(0)->mutable_nested_type(0));\n  BuildFileWithErrors(file_proto.DebugString(), kMapEntryErrorMessage);\n}\n\nTEST_F(ValidationErrorTest, MapEntryExtension) {\n  FileDescriptorProto file_proto;\n  FillValidMapEntry(&file_proto);\n  TextFormat::MergeFromString(\n      \"extension { \"\n      \"  name: 'foo_ext' extendee: '.Bar' number: 5\"\n      \"} \",\n      file_proto.mutable_message_type(0)->mutable_nested_type(0));\n  BuildFileWithErrors(file_proto.DebugString(), kMapEntryErrorMessage);\n}\n\nTEST_F(ValidationErrorTest, MapEntryNestedType) {\n  FileDescriptorProto file_proto;\n  FillValidMapEntry(&file_proto);\n  TextFormat::MergeFromString(\n      \"nested_type { \"\n      \"  name: 'Bar' \"\n      \"} \",\n      file_proto.mutable_message_type(0)->mutable_nested_type(0));\n  BuildFileWithErrors(file_proto.DebugString(), kMapEntryErrorMessage);\n}\n\nTEST_F(ValidationErrorTest, MapEntryEnumTypes) {\n  FileDescriptorProto file_proto;\n  FillValidMapEntry(&file_proto);\n  TextFormat::MergeFromString(\n      \"enum_type { \"\n      \"  name: 'BarEnum' \"\n      \"  value { name: 'BAR_BAR' number:0 } \"\n      \"} \",\n      file_proto.mutable_message_type(0)->mutable_nested_type(0));\n  BuildFileWithErrors(file_proto.DebugString(), kMapEntryErrorMessage);\n}\n\nTEST_F(ValidationErrorTest, MapEntryExtraField) {\n  FileDescriptorProto file_proto;\n  FillValidMapEntry(&file_proto);\n  TextFormat::MergeFromString(\n      \"field { \"\n      \"  name: 'other_field' \"\n      \"  label: LABEL_OPTIONAL \"\n      \"  type: TYPE_INT32 \"\n      \"  number: 3 \"\n      \"} \",\n      file_proto.mutable_message_type(0)->mutable_nested_type(0));\n  BuildFileWithErrors(file_proto.DebugString(), kMapEntryErrorMessage);\n}\n\nTEST_F(ValidationErrorTest, MapEntryMessageName) {\n  FileDescriptorProto file_proto;\n  FillValidMapEntry(&file_proto);\n  file_proto.mutable_message_type(0)->mutable_nested_type(0)->set_name(\n      \"OtherMapEntry\");\n  file_proto.mutable_message_type(0)->mutable_field(0)->set_type_name(\n      \"OtherMapEntry\");\n  BuildFileWithErrors(file_proto.DebugString(), kMapEntryErrorMessage);\n}\n\nTEST_F(ValidationErrorTest, MapEntryNoneRepeatedMapEntry) {\n  FileDescriptorProto file_proto;\n  FillValidMapEntry(&file_proto);\n  file_proto.mutable_message_type(0)->mutable_field(0)->set_label(\n      FieldDescriptorProto::LABEL_OPTIONAL);\n  BuildFileWithErrors(file_proto.DebugString(), kMapEntryErrorMessage);\n}\n\nTEST_F(ValidationErrorTest, MapEntryDifferentContainingType) {\n  FileDescriptorProto file_proto;\n  FillValidMapEntry(&file_proto);\n  // Move the nested MapEntry message into the top level, which should not pass\n  // the validation.\n  file_proto.mutable_message_type()->AddAllocated(\n      file_proto.mutable_message_type(0)->mutable_nested_type()->ReleaseLast());\n  BuildFileWithErrors(file_proto.DebugString(), kMapEntryErrorMessage);\n}\n\nTEST_F(ValidationErrorTest, MapEntryKeyName) {\n  FileDescriptorProto file_proto;\n  FillValidMapEntry(&file_proto);\n  FieldDescriptorProto* key = file_proto.mutable_message_type(0)\n      ->mutable_nested_type(0)\n      ->mutable_field(0);\n  key->set_name(\"Key\");\n  BuildFileWithErrors(file_proto.DebugString(), kMapEntryErrorMessage);\n}\n\nTEST_F(ValidationErrorTest, MapEntryKeyLabel) {\n  FileDescriptorProto file_proto;\n  FillValidMapEntry(&file_proto);\n  FieldDescriptorProto* key = file_proto.mutable_message_type(0)\n      ->mutable_nested_type(0)\n      ->mutable_field(0);\n  key->set_label(FieldDescriptorProto::LABEL_REQUIRED);\n  BuildFileWithErrors(file_proto.DebugString(), kMapEntryErrorMessage);\n}\n\nTEST_F(ValidationErrorTest, MapEntryKeyNumber) {\n  FileDescriptorProto file_proto;\n  FillValidMapEntry(&file_proto);\n  FieldDescriptorProto* key = file_proto.mutable_message_type(0)\n      ->mutable_nested_type(0)\n      ->mutable_field(0);\n  key->set_number(3);\n  BuildFileWithErrors(file_proto.DebugString(), kMapEntryErrorMessage);\n}\n\nTEST_F(ValidationErrorTest, MapEntryValueName) {\n  FileDescriptorProto file_proto;\n  FillValidMapEntry(&file_proto);\n  FieldDescriptorProto* value = file_proto.mutable_message_type(0)\n      ->mutable_nested_type(0)\n      ->mutable_field(1);\n  value->set_name(\"Value\");\n  BuildFileWithErrors(file_proto.DebugString(), kMapEntryErrorMessage);\n}\n\nTEST_F(ValidationErrorTest, MapEntryValueLabel) {\n  FileDescriptorProto file_proto;\n  FillValidMapEntry(&file_proto);\n  FieldDescriptorProto* value = file_proto.mutable_message_type(0)\n      ->mutable_nested_type(0)\n      ->mutable_field(1);\n  value->set_label(FieldDescriptorProto::LABEL_REQUIRED);\n  BuildFileWithErrors(file_proto.DebugString(), kMapEntryErrorMessage);\n}\n\nTEST_F(ValidationErrorTest, MapEntryValueNumber) {\n  FileDescriptorProto file_proto;\n  FillValidMapEntry(&file_proto);\n  FieldDescriptorProto* value = file_proto.mutable_message_type(0)\n      ->mutable_nested_type(0)\n      ->mutable_field(1);\n  value->set_number(3);\n  BuildFileWithErrors(file_proto.DebugString(), kMapEntryErrorMessage);\n}\n\nTEST_F(ValidationErrorTest, MapEntryKeyTypeFloat) {\n  FileDescriptorProto file_proto;\n  FillValidMapEntry(&file_proto);\n  FieldDescriptorProto* key = file_proto.mutable_message_type(0)\n      ->mutable_nested_type(0)\n      ->mutable_field(0);\n  key->set_type(FieldDescriptorProto::TYPE_FLOAT);\n  BuildFileWithErrors(file_proto.DebugString(), kMapEntryKeyTypeErrorMessage);\n}\n\nTEST_F(ValidationErrorTest, MapEntryKeyTypeDouble) {\n  FileDescriptorProto file_proto;\n  FillValidMapEntry(&file_proto);\n  FieldDescriptorProto* key = file_proto.mutable_message_type(0)\n      ->mutable_nested_type(0)\n      ->mutable_field(0);\n  key->set_type(FieldDescriptorProto::TYPE_DOUBLE);\n  BuildFileWithErrors(file_proto.DebugString(), kMapEntryKeyTypeErrorMessage);\n}\n\nTEST_F(ValidationErrorTest, MapEntryKeyTypeBytes) {\n  FileDescriptorProto file_proto;\n  FillValidMapEntry(&file_proto);\n  FieldDescriptorProto* key = file_proto.mutable_message_type(0)\n      ->mutable_nested_type(0)\n      ->mutable_field(0);\n  key->set_type(FieldDescriptorProto::TYPE_BYTES);\n  BuildFileWithErrors(file_proto.DebugString(), kMapEntryKeyTypeErrorMessage);\n}\n\nTEST_F(ValidationErrorTest, MapEntryKeyTypeEnum) {\n  FileDescriptorProto file_proto;\n  FillValidMapEntry(&file_proto);\n  FieldDescriptorProto* key = file_proto.mutable_message_type(0)\n      ->mutable_nested_type(0)\n      ->mutable_field(0);\n  key->clear_type();\n  key->set_type_name(\"BarEnum\");\n  EnumDescriptorProto* enum_proto = file_proto.add_enum_type();\n  enum_proto->set_name(\"BarEnum\");\n  EnumValueDescriptorProto* enum_value_proto = enum_proto->add_value();\n  enum_value_proto->set_name(\"BAR_VALUE0\");\n  enum_value_proto->set_number(0);\n  BuildFileWithErrors(file_proto.DebugString(),\n                      \"foo.proto: Foo.foo_map: TYPE: Key in map fields cannot \"\n                      \"be enum types.\\n\");\n  // Enum keys are not allowed in proto3 as well.\n  // Get rid of extensions for proto3 to make it proto3 compatible.\n  file_proto.mutable_message_type()->RemoveLast();\n  file_proto.set_syntax(\"proto3\");\n  BuildFileWithErrors(file_proto.DebugString(),\n                      \"foo.proto: Foo.foo_map: TYPE: Key in map fields cannot \"\n                      \"be enum types.\\n\");\n}\n\n\nTEST_F(ValidationErrorTest, MapEntryKeyTypeMessage) {\n  FileDescriptorProto file_proto;\n  FillValidMapEntry(&file_proto);\n  FieldDescriptorProto* key = file_proto.mutable_message_type(0)\n      ->mutable_nested_type(0)\n      ->mutable_field(0);\n  key->clear_type();\n  key->set_type_name(\".Bar\");\n  BuildFileWithErrors(file_proto.DebugString(), kMapEntryKeyTypeErrorMessage);\n}\n\nTEST_F(ValidationErrorTest, MapEntryConflictsWithField) {\n  FileDescriptorProto file_proto;\n  FillValidMapEntry(&file_proto);\n  TextFormat::MergeFromString(\n      \"field { \"\n      \"  name: 'FooMapEntry' \"\n      \"  type: TYPE_INT32 \"\n      \"  label: LABEL_OPTIONAL \"\n      \"  number: 100 \"\n      \"}\",\n      file_proto.mutable_message_type(0));\n  BuildFileWithErrors(\n      file_proto.DebugString(),\n      \"foo.proto: Foo.FooMapEntry: NAME: \\\"FooMapEntry\\\" is already defined in \"\n      \"\\\"Foo\\\".\\n\"\n      \"foo.proto: Foo.foo_map: TYPE: \\\"FooMapEntry\\\" is not defined.\\n\"\n      \"foo.proto: Foo: NAME: Expanded map entry type FooMapEntry conflicts \"\n      \"with an existing field.\\n\");\n}\n\nTEST_F(ValidationErrorTest, MapEntryConflictsWithMessage) {\n  FileDescriptorProto file_proto;\n  FillValidMapEntry(&file_proto);\n  TextFormat::MergeFromString(\n      \"nested_type { \"\n      \"  name: 'FooMapEntry' \"\n      \"}\",\n      file_proto.mutable_message_type(0));\n  BuildFileWithErrors(\n      file_proto.DebugString(),\n      \"foo.proto: Foo.FooMapEntry: NAME: \\\"FooMapEntry\\\" is already defined in \"\n      \"\\\"Foo\\\".\\n\"\n      \"foo.proto: Foo: NAME: Expanded map entry type FooMapEntry conflicts \"\n      \"with an existing nested message type.\\n\");\n}\n\nTEST_F(ValidationErrorTest, MapEntryConflictsWithEnum) {\n  FileDescriptorProto file_proto;\n  FillValidMapEntry(&file_proto);\n  TextFormat::MergeFromString(\n      \"enum_type { \"\n      \"  name: 'FooMapEntry' \"\n      \"  value { name: 'ENTRY_FOO' number: 0 }\"\n      \"}\",\n      file_proto.mutable_message_type(0));\n  BuildFileWithErrors(\n      file_proto.DebugString(),\n      \"foo.proto: Foo.FooMapEntry: NAME: \\\"FooMapEntry\\\" is already defined in \"\n      \"\\\"Foo\\\".\\n\"\n      \"foo.proto: Foo: NAME: Expanded map entry type FooMapEntry conflicts \"\n      \"with an existing enum type.\\n\");\n}\n\nTEST_F(ValidationErrorTest, MapEntryConflictsWithOneof) {\n  FileDescriptorProto file_proto;\n  FillValidMapEntry(&file_proto);\n  TextFormat::MergeFromString(\n      \"oneof_decl { \"\n      \"  name: 'FooMapEntry' \"\n      \"}\"\n      \"field { \"\n      \"  name: 'int_field' \"\n      \"  type: TYPE_INT32 \"\n      \"  label: LABEL_OPTIONAL \"\n      \"  oneof_index: 0 \"\n      \"  number: 100 \"\n      \"} \",\n      file_proto.mutable_message_type(0));\n  BuildFileWithErrors(\n      file_proto.DebugString(),\n      \"foo.proto: Foo.FooMapEntry: NAME: \\\"FooMapEntry\\\" is already defined in \"\n      \"\\\"Foo\\\".\\n\"\n      \"foo.proto: Foo.foo_map: TYPE: \\\"FooMapEntry\\\" is not defined.\\n\"\n      \"foo.proto: Foo: NAME: Expanded map entry type FooMapEntry conflicts \"\n      \"with an existing oneof type.\\n\");\n}\n\nTEST_F(ValidationErrorTest, MapEntryUsesNoneZeroEnumDefaultValue) {\n  BuildFileWithErrors(\n    \"name: \\\"foo.proto\\\" \"\n    \"enum_type {\"\n    \"  name: \\\"Bar\\\"\"\n    \"  value { name:\\\"ENUM_A\\\" number:1 }\"\n    \"  value { name:\\\"ENUM_B\\\" number:2 }\"\n    \"}\"\n    \"message_type {\"\n    \"  name: 'Foo' \"\n    \"  field { \"\n    \"    name: 'foo_map' number: 1 label:LABEL_REPEATED \"\n    \"    type_name: 'FooMapEntry' \"\n    \"  } \"\n    \"  nested_type { \"\n    \"    name: 'FooMapEntry' \"\n    \"    options {  map_entry: true } \"\n    \"    field { \"\n    \"      name: 'key' number: 1 type:TYPE_INT32 label:LABEL_OPTIONAL \"\n    \"    } \"\n    \"    field { \"\n    \"      name: 'value' number: 2 type_name:\\\"Bar\\\" label:LABEL_OPTIONAL \"\n    \"    } \"\n    \"  } \"\n    \"}\",\n    \"foo.proto: Foo.foo_map: \"\n    \"TYPE: Enum value in map must define 0 as the first value.\\n\");\n}\n\nTEST_F(ValidationErrorTest, Proto3RequiredFields) {\n  BuildFileWithErrors(\n      \"name: 'foo.proto' \"\n      \"syntax: 'proto3' \"\n      \"message_type { \"\n      \"  name: 'Foo' \"\n      \"  field { name:'foo' number:1 label:LABEL_REQUIRED type:TYPE_INT32 } \"\n      \"}\",\n      \"foo.proto: Foo.foo: OTHER: Required fields are not allowed in \"\n      \"proto3.\\n\");\n\n  // applied to nested types as well.\n  BuildFileWithErrors(\n      \"name: 'foo.proto' \"\n      \"syntax: 'proto3' \"\n      \"message_type { \"\n      \"  name: 'Foo' \"\n      \"  nested_type { \"\n      \"    name : 'Bar' \"\n      \"    field { name:'bar' number:1 label:LABEL_REQUIRED type:TYPE_INT32 } \"\n      \"  } \"\n      \"}\",\n      \"foo.proto: Foo.Bar.bar: OTHER: Required fields are not allowed in \"\n      \"proto3.\\n\");\n\n  // optional and repeated fields are OK.\n  BuildFile(\n      \"name: 'foo.proto' \"\n      \"syntax: 'proto3' \"\n      \"message_type { \"\n      \"  name: 'Foo' \"\n      \"  field { name:'foo' number:1 label:LABEL_OPTIONAL type:TYPE_INT32 } \"\n      \"  field { name:'bar' number:2 label:LABEL_REPEATED type:TYPE_INT32 } \"\n      \"}\");\n}\n\nTEST_F(ValidationErrorTest, ValidateProto3DefaultValue) {\n  BuildFileWithErrors(\n      \"name: 'foo.proto' \"\n      \"syntax: 'proto3' \"\n      \"message_type { \"\n      \"  name: 'Foo' \"\n      \"  field { name:'foo' number:1 label:LABEL_OPTIONAL type:TYPE_INT32 \"\n      \"          default_value: '1' }\"\n      \"}\",\n      \"foo.proto: Foo.foo: OTHER: Explicit default values are not allowed in \"\n      \"proto3.\\n\");\n\n  BuildFileWithErrors(\n      \"name: 'foo.proto' \"\n      \"syntax: 'proto3' \"\n      \"message_type { \"\n      \"  name: 'Foo' \"\n      \"  nested_type { \"\n      \"    name : 'Bar' \"\n      \"    field { name:'bar' number:1 label:LABEL_OPTIONAL type:TYPE_INT32 \"\n      \"            default_value: '1' }\"\n      \"  } \"\n      \"}\",\n      \"foo.proto: Foo.Bar.bar: OTHER: Explicit default values are not allowed \"\n      \"in proto3.\\n\");\n}\n\nTEST_F(ValidationErrorTest, ValidateProto3ExtensionRange) {\n  BuildFileWithErrors(\n      \"name: 'foo.proto' \"\n      \"syntax: 'proto3' \"\n      \"message_type { \"\n      \"  name: 'Foo' \"\n      \"  field { name:'foo' number:1 label:LABEL_OPTIONAL type:TYPE_INT32 } \"\n      \"  extension_range { start:10 end:100 } \"\n      \"}\",\n      \"foo.proto: Foo: OTHER: Extension ranges are not allowed in \"\n      \"proto3.\\n\");\n\n  BuildFileWithErrors(\n      \"name: 'foo.proto' \"\n      \"syntax: 'proto3' \"\n      \"message_type { \"\n      \"  name: 'Foo' \"\n      \"  nested_type { \"\n      \"    name : 'Bar' \"\n      \"    field { name:'bar' number:1 label:LABEL_OPTIONAL type:TYPE_INT32 } \"\n      \"    extension_range { start:10 end:100 } \"\n      \"  } \"\n      \"}\",\n      \"foo.proto: Foo.Bar: OTHER: Extension ranges are not allowed in \"\n      \"proto3.\\n\");\n}\n\nTEST_F(ValidationErrorTest, ValidateProto3MessageSetWireFormat) {\n  BuildFileWithErrors(\n      \"name: 'foo.proto' \"\n      \"syntax: 'proto3' \"\n      \"message_type { \"\n      \"  name: 'Foo' \"\n      \"  options { message_set_wire_format: true } \"\n      \"}\",\n      \"foo.proto: Foo: OTHER: MessageSet is not supported \"\n      \"in proto3.\\n\");\n}\n\nTEST_F(ValidationErrorTest, ValidateProto3Enum) {\n  BuildFileWithErrors(\n      \"name: 'foo.proto' \"\n      \"syntax: 'proto3' \"\n      \"enum_type { \"\n      \"  name: 'FooEnum' \"\n      \"  value { name: 'FOO_FOO' number:1 } \"\n      \"}\",\n      \"foo.proto: FooEnum: OTHER: The first enum value must be \"\n      \"zero in proto3.\\n\");\n\n  BuildFileWithErrors(\n      \"name: 'foo.proto' \"\n      \"syntax: 'proto3' \"\n      \"message_type { \"\n      \"  name: 'Foo' \"\n      \"  enum_type { \"\n      \"    name: 'FooEnum' \"\n      \"    value { name: 'FOO_FOO' number:1 } \"\n      \"  } \"\n      \"}\",\n      \"foo.proto: Foo.FooEnum: OTHER: The first enum value must be \"\n      \"zero in proto3.\\n\");\n\n  // valid case.\n  BuildFile(\n      \"name: 'foo.proto' \"\n      \"syntax: 'proto3' \"\n      \"enum_type { \"\n      \"  name: 'FooEnum' \"\n      \"  value { name: 'FOO_FOO' number:0 } \"\n      \"}\");\n}\n\nTEST_F(ValidationErrorTest, ValidateProto3Group) {\n  BuildFileWithErrors(\n      \"name: 'foo.proto' \"\n      \"syntax: 'proto3' \"\n      \"message_type { \"\n      \"  name: 'Foo' \"\n      \"  nested_type { \"\n      \"    name: 'FooGroup' \"\n      \"  } \"\n      \"  field { name:'foo_group' number: 1 label:LABEL_OPTIONAL \"\n      \"          type: TYPE_GROUP type_name:'FooGroup' } \"\n      \"}\",\n      \"foo.proto: Foo.foo_group: TYPE: Groups are not supported in proto3 \"\n      \"syntax.\\n\");\n}\n\n\nTEST_F(ValidationErrorTest, ValidateProto3EnumFromProto2) {\n  // Define an enum in a proto2 file.\n  BuildFile(\n      \"name: 'foo.proto' \"\n      \"package: 'foo' \"\n      \"syntax: 'proto2' \"\n      \"enum_type { \"\n      \"  name: 'FooEnum' \"\n      \"  value { name: 'DEFAULT_OPTION' number:0 } \"\n      \"}\");\n\n  // Now try to refer to it. (All tests in the fixture use the same pool, so we\n  // can refer to the enum above in this definition.)\n  BuildFileWithErrors(\n      \"name: 'bar.proto' \"\n      \"dependency: 'foo.proto' \"\n      \"syntax: 'proto3' \"\n      \"message_type { \"\n      \"  name: 'Foo' \"\n      \"    field { name:'bar' number:1 label:LABEL_OPTIONAL type:TYPE_ENUM \"\n      \"            type_name: 'foo.FooEnum' }\"\n      \"}\",\n      \"bar.proto: Foo.bar: TYPE: Enum type \\\"foo.FooEnum\\\" is not a proto3 \"\n      \"enum, but is used in \\\"Foo\\\" which is a proto3 message type.\\n\");\n}\n\nTEST_F(ValidationErrorTest, ValidateProto3Extension) {\n  // Valid for options.\n  DescriptorPool pool;\n  FileDescriptorProto file_proto;\n  // Add \"google/protobuf/descriptor.proto\".\n  FileDescriptorProto::descriptor()->file()->CopyTo(&file_proto);\n  ASSERT_TRUE(pool.BuildFile(file_proto) != NULL);\n  // Add \"foo.proto\":\n  //   import \"google/protobuf/descriptor.proto\";\n  //   extend google.protobuf.FieldOptions {\n  //     optional int32 option1 = 1000;\n  //   }\n  file_proto.Clear();\n  file_proto.set_name(\"foo.proto\");\n  file_proto.set_syntax(\"proto3\");\n  file_proto.add_dependency(\"google/protobuf/descriptor.proto\");\n  AddExtension(&file_proto, \"google.protobuf.FieldOptions\", \"option1\", 1000,\n               FieldDescriptorProto::LABEL_OPTIONAL,\n               FieldDescriptorProto::TYPE_INT32);\n  ASSERT_TRUE(pool.BuildFile(file_proto) != NULL);\n\n  // Copy and change the package of the descriptor.proto\n  BuildFile(\n      \"name: 'google.protobuf.proto' \"\n      \"syntax: 'proto2' \"\n      \"message_type { \"\n      \"  name: 'Container' extension_range { start: 1 end: 1000 } \"\n      \"}\");\n  BuildFileWithErrors(\n      \"name: 'bar.proto' \"\n      \"syntax: 'proto3' \"\n      \"dependency: 'google.protobuf.proto' \"\n      \"extension { \"\n      \"  name: 'bar' number: 1 label: LABEL_OPTIONAL type: TYPE_INT32 \"\n      \"  extendee: 'Container' \"\n      \"}\",\n      \"bar.proto: bar: OTHER: Extensions in proto3 are only allowed for \"\n      \"defining options.\\n\");\n}\n\n// Test that field names that may conflict in JSON is not allowed by protoc.\nTEST_F(ValidationErrorTest, ValidateProto3JsonName) {\n  // The comparison is case-insensitive.\n  BuildFileWithErrors(\n      \"name: 'foo.proto' \"\n      \"syntax: 'proto3' \"\n      \"message_type {\"\n      \"  name: 'Foo'\"\n      \"  field { name:'name' number:1 label:LABEL_OPTIONAL type:TYPE_INT32 }\"\n      \"  field { name:'Name' number:2 label:LABEL_OPTIONAL type:TYPE_INT32 }\"\n      \"}\",\n      \"foo.proto: Foo: OTHER: The JSON camcel-case name of field \\\"Name\\\" \"\n      \"conflicts with field \\\"name\\\". This is not allowed in proto3.\\n\");\n  // Underscores are ignored.\n  BuildFileWithErrors(\n      \"name: 'foo.proto' \"\n      \"syntax: 'proto3' \"\n      \"message_type {\"\n      \"  name: 'Foo'\"\n      \"  field { name:'ab' number:1 label:LABEL_OPTIONAL type:TYPE_INT32 }\"\n      \"  field { name:'_a__b_' number:2 label:LABEL_OPTIONAL type:TYPE_INT32 }\"\n      \"}\",\n      \"foo.proto: Foo: OTHER: The JSON camcel-case name of field \\\"_a__b_\\\" \"\n      \"conflicts with field \\\"ab\\\". This is not allowed in proto3.\\n\");\n}\n\n// ===================================================================\n// DescriptorDatabase\n\nstatic void AddToDatabase(SimpleDescriptorDatabase* database,\n                          const char* file_text) {\n  FileDescriptorProto file_proto;\n  EXPECT_TRUE(TextFormat::ParseFromString(file_text, &file_proto));\n  database->Add(file_proto);\n}\n\nclass DatabaseBackedPoolTest : public testing::Test {\n protected:\n  DatabaseBackedPoolTest() {}\n\n  SimpleDescriptorDatabase database_;\n\n  virtual void SetUp() {\n    AddToDatabase(&database_,\n      \"name: 'foo.proto' \"\n      \"message_type { name:'Foo' extension_range { start: 1 end: 100 } } \"\n      \"enum_type { name:'TestEnum' value { name:'DUMMY' number:0 } } \"\n      \"service { name:'TestService' } \");\n    AddToDatabase(&database_,\n      \"name: 'bar.proto' \"\n      \"dependency: 'foo.proto' \"\n      \"message_type { name:'Bar' } \"\n      \"extension { name:'foo_ext' extendee: '.Foo' number:5 \"\n      \"            label:LABEL_OPTIONAL type:TYPE_INT32 } \");\n    // Baz has an undeclared dependency on Foo.\n    AddToDatabase(&database_,\n      \"name: 'baz.proto' \"\n      \"message_type { \"\n      \"  name:'Baz' \"\n      \"  field { name:'foo' number:1 label:LABEL_OPTIONAL type_name:'Foo' } \"\n      \"}\");\n  }\n\n  // We can't inject a file containing errors into a DescriptorPool, so we\n  // need an actual mock DescriptorDatabase to test errors.\n  class ErrorDescriptorDatabase : public DescriptorDatabase {\n   public:\n    ErrorDescriptorDatabase() {}\n    ~ErrorDescriptorDatabase() {}\n\n    // implements DescriptorDatabase ---------------------------------\n    bool FindFileByName(const string& filename,\n                        FileDescriptorProto* output) {\n      // error.proto and error2.proto cyclically import each other.\n      if (filename == \"error.proto\") {\n        output->Clear();\n        output->set_name(\"error.proto\");\n        output->add_dependency(\"error2.proto\");\n        return true;\n      } else if (filename == \"error2.proto\") {\n        output->Clear();\n        output->set_name(\"error2.proto\");\n        output->add_dependency(\"error.proto\");\n        return true;\n      } else {\n        return false;\n      }\n    }\n    bool FindFileContainingSymbol(const string& symbol_name,\n                                  FileDescriptorProto* output) {\n      return false;\n    }\n    bool FindFileContainingExtension(const string& containing_type,\n                                     int field_number,\n                                     FileDescriptorProto* output) {\n      return false;\n    }\n  };\n\n  // A DescriptorDatabase that counts how many times each method has been\n  // called and forwards to some other DescriptorDatabase.\n  class CallCountingDatabase : public DescriptorDatabase {\n   public:\n    CallCountingDatabase(DescriptorDatabase* wrapped_db)\n      : wrapped_db_(wrapped_db) {\n      Clear();\n    }\n    ~CallCountingDatabase() {}\n\n    DescriptorDatabase* wrapped_db_;\n\n    int call_count_;\n\n    void Clear() {\n      call_count_ = 0;\n    }\n\n    // implements DescriptorDatabase ---------------------------------\n    bool FindFileByName(const string& filename,\n                        FileDescriptorProto* output) {\n      ++call_count_;\n      return wrapped_db_->FindFileByName(filename, output);\n    }\n    bool FindFileContainingSymbol(const string& symbol_name,\n                                  FileDescriptorProto* output) {\n      ++call_count_;\n      return wrapped_db_->FindFileContainingSymbol(symbol_name, output);\n    }\n    bool FindFileContainingExtension(const string& containing_type,\n                                     int field_number,\n                                     FileDescriptorProto* output) {\n      ++call_count_;\n      return wrapped_db_->FindFileContainingExtension(\n        containing_type, field_number, output);\n    }\n  };\n\n  // A DescriptorDatabase which falsely always returns foo.proto when searching\n  // for any symbol or extension number.  This shouldn't cause the\n  // DescriptorPool to reload foo.proto if it is already loaded.\n  class FalsePositiveDatabase : public DescriptorDatabase {\n   public:\n    FalsePositiveDatabase(DescriptorDatabase* wrapped_db)\n      : wrapped_db_(wrapped_db) {}\n    ~FalsePositiveDatabase() {}\n\n    DescriptorDatabase* wrapped_db_;\n\n    // implements DescriptorDatabase ---------------------------------\n    bool FindFileByName(const string& filename,\n                        FileDescriptorProto* output) {\n      return wrapped_db_->FindFileByName(filename, output);\n    }\n    bool FindFileContainingSymbol(const string& symbol_name,\n                                  FileDescriptorProto* output) {\n      return FindFileByName(\"foo.proto\", output);\n    }\n    bool FindFileContainingExtension(const string& containing_type,\n                                     int field_number,\n                                     FileDescriptorProto* output) {\n      return FindFileByName(\"foo.proto\", output);\n    }\n  };\n};\n\nTEST_F(DatabaseBackedPoolTest, FindFileByName) {\n  DescriptorPool pool(&database_);\n\n  const FileDescriptor* foo = pool.FindFileByName(\"foo.proto\");\n  ASSERT_TRUE(foo != NULL);\n  EXPECT_EQ(\"foo.proto\", foo->name());\n  ASSERT_EQ(1, foo->message_type_count());\n  EXPECT_EQ(\"Foo\", foo->message_type(0)->name());\n\n  EXPECT_EQ(foo, pool.FindFileByName(\"foo.proto\"));\n\n  EXPECT_TRUE(pool.FindFileByName(\"no_such_file.proto\") == NULL);\n}\n\nTEST_F(DatabaseBackedPoolTest, FindDependencyBeforeDependent) {\n  DescriptorPool pool(&database_);\n\n  const FileDescriptor* foo = pool.FindFileByName(\"foo.proto\");\n  ASSERT_TRUE(foo != NULL);\n  EXPECT_EQ(\"foo.proto\", foo->name());\n  ASSERT_EQ(1, foo->message_type_count());\n  EXPECT_EQ(\"Foo\", foo->message_type(0)->name());\n\n  const FileDescriptor* bar = pool.FindFileByName(\"bar.proto\");\n  ASSERT_TRUE(bar != NULL);\n  EXPECT_EQ(\"bar.proto\", bar->name());\n  ASSERT_EQ(1, bar->message_type_count());\n  EXPECT_EQ(\"Bar\", bar->message_type(0)->name());\n\n  ASSERT_EQ(1, bar->dependency_count());\n  EXPECT_EQ(foo, bar->dependency(0));\n}\n\nTEST_F(DatabaseBackedPoolTest, FindDependentBeforeDependency) {\n  DescriptorPool pool(&database_);\n\n  const FileDescriptor* bar = pool.FindFileByName(\"bar.proto\");\n  ASSERT_TRUE(bar != NULL);\n  EXPECT_EQ(\"bar.proto\", bar->name());\n  ASSERT_EQ(1, bar->message_type_count());\n  ASSERT_EQ(\"Bar\", bar->message_type(0)->name());\n\n  const FileDescriptor* foo = pool.FindFileByName(\"foo.proto\");\n  ASSERT_TRUE(foo != NULL);\n  EXPECT_EQ(\"foo.proto\", foo->name());\n  ASSERT_EQ(1, foo->message_type_count());\n  ASSERT_EQ(\"Foo\", foo->message_type(0)->name());\n\n  ASSERT_EQ(1, bar->dependency_count());\n  EXPECT_EQ(foo, bar->dependency(0));\n}\n\nTEST_F(DatabaseBackedPoolTest, FindFileContainingSymbol) {\n  DescriptorPool pool(&database_);\n\n  const FileDescriptor* file = pool.FindFileContainingSymbol(\"Foo\");\n  ASSERT_TRUE(file != NULL);\n  EXPECT_EQ(\"foo.proto\", file->name());\n  EXPECT_EQ(file, pool.FindFileByName(\"foo.proto\"));\n\n  EXPECT_TRUE(pool.FindFileContainingSymbol(\"NoSuchSymbol\") == NULL);\n}\n\nTEST_F(DatabaseBackedPoolTest, FindMessageTypeByName) {\n  DescriptorPool pool(&database_);\n\n  const Descriptor* type = pool.FindMessageTypeByName(\"Foo\");\n  ASSERT_TRUE(type != NULL);\n  EXPECT_EQ(\"Foo\", type->name());\n  EXPECT_EQ(type->file(), pool.FindFileByName(\"foo.proto\"));\n\n  EXPECT_TRUE(pool.FindMessageTypeByName(\"NoSuchType\") == NULL);\n}\n\nTEST_F(DatabaseBackedPoolTest, FindExtensionByNumber) {\n  DescriptorPool pool(&database_);\n\n  const Descriptor* foo = pool.FindMessageTypeByName(\"Foo\");\n  ASSERT_TRUE(foo != NULL);\n\n  const FieldDescriptor* extension = pool.FindExtensionByNumber(foo, 5);\n  ASSERT_TRUE(extension != NULL);\n  EXPECT_EQ(\"foo_ext\", extension->name());\n  EXPECT_EQ(extension->file(), pool.FindFileByName(\"bar.proto\"));\n\n  EXPECT_TRUE(pool.FindExtensionByNumber(foo, 12) == NULL);\n}\n\nTEST_F(DatabaseBackedPoolTest, FindAllExtensions) {\n  DescriptorPool pool(&database_);\n\n  const Descriptor* foo = pool.FindMessageTypeByName(\"Foo\");\n\n  for (int i = 0; i < 2; ++i) {\n    // Repeat the lookup twice, to check that we get consistent\n    // results despite the fallback database lookup mutating the pool.\n    vector<const FieldDescriptor*> extensions;\n    pool.FindAllExtensions(foo, &extensions);\n    ASSERT_EQ(1, extensions.size());\n    EXPECT_EQ(5, extensions[0]->number());\n  }\n}\n\nTEST_F(DatabaseBackedPoolTest, ErrorWithoutErrorCollector) {\n  ErrorDescriptorDatabase error_database;\n  DescriptorPool pool(&error_database);\n\n  vector<string> errors;\n\n  {\n    ScopedMemoryLog log;\n    EXPECT_TRUE(pool.FindFileByName(\"error.proto\") == NULL);\n    errors = log.GetMessages(ERROR);\n  }\n\n  EXPECT_FALSE(errors.empty());\n}\n\nTEST_F(DatabaseBackedPoolTest, ErrorWithErrorCollector) {\n  ErrorDescriptorDatabase error_database;\n  MockErrorCollector error_collector;\n  DescriptorPool pool(&error_database, &error_collector);\n\n  EXPECT_TRUE(pool.FindFileByName(\"error.proto\") == NULL);\n  EXPECT_EQ(\n    \"error.proto: error.proto: OTHER: File recursively imports itself: \"\n      \"error.proto -> error2.proto -> error.proto\\n\"\n    \"error2.proto: error2.proto: OTHER: Import \\\"error.proto\\\" was not \"\n      \"found or had errors.\\n\"\n    \"error.proto: error.proto: OTHER: Import \\\"error2.proto\\\" was not \"\n      \"found or had errors.\\n\",\n    error_collector.text_);\n}\n\nTEST_F(DatabaseBackedPoolTest, UndeclaredDependencyOnUnbuiltType) {\n  // Check that we find and report undeclared dependencies on types that exist\n  // in the descriptor database but that have not not been built yet.\n  MockErrorCollector error_collector;\n  DescriptorPool pool(&database_, &error_collector);\n  EXPECT_TRUE(pool.FindMessageTypeByName(\"Baz\") == NULL);\n  EXPECT_EQ(\n    \"baz.proto: Baz.foo: TYPE: \\\"Foo\\\" seems to be defined in \\\"foo.proto\\\", \"\n    \"which is not imported by \\\"baz.proto\\\".  To use it here, please add \"\n    \"the necessary import.\\n\",\n    error_collector.text_);\n}\n\nTEST_F(DatabaseBackedPoolTest, RollbackAfterError) {\n  // Make sure that all traces of bad types are removed from the pool. This used\n  // to be b/4529436, due to the fact that a symbol resolution failure could\n  // potentially cause another file to be recursively built, which would trigger\n  // a checkpoint _past_ possibly invalid symbols.\n  // Baz is defined in the database, but the file is invalid because it is\n  // missing a necessary import.\n  DescriptorPool pool(&database_);\n  EXPECT_TRUE(pool.FindMessageTypeByName(\"Baz\") == NULL);\n  // Make sure that searching again for the file or the type fails.\n  EXPECT_TRUE(pool.FindFileByName(\"baz.proto\") == NULL);\n  EXPECT_TRUE(pool.FindMessageTypeByName(\"Baz\") == NULL);\n}\n\nTEST_F(DatabaseBackedPoolTest, UnittestProto) {\n  // Try to load all of unittest.proto from a DescriptorDatabase.  This should\n  // thoroughly test all paths through DescriptorBuilder to insure that there\n  // are no deadlocking problems when pool_->mutex_ is non-NULL.\n  const FileDescriptor* original_file =\n    protobuf_unittest::TestAllTypes::descriptor()->file();\n\n  DescriptorPoolDatabase database(*DescriptorPool::generated_pool());\n  DescriptorPool pool(&database);\n  const FileDescriptor* file_from_database =\n    pool.FindFileByName(original_file->name());\n\n  ASSERT_TRUE(file_from_database != NULL);\n\n  FileDescriptorProto original_file_proto;\n  original_file->CopyTo(&original_file_proto);\n\n  FileDescriptorProto file_from_database_proto;\n  file_from_database->CopyTo(&file_from_database_proto);\n\n  EXPECT_EQ(original_file_proto.DebugString(),\n            file_from_database_proto.DebugString());\n\n  // Also verify that CopyTo() did not omit any information.\n  EXPECT_EQ(original_file->DebugString(),\n            file_from_database->DebugString());\n}\n\nTEST_F(DatabaseBackedPoolTest, DoesntRetryDbUnnecessarily) {\n  // Searching for a child of an existing descriptor should never fall back\n  // to the DescriptorDatabase even if it isn't found, because we know all\n  // children are already loaded.\n  CallCountingDatabase call_counter(&database_);\n  DescriptorPool pool(&call_counter);\n\n  const FileDescriptor* file = pool.FindFileByName(\"foo.proto\");\n  ASSERT_TRUE(file != NULL);\n  const Descriptor* foo = pool.FindMessageTypeByName(\"Foo\");\n  ASSERT_TRUE(foo != NULL);\n  const EnumDescriptor* test_enum = pool.FindEnumTypeByName(\"TestEnum\");\n  ASSERT_TRUE(test_enum != NULL);\n  const ServiceDescriptor* test_service = pool.FindServiceByName(\"TestService\");\n  ASSERT_TRUE(test_service != NULL);\n\n  EXPECT_NE(0, call_counter.call_count_);\n  call_counter.Clear();\n\n  EXPECT_TRUE(foo->FindFieldByName(\"no_such_field\") == NULL);\n  EXPECT_TRUE(foo->FindExtensionByName(\"no_such_extension\") == NULL);\n  EXPECT_TRUE(foo->FindNestedTypeByName(\"NoSuchMessageType\") == NULL);\n  EXPECT_TRUE(foo->FindEnumTypeByName(\"NoSuchEnumType\") == NULL);\n  EXPECT_TRUE(foo->FindEnumValueByName(\"NO_SUCH_VALUE\") == NULL);\n  EXPECT_TRUE(test_enum->FindValueByName(\"NO_SUCH_VALUE\") == NULL);\n  EXPECT_TRUE(test_service->FindMethodByName(\"NoSuchMethod\") == NULL);\n\n  EXPECT_TRUE(file->FindMessageTypeByName(\"NoSuchMessageType\") == NULL);\n  EXPECT_TRUE(file->FindEnumTypeByName(\"NoSuchEnumType\") == NULL);\n  EXPECT_TRUE(file->FindEnumValueByName(\"NO_SUCH_VALUE\") == NULL);\n  EXPECT_TRUE(file->FindServiceByName(\"NO_SUCH_VALUE\") == NULL);\n  EXPECT_TRUE(file->FindExtensionByName(\"no_such_extension\") == NULL);\n\n  EXPECT_TRUE(pool.FindFileContainingSymbol(\"Foo.no.such.field\") == NULL);\n  EXPECT_TRUE(pool.FindFileContainingSymbol(\"Foo.no_such_field\") == NULL);\n  EXPECT_TRUE(pool.FindMessageTypeByName(\"Foo.NoSuchMessageType\") == NULL);\n  EXPECT_TRUE(pool.FindFieldByName(\"Foo.no_such_field\") == NULL);\n  EXPECT_TRUE(pool.FindExtensionByName(\"Foo.no_such_extension\") == NULL);\n  EXPECT_TRUE(pool.FindEnumTypeByName(\"Foo.NoSuchEnumType\") == NULL);\n  EXPECT_TRUE(pool.FindEnumValueByName(\"Foo.NO_SUCH_VALUE\") == NULL);\n  EXPECT_TRUE(pool.FindMethodByName(\"TestService.NoSuchMethod\") == NULL);\n\n  EXPECT_EQ(0, call_counter.call_count_);\n}\n\nTEST_F(DatabaseBackedPoolTest, DoesntReloadFilesUncesessarily) {\n  // If FindFileContainingSymbol() or FindFileContainingExtension() return a\n  // file that is already in the DescriptorPool, it should not attempt to\n  // reload the file.\n  FalsePositiveDatabase false_positive_database(&database_);\n  MockErrorCollector error_collector;\n  DescriptorPool pool(&false_positive_database, &error_collector);\n\n  // First make sure foo.proto is loaded.\n  const Descriptor* foo = pool.FindMessageTypeByName(\"Foo\");\n  ASSERT_TRUE(foo != NULL);\n\n  // Try inducing false positives.\n  EXPECT_TRUE(pool.FindMessageTypeByName(\"NoSuchSymbol\") == NULL);\n  EXPECT_TRUE(pool.FindExtensionByNumber(foo, 22) == NULL);\n\n  // No errors should have been reported.  (If foo.proto was incorrectly\n  // loaded multiple times, errors would have been reported.)\n  EXPECT_EQ(\"\", error_collector.text_);\n}\n\n// DescriptorDatabase that attempts to induce exponentially-bad performance\n// in DescriptorPool. For every positive N, the database contains a file\n// fileN.proto, which defines a message MessageN, which contains fields of\n// type MessageK for all K in [0,N). Message0 is not defined anywhere\n// (file0.proto exists, but is empty), so every other file and message type\n// will fail to build.\n//\n// If the DescriptorPool is not careful to memoize errors, an attempt to\n// build a descriptor for MessageN can require O(2^N) time.\nclass ExponentialErrorDatabase : public DescriptorDatabase {\n public:\n  ExponentialErrorDatabase() {}\n  ~ExponentialErrorDatabase() {}\n\n  // implements DescriptorDatabase ---------------------------------\n  bool FindFileByName(const string& filename,\n                      FileDescriptorProto* output) {\n    int file_num = -1;\n    FullMatch(filename, \"file\", \".proto\", &file_num);\n    if (file_num > -1) {\n      return PopulateFile(file_num, output);\n    } else {\n      return false;\n    }\n  }\n  bool FindFileContainingSymbol(const string& symbol_name,\n                                FileDescriptorProto* output) {\n    int file_num = -1;\n    FullMatch(symbol_name, \"Message\", \"\", &file_num);\n    if (file_num > 0) {\n      return PopulateFile(file_num, output);\n    } else {\n      return false;\n    }\n  }\n  bool FindFileContainingExtension(const string& containing_type,\n                                   int field_number,\n                                   FileDescriptorProto* output) {\n    return false;\n  }\n\n private:\n  void FullMatch(const string& name,\n                 const string& begin_with,\n                 const string& end_with,\n                 int* file_num) {\n    int begin_size = begin_with.size();\n    int end_size = end_with.size();\n    if (name.substr(0, begin_size) != begin_with ||\n        name.substr(name.size()- end_size, end_size) != end_with) {\n      return;\n    }\n    safe_strto32(name.substr(begin_size, name.size() - end_size - begin_size),\n                 file_num);\n  }\n\n  bool PopulateFile(int file_num, FileDescriptorProto* output) {\n    using strings::Substitute;\n    GOOGLE_CHECK_GE(file_num, 0);\n    output->Clear();\n    output->set_name(Substitute(\"file$0.proto\", file_num));\n    // file0.proto doesn't define Message0\n    if (file_num > 0) {\n      DescriptorProto* message = output->add_message_type();\n      message->set_name(Substitute(\"Message$0\", file_num));\n      for (int i = 0; i < file_num; ++i) {\n        output->add_dependency(Substitute(\"file$0.proto\", i));\n        FieldDescriptorProto* field = message->add_field();\n        field->set_name(Substitute(\"field$0\", i));\n        field->set_number(i);\n        field->set_label(FieldDescriptorProto::LABEL_OPTIONAL);\n        field->set_type(FieldDescriptorProto::TYPE_MESSAGE);\n        field->set_type_name(Substitute(\"Message$0\", i));\n      }\n    }\n    return true;\n  }\n};\n\nTEST_F(DatabaseBackedPoolTest, DoesntReloadKnownBadFiles) {\n  ExponentialErrorDatabase error_database;\n  DescriptorPool pool(&error_database);\n\n  GOOGLE_LOG(INFO) << \"A timeout in this test probably indicates a real bug.\";\n\n  EXPECT_TRUE(pool.FindFileByName(\"file40.proto\") == NULL);\n  EXPECT_TRUE(pool.FindMessageTypeByName(\"Message40\") == NULL);\n}\n\nTEST_F(DatabaseBackedPoolTest, DoesntFallbackOnWrongType) {\n  // If a lookup finds a symbol of the wrong type (e.g. we pass a type name\n  // to FindFieldByName()), we should fail fast, without checking the fallback\n  // database.\n  CallCountingDatabase call_counter(&database_);\n  DescriptorPool pool(&call_counter);\n\n  const FileDescriptor* file = pool.FindFileByName(\"foo.proto\");\n  ASSERT_TRUE(file != NULL);\n  const Descriptor* foo = pool.FindMessageTypeByName(\"Foo\");\n  ASSERT_TRUE(foo != NULL);\n  const EnumDescriptor* test_enum = pool.FindEnumTypeByName(\"TestEnum\");\n  ASSERT_TRUE(test_enum != NULL);\n\n  EXPECT_NE(0, call_counter.call_count_);\n  call_counter.Clear();\n\n  EXPECT_TRUE(pool.FindMessageTypeByName(\"TestEnum\") == NULL);\n  EXPECT_TRUE(pool.FindFieldByName(\"Foo\") == NULL);\n  EXPECT_TRUE(pool.FindExtensionByName(\"Foo\") == NULL);\n  EXPECT_TRUE(pool.FindEnumTypeByName(\"Foo\") == NULL);\n  EXPECT_TRUE(pool.FindEnumValueByName(\"Foo\") == NULL);\n  EXPECT_TRUE(pool.FindServiceByName(\"Foo\") == NULL);\n  EXPECT_TRUE(pool.FindMethodByName(\"Foo\") == NULL);\n\n  EXPECT_EQ(0, call_counter.call_count_);\n}\n\n// ===================================================================\n\nclass AbortingErrorCollector : public DescriptorPool::ErrorCollector {\n public:\n  AbortingErrorCollector() {}\n\n  virtual void AddError(\n      const string &filename,\n      const string &element_name,\n      const Message *message,\n      ErrorLocation location,\n      const string &error_message) {\n    GOOGLE_LOG(FATAL) << \"AddError() called unexpectedly: \" << filename << \" [\"\n               << element_name << \"]: \" << error_message;\n  }\n private:\n  GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(AbortingErrorCollector);\n};\n\n// A source tree containing only one file.\nclass SingletonSourceTree : public compiler::SourceTree {\n public:\n  SingletonSourceTree(const string& filename, const string& contents)\n      : filename_(filename), contents_(contents) {}\n\n  virtual io::ZeroCopyInputStream* Open(const string& filename) {\n    return filename == filename_ ?\n        new io::ArrayInputStream(contents_.data(), contents_.size()) : NULL;\n  }\n\n private:\n  const string filename_;\n  const string contents_;\n\n  GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(SingletonSourceTree);\n};\n\nconst char *const kSourceLocationTestInput =\n  \"syntax = \\\"proto2\\\";\\n\"\n  \"message A {\\n\"\n  \"  optional int32 a = 1;\\n\"\n  \"  message B {\\n\"\n  \"    required double b = 1;\\n\"\n  \"  }\\n\"\n  \"}\\n\"\n  \"enum Indecision {\\n\"\n  \"  YES   = 1;\\n\"\n  \"  NO    = 2;\\n\"\n  \"  MAYBE = 3;\\n\"\n  \"}\\n\"\n  \"service S {\\n\"\n  \"  rpc Method(A) returns (A.B);\\n\"\n  // Put an empty line here to make the source location range match.\n  \"\\n\"\n  \"}\\n\"\n  \"message MessageWithExtensions {\\n\"\n  \"  extensions 1000 to max;\\n\"\n  \"}\\n\"\n  \"extend MessageWithExtensions {\\n\"\n  \"  optional int32 int32_extension = 1001;\\n\"\n  \"}\\n\"\n  \"message C {\\n\"\n  \"  extend MessageWithExtensions {\\n\"\n  \"    optional C message_extension = 1002;\\n\"\n  \"  }\\n\"\n  \"}\\n\";\n\nclass SourceLocationTest : public testing::Test {\n public:\n  SourceLocationTest()\n      : source_tree_(\"/test/test.proto\", kSourceLocationTestInput),\n        db_(&source_tree_),\n        pool_(&db_, &collector_) {}\n\n  static string PrintSourceLocation(const SourceLocation &loc) {\n    return strings::Substitute(\"$0:$1-$2:$3\",\n                               1 + loc.start_line,\n                               1 + loc.start_column,\n                               1 + loc.end_line,\n                               1 + loc.end_column);\n  }\n\n private:\n  AbortingErrorCollector collector_;\n  SingletonSourceTree source_tree_;\n  compiler::SourceTreeDescriptorDatabase db_;\n\n protected:\n  DescriptorPool pool_;\n};\n\n// TODO(adonovan): implement support for option fields and for\n// subparts of declarations.\n\nTEST_F(SourceLocationTest, GetSourceLocation) {\n  SourceLocation loc;\n\n  const FileDescriptor *file_desc =\n      GOOGLE_CHECK_NOTNULL(pool_.FindFileByName(\"/test/test.proto\"));\n\n  const Descriptor *a_desc = file_desc->FindMessageTypeByName(\"A\");\n  EXPECT_TRUE(a_desc->GetSourceLocation(&loc));\n  EXPECT_EQ(\"2:1-7:2\", PrintSourceLocation(loc));\n\n  const Descriptor *a_b_desc = a_desc->FindNestedTypeByName(\"B\");\n  EXPECT_TRUE(a_b_desc->GetSourceLocation(&loc));\n  EXPECT_EQ(\"4:3-6:4\", PrintSourceLocation(loc));\n\n  const EnumDescriptor *e_desc = file_desc->FindEnumTypeByName(\"Indecision\");\n  EXPECT_TRUE(e_desc->GetSourceLocation(&loc));\n  EXPECT_EQ(\"8:1-12:2\", PrintSourceLocation(loc));\n\n  const EnumValueDescriptor *yes_desc = e_desc->FindValueByName(\"YES\");\n  EXPECT_TRUE(yes_desc->GetSourceLocation(&loc));\n  EXPECT_EQ(\"9:3-9:13\", PrintSourceLocation(loc));\n\n  const ServiceDescriptor *s_desc = file_desc->FindServiceByName(\"S\");\n  EXPECT_TRUE(s_desc->GetSourceLocation(&loc));\n  EXPECT_EQ(\"13:1-16:2\", PrintSourceLocation(loc));\n\n  const MethodDescriptor *m_desc = s_desc->FindMethodByName(\"Method\");\n  EXPECT_TRUE(m_desc->GetSourceLocation(&loc));\n  EXPECT_EQ(\"14:3-14:31\", PrintSourceLocation(loc));\n\n}\n\nTEST_F(SourceLocationTest, ExtensionSourceLocation) {\n  SourceLocation loc;\n\n  const FileDescriptor *file_desc =\n      GOOGLE_CHECK_NOTNULL(pool_.FindFileByName(\"/test/test.proto\"));\n\n  const FieldDescriptor *int32_extension_desc =\n      file_desc->FindExtensionByName(\"int32_extension\");\n  EXPECT_TRUE(int32_extension_desc->GetSourceLocation(&loc));\n  EXPECT_EQ(\"21:3-21:41\", PrintSourceLocation(loc));\n\n  const Descriptor *c_desc = file_desc->FindMessageTypeByName(\"C\");\n  EXPECT_TRUE(c_desc->GetSourceLocation(&loc));\n  EXPECT_EQ(\"23:1-27:2\", PrintSourceLocation(loc));\n\n  const FieldDescriptor *message_extension_desc =\n      c_desc->FindExtensionByName(\"message_extension\");\n  EXPECT_TRUE(message_extension_desc->GetSourceLocation(&loc));\n  EXPECT_EQ(\"25:5-25:41\", PrintSourceLocation(loc));\n}\n\n// Missing SourceCodeInfo doesn't cause crash:\nTEST_F(SourceLocationTest, GetSourceLocation_MissingSourceCodeInfo) {\n  SourceLocation loc;\n\n  const FileDescriptor *file_desc =\n      GOOGLE_CHECK_NOTNULL(pool_.FindFileByName(\"/test/test.proto\"));\n\n  FileDescriptorProto proto;\n  file_desc->CopyTo(&proto);  // Note, this discards the SourceCodeInfo.\n  EXPECT_FALSE(proto.has_source_code_info());\n\n  DescriptorPool bad1_pool(&pool_);\n  const FileDescriptor* bad1_file_desc =\n      GOOGLE_CHECK_NOTNULL(bad1_pool.BuildFile(proto));\n  const Descriptor *bad1_a_desc = bad1_file_desc->FindMessageTypeByName(\"A\");\n  EXPECT_FALSE(bad1_a_desc->GetSourceLocation(&loc));\n}\n\n// Corrupt SourceCodeInfo doesn't cause crash:\nTEST_F(SourceLocationTest, GetSourceLocation_BogusSourceCodeInfo) {\n  SourceLocation loc;\n\n  const FileDescriptor *file_desc =\n      GOOGLE_CHECK_NOTNULL(pool_.FindFileByName(\"/test/test.proto\"));\n\n  FileDescriptorProto proto;\n  file_desc->CopyTo(&proto);  // Note, this discards the SourceCodeInfo.\n  EXPECT_FALSE(proto.has_source_code_info());\n  SourceCodeInfo_Location *loc_msg =\n      proto.mutable_source_code_info()->add_location();\n  loc_msg->add_path(1);\n  loc_msg->add_path(2);\n  loc_msg->add_path(3);\n  loc_msg->add_span(4);\n  loc_msg->add_span(5);\n  loc_msg->add_span(6);\n\n  DescriptorPool bad2_pool(&pool_);\n  const FileDescriptor* bad2_file_desc =\n      GOOGLE_CHECK_NOTNULL(bad2_pool.BuildFile(proto));\n  const Descriptor *bad2_a_desc = bad2_file_desc->FindMessageTypeByName(\"A\");\n  EXPECT_FALSE(bad2_a_desc->GetSourceLocation(&loc));\n}\n\n// ===================================================================\n\nconst char* const kCopySourceCodeInfoToTestInput =\n  \"syntax = \\\"proto2\\\";\\n\"\n  \"message Foo {}\\n\";\n\n// Required since source code information is not preserved by\n// FileDescriptorTest.\nclass CopySourceCodeInfoToTest : public testing::Test {\n public:\n  CopySourceCodeInfoToTest()\n      : source_tree_(\"/test/test.proto\", kCopySourceCodeInfoToTestInput),\n        db_(&source_tree_),\n        pool_(&db_, &collector_) {}\n\n private:\n  AbortingErrorCollector collector_;\n  SingletonSourceTree source_tree_;\n  compiler::SourceTreeDescriptorDatabase db_;\n\n protected:\n  DescriptorPool pool_;\n};\n\nTEST_F(CopySourceCodeInfoToTest, CopyTo_DoesNotCopySourceCodeInfo) {\n  const FileDescriptor* file_desc =\n      GOOGLE_CHECK_NOTNULL(pool_.FindFileByName(\"/test/test.proto\"));\n  FileDescriptorProto file_desc_proto;\n  ASSERT_FALSE(file_desc_proto.has_source_code_info());\n\n  file_desc->CopyTo(&file_desc_proto);\n  EXPECT_FALSE(file_desc_proto.has_source_code_info());\n}\n\nTEST_F(CopySourceCodeInfoToTest, CopySourceCodeInfoTo) {\n  const FileDescriptor* file_desc =\n      GOOGLE_CHECK_NOTNULL(pool_.FindFileByName(\"/test/test.proto\"));\n  FileDescriptorProto file_desc_proto;\n  ASSERT_FALSE(file_desc_proto.has_source_code_info());\n\n  file_desc->CopySourceCodeInfoTo(&file_desc_proto);\n  const SourceCodeInfo& info = file_desc_proto.source_code_info();\n  ASSERT_EQ(4, info.location_size());\n  // Get the Foo message location\n  const SourceCodeInfo_Location& foo_location = info.location(2);\n  ASSERT_EQ(2, foo_location.path_size());\n  EXPECT_EQ(FileDescriptorProto::kMessageTypeFieldNumber, foo_location.path(0));\n  EXPECT_EQ(0, foo_location.path(1));      // Foo is the first message defined\n  ASSERT_EQ(3, foo_location.span_size());  // Foo spans one line\n  EXPECT_EQ(1, foo_location.span(0));      // Foo is declared on line 1\n  EXPECT_EQ(0, foo_location.span(1));      // Foo starts at column 0\n  EXPECT_EQ(14, foo_location.span(2));     // Foo ends on column 14\n}\n\n// ===================================================================\n\n\n}  // namespace descriptor_unittest\n}  // namespace protobuf\n}  // namespace google\n"
  },
  {
    "path": "deps/cpplint/samples/silly-sample/filters.def",
    "content": "--counting=toplevel --filter=-whitespace,-build/include_what_you_use src/*.cpp\n1\n7\nDone processing src/sillycode.cpp\nCategory 'build' errors found: 1\nCategory 'legal' errors found: 1\nCategory 'readability' errors found: 5\nCategory 'runtime' errors found: 12\nTotal errors found: 19\n\nsrc/sillycode.cpp:0:  No copyright message found.  You should have a line: \"Copyright [year] <Copyright Owner>\"  [legal/copyright] [5]\nsrc/sillycode.cpp:3:  Found C system header after C++ system header. Should be: sillycode.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/sillycode.cpp:14:  Is this a non-const reference? If so, make const or use a pointer: vector<string>& v  [runtime/references] [2]\nsrc/sillycode.cpp:40:  If/else bodies with multiple statements require braces  [readability/braces] [4]\nsrc/sillycode.cpp:66:  Single-parameter constructors should be marked explicit.  [runtime/explicit] [5]\nsrc/sillycode.cpp:76:  Single-parameter constructors should be marked explicit.  [runtime/explicit] [5]\nsrc/sillycode.cpp:85:  Constructors callable with one argument should be marked explicit.  [runtime/explicit] [5]\nsrc/sillycode.cpp:118:  Is this a non-const reference? If so, make const or use a pointer: N::X& a  [runtime/references] [2]\nsrc/sillycode.cpp:118:  Is this a non-const reference? If so, make const or use a pointer: N::X& b  [runtime/references] [2]\nsrc/sillycode.cpp:123:  Is this a non-const reference? If so, make const or use a pointer: N::X& a  [runtime/references] [2]\nsrc/sillycode.cpp:123:  Is this a non-const reference? If so, make const or use a pointer: N::X& b  [runtime/references] [2]\nsrc/sillycode.cpp:171:  Do not use variable-length arrays.  Use an appropriately named ('k' followed by CamelCase) compile-time constant for the size.  [runtime/arrays] [1]\nsrc/sillycode.cpp:178:  Static/global string variables are not permitted.  [runtime/string] [4]\nsrc/sillycode.cpp:199:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]\nsrc/sillycode.cpp:202:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]\nsrc/sillycode.cpp:208:  Static/global string variables are not permitted.  [runtime/string] [4]\nsrc/sillycode.cpp:227:  Static/global string variables are not permitted.  [runtime/string] [4]\nsrc/sillycode.cpp:228:  Using C-style cast.  Use reinterpret_cast<double*>(...) instead  [readability/casting] [4]\nsrc/sillycode.cpp:243:  Using C-style cast.  Use reinterpret_cast<derived2*>(...) instead  [readability/casting] [4]\n\n"
  },
  {
    "path": "deps/cpplint/samples/silly-sample/includeorder_cfirst.def",
    "content": "--includeorder=standardcfirst src/*.cpp\n1\n3\nDone processing src/sillycode.cpp\nTotal errors found: 106\n\nsrc/sillycode.cpp:0:  No copyright message found.  You should have a line: \"Copyright [year] <Copyright Owner>\"  [legal/copyright] [5]\nsrc/sillycode.cpp:8:  public: should be indented +1 space inside class Date  [whitespace/indent] [3]\nsrc/sillycode.cpp:14:  Is this a non-const reference? If so, make const or use a pointer: vector<string>& v  [runtime/references] [2]\nsrc/sillycode.cpp:15:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/sillycode.cpp:39:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/sillycode.cpp:40:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:40:  If/else bodies with multiple statements require braces  [readability/braces] [4]\nsrc/sillycode.cpp:49:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:49:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:55:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/sillycode.cpp:60:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:60:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:64:  public: should be indented +1 space inside class X  [whitespace/indent] [3]\nsrc/sillycode.cpp:65:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:65:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:66:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:66:  Single-parameter constructors should be marked explicit.  [runtime/explicit] [5]\nsrc/sillycode.cpp:74:  public: should be indented +1 space inside class X2  [whitespace/indent] [3]\nsrc/sillycode.cpp:75:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:76:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:76:  Single-parameter constructors should be marked explicit.  [runtime/explicit] [5]\nsrc/sillycode.cpp:80:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:80:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:84:  public: should be indented +1 space inside class X3  [whitespace/indent] [3]\nsrc/sillycode.cpp:85:  Constructors callable with one argument should be marked explicit.  [runtime/explicit] [5]\nsrc/sillycode.cpp:86:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:86:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/sillycode.cpp:94:  public: should be indented +1 space inside class Foo  [whitespace/indent] [3]\nsrc/sillycode.cpp:100:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/sillycode.cpp:110:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:111:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:111:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:113:  public: should be indented +1 space inside class Vector2  [whitespace/indent] [3]\nsrc/sillycode.cpp:118:  Is this a non-const reference? If so, make const or use a pointer: N::X& a  [runtime/references] [2]\nsrc/sillycode.cpp:118:  Is this a non-const reference? If so, make const or use a pointer: N::X& b  [runtime/references] [2]\nsrc/sillycode.cpp:119:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/sillycode.cpp:120:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:120:  Missing space after ,  [whitespace/comma] [3]\nsrc/sillycode.cpp:122:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/sillycode.cpp:122:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/sillycode.cpp:123:  Is this a non-const reference? If so, make const or use a pointer: N::X& a  [runtime/references] [2]\nsrc/sillycode.cpp:123:  Is this a non-const reference? If so, make const or use a pointer: N::X& b  [runtime/references] [2]\nsrc/sillycode.cpp:124:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/sillycode.cpp:125:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:125:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:126:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:126:  Missing space after ,  [whitespace/comma] [3]\nsrc/sillycode.cpp:143:  Missing spaces around =  [whitespace/operators] [4]\nsrc/sillycode.cpp:144:  Missing spaces around =  [whitespace/operators] [4]\nsrc/sillycode.cpp:149:  Missing spaces around =  [whitespace/operators] [4]\nsrc/sillycode.cpp:150:  Missing spaces around =  [whitespace/operators] [4]\nsrc/sillycode.cpp:155:  Missing spaces around =  [whitespace/operators] [4]\nsrc/sillycode.cpp:156:  Missing spaces around =  [whitespace/operators] [4]\nsrc/sillycode.cpp:162:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:164:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:166:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:168:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:171:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:171:  Do not use variable-length arrays.  Use an appropriately named ('k' followed by CamelCase) compile-time constant for the size.  [runtime/arrays] [1]\nsrc/sillycode.cpp:175:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:178:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:178:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:178:  Static/global string variables are not permitted.  [runtime/string] [4]\nsrc/sillycode.cpp:179:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:179:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:184:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:184:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:190:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:190:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:195:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:195:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:197:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:197:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:199:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]\nsrc/sillycode.cpp:202:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\nsrc/sillycode.cpp:202:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]\nsrc/sillycode.cpp:208:  Missing space before {  [whitespace/braces] [5]\nsrc/sillycode.cpp:208:  Static/global string variables are not permitted.  [runtime/string] [4]\nsrc/sillycode.cpp:209:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:209:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:214:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:217:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/sillycode.cpp:218:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:218:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:219:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:219:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:220:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:220:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:225:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:225:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:227:  Static/global string variables are not permitted.  [runtime/string] [4]\nsrc/sillycode.cpp:228:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:228:  Using C-style cast.  Use reinterpret_cast<double*>(...) instead  [readability/casting] [4]\nsrc/sillycode.cpp:236:  public: should be indented +1 space inside class derived2  [whitespace/indent] [3]\nsrc/sillycode.cpp:241:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:243:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/sillycode.cpp:243:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:243:  Using C-style cast.  Use reinterpret_cast<derived2*>(...) instead  [readability/casting] [4]\nsrc/sillycode.cpp:244:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/sillycode.cpp:244:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:253:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:254:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:257:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:257:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:260:  Empty loop bodies should use {} or continue  [whitespace/empty_loop_body] [5]\nsrc/sillycode.cpp:260:  At least two spaces is best between code and comments  [whitespace/comments] [2]\n\n"
  },
  {
    "path": "deps/cpplint/samples/silly-sample/sed.def",
    "content": "--output=sed src/*.cpp\n1\n5\nsed -i '120s/,\\([^ ]\\)/, \\1/g' src/sillycode.cpp # Missing space after ,  [whitespace/comma] [3]\nsed -i '122s/\\s*$//' src/sillycode.cpp # Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsed -i '126s/,\\([^ ]\\)/, \\1/g' src/sillycode.cpp # Missing space after ,  [whitespace/comma] [3]\nsed -i '208s/\\([^ ]\\){/\\1 {/' src/sillycode.cpp # Missing space before {  [whitespace/braces] [5]\n\n# src/sillycode.cpp:0:  \"No copyright message found.  You should have a line: \"Copyright [year] <Copyright Owner>\"\"  [legal/copyright] [5]\n# src/sillycode.cpp:3:  \"Found C system header after C++ system header. Should be: sillycode.h, c system, c++ system, other.\"  [build/include_order] [4]\n# src/sillycode.cpp:8:  \"public: should be indented +1 space inside class Date\"  [whitespace/indent] [3]\n# src/sillycode.cpp:14:  \"Is this a non-const reference? If so, make const or use a pointer: vector<string>& v\"  [runtime/references] [2]\n# src/sillycode.cpp:15:  \"{ should almost always be at the end of the previous line\"  [whitespace/braces] [4]\n# src/sillycode.cpp:39:  \"{ should almost always be at the end of the previous line\"  [whitespace/braces] [4]\n# src/sillycode.cpp:40:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:40:  \"If/else bodies with multiple statements require braces\"  [readability/braces] [4]\n# src/sillycode.cpp:49:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:49:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:55:  \"{ should almost always be at the end of the previous line\"  [whitespace/braces] [4]\n# src/sillycode.cpp:60:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:60:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:64:  \"public: should be indented +1 space inside class X\"  [whitespace/indent] [3]\n# src/sillycode.cpp:65:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:65:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:66:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:66:  \"Single-parameter constructors should be marked explicit.\"  [runtime/explicit] [5]\n# src/sillycode.cpp:74:  \"public: should be indented +1 space inside class X2\"  [whitespace/indent] [3]\n# src/sillycode.cpp:75:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:76:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:76:  \"Single-parameter constructors should be marked explicit.\"  [runtime/explicit] [5]\n# src/sillycode.cpp:80:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:80:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:84:  \"public: should be indented +1 space inside class X3\"  [whitespace/indent] [3]\n# src/sillycode.cpp:85:  \"Constructors callable with one argument should be marked explicit.\"  [runtime/explicit] [5]\n# src/sillycode.cpp:86:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:86:  \"Lines should be <= 80 characters long\"  [whitespace/line_length] [2]\n# src/sillycode.cpp:94:  \"public: should be indented +1 space inside class Foo\"  [whitespace/indent] [3]\n# src/sillycode.cpp:100:  \"{ should almost always be at the end of the previous line\"  [whitespace/braces] [4]\n# src/sillycode.cpp:110:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:111:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:111:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:113:  \"public: should be indented +1 space inside class Vector2\"  [whitespace/indent] [3]\n# src/sillycode.cpp:118:  \"Is this a non-const reference? If so, make const or use a pointer: N::X& a\"  [runtime/references] [2]\n# src/sillycode.cpp:118:  \"Is this a non-const reference? If so, make const or use a pointer: N::X& b\"  [runtime/references] [2]\n# src/sillycode.cpp:119:  \"{ should almost always be at the end of the previous line\"  [whitespace/braces] [4]\n# src/sillycode.cpp:120:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:122:  \"Weird number of spaces at line-start.  Are you using a 2-space indent?\"  [whitespace/indent] [3]\n# src/sillycode.cpp:123:  \"Is this a non-const reference? If so, make const or use a pointer: N::X& a\"  [runtime/references] [2]\n# src/sillycode.cpp:123:  \"Is this a non-const reference? If so, make const or use a pointer: N::X& b\"  [runtime/references] [2]\n# src/sillycode.cpp:124:  \"{ should almost always be at the end of the previous line\"  [whitespace/braces] [4]\n# src/sillycode.cpp:125:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:125:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:126:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:143:  \"Missing spaces around =\"  [whitespace/operators] [4]\n# src/sillycode.cpp:144:  \"Missing spaces around =\"  [whitespace/operators] [4]\n# src/sillycode.cpp:149:  \"Missing spaces around =\"  [whitespace/operators] [4]\n# src/sillycode.cpp:150:  \"Missing spaces around =\"  [whitespace/operators] [4]\n# src/sillycode.cpp:155:  \"Missing spaces around =\"  [whitespace/operators] [4]\n# src/sillycode.cpp:156:  \"Missing spaces around =\"  [whitespace/operators] [4]\n# src/sillycode.cpp:162:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:164:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:166:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:168:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:171:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:171:  \"Do not use variable-length arrays.  Use an appropriately named ('k' followed by CamelCase) compile-time constant for the size.\"  [runtime/arrays] [1]\n# src/sillycode.cpp:175:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:178:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:178:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:178:  \"Static/global string variables are not permitted.\"  [runtime/string] [4]\n# src/sillycode.cpp:179:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:179:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:184:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:184:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:190:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:190:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:195:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:195:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:197:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:197:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:199:  \"If an else has a brace on one side, it should have it on both\"  [readability/braces] [5]\n# src/sillycode.cpp:202:  \"An else should appear on the same line as the preceding }\"  [whitespace/newline] [4]\n# src/sillycode.cpp:202:  \"If an else has a brace on one side, it should have it on both\"  [readability/braces] [5]\n# src/sillycode.cpp:208:  \"Static/global string variables are not permitted.\"  [runtime/string] [4]\n# src/sillycode.cpp:209:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:209:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:214:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:217:  \"{ should almost always be at the end of the previous line\"  [whitespace/braces] [4]\n# src/sillycode.cpp:218:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:218:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:219:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:219:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:220:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:220:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:225:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:225:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:227:  \"Static/global string variables are not permitted.\"  [runtime/string] [4]\n# src/sillycode.cpp:228:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:228:  \"Using C-style cast.  Use reinterpret_cast<double*>(...) instead\"  [readability/casting] [4]\n# src/sillycode.cpp:236:  \"public: should be indented +1 space inside class derived2\"  [whitespace/indent] [3]\n# src/sillycode.cpp:241:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:243:  \"Lines should be <= 80 characters long\"  [whitespace/line_length] [2]\n# src/sillycode.cpp:243:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:243:  \"Using C-style cast.  Use reinterpret_cast<derived2*>(...) instead\"  [readability/casting] [4]\n# src/sillycode.cpp:244:  \"Lines should be <= 80 characters long\"  [whitespace/line_length] [2]\n# src/sillycode.cpp:244:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:253:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:254:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:257:  \"Tab found; better to use spaces\"  [whitespace/tab] [1]\n# src/sillycode.cpp:257:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n# src/sillycode.cpp:260:  \"Empty loop bodies should use {} or continue\"  [whitespace/empty_loop_body] [5]\n# src/sillycode.cpp:260:  \"At least two spaces is best between code and comments\"  [whitespace/comments] [2]\n\n"
  },
  {
    "path": "deps/cpplint/samples/silly-sample/simple.def",
    "content": "src/*.cpp\n1\n3\nDone processing src/sillycode.cpp\nTotal errors found: 107\n\nsrc/sillycode.cpp:0:  No copyright message found.  You should have a line: \"Copyright [year] <Copyright Owner>\"  [legal/copyright] [5]\nsrc/sillycode.cpp:3:  Found C system header after C++ system header. Should be: sillycode.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/sillycode.cpp:8:  public: should be indented +1 space inside class Date  [whitespace/indent] [3]\nsrc/sillycode.cpp:14:  Is this a non-const reference? If so, make const or use a pointer: vector<string>& v  [runtime/references] [2]\nsrc/sillycode.cpp:15:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/sillycode.cpp:39:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/sillycode.cpp:40:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:40:  If/else bodies with multiple statements require braces  [readability/braces] [4]\nsrc/sillycode.cpp:49:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:49:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:55:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/sillycode.cpp:60:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:60:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:64:  public: should be indented +1 space inside class X  [whitespace/indent] [3]\nsrc/sillycode.cpp:65:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:65:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:66:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:66:  Single-parameter constructors should be marked explicit.  [runtime/explicit] [5]\nsrc/sillycode.cpp:74:  public: should be indented +1 space inside class X2  [whitespace/indent] [3]\nsrc/sillycode.cpp:75:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:76:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:76:  Single-parameter constructors should be marked explicit.  [runtime/explicit] [5]\nsrc/sillycode.cpp:80:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:80:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:84:  public: should be indented +1 space inside class X3  [whitespace/indent] [3]\nsrc/sillycode.cpp:85:  Constructors callable with one argument should be marked explicit.  [runtime/explicit] [5]\nsrc/sillycode.cpp:86:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:86:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/sillycode.cpp:94:  public: should be indented +1 space inside class Foo  [whitespace/indent] [3]\nsrc/sillycode.cpp:100:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/sillycode.cpp:110:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:111:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:111:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:113:  public: should be indented +1 space inside class Vector2  [whitespace/indent] [3]\nsrc/sillycode.cpp:118:  Is this a non-const reference? If so, make const or use a pointer: N::X& a  [runtime/references] [2]\nsrc/sillycode.cpp:118:  Is this a non-const reference? If so, make const or use a pointer: N::X& b  [runtime/references] [2]\nsrc/sillycode.cpp:119:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/sillycode.cpp:120:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:120:  Missing space after ,  [whitespace/comma] [3]\nsrc/sillycode.cpp:122:  Weird number of spaces at line-start.  Are you using a 2-space indent?  [whitespace/indent] [3]\nsrc/sillycode.cpp:122:  Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line] [4]\nsrc/sillycode.cpp:123:  Is this a non-const reference? If so, make const or use a pointer: N::X& a  [runtime/references] [2]\nsrc/sillycode.cpp:123:  Is this a non-const reference? If so, make const or use a pointer: N::X& b  [runtime/references] [2]\nsrc/sillycode.cpp:124:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/sillycode.cpp:125:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:125:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:126:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:126:  Missing space after ,  [whitespace/comma] [3]\nsrc/sillycode.cpp:143:  Missing spaces around =  [whitespace/operators] [4]\nsrc/sillycode.cpp:144:  Missing spaces around =  [whitespace/operators] [4]\nsrc/sillycode.cpp:149:  Missing spaces around =  [whitespace/operators] [4]\nsrc/sillycode.cpp:150:  Missing spaces around =  [whitespace/operators] [4]\nsrc/sillycode.cpp:155:  Missing spaces around =  [whitespace/operators] [4]\nsrc/sillycode.cpp:156:  Missing spaces around =  [whitespace/operators] [4]\nsrc/sillycode.cpp:162:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:164:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:166:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:168:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:171:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:171:  Do not use variable-length arrays.  Use an appropriately named ('k' followed by CamelCase) compile-time constant for the size.  [runtime/arrays] [1]\nsrc/sillycode.cpp:175:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:178:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:178:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:178:  Static/global string variables are not permitted.  [runtime/string] [4]\nsrc/sillycode.cpp:179:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:179:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:184:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:184:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:190:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:190:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:195:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:195:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:197:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:197:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:199:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]\nsrc/sillycode.cpp:202:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\nsrc/sillycode.cpp:202:  If an else has a brace on one side, it should have it on both  [readability/braces] [5]\nsrc/sillycode.cpp:208:  Missing space before {  [whitespace/braces] [5]\nsrc/sillycode.cpp:208:  Static/global string variables are not permitted.  [runtime/string] [4]\nsrc/sillycode.cpp:209:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:209:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:214:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:217:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/sillycode.cpp:218:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:218:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:219:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:219:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:220:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:220:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:225:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:225:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:227:  Static/global string variables are not permitted.  [runtime/string] [4]\nsrc/sillycode.cpp:228:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:228:  Using C-style cast.  Use reinterpret_cast<double*>(...) instead  [readability/casting] [4]\nsrc/sillycode.cpp:236:  public: should be indented +1 space inside class derived2  [whitespace/indent] [3]\nsrc/sillycode.cpp:241:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:243:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/sillycode.cpp:243:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:243:  Using C-style cast.  Use reinterpret_cast<derived2*>(...) instead  [readability/casting] [4]\nsrc/sillycode.cpp:244:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/sillycode.cpp:244:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:253:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:254:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:257:  Tab found; better to use spaces  [whitespace/tab] [1]\nsrc/sillycode.cpp:257:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/sillycode.cpp:260:  Empty loop bodies should use {} or continue  [whitespace/empty_loop_body] [5]\nsrc/sillycode.cpp:260:  At least two spaces is best between code and comments  [whitespace/comments] [2]\n\n"
  },
  {
    "path": "deps/cpplint/samples/silly-sample/src/sillycode.cpp",
    "content": "#include <vector>\n\n#include <gtest/test.h>\n\n\nclass Date {\n    // ...\npublic:\n    Month month() const;  // do\n    int month();          // don't\n    // ...\n};\n\nvoid do_something(vector<string>& v)\n{\n    string val;\n    cin >> val;\n    // ...\n    int index = 0;            // bad\n    for (int i = 0; i < v.size(); ++i)\n        if (v[i] == val) {\n            index = i;\n            break;\n        }\n    // ...\n}\n\nstruct X {\n    char ch;\n    int i;\n    string s;\n    char ch2;\n\n    X& operator=(const X& a);\n    X(const X&);\n};\n\nX waste(const char* p)\n{\n\tif (p == nullptr) throw Nullptr_error{};\n    int n = strlen(p);\n    auto buf = new char[n];\n    if (buf == nullptr) throw Allocation_error{};\n    for (int i = 0; i < n; ++i) buf[i] = p[i];\n    // ... manipulate buffer ...\n    X x;\n    x.ch = 'a';\n    x.s = string(n);    // give x.s space for *ps\n    for (int i = 0; i < x.s.size(); ++i) x.s[i] = buf[i];\t// copy buf into x.s\n    delete buf;\n    return x;\n}\n\nvoid driver()\n{\n    X x = waste(\"Typical argument\");\n    // ...\n}\n\nclass X {\t// BAD\n    int i;\n    string s;\n    int j;\npublic:\n    X() :i{666}, s{\"qqq\"} { }\t// j is uninitialized\n    X(int ii) :i{ii} {}\t\t\t// s is \"\" and j is uninitialized\n    // ...\n};\n\nclass X2 {\n    int i {666};\n    string s {\"qqq\"};\n    int j {0};\npublic:\n    X2() = default;\t\t\t// all members are initialized to their defaults\n    X2(int ii) :i{ii} {}\t\t// s and j initialized to their defaults\n    // ...\n};\n\nclass X3 {\t// BAD: inexplicit, argument passing overhead\n    int i;\n    string s;\n    int j;\npublic:\n    X3(int ii = 666, const string& ss = \"qqq\", int jj = 0)\n        :i{ii}, s{ss}, j{jj} { }\t\t// all members are initialized to their defaults\n    // ...\n};\n\n\nclass Foo {\n    string s;\n    int i;\npublic:\n    Foo& operator=(Foo&& a);\n    // ...\n};\n\nFoo& Foo::operator=(Foo&& a)       // OK, but there is a cost\n{\n    if (this == &a) return *this;  // this line is redundant\n    s = std::move(a.s);\n    i = a.i;\n    return *this;\n}\n\ntemplate<typename T>\nclass Vector2 {\n    // ...\n    Vector2(Vector2&& a) { *this = a; }\t\t\t\t// just use the copy\n    Vector2& operator=(Vector2&& a) { *this = a; }\t// just use the copy\n    //...\npublic:\n    T* elem;\n    int sz;\n};\n\nvoid f2(N::X& a, N::X& b)\n{\n\tswap(a,b);\t\t// calls N::swap\n}\n \nvoid f3(N::X& a, N::X& b)\n{\n\tusing std::swap;\t// make std::swap available\n\tswap(a,b);\t\t\t// calls N::swap if it exists, otherwise std::swap\n}\n\n\n// webcolors.h (third party header)\n#define RED   0xFF0000\n#define GREEN 0x00FF00\n#define BLUE  0x0000FF\n\n// productinfo.h\n// The following define product subtypes based on color\n#define RED    0\n#define PURPLE 1\n#define BLUE   2\n\nint webby = BLUE;   // webby==2; probably not what was desired\n\nenum class Webcolor { red=0xFF0000, green=0x00FF00, blue=0x0000FF };\nenum class Productinfo { red=0, purple=1, blue=2 };\n\nint webby = blue;   // error: be specific\nWebcolor webby = Webcolor::blue;\n\nenum Webcolor { red=0xFF0000, green=0x00FF00, blue=0x0000FF };\nenum Productinfo { red=0, purple=1, blue=2 };\n\nint webby = blue;   // error, ambiguous: be specific\nWebcolor webby = Webcolor::blue;\n\nenum class Webcolor { red=0xFF0000, green=0x00FF00, blue=0x0000FF };\nenum class Productinfo { red=0, purple=1, blue=2 };\n\nint webby = blue;   // error: blue undefined in this scope\nWebcolor webby = Webcolor::blue;\n\n\nvoid sink(unique_ptr<widget>); // consumes the widget\n\nvoid sink(widget*); \t\t\t// just uses the widget\n\nvoid thinko(const unique_ptr<widget>&); // usually not what you want\n\nvoid reseat(unique_ptr<widget>&); // \"will\" or \"might\" reseat pointer\n\nconstexpr int max = 8*1024;\nint buf[max];\t\t\t\t\t// OK, but suspicious: uninitialized\nf.read(buf, max);\n\nconstexpr int max = 8*1024;\nint buf[max] = {0};\t\t\t\t// better in some situations\nf.read(buf, max);\n\nstring s;\t// s is default initialized to \"\"\ncin >> s;\t// s expands to hold the string\n\n\nerror_code ec;\nValue v = [&] {\n    auto p = get_value();\t// get_value() returns a pair<error_code, Value>\n    ec = p.first;\n    return p.second;\n}();\n\nValue v = [] {\n    auto p = get_value();\t// get_value() returns a pair<error_code, Value>\n    if (p.first) throw Bad_value{p.first};\n    return p.second;\n}();\n\nSomeLargeType var;\t// ugly CaMeLcAsEvArIaBlE\n\nif (cond)\t// some non-trivial condition\n    Set(&var);\nelse if (cond2 || !cond3) {\n    var = Set2(3.14);\n}\nelse {\n    var = 0;\n    for (auto& e : something)\n        var += e;\n}\n\nstring var = [&]{\n    if (!in) return \"\";\t// default\n    string s;\n    for (char c : in >> c)\n        s += toupper(c);\n    return s;\n}(); // note ()\n\nvoid use(int n)\n{\n    switch (n) {\t// good\n    case 0:\t// ...\n    case 7:\t// ...\n    }\n}\n\nint n = numeric_limits<int>::max();\nint m = n + 1;\t// bad\n\nstd::string s = \"hello world\";\ndouble* p = (double*)(&s); // BAD\n\nclass base { public: virtual ~base() = 0; };\n\nclass derived1 : public base { };\n\nclass derived2 : public base {\n    std::string s;\npublic:\n    std::string get_s() { return s; }\n};\n\nderived1 d1;\nbase* p = &d1; // ok, implicit conversion to pointer to base is fine\n\nderived2* p2 = (derived2*)(p); // BAD, tries to treat d1 as a derived2, which it is not\ncout << p2.get_s(); // tries to access d1's nonexistent string member, instead sees arbitrary bytes near d1\n\nvoid f(const int& i) {\n    (int&)(i) = 42;   // BAD\n}\n\nstatic int i = 0;\nstatic const int j = 0;\n\nf(i); // silent side effect\nf(j); // undefined behavior\n\n\nauto x = m*v1 + vv;\t// multiply m with v1 and add the result to vv\n\nint i;\nfor (i = 0; i < max; ++i); // bug waiting to happen\nif (i == j)\n    return i;\n"
  },
  {
    "path": "deps/cpplint/samples/v8-sample/LICENSE",
    "content": "Copyright 2006-2011, the V8 project authors. All rights reserved.\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n\n    * Redistributions of source code must retain the above copyright\n      notice, this list of conditions and the following disclaimer.\n    * Redistributions in binary form must reproduce the above\n      copyright notice, this list of conditions and the following\n      disclaimer in the documentation and/or other materials provided\n      with the distribution.\n    * Neither the name of Google Inc. nor the names of its\n      contributors may be used to endorse or promote products derived\n      from this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\nLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\nA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\nOWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\nDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\nTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n"
  },
  {
    "path": "deps/cpplint/samples/v8-sample/README.md",
    "content": "# V8 sample\n\ncode taken for regression testing from https://github.com/v8/v8\n"
  },
  {
    "path": "deps/cpplint/samples/v8-sample/simple.def",
    "content": "src/*\n1\n3\nDone processing src/interface-descriptors.h\nTotal errors found: 2\n\nsrc/interface-descriptors.h:5:  #ifndef header guard has wrong style, please use: SAMPLES_V8_SAMPLE_SRC_INTERFACE_DESCRIPTORS_H_  [build/header_guard] [5]\nsrc/interface-descriptors.h:1255:  #endif line should be \"#endif  // SAMPLES_V8_SAMPLE_SRC_INTERFACE_DESCRIPTORS_H_\"  [build/header_guard] [5]\n\n"
  },
  {
    "path": "deps/cpplint/samples/v8-sample/src/interface-descriptors.h",
    "content": "// Copyright 2014 the V8 project authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef V8_INTERFACE_DESCRIPTORS_H_\n#define V8_INTERFACE_DESCRIPTORS_H_\n\n#include <memory>\n\n#include \"src/globals.h\"\n#include \"src/isolate.h\"\n#include \"src/machine-type.h\"\n#include \"src/register-arch.h\"\n\nnamespace v8 {\nnamespace internal {\n\n#define INTERFACE_DESCRIPTOR_LIST(V)  \\\n  V(Abort)                            \\\n  V(Allocate)                         \\\n  V(AllocateHeapNumber)               \\\n  V(ApiCallback)                      \\\n  V(ApiGetter)                        \\\n  V(ArgumentsAdaptor)                 \\\n  V(ArrayConstructor)                 \\\n  V(ArrayNArgumentsConstructor)       \\\n  V(ArrayNoArgumentConstructor)       \\\n  V(ArraySingleArgumentConstructor)   \\\n  V(AsyncFunctionStackParameter)      \\\n  V(BigIntToI64)                      \\\n  V(BigIntToWasmI64)                  \\\n  V(BinaryOp)                         \\\n  V(CallForwardVarargs)               \\\n  V(CallFunctionTemplate)             \\\n  V(CallTrampoline)                   \\\n  V(CallVarargs)                      \\\n  V(CallWithArrayLike)                \\\n  V(CallWithSpread)                   \\\n  V(CEntry1ArgvOnStack)               \\\n  V(CloneObjectWithVector)            \\\n  V(Compare)                          \\\n  V(ConstructForwardVarargs)          \\\n  V(ConstructStub)                    \\\n  V(ConstructVarargs)                 \\\n  V(ConstructWithArrayLike)           \\\n  V(ConstructWithSpread)              \\\n  V(ContextOnly)                      \\\n  V(CppBuiltinAdaptor)                \\\n  V(FastNewFunctionContext)           \\\n  V(FastNewObject)                    \\\n  V(FrameDropperTrampoline)           \\\n  V(GetProperty)                      \\\n  V(GrowArrayElements)                \\\n  V(InterpreterCEntry1)               \\\n  V(InterpreterCEntry2)               \\\n  V(InterpreterDispatch)              \\\n  V(InterpreterPushArgsThenCall)      \\\n  V(InterpreterPushArgsThenConstruct) \\\n  V(JSTrampoline)                     \\\n  V(Load)                             \\\n  V(LoadGlobal)                       \\\n  V(LoadGlobalWithVector)             \\\n  V(LoadWithVector)                   \\\n  V(NewArgumentsElements)             \\\n  V(NoContext)                        \\\n  V(RecordWrite)                      \\\n  V(ResumeGenerator)                  \\\n  V(RunMicrotasksEntry)               \\\n  V(RunMicrotasks)                    \\\n  V(Store)                            \\\n  V(StoreGlobal)                      \\\n  V(StoreGlobalWithVector)            \\\n  V(StoreTransition)                  \\\n  V(StoreWithVector)                  \\\n  V(StringAt)                         \\\n  V(StringSubstring)                  \\\n  V(TypeConversion)                   \\\n  V(TypeConversionStackParameter)     \\\n  V(Typeof)                           \\\n  V(Void)                             \\\n  V(WasmAtomicNotify)                 \\\n  V(WasmI32AtomicWait)                \\\n  V(WasmI64AtomicWait)                \\\n  V(WasmMemoryGrow)                   \\\n  V(WasmThrow)                        \\\n  BUILTIN_LIST_TFS(V)\n\nclass V8_EXPORT_PRIVATE CallInterfaceDescriptorData {\n public:\n  enum Flag {\n    kNoFlags = 0u,\n    kNoContext = 1u << 0,\n\n    // This indicates that the code uses a special frame that does not scan the\n    // stack arguments, e.g. EntryFrame. And this allows the code to use\n    // untagged stack arguments.\n    kNoStackScan = 1u << 1,\n  };\n  typedef base::Flags<Flag> Flags;\n\n  CallInterfaceDescriptorData() = default;\n\n  // A copy of the passed in registers and param_representations is made\n  // and owned by the CallInterfaceDescriptorData.\n\n  void InitializePlatformSpecific(int register_parameter_count,\n                                  const Register* registers);\n\n  // if machine_types is null, then an array of size\n  // (return_count + parameter_count) will be created with\n  // MachineType::AnyTagged() for each member.\n  //\n  // if machine_types is not null, then it should be of the size\n  // (return_count + parameter_count). Those members of the parameter array will\n  // be initialized from {machine_types}, and the rest initialized to\n  // MachineType::AnyTagged().\n  void InitializePlatformIndependent(Flags flags, int return_count,\n                                     int parameter_count,\n                                     const MachineType* machine_types,\n                                     int machine_types_length);\n\n  void Reset();\n\n  bool IsInitialized() const {\n    return IsInitializedPlatformSpecific() &&\n           IsInitializedPlatformIndependent();\n  }\n\n  Flags flags() const { return flags_; }\n  int return_count() const { return return_count_; }\n  int param_count() const { return param_count_; }\n  int register_param_count() const { return register_param_count_; }\n  Register register_param(int index) const { return register_params_[index]; }\n  Register* register_params() const { return register_params_; }\n  MachineType return_type(int index) const {\n    DCHECK_LT(index, return_count_);\n    return machine_types_[index];\n  }\n  MachineType param_type(int index) const {\n    DCHECK_LT(index, param_count_);\n    return machine_types_[return_count_ + index];\n  }\n\n  void RestrictAllocatableRegisters(const Register* registers, int num) {\n    DCHECK_EQ(allocatable_registers_, 0);\n    for (int i = 0; i < num; ++i) {\n      allocatable_registers_ |= registers[i].bit();\n    }\n    DCHECK_GT(NumRegs(allocatable_registers_), 0);\n  }\n\n  RegList allocatable_registers() const { return allocatable_registers_; }\n\n private:\n  bool IsInitializedPlatformSpecific() const {\n    const bool initialized =\n        (register_param_count_ == 0 && register_params_ == nullptr) ||\n        (register_param_count_ > 0 && register_params_ != nullptr);\n    // Platform-specific initialization happens before platform-independent.\n    return initialized;\n  }\n  bool IsInitializedPlatformIndependent() const {\n    const bool initialized =\n        return_count_ >= 0 && param_count_ >= 0 && machine_types_ != nullptr;\n    // Platform-specific initialization happens before platform-independent.\n    return initialized;\n  }\n\n#ifdef DEBUG\n  bool AllStackParametersAreTagged() const;\n#endif  // DEBUG\n\n  int register_param_count_ = -1;\n  int return_count_ = -1;\n  int param_count_ = -1;\n  Flags flags_ = kNoFlags;\n\n  // Specifying the set of registers that could be used by the register\n  // allocator. Currently, it's only used by RecordWrite code stub.\n  RegList allocatable_registers_ = 0;\n\n  // |registers_params_| defines registers that are used for parameter passing.\n  // |machine_types_| defines machine types for resulting values and incomping\n  // parameters.\n  // Both arrays are allocated dynamically by the InterfaceDescriptor and\n  // freed on destruction. This is because static arrays cause creation of\n  // runtime static initializers which we don't want.\n  Register* register_params_ = nullptr;\n  MachineType* machine_types_ = nullptr;\n\n  DISALLOW_COPY_AND_ASSIGN(CallInterfaceDescriptorData);\n};\n\nclass V8_EXPORT_PRIVATE CallDescriptors : public AllStatic {\n public:\n  enum Key {\n#define DEF_ENUM(name, ...) name,\n    INTERFACE_DESCRIPTOR_LIST(DEF_ENUM)\n#undef DEF_ENUM\n        NUMBER_OF_DESCRIPTORS\n  };\n\n  static void InitializeOncePerProcess();\n  static void TearDown();\n\n  static CallInterfaceDescriptorData* call_descriptor_data(\n      CallDescriptors::Key key) {\n    return &call_descriptor_data_[key];\n  }\n\n  static Key GetKey(const CallInterfaceDescriptorData* data) {\n    ptrdiff_t index = data - call_descriptor_data_;\n    DCHECK_LE(0, index);\n    DCHECK_LT(index, CallDescriptors::NUMBER_OF_DESCRIPTORS);\n    return static_cast<CallDescriptors::Key>(index);\n  }\n\n private:\n  static CallInterfaceDescriptorData\n      call_descriptor_data_[NUMBER_OF_DESCRIPTORS];\n};\n\nclass V8_EXPORT_PRIVATE CallInterfaceDescriptor {\n public:\n  typedef CallInterfaceDescriptorData::Flags Flags;\n\n  CallInterfaceDescriptor() : data_(nullptr) {}\n  virtual ~CallInterfaceDescriptor() = default;\n\n  explicit CallInterfaceDescriptor(CallDescriptors::Key key)\n      : data_(CallDescriptors::call_descriptor_data(key)) {}\n\n  Flags flags() const { return data()->flags(); }\n\n  bool HasContextParameter() const {\n    return (flags() & CallInterfaceDescriptorData::kNoContext) == 0;\n  }\n\n  int GetReturnCount() const { return data()->return_count(); }\n\n  MachineType GetReturnType(int index) const {\n    DCHECK_LT(index, data()->return_count());\n    return data()->return_type(index);\n  }\n\n  int GetParameterCount() const { return data()->param_count(); }\n\n  int GetRegisterParameterCount() const {\n    return data()->register_param_count();\n  }\n\n  int GetStackParameterCount() const {\n    return data()->param_count() - data()->register_param_count();\n  }\n\n  Register GetRegisterParameter(int index) const {\n    return data()->register_param(index);\n  }\n\n  MachineType GetParameterType(int index) const {\n    DCHECK_LT(index, data()->param_count());\n    return data()->param_type(index);\n  }\n\n  RegList allocatable_registers() const {\n    return data()->allocatable_registers();\n  }\n\n  static const Register ContextRegister();\n\n  const char* DebugName() const;\n\n protected:\n  const CallInterfaceDescriptorData* data() const { return data_; }\n\n  virtual void InitializePlatformSpecific(CallInterfaceDescriptorData* data) {\n    UNREACHABLE();\n  }\n\n  virtual void InitializePlatformIndependent(\n      CallInterfaceDescriptorData* data) {\n    // Default descriptor configuration: one result, all parameters are passed\n    // in registers and all parameters have MachineType::AnyTagged() type.\n    data->InitializePlatformIndependent(CallInterfaceDescriptorData::kNoFlags,\n                                        1, data->register_param_count(),\n                                        nullptr, 0);\n  }\n\n  // Initializes |data| using the platform dependent default set of registers.\n  // It is intended to be used for TurboFan stubs when particular set of\n  // registers does not matter.\n  static void DefaultInitializePlatformSpecific(\n      CallInterfaceDescriptorData* data, int register_parameter_count);\n\n  // Initializes |data| using the platform dependent default set of registers\n  // for JavaScript-compatible calling convention.\n  // It is intended to be used for TurboFan stubs being called with JavaScript\n  // linkage + additional parameters on registers and stack.\n  static void JSDefaultInitializePlatformSpecific(\n      CallInterfaceDescriptorData* data, int non_js_register_parameter_count);\n\n  // Checks if float parameters are not assigned invalid registers.\n  bool CheckFloatingPointParameters(CallInterfaceDescriptorData* data) {\n    for (int i = 0; i < data->register_param_count(); i++) {\n      if (IsFloatingPoint(data->param_type(i).representation())) {\n        if (!IsValidFloatParameterRegister(data->register_param(i))) {\n          return false;\n        }\n      }\n    }\n    return true;\n  }\n\n  bool IsValidFloatParameterRegister(Register reg);\n\n private:\n  // {CallDescriptors} is allowed to call the private {Initialize} method.\n  friend class CallDescriptors;\n\n  const CallInterfaceDescriptorData* data_;\n\n  void Initialize(CallInterfaceDescriptorData* data) {\n    // The passed pointer should be a modifiable pointer to our own data.\n    DCHECK_EQ(data, data_);\n    DCHECK(!data->IsInitialized());\n    InitializePlatformSpecific(data);\n    InitializePlatformIndependent(data);\n    DCHECK(data->IsInitialized());\n    DCHECK(CheckFloatingPointParameters(data));\n  }\n};\n\n#define DECLARE_DESCRIPTOR_WITH_BASE(name, base) \\\n public:                                         \\\n  explicit name() : base(key()) {}               \\\n  static inline CallDescriptors::Key key();\n\n#if defined(V8_TARGET_ARCH_IA32)\n// To support all possible cases, we must limit the number of register args for\n// TFS builtins on ia32 to 3. Out of the 6 allocatable registers, esi is taken\n// as the context register and ebx is the root register. One register must\n// remain available to store the jump/call target. Thus 3 registers remain for\n// arguments. The reason this applies to TFS builtins specifically is because\n// this becomes relevant for builtins used as targets of Torque function\n// pointers (which must have a register available to store the target).\n// TODO(jgruber): Ideally we should just decrement kMaxBuiltinRegisterParams but\n// that comes with its own set of complications. It's possible, but requires\n// refactoring the calling convention of other existing stubs.\nconstexpr int kMaxBuiltinRegisterParams = 4;\nconstexpr int kMaxTFSBuiltinRegisterParams = 3;\n#else\nconstexpr int kMaxBuiltinRegisterParams = 5;\nconstexpr int kMaxTFSBuiltinRegisterParams = kMaxBuiltinRegisterParams;\n#endif\nSTATIC_ASSERT(kMaxTFSBuiltinRegisterParams <= kMaxBuiltinRegisterParams);\n\n#define DECLARE_DEFAULT_DESCRIPTOR(name, base)                                 \\\n  DECLARE_DESCRIPTOR_WITH_BASE(name, base)                                     \\\n protected:                                                                    \\\n  static const int kRegisterParams =                                           \\\n      kParameterCount > kMaxTFSBuiltinRegisterParams                           \\\n          ? kMaxTFSBuiltinRegisterParams                                       \\\n          : kParameterCount;                                                   \\\n  static const int kStackParams = kParameterCount - kRegisterParams;           \\\n  void InitializePlatformSpecific(CallInterfaceDescriptorData* data)           \\\n      override {                                                               \\\n    DefaultInitializePlatformSpecific(data, kRegisterParams);                  \\\n  }                                                                            \\\n  void InitializePlatformIndependent(CallInterfaceDescriptorData* data)        \\\n      override {                                                               \\\n    data->InitializePlatformIndependent(Flags(kDescriptorFlags), kReturnCount, \\\n                                        kParameterCount, nullptr, 0);          \\\n  }                                                                            \\\n  name(CallDescriptors::Key key) : base(key) {}                                \\\n                                                                               \\\n public:\n\n#define DECLARE_JS_COMPATIBLE_DESCRIPTOR(name, base,                        \\\n                                         non_js_reg_parameters_count)       \\\n  DECLARE_DESCRIPTOR_WITH_BASE(name, base)                                  \\\n protected:                                                                 \\\n  void InitializePlatformSpecific(CallInterfaceDescriptorData* data)        \\\n      override {                                                            \\\n    JSDefaultInitializePlatformSpecific(data, non_js_reg_parameters_count); \\\n  }                                                                         \\\n  name(CallDescriptors::Key key) : base(key) {}                             \\\n                                                                            \\\n public:\n\n#define DEFINE_RESULT_AND_PARAMETERS(return_count, ...)   \\\n  static constexpr int kDescriptorFlags =                 \\\n      CallInterfaceDescriptorData::kNoFlags;              \\\n  static constexpr int kReturnCount = return_count;       \\\n  enum ParameterIndices {                                 \\\n    __dummy = -1, /* to be able to pass zero arguments */ \\\n    ##__VA_ARGS__,                                        \\\n                                                          \\\n    kParameterCount,                                      \\\n    kContext = kParameterCount /* implicit parameter */   \\\n  };\n\n#define DEFINE_RESULT_AND_PARAMETERS_NO_CONTEXT(return_count, ...) \\\n  static constexpr int kDescriptorFlags =                          \\\n      CallInterfaceDescriptorData::kNoContext;                     \\\n  static constexpr int kReturnCount = return_count;                \\\n  enum ParameterIndices {                                          \\\n    __dummy = -1, /* to be able to pass zero arguments */          \\\n    ##__VA_ARGS__,                                                 \\\n                                                                   \\\n    kParameterCount                                                \\\n  };\n\n// This is valid only for builtins that use EntryFrame, which does not scan\n// stack arguments on GC.\n#define DEFINE_PARAMETERS_ENTRY(...)                      \\\n  static constexpr int kDescriptorFlags =                 \\\n      CallInterfaceDescriptorData::kNoContext |           \\\n      CallInterfaceDescriptorData::kNoStackScan;          \\\n  static constexpr int kReturnCount = 1;                  \\\n  enum ParameterIndices {                                 \\\n    __dummy = -1, /* to be able to pass zero arguments */ \\\n    ##__VA_ARGS__,                                        \\\n                                                          \\\n    kParameterCount                                       \\\n  };\n\n#define DEFINE_PARAMETERS(...) DEFINE_RESULT_AND_PARAMETERS(1, ##__VA_ARGS__)\n\n#define DEFINE_PARAMETERS_NO_CONTEXT(...) \\\n  DEFINE_RESULT_AND_PARAMETERS_NO_CONTEXT(1, ##__VA_ARGS__)\n\n#define DEFINE_RESULT_AND_PARAMETER_TYPES(...)                                 \\\n  void InitializePlatformIndependent(CallInterfaceDescriptorData* data)        \\\n      override {                                                               \\\n    MachineType machine_types[] = {__VA_ARGS__};                               \\\n    static_assert(                                                             \\\n        kReturnCount + kParameterCount == arraysize(machine_types),            \\\n        \"Parameter names definition is not consistent with parameter types\");  \\\n    data->InitializePlatformIndependent(Flags(kDescriptorFlags), kReturnCount, \\\n                                        kParameterCount, machine_types,        \\\n                                        arraysize(machine_types));             \\\n  }\n\n#define DEFINE_PARAMETER_TYPES(...)                                        \\\n  DEFINE_RESULT_AND_PARAMETER_TYPES(MachineType::AnyTagged() /* result */, \\\n                                    ##__VA_ARGS__)\n\n#define DEFINE_JS_PARAMETERS(...)                       \\\n  static constexpr int kDescriptorFlags =               \\\n      CallInterfaceDescriptorData::kNoFlags;            \\\n  static constexpr int kReturnCount = 1;                \\\n  enum ParameterIndices {                               \\\n    kTarget,                                            \\\n    kNewTarget,                                         \\\n    kActualArgumentsCount,                              \\\n    ##__VA_ARGS__,                                      \\\n                                                        \\\n    kParameterCount,                                    \\\n    kContext = kParameterCount /* implicit parameter */ \\\n  };\n\n#define DEFINE_JS_PARAMETER_TYPES(...)                                         \\\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(), /* kTarget */               \\\n                         MachineType::AnyTagged(), /* kNewTarget */            \\\n                         MachineType::Int32(),     /* kActualArgumentsCount */ \\\n                         ##__VA_ARGS__)\n\n#define DECLARE_DESCRIPTOR(name, base)                                         \\\n  DECLARE_DESCRIPTOR_WITH_BASE(name, base)                                     \\\n protected:                                                                    \\\n  void InitializePlatformSpecific(CallInterfaceDescriptorData* data) override; \\\n  name(CallDescriptors::Key key) : base(key) {}                                \\\n                                                                               \\\n public:\n\nclass V8_EXPORT_PRIVATE VoidDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS()\n  DEFINE_PARAMETER_TYPES()\n  DECLARE_DESCRIPTOR(VoidDescriptor, CallInterfaceDescriptor)\n};\n\n// Dummy descriptor used to mark builtins that don't yet have their proper\n// descriptor associated.\ntypedef VoidDescriptor DummyDescriptor;\n\n// Dummy descriptor that marks builtins with C calling convention.\ntypedef VoidDescriptor CCallDescriptor;\n\nclass AllocateDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS_NO_CONTEXT(kRequestedSize)\n  DEFINE_RESULT_AND_PARAMETER_TYPES(MachineType::TaggedPointer(),  // result 1\n                                    MachineType::IntPtr())  // kRequestedSize\n  DECLARE_DESCRIPTOR(AllocateDescriptor, CallInterfaceDescriptor)\n};\n\n// This descriptor defines the JavaScript calling convention that can be used\n// by stubs: target, new.target, argc (not including the receiver) and context\n// are passed in registers while receiver and the rest of the JS arguments are\n// passed on the stack.\nclass JSTrampolineDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_JS_PARAMETERS()\n  DEFINE_JS_PARAMETER_TYPES()\n\n  DECLARE_JS_COMPATIBLE_DESCRIPTOR(JSTrampolineDescriptor,\n                                   CallInterfaceDescriptor, 0)\n};\n\nclass ContextOnlyDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS()\n  DEFINE_PARAMETER_TYPES()\n  DECLARE_DESCRIPTOR(ContextOnlyDescriptor, CallInterfaceDescriptor)\n};\n\nclass NoContextDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS_NO_CONTEXT()\n  DEFINE_PARAMETER_TYPES()\n  DECLARE_DESCRIPTOR(NoContextDescriptor, CallInterfaceDescriptor)\n};\n\n// LoadDescriptor is used by all stubs that implement Load/KeyedLoad ICs.\nclass LoadDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kReceiver, kName, kSlot)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(),     // kReceiver\n                         MachineType::AnyTagged(),     // kName\n                         MachineType::TaggedSigned())  // kSlot\n  DECLARE_DESCRIPTOR(LoadDescriptor, CallInterfaceDescriptor)\n\n  static const Register ReceiverRegister();\n  static const Register NameRegister();\n  static const Register SlotRegister();\n};\n\nclass LoadGlobalDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kName, kSlot)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(),     // kName\n                         MachineType::TaggedSigned())  // kSlot\n  DECLARE_DESCRIPTOR(LoadGlobalDescriptor, CallInterfaceDescriptor)\n\n  static const Register NameRegister() {\n    return LoadDescriptor::NameRegister();\n  }\n\n  static const Register SlotRegister() {\n    return LoadDescriptor::SlotRegister();\n  }\n};\n\nclass StoreDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kReceiver, kName, kValue, kSlot)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(),     // kReceiver\n                         MachineType::AnyTagged(),     // kName\n                         MachineType::AnyTagged(),     // kValue\n                         MachineType::TaggedSigned())  // kSlot\n  DECLARE_DESCRIPTOR(StoreDescriptor, CallInterfaceDescriptor)\n\n  static const Register ReceiverRegister();\n  static const Register NameRegister();\n  static const Register ValueRegister();\n  static const Register SlotRegister();\n\n#if V8_TARGET_ARCH_IA32\n  static const bool kPassLastArgsOnStack = true;\n#else\n  static const bool kPassLastArgsOnStack = false;\n#endif\n\n  // Pass value and slot through the stack.\n  static const int kStackArgumentsCount = kPassLastArgsOnStack ? 2 : 0;\n};\n\nclass StoreTransitionDescriptor : public StoreDescriptor {\n public:\n  DEFINE_PARAMETERS(kReceiver, kName, kMap, kValue, kSlot, kVector)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(),     // kReceiver\n                         MachineType::AnyTagged(),     // kName\n                         MachineType::AnyTagged(),     // kMap\n                         MachineType::AnyTagged(),     // kValue\n                         MachineType::TaggedSigned(),  // kSlot\n                         MachineType::AnyTagged())     // kVector\n  DECLARE_DESCRIPTOR(StoreTransitionDescriptor, StoreDescriptor)\n\n  static const Register MapRegister();\n  static const Register SlotRegister();\n  static const Register VectorRegister();\n\n  // Pass value, slot and vector through the stack.\n  static const int kStackArgumentsCount = kPassLastArgsOnStack ? 3 : 0;\n};\n\nclass StoreWithVectorDescriptor : public StoreDescriptor {\n public:\n  DEFINE_PARAMETERS(kReceiver, kName, kValue, kSlot, kVector)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(),     // kReceiver\n                         MachineType::AnyTagged(),     // kName\n                         MachineType::AnyTagged(),     // kValue\n                         MachineType::TaggedSigned(),  // kSlot\n                         MachineType::AnyTagged())     // kVector\n  DECLARE_DESCRIPTOR(StoreWithVectorDescriptor, StoreDescriptor)\n\n  static const Register VectorRegister();\n\n  // Pass value, slot and vector through the stack.\n  static const int kStackArgumentsCount = kPassLastArgsOnStack ? 3 : 0;\n};\n\nclass StoreGlobalDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kName, kValue, kSlot)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(),     // kName\n                         MachineType::AnyTagged(),     // kValue\n                         MachineType::TaggedSigned())  // kSlot\n  DECLARE_DESCRIPTOR(StoreGlobalDescriptor, CallInterfaceDescriptor)\n\n  static const bool kPassLastArgsOnStack =\n      StoreDescriptor::kPassLastArgsOnStack;\n  // Pass value and slot through the stack.\n  static const int kStackArgumentsCount = kPassLastArgsOnStack ? 2 : 0;\n\n  static const Register NameRegister() {\n    return StoreDescriptor::NameRegister();\n  }\n\n  static const Register ValueRegister() {\n    return StoreDescriptor::ValueRegister();\n  }\n\n  static const Register SlotRegister() {\n    return StoreDescriptor::SlotRegister();\n  }\n};\n\nclass StoreGlobalWithVectorDescriptor : public StoreGlobalDescriptor {\n public:\n  DEFINE_PARAMETERS(kName, kValue, kSlot, kVector)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(),     // kName\n                         MachineType::AnyTagged(),     // kValue\n                         MachineType::TaggedSigned(),  // kSlot\n                         MachineType::AnyTagged())     // kVector\n  DECLARE_DESCRIPTOR(StoreGlobalWithVectorDescriptor, StoreGlobalDescriptor)\n\n  static const Register VectorRegister() {\n    return StoreWithVectorDescriptor::VectorRegister();\n  }\n\n  // Pass value, slot and vector through the stack.\n  static const int kStackArgumentsCount = kPassLastArgsOnStack ? 3 : 0;\n};\n\nclass LoadWithVectorDescriptor : public LoadDescriptor {\n public:\n  DEFINE_PARAMETERS(kReceiver, kName, kSlot, kVector)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(),     // kReceiver\n                         MachineType::AnyTagged(),     // kName\n                         MachineType::TaggedSigned(),  // kSlot\n                         MachineType::AnyTagged())     // kVector\n  DECLARE_DESCRIPTOR(LoadWithVectorDescriptor, LoadDescriptor)\n\n  static const Register VectorRegister();\n\n#if V8_TARGET_ARCH_IA32\n  static const bool kPassLastArgsOnStack = true;\n#else\n  static const bool kPassLastArgsOnStack = false;\n#endif\n\n  // Pass vector through the stack.\n  static const int kStackArgumentsCount = kPassLastArgsOnStack ? 1 : 0;\n};\n\nclass LoadGlobalWithVectorDescriptor : public LoadGlobalDescriptor {\n public:\n  DEFINE_PARAMETERS(kName, kSlot, kVector)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(),     // kName\n                         MachineType::TaggedSigned(),  // kSlot\n                         MachineType::AnyTagged())     // kVector\n  DECLARE_DESCRIPTOR(LoadGlobalWithVectorDescriptor, LoadGlobalDescriptor)\n\n#if V8_TARGET_ARCH_IA32\n  // On ia32, LoadWithVectorDescriptor passes vector on the stack and thus we\n  // need to choose a new register here.\n  static const Register VectorRegister() { return edx; }\n#else\n  static const Register VectorRegister() {\n    return LoadWithVectorDescriptor::VectorRegister();\n  }\n#endif\n};\n\nclass FastNewFunctionContextDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kScopeInfo, kSlots)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(),  // kScopeInfo\n                         MachineType::Int32())      // kSlots\n  DECLARE_DESCRIPTOR(FastNewFunctionContextDescriptor, CallInterfaceDescriptor)\n\n  static const Register ScopeInfoRegister();\n  static const Register SlotsRegister();\n};\n\nclass FastNewObjectDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kTarget, kNewTarget)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(),  // kTarget\n                         MachineType::AnyTagged())  // kNewTarget\n  DECLARE_DESCRIPTOR(FastNewObjectDescriptor, CallInterfaceDescriptor)\n  static const Register TargetRegister();\n  static const Register NewTargetRegister();\n};\n\nclass RecordWriteDescriptor final : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS_NO_CONTEXT(kObject, kSlot, kRememberedSet, kFPMode)\n  DEFINE_PARAMETER_TYPES(MachineType::TaggedPointer(),  // kObject\n                         MachineType::Pointer(),        // kSlot\n                         MachineType::TaggedSigned(),   // kRememberedSet\n                         MachineType::TaggedSigned())   // kFPMode\n\n  DECLARE_DESCRIPTOR(RecordWriteDescriptor, CallInterfaceDescriptor)\n};\n\nclass TypeConversionDescriptor final : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kArgument)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged())\n  DECLARE_DESCRIPTOR(TypeConversionDescriptor, CallInterfaceDescriptor)\n\n  static const Register ArgumentRegister();\n};\n\nclass TypeConversionStackParameterDescriptor final\n    : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kArgument)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged())\n  DECLARE_DESCRIPTOR(TypeConversionStackParameterDescriptor,\n                     CallInterfaceDescriptor)\n};\n\nclass AsyncFunctionStackParameterDescriptor final\n    : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kPromise, kResult)\n  DEFINE_PARAMETER_TYPES(MachineType::TaggedPointer(), MachineType::AnyTagged())\n  DECLARE_DESCRIPTOR(AsyncFunctionStackParameterDescriptor,\n                     CallInterfaceDescriptor)\n};\n\nclass GetPropertyDescriptor final : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kObject, kKey)\n  DECLARE_DEFAULT_DESCRIPTOR(GetPropertyDescriptor, CallInterfaceDescriptor)\n};\n\nclass TypeofDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kObject)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged())\n  DECLARE_DESCRIPTOR(TypeofDescriptor, CallInterfaceDescriptor)\n};\n\nclass CallTrampolineDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kFunction, kActualArgumentsCount)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(),  // kFunction\n                         MachineType::Int32())      // kActualArgumentsCount\n  DECLARE_DESCRIPTOR(CallTrampolineDescriptor, CallInterfaceDescriptor)\n};\n\nclass CallVarargsDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kTarget, kActualArgumentsCount, kArgumentsLength,\n                    kArgumentsList)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(),  // kTarget\n                         MachineType::Int32(),      // kActualArgumentsCount\n                         MachineType::Int32(),      // kArgumentsLength\n                         MachineType::AnyTagged())  // kArgumentsList\n  DECLARE_DESCRIPTOR(CallVarargsDescriptor, CallInterfaceDescriptor)\n};\n\nclass CallForwardVarargsDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kTarget, kActualArgumentsCount, kStartIndex)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(),  // kTarget\n                         MachineType::Int32(),      // kActualArgumentsCount\n                         MachineType::Int32())      // kStartIndex\n  DECLARE_DESCRIPTOR(CallForwardVarargsDescriptor, CallInterfaceDescriptor)\n};\n\nclass CallFunctionTemplateDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kFunctionTemplateInfo, kArgumentsCount)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(),  // kFunctionTemplateInfo\n                         MachineType::IntPtr())     // kArgumentsCount\n  DECLARE_DESCRIPTOR(CallFunctionTemplateDescriptor, CallInterfaceDescriptor)\n};\n\nclass CallWithSpreadDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kTarget, kArgumentsCount, kSpread)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(),  // kTarget\n                         MachineType::Int32(),      // kArgumentsCount\n                         MachineType::AnyTagged())  // kSpread\n  DECLARE_DESCRIPTOR(CallWithSpreadDescriptor, CallInterfaceDescriptor)\n};\n\nclass CallWithArrayLikeDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kTarget, kArgumentsList)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(),  // kTarget\n                         MachineType::AnyTagged())  // kArgumentsList\n  DECLARE_DESCRIPTOR(CallWithArrayLikeDescriptor, CallInterfaceDescriptor)\n};\n\nclass ConstructVarargsDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_JS_PARAMETERS(kArgumentsLength, kArgumentsList)\n  DEFINE_JS_PARAMETER_TYPES(MachineType::Int32(),      // kArgumentsLength\n                            MachineType::AnyTagged())  // kArgumentsList\n\n  DECLARE_DESCRIPTOR(ConstructVarargsDescriptor, CallInterfaceDescriptor)\n};\n\nclass ConstructForwardVarargsDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_JS_PARAMETERS(kStartIndex)\n  DEFINE_JS_PARAMETER_TYPES(MachineType::Int32())\n  DECLARE_DESCRIPTOR(ConstructForwardVarargsDescriptor, CallInterfaceDescriptor)\n};\n\nclass ConstructWithSpreadDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_JS_PARAMETERS(kSpread)\n  DEFINE_JS_PARAMETER_TYPES(MachineType::AnyTagged())\n  DECLARE_DESCRIPTOR(ConstructWithSpreadDescriptor, CallInterfaceDescriptor)\n};\n\nclass ConstructWithArrayLikeDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kTarget, kNewTarget, kArgumentsList)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(),  // kTarget\n                         MachineType::AnyTagged(),  // kNewTarget\n                         MachineType::AnyTagged())  // kArgumentsList\n  DECLARE_DESCRIPTOR(ConstructWithArrayLikeDescriptor, CallInterfaceDescriptor)\n};\n\n// TODO(ishell): consider merging this with ArrayConstructorDescriptor\nclass ConstructStubDescriptor : public CallInterfaceDescriptor {\n public:\n  // TODO(jgruber): Remove the unused allocation site parameter.\n  DEFINE_JS_PARAMETERS(kAllocationSite)\n  DEFINE_JS_PARAMETER_TYPES(MachineType::AnyTagged())\n\n  // TODO(ishell): Use DECLARE_JS_COMPATIBLE_DESCRIPTOR if registers match\n  DECLARE_DESCRIPTOR(ConstructStubDescriptor, CallInterfaceDescriptor)\n};\n\nclass AbortDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS_NO_CONTEXT(kMessageOrMessageId)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged())\n  DECLARE_DESCRIPTOR(AbortDescriptor, CallInterfaceDescriptor)\n};\n\nclass AllocateHeapNumberDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS_NO_CONTEXT()\n  DEFINE_PARAMETER_TYPES()\n  DECLARE_DESCRIPTOR(AllocateHeapNumberDescriptor, CallInterfaceDescriptor)\n};\n\nclass ArrayConstructorDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_JS_PARAMETERS(kAllocationSite)\n  DEFINE_JS_PARAMETER_TYPES(MachineType::AnyTagged())\n\n  DECLARE_JS_COMPATIBLE_DESCRIPTOR(ArrayConstructorDescriptor,\n                                   CallInterfaceDescriptor, 1)\n};\n\nclass ArrayNArgumentsConstructorDescriptor : public CallInterfaceDescriptor {\n public:\n  // This descriptor declares only register arguments while respective number\n  // of JS arguments stay on the expression stack.\n  // The ArrayNArgumentsConstructor builtin does not access stack arguments\n  // directly it just forwards them to the runtime function.\n  DEFINE_PARAMETERS(kFunction, kAllocationSite, kActualArgumentsCount)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(),  // kFunction,\n                         MachineType::AnyTagged(),  // kAllocationSite\n                         MachineType::Int32())      // kActualArgumentsCount\n  DECLARE_DESCRIPTOR(ArrayNArgumentsConstructorDescriptor,\n                     CallInterfaceDescriptor)\n};\n\nclass ArrayNoArgumentConstructorDescriptor\n    : public ArrayNArgumentsConstructorDescriptor {\n public:\n  // This descriptor declares same register arguments as the parent\n  // ArrayNArgumentsConstructorDescriptor and it declares indices for\n  // JS arguments passed on the expression stack.\n  DEFINE_PARAMETERS(kFunction, kAllocationSite, kActualArgumentsCount,\n                    kFunctionParameter)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(),  // kFunction\n                         MachineType::AnyTagged(),  // kAllocationSite\n                         MachineType::Int32(),      // kActualArgumentsCount\n                         MachineType::AnyTagged())  // kFunctionParameter\n  DECLARE_DESCRIPTOR(ArrayNoArgumentConstructorDescriptor,\n                     ArrayNArgumentsConstructorDescriptor)\n};\n\nclass ArraySingleArgumentConstructorDescriptor\n    : public ArrayNArgumentsConstructorDescriptor {\n public:\n  // This descriptor declares same register arguments as the parent\n  // ArrayNArgumentsConstructorDescriptor and it declares indices for\n  // JS arguments passed on the expression stack.\n  DEFINE_PARAMETERS(kFunction, kAllocationSite, kActualArgumentsCount,\n                    kFunctionParameter, kArraySizeSmiParameter)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(),  // kFunction\n                         MachineType::AnyTagged(),  // kAllocationSite\n                         MachineType::Int32(),      // kActualArgumentsCount\n                         MachineType::AnyTagged(),  // kFunctionParameter\n                         MachineType::AnyTagged())  // kArraySizeSmiParameter\n  DECLARE_DESCRIPTOR(ArraySingleArgumentConstructorDescriptor,\n                     ArrayNArgumentsConstructorDescriptor)\n};\n\nclass CompareDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kLeft, kRight)\n  DECLARE_DESCRIPTOR(CompareDescriptor, CallInterfaceDescriptor)\n};\n\n\nclass BinaryOpDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kLeft, kRight)\n  DECLARE_DESCRIPTOR(BinaryOpDescriptor, CallInterfaceDescriptor)\n};\n\n// This desciptor is shared among String.p.charAt/charCodeAt/codePointAt\n// as they all have the same interface.\nclass StringAtDescriptor final : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kReceiver, kPosition)\n  // TODO(turbofan): Return untagged value here.\n  DEFINE_RESULT_AND_PARAMETER_TYPES(MachineType::TaggedSigned(),  // result 1\n                                    MachineType::AnyTagged(),     // kReceiver\n                                    MachineType::IntPtr())        // kPosition\n  DECLARE_DESCRIPTOR(StringAtDescriptor, CallInterfaceDescriptor)\n};\n\nclass StringSubstringDescriptor final : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kString, kFrom, kTo)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(),  // kString\n                         MachineType::IntPtr(),     // kFrom\n                         MachineType::IntPtr())     // kTo\n\n  // TODO(turbofan): Allow builtins to return untagged values.\n  DECLARE_DESCRIPTOR(StringSubstringDescriptor, CallInterfaceDescriptor)\n};\n\nclass ArgumentsAdaptorDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_JS_PARAMETERS(kExpectedArgumentsCount)\n  DEFINE_JS_PARAMETER_TYPES(MachineType::Int32())\n  DECLARE_DESCRIPTOR(ArgumentsAdaptorDescriptor, CallInterfaceDescriptor)\n};\n\nclass CppBuiltinAdaptorDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_JS_PARAMETERS(kCFunction)\n  DEFINE_JS_PARAMETER_TYPES(MachineType::Pointer())\n  DECLARE_JS_COMPATIBLE_DESCRIPTOR(CppBuiltinAdaptorDescriptor,\n                                   CallInterfaceDescriptor, 1)\n};\n\nclass CEntry1ArgvOnStackDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kArity,          // register argument\n                    kCFunction,      // register argument\n                    kPadding,        // stack argument 1 (just padding)\n                    kArgcSmi,        // stack argument 2\n                    kTargetCopy,     // stack argument 3\n                    kNewTargetCopy)  // stack argument 4\n  DEFINE_PARAMETER_TYPES(MachineType::Int32(),      // kArity\n                         MachineType::Pointer(),    // kCFunction\n                         MachineType::AnyTagged(),  // kPadding\n                         MachineType::AnyTagged(),  // kArgcSmi\n                         MachineType::AnyTagged(),  // kTargetCopy\n                         MachineType::AnyTagged())  // kNewTargetCopy\n  DECLARE_DESCRIPTOR(CEntry1ArgvOnStackDescriptor, CallInterfaceDescriptor)\n};\n\nclass ApiCallbackDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kApiFunctionAddress, kActualArgumentsCount, kCallData,\n                    kHolder)\n  //                           receiver is implicit stack argument 1\n  //                           argv are implicit stack arguments [2, 2 + kArgc[\n  DEFINE_PARAMETER_TYPES(MachineType::Pointer(),    // kApiFunctionAddress\n                         MachineType::IntPtr(),     // kActualArgumentsCount\n                         MachineType::AnyTagged(),  // kCallData\n                         MachineType::AnyTagged())  // kHolder\n  DECLARE_DESCRIPTOR(ApiCallbackDescriptor, CallInterfaceDescriptor)\n};\n\nclass ApiGetterDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kReceiver, kHolder, kCallback)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(),  // kReceiver\n                         MachineType::AnyTagged(),  // kHolder\n                         MachineType::AnyTagged())  // kCallback\n  DECLARE_DESCRIPTOR(ApiGetterDescriptor, CallInterfaceDescriptor)\n\n  static const Register ReceiverRegister();\n  static const Register HolderRegister();\n  static const Register CallbackRegister();\n};\n\n// TODO(turbofan): We should probably rename this to GrowFastElementsDescriptor.\nclass GrowArrayElementsDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kObject, kKey)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(),  // kObject\n                         MachineType::AnyTagged())  // kKey\n  DECLARE_DESCRIPTOR(GrowArrayElementsDescriptor, CallInterfaceDescriptor)\n\n  static const Register ObjectRegister();\n  static const Register KeyRegister();\n};\n\nclass NewArgumentsElementsDescriptor final : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kFrame, kLength, kMappedCount)\n  DEFINE_PARAMETER_TYPES(MachineType::Pointer(),       // kFrame\n                         MachineType::TaggedSigned(),  // kLength\n                         MachineType::TaggedSigned())  // kMappedCount\n  DECLARE_DESCRIPTOR(NewArgumentsElementsDescriptor, CallInterfaceDescriptor)\n};\n\nclass V8_EXPORT_PRIVATE InterpreterDispatchDescriptor\n    : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kAccumulator, kBytecodeOffset, kBytecodeArray,\n                    kDispatchTable)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(),  // kAccumulator\n                         MachineType::IntPtr(),     // kBytecodeOffset\n                         MachineType::AnyTagged(),  // kBytecodeArray\n                         MachineType::IntPtr())     // kDispatchTable\n  DECLARE_DESCRIPTOR(InterpreterDispatchDescriptor, CallInterfaceDescriptor)\n};\n\nclass InterpreterPushArgsThenCallDescriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kNumberOfArguments, kFirstArgument, kFunction)\n  DEFINE_PARAMETER_TYPES(MachineType::Int32(),      // kNumberOfArguments\n                         MachineType::Pointer(),    // kFirstArgument\n                         MachineType::AnyTagged())  // kFunction\n  DECLARE_DESCRIPTOR(InterpreterPushArgsThenCallDescriptor,\n                     CallInterfaceDescriptor)\n};\n\nclass InterpreterPushArgsThenConstructDescriptor\n    : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kNumberOfArguments, kFirstArgument, kConstructor,\n                    kNewTarget, kFeedbackElement)\n  DEFINE_PARAMETER_TYPES(MachineType::Int32(),      // kNumberOfArguments\n                         MachineType::Pointer(),    // kFirstArgument\n                         MachineType::AnyTagged(),  // kConstructor\n                         MachineType::AnyTagged(),  // kNewTarget\n                         MachineType::AnyTagged())  // kFeedbackElement\n  DECLARE_DESCRIPTOR(InterpreterPushArgsThenConstructDescriptor,\n                     CallInterfaceDescriptor)\n\n#if V8_TARGET_ARCH_IA32\n  static const bool kPassLastArgsOnStack = true;\n#else\n  static const bool kPassLastArgsOnStack = false;\n#endif\n\n  // Pass constructor, new target and feedback element through the stack.\n  static const int kStackArgumentsCount = kPassLastArgsOnStack ? 3 : 0;\n};\n\nclass InterpreterCEntry1Descriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_RESULT_AND_PARAMETERS(1, kNumberOfArguments, kFirstArgument,\n                               kFunctionEntry)\n  DEFINE_RESULT_AND_PARAMETER_TYPES(MachineType::AnyTagged(),  // result 1\n                                    MachineType::Int32(),  // kNumberOfArguments\n                                    MachineType::Pointer(),  // kFirstArgument\n                                    MachineType::Pointer())  // kFunctionEntry\n  DECLARE_DESCRIPTOR(InterpreterCEntry1Descriptor, CallInterfaceDescriptor)\n};\n\nclass InterpreterCEntry2Descriptor : public CallInterfaceDescriptor {\n public:\n  DEFINE_RESULT_AND_PARAMETERS(2, kNumberOfArguments, kFirstArgument,\n                               kFunctionEntry)\n  DEFINE_RESULT_AND_PARAMETER_TYPES(MachineType::AnyTagged(),  // result 1\n                                    MachineType::AnyTagged(),  // result 2\n                                    MachineType::Int32(),  // kNumberOfArguments\n                                    MachineType::Pointer(),  // kFirstArgument\n                                    MachineType::Pointer())  // kFunctionEntry\n  DECLARE_DESCRIPTOR(InterpreterCEntry2Descriptor, CallInterfaceDescriptor)\n};\n\nclass ResumeGeneratorDescriptor final : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kValue, kGenerator)\n  DEFINE_PARAMETER_TYPES(MachineType::AnyTagged(),  // kValue\n                         MachineType::AnyTagged())  // kGenerator\n  DECLARE_DESCRIPTOR(ResumeGeneratorDescriptor, CallInterfaceDescriptor)\n};\n\nclass FrameDropperTrampolineDescriptor final : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kRestartFp)\n  DEFINE_PARAMETER_TYPES(MachineType::Pointer())\n  DECLARE_DESCRIPTOR(FrameDropperTrampolineDescriptor, CallInterfaceDescriptor)\n};\n\nclass RunMicrotasksEntryDescriptor final : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS_ENTRY(kRootRegisterValue, kMicrotaskQueue)\n  DEFINE_PARAMETER_TYPES(MachineType::Pointer(),  // kRootRegisterValue\n                         MachineType::Pointer())  // kMicrotaskQueue\n  DECLARE_DESCRIPTOR(RunMicrotasksEntryDescriptor, CallInterfaceDescriptor)\n};\n\nclass RunMicrotasksDescriptor final : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kMicrotaskQueue)\n  DEFINE_PARAMETER_TYPES(MachineType::Pointer())\n  DECLARE_DESCRIPTOR(RunMicrotasksDescriptor, CallInterfaceDescriptor)\n\n  static Register MicrotaskQueueRegister();\n};\n\nclass WasmMemoryGrowDescriptor final : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS_NO_CONTEXT(kNumPages)\n  DEFINE_RESULT_AND_PARAMETER_TYPES(MachineType::Int32(),  // result 1\n                                    MachineType::Int32())  // kNumPages\n  DECLARE_DESCRIPTOR(WasmMemoryGrowDescriptor, CallInterfaceDescriptor)\n};\n\nclass WasmThrowDescriptor final : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS_NO_CONTEXT(kException)\n  DEFINE_RESULT_AND_PARAMETER_TYPES(MachineType::AnyTagged(),  // result 1\n                                    MachineType::AnyTagged())  // kException\n  DECLARE_DESCRIPTOR(WasmThrowDescriptor, CallInterfaceDescriptor)\n};\n\nclass BigIntToWasmI64Descriptor final : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS_NO_CONTEXT(kArgument)\n  DEFINE_PARAMETER_TYPES(MachineType::Int64())  // kArgument\n  DECLARE_DESCRIPTOR(BigIntToWasmI64Descriptor, CallInterfaceDescriptor)\n};\n\nclass BigIntToI64Descriptor final : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kArgument)\n  DEFINE_RESULT_AND_PARAMETER_TYPES(MachineType::Int64(),      // result 1\n                                    MachineType::AnyTagged())  // kArgument\n  DECLARE_DESCRIPTOR(BigIntToI64Descriptor, CallInterfaceDescriptor)\n};\n\nclass WasmAtomicNotifyDescriptor final : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS_NO_CONTEXT(kAddress, kCount)\n  DEFINE_RESULT_AND_PARAMETER_TYPES(MachineType::Uint32(),  // result 1\n                                    MachineType::Uint32(),  // kAddress\n                                    MachineType::Uint32())  // kCount\n  DECLARE_DESCRIPTOR(WasmAtomicNotifyDescriptor, CallInterfaceDescriptor)\n};\n\nclass WasmI32AtomicWaitDescriptor final : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS_NO_CONTEXT(kAddress, kExpectedValue, kTimeout)\n  DEFINE_RESULT_AND_PARAMETER_TYPES(MachineType::Uint32(),   // result 1\n                                    MachineType::Uint32(),   // kAddress\n                                    MachineType::Int32(),    // kExpectedValue\n                                    MachineType::Float64())  // kTimeout\n  DECLARE_DESCRIPTOR(WasmI32AtomicWaitDescriptor, CallInterfaceDescriptor)\n};\n\nclass WasmI64AtomicWaitDescriptor final : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS_NO_CONTEXT(kAddress, kExpectedValueHigh, kExpectedValueLow,\n                               kTimeout)\n  DEFINE_RESULT_AND_PARAMETER_TYPES(\n      MachineType::Uint32(),   // result 1\n      MachineType::Uint32(),   // kAddress\n      MachineType::Uint32(),   // kExpectedValueHigh\n      MachineType::Uint32(),   // kExpectedValueLow\n      MachineType::Float64())  // kTimeout\n  DECLARE_DESCRIPTOR(WasmI64AtomicWaitDescriptor, CallInterfaceDescriptor)\n};\n\nclass CloneObjectWithVectorDescriptor final : public CallInterfaceDescriptor {\n public:\n  DEFINE_PARAMETERS(kSource, kFlags, kSlot, kVector)\n  DEFINE_RESULT_AND_PARAMETER_TYPES(MachineType::TaggedPointer(),  // result 1\n                                    MachineType::AnyTagged(),      // kSource\n                                    MachineType::TaggedSigned(),   // kFlags\n                                    MachineType::TaggedSigned(),   // kSlot\n                                    MachineType::AnyTagged())      // kVector\n  DECLARE_DESCRIPTOR(CloneObjectWithVectorDescriptor, CallInterfaceDescriptor)\n};\n\n#define DEFINE_TFS_BUILTIN_DESCRIPTOR(Name, ...)                          \\\n  class Name##Descriptor : public CallInterfaceDescriptor {               \\\n   public:                                                                \\\n    DEFINE_PARAMETERS(__VA_ARGS__)                                        \\\n    DECLARE_DEFAULT_DESCRIPTOR(Name##Descriptor, CallInterfaceDescriptor) \\\n  };\nBUILTIN_LIST_TFS(DEFINE_TFS_BUILTIN_DESCRIPTOR)\n#undef DEFINE_TFS_BUILTIN_DESCRIPTOR\n\n#undef DECLARE_DEFAULT_DESCRIPTOR\n#undef DECLARE_DESCRIPTOR_WITH_BASE\n#undef DECLARE_DESCRIPTOR\n#undef DECLARE_JS_COMPATIBLE_DESCRIPTOR\n#undef DEFINE_RESULT_AND_PARAMETERS\n#undef DEFINE_RESULT_AND_PARAMETERS_NO_CONTEXT\n#undef DEFINE_PARAMETERS\n#undef DEFINE_PARAMETERS_NO_CONTEXT\n#undef DEFINE_RESULT_AND_PARAMETER_TYPES\n#undef DEFINE_PARAMETER_TYPES\n#undef DEFINE_JS_PARAMETERS\n#undef DEFINE_JS_PARAMETER_TYPES\n\n// We define the association between CallDescriptors::Key and the specialized\n// descriptor here to reduce boilerplate and mistakes.\n#define DEF_KEY(name, ...) \\\n  CallDescriptors::Key name##Descriptor::key() { return CallDescriptors::name; }\nINTERFACE_DESCRIPTOR_LIST(DEF_KEY)\n#undef DEF_KEY\n}  // namespace internal\n}  // namespace v8\n\n#endif  // V8_INTERFACE_DESCRIPTORS_H_\n\n"
  },
  {
    "path": "deps/cpplint/samples/vlc-sample/COPYING",
    "content": "                    GNU GENERAL PUBLIC LICENSE\n                       Version 2, June 1991\n\n Copyright (C) 1989, 1991 Free Software Foundation, Inc.,\n 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The licenses for most software are designed to take away your\nfreedom to share and change it.  By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users.  This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it.  (Some other Free Software Foundation software is covered by\nthe GNU Lesser General Public License instead.)  You can apply it to\nyour programs, too.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.\n\n  To protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.\n\n  For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have.  You must make sure that they, too, receive or can get the\nsource code.  And you must show them these terms so they know their\nrights.\n\n  We protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.\n\n  Also, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware.  If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.\n\n  Finally, any free program is threatened constantly by software\npatents.  We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary.  To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                    GNU GENERAL PUBLIC LICENSE\n   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n  0. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License.  The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage.  (Hereinafter, translation is included without limitation in\nthe term \"modification\".)  Each licensee is addressed as \"you\".\n\nActivities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope.  The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.\n\n  1. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.\n\nYou may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.\n\n  2. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\n    a) You must cause the modified files to carry prominent notices\n    stating that you changed the files and the date of any change.\n\n    b) You must cause any work that you distribute or publish, that in\n    whole or in part contains or is derived from the Program or any\n    part thereof, to be licensed as a whole at no charge to all third\n    parties under the terms of this License.\n\n    c) If the modified program normally reads commands interactively\n    when run, you must cause it, when started running for such\n    interactive use in the most ordinary way, to print or display an\n    announcement including an appropriate copyright notice and a\n    notice that there is no warranty (or else, saying that you provide\n    a warranty) and that users may redistribute the program under\n    these conditions, and telling the user how to view a copy of this\n    License.  (Exception: if the Program itself is interactive but\n    does not normally print such an announcement, your work based on\n    the Program is not required to print an announcement.)\n\nThese requirements apply to the modified work as a whole.  If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works.  But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.\n\nIn addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n  3. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:\n\n    a) Accompany it with the complete corresponding machine-readable\n    source code, which must be distributed under the terms of Sections\n    1 and 2 above on a medium customarily used for software interchange; or,\n\n    b) Accompany it with a written offer, valid for at least three\n    years, to give any third party, for a charge no more than your\n    cost of physically performing source distribution, a complete\n    machine-readable copy of the corresponding source code, to be\n    distributed under the terms of Sections 1 and 2 above on a medium\n    customarily used for software interchange; or,\n\n    c) Accompany it with the information you received as to the offer\n    to distribute corresponding source code.  (This alternative is\n    allowed only for noncommercial distribution and only if you\n    received the program in object code or executable form with such\n    an offer, in accord with Subsection b above.)\n\nThe source code for a work means the preferred form of the work for\nmaking modifications to it.  For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable.  However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.\n\nIf distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n  4. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License.  Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.\n\n  5. You are not required to accept this License, since you have not\nsigned it.  However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works.  These actions are\nprohibited by law if you do not accept this License.  Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.\n\n  6. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions.  You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.\n\n  7. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all.  For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.\n\nIf any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices.  Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n  8. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded.  In such case, this License incorporates\nthe limitation as if written in the body of this License.\n\n  9. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation.  If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.\n\n  10. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission.  For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this.  Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.\n\n                            NO WARRANTY\n\n  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.\n\n  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software; you can redistribute it and/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation; either version 2 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License along\n    with this program; if not, write to the Free Software Foundation, Inc.,\n    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:\n\n    Gnomovision version 69, Copyright (C) year name of author\n    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n    This is free software, and you are welcome to redistribute it\n    under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License.  Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary.  Here is a sample; alter the names:\n\n  Yoyodyne, Inc., hereby disclaims all copyright interest in the program\n  `Gnomovision' (which makes passes at compilers) written by James Hacker.\n\n  <signature of Ty Coon>, 1 April 1989\n  Ty Coon, President of Vice\n\nThis General Public License does not permit incorporating your program into\nproprietary programs.  If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary.  If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License.\n\n"
  },
  {
    "path": "deps/cpplint/samples/vlc-sample/README.md",
    "content": "# VLC sample\n\ncode taken for regression testing from https://github.com/videolan/vlc\n"
  },
  {
    "path": "deps/cpplint/samples/vlc-sample/simple.def",
    "content": "src/*\n1\n5\nDone processing src/libvlc.c\nDone processing src/libvlc.h\nDone processing src/missing.c\nTotal errors found: 601\n\nsrc/libvlc.c:41:  Found C system header after other header. Should be: libvlc.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/libvlc.c:47:  Found C system header after other header. Should be: libvlc.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/libvlc.c:48:  Found C system header after other header. Should be: libvlc.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/libvlc.c:49:  Found C system header after other header. Should be: libvlc.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/libvlc.c:50:  Found C system header after other header. Should be: libvlc.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/libvlc.c:71:  Include the directory when naming .h files  [build/include_subdir] [4]\nsrc/libvlc.c:75:  Found C system header after other header. Should be: libvlc.h, c system, c++ system, other.  [build/include_order] [4]\nsrc/libvlc.c:86:  Extra space before [  [whitespace/braces] [5]\nsrc/libvlc.c:86:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:86:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:86:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:92:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:93:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:98:  Using C-style cast.  Use reinterpret_cast<vlc_object_t *>(...) instead  [readability/casting] [4]\nsrc/libvlc.c:99:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:100:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:103:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:107:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:107:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:120:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:122:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:123:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:138:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:141:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:142:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:143:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:147:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:153:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:158:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:159:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:160:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:161:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:161:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:163:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:163:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:170:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:171:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:172:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:173:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:183:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:183:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:184:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:186:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/libvlc.c:187:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:190:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:191:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:195:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:196:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:197:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:198:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:199:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:205:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:206:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:207:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:208:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:209:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:209:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:210:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:211:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:216:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:216:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:217:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:218:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:219:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:219:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:220:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:221:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:222:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:222:  Using C-style cast.  Use static_cast<int>(...) instead  [readability/casting] [4]\nsrc/libvlc.c:223:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:223:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:224:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:224:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:226:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\nsrc/libvlc.c:227:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:229:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:229:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:232:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\nsrc/libvlc.c:233:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:234:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:234:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:235:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:235:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:239:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:240:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:241:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:242:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:245:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:246:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:246:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:256:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:257:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:258:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:258:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:259:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:260:  Missing space before ( in for(  [whitespace/parens] [5]\nsrc/libvlc.c:261:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:262:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:263:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/libvlc.c:263:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:264:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:272:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:272:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:275:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:275:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:276:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:277:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:278:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:279:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:280:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:280:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:288:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:289:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:290:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:290:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:291:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:292:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:293:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:293:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:295:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\nsrc/libvlc.c:296:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/libvlc.c:296:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:296:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:297:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:297:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:301:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/libvlc.c:301:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:301:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:303:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:304:  Missing space before ( in for(  [whitespace/parens] [5]\nsrc/libvlc.c:305:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:307:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/libvlc.c:307:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:308:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:313:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:314:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:314:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:316:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:316:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:317:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:318:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:319:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:319:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:326:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:327:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/libvlc.c:329:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:330:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:331:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:331:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:333:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:333:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:337:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:337:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:338:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:338:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:341:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/libvlc.c:341:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:342:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/libvlc.c:342:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:343:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:343:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:344:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:345:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:346:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:346:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:349:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:349:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:352:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:352:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:353:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:353:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:360:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/libvlc.c:362:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:364:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:364:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:369:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:369:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:377:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:377:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:378:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:378:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:381:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:381:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:384:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:384:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:387:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:387:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:390:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:390:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:391:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:391:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:394:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:394:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:399:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:399:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:400:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:401:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:402:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:402:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:403:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:404:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:405:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:405:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:406:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:406:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:407:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:407:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:408:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:408:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:409:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:409:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:410:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:410:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:413:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:413:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:417:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:417:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:418:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:419:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:420:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:420:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:421:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:422:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:422:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:424:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:424:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:430:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:430:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:431:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:431:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:433:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:434:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:436:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:437:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:438:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:438:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:442:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]\nsrc/libvlc.c:442:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:443:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:444:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:444:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:445:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:445:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:450:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:453:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:453:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:455:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:459:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:460:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:461:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:461:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:462:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:462:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:465:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:465:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:466:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:466:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:468:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:469:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:469:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:472:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:472:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:473:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:473:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:474:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:474:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:475:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:475:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:476:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:476:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:477:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:477:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:478:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:478:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:479:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:479:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:480:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:480:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:488:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:488:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:493:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:493:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:495:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:496:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:496:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:497:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:497:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:507:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:508:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:509:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:512:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:512:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:513:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:513:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:514:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:514:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:516:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:516:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:517:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:517:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:521:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:522:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:523:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:523:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:528:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:528:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:529:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:530:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:531:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:531:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:532:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:533:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:535:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:535:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:542:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:542:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:545:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:546:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:549:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:550:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:552:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:552:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:563:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:564:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:565:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:565:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:567:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:567:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:569:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:569:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:570:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:570:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:579:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:581:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:582:  Missing space before ( in while(  [whitespace/parens] [5]\nsrc/libvlc.c:583:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:587:  Missing space before ( in while(  [whitespace/parens] [5]\nsrc/libvlc.c:588:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:590:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:591:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:592:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:592:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:598:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:599:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:600:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:600:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:601:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:605:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:606:  Extra space after (  [whitespace/parens] [2]\nsrc/libvlc.c:606:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:607:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:608:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:608:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:618:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.c:624:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:624:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:625:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:627:  Missing space before ( in if(  [whitespace/parens] [5]\nsrc/libvlc.c:629:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.c:629:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.c:640:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.h:0:  No #ifndef header guard found, suggested CPP variable is: SAMPLES_VLC_SAMPLE_SRC_LIBVLC_H_  [build/header_guard] [5]\nsrc/libvlc.h:34:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.h:35:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.h:40:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.h:40:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.h:40:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.h:41:  Extra space before [  [whitespace/braces] [5]\nsrc/libvlc.h:41:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.h:41:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.h:41:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.h:45:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.h:45:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.h:58:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.h:58:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.h:60:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.h:62:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.h:66:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.h:68:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.h:68:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.h:84:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.h:86:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.h:90:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.h:90:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.h:91:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.h:91:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.h:111:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.h:123:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.h:124:  Missing space after ,  [whitespace/comma] [3]\nsrc/libvlc.h:125:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.h:140:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.h:149:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/libvlc.h:150:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/libvlc.h:151:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/libvlc.h:152:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/libvlc.h:153:  At least two spaces is best between code and comments  [whitespace/comments] [2]\nsrc/libvlc.h:159:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.h:160:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.h:161:  Using C-style cast.  Use reinterpret_cast<libvlc_priv_t *>(...) instead  [readability/casting] [4]\nsrc/libvlc.h:166:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.h:166:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.h:168:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/libvlc.h:168:  Extra space before )  [whitespace/parens] [2]\nsrc/libvlc.h:173:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.h:179:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.h:185:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.h:191:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.h:200:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/libvlc.h:222:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.h:223:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.h:224:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/libvlc.h:224:  Extra space before )  [whitespace/parens] [2]\nsrc/missing.c:44:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:45:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:47:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:50:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:51:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:53:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:56:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:60:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:65:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:68:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:69:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:71:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:74:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:78:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:82:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:85:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:86:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:88:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:91:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:92:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:93:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:97:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:98:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:99:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:103:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:104:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:105:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:109:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:110:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:112:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:115:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:116:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:118:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:121:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:122:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:124:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:127:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:129:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:131:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:134:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:135:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:137:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:140:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:141:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:143:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:146:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:147:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:149:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:152:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:155:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:158:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:161:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:162:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:164:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:167:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:170:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:172:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:175:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:177:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:179:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:182:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:183:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:185:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:188:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:190:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:192:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:199:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:203:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:204:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:205:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:206:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:207:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:208:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:211:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:212:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:213:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:214:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:217:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:218:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:219:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:220:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:223:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:224:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:225:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:226:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:230:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:232:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:233:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:234:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:238:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:239:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:240:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:241:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:244:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:245:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:246:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:247:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:250:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:251:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:252:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:253:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:257:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:260:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:261:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:262:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:267:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:268:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:269:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:270:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:274:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/missing.c:275:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:276:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:280:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/missing.c:281:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:282:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:283:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:286:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:287:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:288:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:289:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:292:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:293:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:294:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:295:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:298:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/missing.c:298:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:299:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:300:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:301:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:304:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:306:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:307:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:308:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:311:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:312:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:313:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:314:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:317:  Extra space after ( in function call  [whitespace/parens] [4]\nsrc/missing.c:318:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:319:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:320:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:323:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:324:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:325:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:326:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:329:  Lines should be <= 80 characters long  [whitespace/line_length] [2]\nsrc/missing.c:329:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:332:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:333:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:334:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:335:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:338:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:341:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:342:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:343:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:351:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:352:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:353:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:354:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:355:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:358:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:359:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:360:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:361:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:364:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:365:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:366:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:367:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:368:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:369:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:372:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:373:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:374:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:375:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:376:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:379:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:380:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:381:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:382:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:385:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:386:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:387:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:391:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:392:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:393:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:394:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:399:  Extra space before ( in function call  [whitespace/parens] [4]\nsrc/missing.c:400:  { should almost always be at the end of the previous line  [whitespace/braces] [4]\nsrc/missing.c:401:  Extra space before ( in function call  [whitespace/parens] [4]\n\n"
  },
  {
    "path": "deps/cpplint/samples/vlc-sample/src/libvlc.c",
    "content": "/*****************************************************************************\n * libvlc.c: libvlc instances creation and deletion, interfaces handling\n *****************************************************************************\n * Copyright (C) 1998-2008 VLC authors and VideoLAN\n * $Id: 3468e0e5b2ef424ac53c2ad6b69d2a3f8382cd28 $\n *\n * Authors: Vincent Seguin <seguin@via.ecp.fr>\n *          Samuel Hocevar <sam@zoy.org>\n *          Gildas Bazin <gbazin@videolan.org>\n *          Derk-Jan Hartman <hartman at videolan dot org>\n *          Rémi Denis-Courmont <rem # videolan : org>\n *\n * This program is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation; either version 2.1 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with this program; if not, write to the Free Software Foundation,\n * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.\n *****************************************************************************/\n\n/** \\file\n * This file contains functions to create and destroy libvlc instances\n */\n\n/*****************************************************************************\n * Preamble\n *****************************************************************************/\n#ifdef HAVE_CONFIG_H\n# include \"config.h\"\n#endif\n\n#include <vlc_common.h>\n#include \"../lib/libvlc_internal.h\"\n#include <vlc_input.h>\n\n#include \"modules/modules.h\"\n#include \"config/configuration.h\"\n#include \"playlist/preparser.h\"\n\n#include <stdio.h>                                              /* sprintf() */\n#include <string.h>\n#include <stdlib.h>                                                /* free() */\n#include <errno.h>\n\n#include \"config/vlc_getopt.h\"\n\n#ifdef HAVE_DBUS\n/* used for one-instance mode */\n#   include <dbus/dbus.h>\n#endif\n\n\n#include <vlc_playlist.h>\n#include <vlc_interface.h>\n\n#include <vlc_charset.h>\n#include <vlc_dialog.h>\n#include <vlc_keystore.h>\n#include <vlc_fs.h>\n#include <vlc_cpu.h>\n#include <vlc_url.h>\n#include <vlc_modules.h>\n\n#include \"libvlc.h\"\n#include \"playlist/playlist_internal.h\"\n#include \"misc/variables.h\"\n\n#include <vlc_vlm.h>\n\n#ifdef __APPLE__\n# include <libkern/OSAtomic.h>\n#endif\n\n#include <assert.h>\n\n/*****************************************************************************\n * Local prototypes\n *****************************************************************************/\nstatic void GetFilenames  ( libvlc_int_t *, unsigned, const char *const [] );\n\n/**\n * Allocate a blank libvlc instance, also setting the exit handler.\n * Vlc's threading system must have been initialized first\n */\nlibvlc_int_t * libvlc_InternalCreate( void )\n{\n    libvlc_int_t *p_libvlc;\n    libvlc_priv_t *priv;\n\n    /* Allocate a libvlc instance object */\n    p_libvlc = vlc_custom_create( (vlc_object_t *)NULL, sizeof (*priv),\n                                  \"libvlc\" );\n    if( p_libvlc == NULL )\n        return NULL;\n\n    priv = libvlc_priv (p_libvlc);\n    priv->playlist = NULL;\n    priv->p_vlm = NULL;\n\n    vlc_ExitInit( &priv->exit );\n\n    return p_libvlc;\n}\n\n/**\n * Initialize a libvlc instance\n * This function initializes a previously allocated libvlc instance:\n *  - CPU detection\n *  - gettext initialization\n *  - message queue, module bank and playlist initialization\n *  - configuration and commandline parsing\n */\nint libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,\n                         const char *ppsz_argv[] )\n{\n    libvlc_priv_t *priv = libvlc_priv (p_libvlc);\n    char *       psz_modules = NULL;\n    char *       psz_parser = NULL;\n    char *       psz_control = NULL;\n    char        *psz_val;\n\n    /* System specific initialization code */\n    system_Init();\n\n    vlc_LogPreinit(p_libvlc);\n\n    /* Initialize the module bank and load the configuration of the\n     * core module. We need to do this at this stage to be able to display\n     * a short help if required by the user. (short help == core module\n     * options) */\n    module_InitBank ();\n\n    /* Get command line options that affect module loading. */\n    if( config_LoadCmdLine( p_libvlc, i_argc, ppsz_argv, NULL ) )\n    {\n        module_EndBank (false);\n        return VLC_EGENERIC;\n    }\n\n    vlc_threads_setup (p_libvlc);\n\n    /* Load the builtins and plugins into the module_bank.\n     * We have to do it before config_Load*() because this also gets the\n     * list of configuration options exported by each module and loads their\n     * default values. */\n    size_t module_count = module_LoadPlugins (p_libvlc);\n\n    /*\n     * Override default configuration with config file settings\n     */\n    if( !var_InheritBool( p_libvlc, \"ignore-config\" ) )\n    {\n        if( var_InheritBool( p_libvlc, \"reset-config\" ) )\n            config_SaveConfigFile( p_libvlc ); /* Save default config */\n        else\n            config_LoadConfigFile( p_libvlc );\n    }\n\n    /*\n     * Override configuration with command line settings\n     */\n    int vlc_optind;\n    if( config_LoadCmdLine( p_libvlc, i_argc, ppsz_argv, &vlc_optind ) )\n    {\n        vlc_LogDeinit (p_libvlc);\n        module_EndBank (true);\n        return VLC_EGENERIC;\n    }\n\n    vlc_LogInit(p_libvlc);\n\n    /*\n     * Support for gettext\n     */\n#if defined( ENABLE_NLS ) \\\n     && ( defined( HAVE_GETTEXT ) || defined( HAVE_INCLUDED_GETTEXT ) )\n    vlc_bindtextdomain (PACKAGE_NAME);\n#endif\n    /*xgettext: Translate \"C\" to the language code: \"fr\", \"en_GB\", \"nl\", \"ru\"... */\n    msg_Dbg( p_libvlc, \"translation test: code is \\\"%s\\\"\", _(\"C\") );\n\n    if (config_PrintHelp (VLC_OBJECT(p_libvlc)))\n    {\n        module_EndBank (true);\n        exit(0);\n    }\n\n    if( module_count <= 1 )\n    {\n        msg_Err( p_libvlc, \"No plugins found! Check your VLC installation.\");\n        vlc_LogDeinit (p_libvlc);\n        module_EndBank (true);\n        return VLC_ENOMOD;\n    }\n\n#ifdef HAVE_DAEMON\n    /* Check for daemon mode */\n    if( var_InheritBool( p_libvlc, \"daemon\" ) )\n    {\n        if( daemon( 1, 0) != 0 )\n        {\n            msg_Err( p_libvlc, \"Unable to fork vlc to daemon mode\" );\n            vlc_LogDeinit (p_libvlc);\n            module_EndBank (true);\n            return VLC_ENOMEM;\n        }\n\n        /* lets check if we need to write the pidfile */\n        char *pidfile = var_InheritString( p_libvlc, \"pidfile\" );\n        if( pidfile != NULL )\n        {\n            FILE *stream = vlc_fopen( pidfile, \"w\" );\n            if( stream != NULL )\n            {\n                fprintf( stream, \"%d\", (int)getpid() );\n                fclose( stream );\n                msg_Dbg( p_libvlc, \"written PID file %s\", pidfile );\n            }\n            else\n                msg_Err( p_libvlc, \"cannot write PID file %s: %s\",\n                         pidfile, vlc_strerror_c(errno) );\n            free( pidfile );\n        }\n    }\n    else\n    {\n        var_Create( p_libvlc, \"pidfile\", VLC_VAR_STRING );\n        var_SetString( p_libvlc, \"pidfile\", \"\" );\n    }\n#endif\n\n    if( libvlc_InternalDialogInit( p_libvlc ) != VLC_SUCCESS )\n    {\n        vlc_LogDeinit (p_libvlc);\n        module_EndBank (true);\n        return VLC_ENOMEM;\n    }\n    if( libvlc_InternalKeystoreInit( p_libvlc ) != VLC_SUCCESS )\n        msg_Warn( p_libvlc, \"memory keystore init failed\" );\n\n/* FIXME: could be replaced by using Unix sockets */\n#ifdef HAVE_DBUS\n\n#define MPRIS_APPEND \"/org/mpris/MediaPlayer2/TrackList/Append\"\n#define MPRIS_BUS_NAME \"org.mpris.MediaPlayer2.vlc\"\n#define MPRIS_OBJECT_PATH \"/org/mpris/MediaPlayer2\"\n#define MPRIS_TRACKLIST_INTERFACE \"org.mpris.MediaPlayer2.TrackList\"\n\n    if( var_InheritBool( p_libvlc, \"one-instance\" )\n    || ( var_InheritBool( p_libvlc, \"one-instance-when-started-from-file\" )\n      && var_InheritBool( p_libvlc, \"started-from-file\" ) ) )\n    {\n        for( int i = vlc_optind; i < i_argc; i++ )\n            if( ppsz_argv[i][0] == ':' )\n            {\n                msg_Err( p_libvlc, \"item option %s incompatible with single instance\",\n                         ppsz_argv[i] );\n                goto dbus_out;\n            }\n\n        /* Initialise D-Bus interface, check for other instances */\n        dbus_threads_init_default();\n\n        DBusError err;\n        dbus_error_init( &err );\n\n        /* connect to the session bus */\n        DBusConnection  *conn = dbus_bus_get( DBUS_BUS_SESSION, &err );\n        if( conn == NULL )\n        {\n            msg_Err( p_libvlc, \"Failed to connect to D-Bus session daemon: %s\",\n                    err.message );\n            dbus_error_free( &err );\n            goto dbus_out;\n        }\n\n        /* check if VLC is available on the bus\n         * if not: D-Bus control is not enabled on the other\n         * instance and we can't pass MRLs to it */\n        /* FIXME: This check is totally brain-dead and buggy. */\n        if( !dbus_bus_name_has_owner( conn, MPRIS_BUS_NAME, &err ) )\n        {\n            dbus_connection_unref( conn );\n            if( dbus_error_is_set( &err ) )\n            {\n                msg_Err( p_libvlc, \"D-Bus error: %s\", err.message );\n            }\n            else\n                msg_Dbg( p_libvlc, \"No media player running. Continuing normally.\" );\n            dbus_error_free( &err );\n            goto dbus_out;\n        }\n\n        const dbus_bool_t play = !var_InheritBool( p_libvlc, \"playlist-enqueue\" );\n\n        msg_Warn( p_libvlc, \"media player running. Exiting...\");\n        for( int i = vlc_optind; i < i_argc; i++ )\n        {\n            DBusMessage *msg = dbus_message_new_method_call(\n               MPRIS_BUS_NAME, MPRIS_OBJECT_PATH, MPRIS_TRACKLIST_INTERFACE, \"AddTrack\" );\n            if( unlikely(msg == NULL) )\n                continue;\n\n            /* We need to resolve relative paths in this instance */\n            char *mrl;\n            if( strstr( ppsz_argv[i], \"://\" ) )\n                mrl = strdup( ppsz_argv[i] );\n            else\n                mrl = vlc_path2uri( ppsz_argv[i], NULL );\n            if( mrl == NULL )\n            {\n                dbus_message_unref( msg );\n                continue;\n            }\n\n            const char *after_track = MPRIS_APPEND;\n\n            /* append MRLs */\n            if( !dbus_message_append_args( msg, DBUS_TYPE_STRING, &mrl,\n                                                DBUS_TYPE_OBJECT_PATH, &after_track,\n                                                DBUS_TYPE_BOOLEAN, &play,\n                                                DBUS_TYPE_INVALID ) )\n            {\n                 dbus_message_unref( msg );\n                 msg = NULL;\n                 free( mrl );\n                 continue;\n            }\n\n            msg_Dbg( p_libvlc, \"Adds %s to the running media player\", mrl );\n            free( mrl );\n\n            /* send message and get a handle for a reply */\n            DBusMessage *reply = dbus_connection_send_with_reply_and_block( conn, msg, -1,\n                                                                            &err );\n            dbus_message_unref( msg );\n            if( reply == NULL )\n            {\n                msg_Err( p_libvlc, \"D-Bus error: %s\", err.message );\n                continue;\n            }\n            dbus_message_unref( reply );\n        }\n        /* we unreference the connection when we've finished with it */\n        dbus_connection_unref( conn );\n        exit( 0 );\n    }\n#undef MPRIS_APPEND\n#undef MPRIS_BUS_NAME\n#undef MPRIS_OBJECT_PATH\n#undef MPRIS_TRACKLIST_INTERFACE\ndbus_out:\n#endif // HAVE_DBUS\n\n    vlc_CPU_dump( VLC_OBJECT(p_libvlc) );\n\n    priv->b_stats = var_InheritBool( p_libvlc, \"stats\" );\n\n    /*\n     * Initialize hotkey handling\n     */\n    priv->actions = vlc_InitActions( p_libvlc );\n\n    /*\n     * Meta data handling\n     */\n    priv->parser = playlist_preparser_New(VLC_OBJECT(p_libvlc));\n\n    /* Create a variable for showing the fullscreen interface */\n    var_Create( p_libvlc, \"intf-toggle-fscontrol\", VLC_VAR_BOOL );\n    var_SetBool( p_libvlc, \"intf-toggle-fscontrol\", true );\n\n    /* Create a variable for the Boss Key */\n    var_Create( p_libvlc, \"intf-boss\", VLC_VAR_VOID );\n\n    /* Create a variable for showing the main interface */\n    var_Create( p_libvlc, \"intf-show\", VLC_VAR_BOOL );\n\n    /* Create a variable for showing the right click menu */\n    var_Create( p_libvlc, \"intf-popupmenu\", VLC_VAR_BOOL );\n\n    /* variables for signalling creation of new files */\n    var_Create( p_libvlc, \"snapshot-file\", VLC_VAR_STRING );\n    var_Create( p_libvlc, \"record-file\", VLC_VAR_STRING );\n\n    /* some default internal settings */\n    var_Create( p_libvlc, \"window\", VLC_VAR_STRING );\n    /* NOTE: Because the playlist and interfaces start before this function\n     * returns control to the application (DESIGN BUG!), all these variables\n     * must be created (in place of libvlc_new()) and set to VLC defaults\n     * (in place of VLC main()) *here*. */\n    var_Create( p_libvlc, \"user-agent\", VLC_VAR_STRING );\n    var_SetString( p_libvlc, \"user-agent\",\n                   \"VLC media player (LibVLC \"VERSION\")\" );\n    var_Create( p_libvlc, \"http-user-agent\", VLC_VAR_STRING );\n    var_SetString( p_libvlc, \"http-user-agent\",\n                   \"VLC/\"PACKAGE_VERSION\" LibVLC/\"PACKAGE_VERSION );\n    var_Create( p_libvlc, \"app-icon-name\", VLC_VAR_STRING );\n    var_SetString( p_libvlc, \"app-icon-name\", PACKAGE_NAME );\n    var_Create( p_libvlc, \"app-id\", VLC_VAR_STRING );\n    var_SetString( p_libvlc, \"app-id\", \"org.VideoLAN.VLC\" );\n    var_Create( p_libvlc, \"app-version\", VLC_VAR_STRING );\n    var_SetString( p_libvlc, \"app-version\", PACKAGE_VERSION );\n\n    /* System specific configuration */\n    system_Configure( p_libvlc, i_argc - vlc_optind, ppsz_argv + vlc_optind );\n\n#ifdef ENABLE_VLM\n    /* Initialize VLM if vlm-conf is specified */\n    psz_parser = var_CreateGetNonEmptyString( p_libvlc, \"vlm-conf\" );\n    if( psz_parser )\n    {\n        priv->p_vlm = vlm_New( p_libvlc );\n        if( !priv->p_vlm )\n            msg_Err( p_libvlc, \"VLM initialization failed\" );\n    }\n    free( psz_parser );\n#endif\n\n    /*\n     * Load background interfaces\n     */\n    psz_modules = var_CreateGetNonEmptyString( p_libvlc, \"extraintf\" );\n    psz_control = var_CreateGetNonEmptyString( p_libvlc, \"control\" );\n\n    if( psz_modules && psz_control )\n    {\n        char* psz_tmp;\n        if( asprintf( &psz_tmp, \"%s:%s\", psz_modules, psz_control ) != -1 )\n        {\n            free( psz_modules );\n            psz_modules = psz_tmp;\n        }\n    }\n    else if( psz_control )\n    {\n        free( psz_modules );\n        psz_modules = strdup( psz_control );\n    }\n\n    psz_parser = psz_modules;\n    while ( psz_parser && *psz_parser )\n    {\n        char *psz_module, *psz_temp;\n        psz_module = psz_parser;\n        psz_parser = strchr( psz_module, ':' );\n        if ( psz_parser )\n        {\n            *psz_parser = '\\0';\n            psz_parser++;\n        }\n        if( asprintf( &psz_temp, \"%s,none\", psz_module ) != -1)\n        {\n            libvlc_InternalAddIntf( p_libvlc, psz_temp );\n            free( psz_temp );\n        }\n    }\n    free( psz_modules );\n    free( psz_control );\n\n    if( var_InheritBool( p_libvlc, \"network-synchronisation\") )\n        libvlc_InternalAddIntf( p_libvlc, \"netsync,none\" );\n\n#ifdef __APPLE__\n    var_Create( p_libvlc, \"drawable-view-top\", VLC_VAR_INTEGER );\n    var_Create( p_libvlc, \"drawable-view-left\", VLC_VAR_INTEGER );\n    var_Create( p_libvlc, \"drawable-view-bottom\", VLC_VAR_INTEGER );\n    var_Create( p_libvlc, \"drawable-view-right\", VLC_VAR_INTEGER );\n    var_Create( p_libvlc, \"drawable-clip-top\", VLC_VAR_INTEGER );\n    var_Create( p_libvlc, \"drawable-clip-left\", VLC_VAR_INTEGER );\n    var_Create( p_libvlc, \"drawable-clip-bottom\", VLC_VAR_INTEGER );\n    var_Create( p_libvlc, \"drawable-clip-right\", VLC_VAR_INTEGER );\n    var_Create( p_libvlc, \"drawable-nsobject\", VLC_VAR_ADDRESS );\n#endif\n\n    /*\n     * Get input filenames given as commandline arguments.\n     * We assume that the remaining parameters are filenames\n     * and their input options.\n     */\n    GetFilenames( p_libvlc, i_argc - vlc_optind, ppsz_argv + vlc_optind );\n\n    /*\n     * Get --open argument\n     */\n    psz_val = var_InheritString( p_libvlc, \"open\" );\n    if ( psz_val != NULL )\n    {\n        intf_InsertItem( p_libvlc, psz_val, 0, NULL, 0 );\n        free( psz_val );\n    }\n\n    return VLC_SUCCESS;\n}\n\n/**\n * Cleanup a libvlc instance. The instance is not completely deallocated\n * \\param p_libvlc the instance to clean\n */\nvoid libvlc_InternalCleanup( libvlc_int_t *p_libvlc )\n{\n    libvlc_priv_t *priv = libvlc_priv (p_libvlc);\n\n    /* Ask the interfaces to stop and destroy them */\n    msg_Dbg( p_libvlc, \"removing all interfaces\" );\n    libvlc_Quit( p_libvlc );\n    intf_DestroyAll( p_libvlc );\n\n    libvlc_InternalDialogClean( p_libvlc );\n    libvlc_InternalKeystoreClean( p_libvlc );\n\n#ifdef ENABLE_VLM\n    /* Destroy VLM if created in libvlc_InternalInit */\n    if( priv->p_vlm )\n    {\n        vlm_Delete( priv->p_vlm );\n    }\n#endif\n\n#if !defined( _WIN32 ) && !defined( __OS2__ )\n    char *pidfile = var_InheritString( p_libvlc, \"pidfile\" );\n    if( pidfile != NULL )\n    {\n        msg_Dbg( p_libvlc, \"removing PID file %s\", pidfile );\n        if( unlink( pidfile ) )\n            msg_Warn( p_libvlc, \"cannot remove PID file %s: %s\",\n                      pidfile, vlc_strerror_c(errno) );\n        free( pidfile );\n    }\n#endif\n\n    if (priv->parser != NULL)\n        playlist_preparser_Delete(priv->parser);\n\n    vlc_DeinitActions( p_libvlc, priv->actions );\n\n    /* Save the configuration */\n    if( !var_InheritBool( p_libvlc, \"ignore-config\" ) )\n        config_AutoSaveConfigFile( VLC_OBJECT(p_libvlc) );\n\n    /* Free module bank. It is refcounted, so we call this each time  */\n    vlc_LogDeinit (p_libvlc);\n    module_EndBank (true);\n#if defined(_WIN32) || defined(__OS2__)\n    system_End( );\n#endif\n}\n\n/**\n * Destroy everything.\n * This function requests the running threads to finish, waits for their\n * termination, and destroys their structure.\n * It stops the thread systems: no instance can run after this has run\n * \\param p_libvlc the instance to destroy\n */\nvoid libvlc_InternalDestroy( libvlc_int_t *p_libvlc )\n{\n    libvlc_priv_t *priv = libvlc_priv( p_libvlc );\n\n    vlc_ExitDestroy( &priv->exit );\n\n    assert( atomic_load(&(vlc_internals(p_libvlc)->refs)) == 1 );\n    vlc_object_release( p_libvlc );\n}\n\n/*****************************************************************************\n * GetFilenames: parse command line options which are not flags\n *****************************************************************************\n * Parse command line for input files as well as their associated options.\n * An option always follows its associated input and begins with a \":\".\n *****************************************************************************/\nstatic void GetFilenames( libvlc_int_t *p_vlc, unsigned n,\n                          const char *const args[] )\n{\n    while( n > 0 )\n    {\n        /* Count the input options */\n        unsigned i_options = 0;\n\n        while( args[--n][0] == ':' )\n        {\n            i_options++;\n            if( n == 0 )\n            {\n                msg_Warn( p_vlc, \"options %s without item\", args[n] );\n                return; /* syntax!? */\n            }\n        }\n\n        char *mrl = NULL;\n        if( strstr( args[n], \"://\" ) == NULL )\n        {\n            mrl = vlc_path2uri( args[n], NULL );\n            if( !mrl )\n                continue;\n        }\n\n        intf_InsertItem( p_vlc, (mrl != NULL) ? mrl : args[n], i_options,\n                         ( i_options ? &args[n + 1] : NULL ),\n                         VLC_INPUT_OPTION_TRUSTED );\n        free( mrl );\n    }\n}\n\n/**\n * Requests extraction of the meta data for an input item (a.k.a. preparsing).\n * The actual extraction is asynchronous.\n */\nint libvlc_MetaRequest(libvlc_int_t *libvlc, input_item_t *item,\n                       input_item_meta_request_option_t i_options)\n{\n    libvlc_priv_t *priv = libvlc_priv(libvlc);\n\n    if (unlikely(priv->parser == NULL))\n        return VLC_ENOMEM;\n\n    vlc_mutex_lock( &item->lock );\n    if( item->i_preparse_depth == 0 )\n        item->i_preparse_depth = 1;\n    if( i_options & META_REQUEST_OPTION_DO_INTERACT )\n        item->b_preparse_interact = true;\n    vlc_mutex_unlock( &item->lock );\n    playlist_preparser_Push(priv->parser, item, i_options);\n    return VLC_SUCCESS;\n}\n\n/**\n * Requests retrieving/downloading art for an input item.\n * The retrieval is performed asynchronously.\n */\nint libvlc_ArtRequest(libvlc_int_t *libvlc, input_item_t *item,\n                      input_item_meta_request_option_t i_options)\n{\n    libvlc_priv_t *priv = libvlc_priv(libvlc);\n\n    if (unlikely(priv->parser == NULL))\n        return VLC_ENOMEM;\n\n    playlist_preparser_fetcher_Push(priv->parser, item, i_options);\n    return VLC_SUCCESS;\n}\n"
  },
  {
    "path": "deps/cpplint/samples/vlc-sample/src/libvlc.h",
    "content": "/*****************************************************************************\n * libvlc.h: Internal libvlc generic/misc declaration\n *****************************************************************************\n * Copyright (C) 1999, 2000, 2001, 2002 VLC authors and VideoLAN\n * Copyright © 2006-2007 Rémi Denis-Courmont\n * $Id: 21bdfdcfba26f0a50e775a077df02a1debe88ba6 $\n *\n * Authors: Vincent Seguin <seguin@via.ecp.fr>\n *\n * This program is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation; either version 2.1 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with this program; if not, write to the Free Software Foundation,\n * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.\n *****************************************************************************/\n\n#ifndef LIBVLC_LIBVLC_H\n# define LIBVLC_LIBVLC_H 1\n\nextern const char psz_vlc_changeset[];\n\ntypedef struct variable_t variable_t;\n\n/* Actions (hot keys) */\nstruct vlc_actions;\nstruct vlc_actions *vlc_InitActions (libvlc_int_t *);\nextern void vlc_DeinitActions (libvlc_int_t *, struct vlc_actions *);\n\n/*\n * OS-specific initialization\n */\nvoid system_Init      ( void );\nvoid system_Configure ( libvlc_int_t *, int, const char *const [] );\n#if defined(_WIN32) || defined(__OS2__)\nvoid system_End(void);\n#ifndef __OS2__\nsize_t EnumClockSource( vlc_object_t *, const char *, char ***, char *** );\n#endif\n#endif\nvoid vlc_CPU_init(void);\nvoid vlc_CPU_dump(vlc_object_t *);\n\n/*\n * Threads subsystem\n */\n\n/* This cannot be used as is from plugins yet: */\nint vlc_clone_detach (vlc_thread_t *, void *(*)(void *), void *, int);\n\nint vlc_set_priority( vlc_thread_t, int );\n\nvoid vlc_threads_setup (libvlc_int_t *);\n\nvoid vlc_trace (const char *fn, const char *file, unsigned line);\n#define vlc_backtrace() vlc_trace(__func__, __FILE__, __LINE__)\n\n#if (defined (LIBVLC_USE_PTHREAD) || defined(__ANDROID__)) && !defined (NDEBUG)\nvoid vlc_assert_locked (vlc_mutex_t *);\n#else\n# define vlc_assert_locked( m ) (void)m\n#endif\n\n/*\n * Logging\n */\ntypedef struct vlc_logger_t vlc_logger_t;\n\nint vlc_LogPreinit(libvlc_int_t *);\nint vlc_LogInit(libvlc_int_t *);\nvoid vlc_LogDeinit(libvlc_int_t *);\n\n/*\n * LibVLC exit event handling\n */\ntypedef struct vlc_exit\n{\n    vlc_mutex_t lock;\n    void (*handler) (void *);\n    void *opaque;\n} vlc_exit_t;\n\nvoid vlc_ExitInit( vlc_exit_t * );\nvoid vlc_ExitDestroy( vlc_exit_t * );\n\n/*\n * LibVLC objects stuff\n */\n\n/**\n * Creates a VLC object.\n *\n * Note that because the object name pointer must remain valid, potentially\n * even after the destruction of the object (through the message queues), this\n * function CANNOT be exported to plugins as is. In this case, the old\n * vlc_object_create() must be used instead.\n *\n * @param p_this an existing VLC object\n * @param i_size byte size of the object structure\n * @param psz_type object type name\n * @return the created object, or NULL.\n */\nextern void *\nvlc_custom_create (vlc_object_t *p_this, size_t i_size, const char *psz_type);\n#define vlc_custom_create(o, s, n) \\\n        vlc_custom_create(VLC_OBJECT(o), s, n)\n\n/**\n * Assign a name to an object for vlc_object_find_name().\n */\nextern int vlc_object_set_name(vlc_object_t *, const char *);\n#define vlc_object_set_name(o, n) vlc_object_set_name(VLC_OBJECT(o), n)\n\n/* Types */\ntypedef void (*vlc_destructor_t) (struct vlc_object_t *);\nvoid vlc_object_set_destructor (vlc_object_t *, vlc_destructor_t);\n#define vlc_object_set_destructor(a,b) \\\n        vlc_object_set_destructor (VLC_OBJECT(a), b)\n\n#define ZOOM_SECTION N_(\"Zoom\")\n#define ZOOM_QUARTER_KEY_TEXT N_(\"1:4 Quarter\")\n#define ZOOM_HALF_KEY_TEXT N_(\"1:2 Half\")\n#define ZOOM_ORIGINAL_KEY_TEXT N_(\"1:1 Original\")\n#define ZOOM_DOUBLE_KEY_TEXT N_(\"2:1 Double\")\n\n/**\n * Private LibVLC instance data.\n */\ntypedef struct vlc_dialog_provider vlc_dialog_provider;\ntypedef struct vlc_keystore vlc_keystore;\n\ntypedef struct libvlc_priv_t\n{\n    libvlc_int_t       public_data;\n\n    /* Logging */\n    bool               b_stats;     ///< Whether to collect stats\n\n    /* Singleton objects */\n    vlc_logger_t      *logger;\n    vlm_t             *p_vlm;  ///< the VLM singleton (or NULL)\n    vlc_dialog_provider *p_dialog_provider; ///< dialog provider\n    vlc_keystore      *p_memory_keystore; ///< memory keystore\n    struct playlist_t *playlist; ///< Playlist for interfaces\n    struct playlist_preparser_t *parser; ///< Input item meta data handler\n    struct vlc_actions *actions; ///< Hotkeys handler\n\n    /* Exit callback */\n    vlc_exit_t       exit;\n} libvlc_priv_t;\n\nstatic inline libvlc_priv_t *libvlc_priv (libvlc_int_t *libvlc)\n{\n    return (libvlc_priv_t *)libvlc;\n}\n\nvoid intf_InsertItem(libvlc_int_t *, const char *mrl, unsigned optc,\n                     const char * const *optv, unsigned flags);\nvoid intf_DestroyAll( libvlc_int_t * );\n\n#define libvlc_stats( o ) (libvlc_priv((VLC_OBJECT(o))->p_libvlc)->b_stats)\n\n/*\n * Variables stuff\n */\nvoid var_OptionParse (vlc_object_t *, const char *, bool trusted);\n\n/*\n * Stats stuff\n */\nenum\n{\n    STATS_COUNTER,\n    STATS_DERIVATIVE,\n};\n\ntypedef struct counter_sample_t\n{\n    uint64_t value;\n    mtime_t  date;\n} counter_sample_t;\n\ntypedef struct counter_t\n{\n    int                 i_compute_type;\n    int                 i_samples;\n    counter_sample_t ** pp_samples;\n\n    mtime_t             last_update;\n} counter_t;\n\nenum\n{\n    STATS_INPUT_BITRATE,\n    STATS_READ_BYTES,\n    STATS_READ_PACKETS,\n    STATS_DEMUX_READ,\n    STATS_DEMUX_BITRATE,\n    STATS_DEMUX_CORRUPTED,\n    STATS_DEMUX_DISCONTINUITY,\n    STATS_PLAYED_ABUFFERS,\n    STATS_LOST_ABUFFERS,\n    STATS_DECODED_AUDIO,\n    STATS_DECODED_VIDEO,\n    STATS_DECODED_SUB,\n    STATS_CLIENT_CONNECTIONS,\n    STATS_ACTIVE_CONNECTIONS,\n    STATS_SOUT_SENT_PACKETS,\n    STATS_SOUT_SENT_BYTES,\n    STATS_SOUT_SEND_BITRATE,\n    STATS_DISPLAYED_PICTURES,\n    STATS_LOST_PICTURES,\n};\n\ncounter_t * stats_CounterCreate (int);\nvoid stats_Update (counter_t *, uint64_t, uint64_t *);\nvoid stats_CounterClean (counter_t * );\n\nvoid stats_ComputeInputStats(input_thread_t*, input_stats_t*);\nvoid stats_ReinitInputStats(input_stats_t *);\n\n#endif\n"
  },
  {
    "path": "deps/cpplint/samples/vlc-sample/src/missing.c",
    "content": "/*****************************************************************************\n * missing.c: missing libvlccore symbols\n *****************************************************************************\n * Copyright (C) 2008-2011 Rémi Denis-Courmont\n * Copyright (C) 2009-2014 VLC authors and VideoLAN\n * $Id: 692b9b5ecf59f496cc21528a91668f18e501b303 $\n *\n * Authors: Rémi Denis-Courmont <rem # videolan : org>\n *          Pierre Ynard <linkfanel # yahoo fr>\n *          Toralf Niebuhr <gmthor85 # aim com>\n *          Felix Paul Kühne <fkuehne # videolan org>\n *          Jean-Paul Saman <jpsaman # videolan org>\n *          Antoine Cellerier <dionoea # videolan org>\n *\n * This program is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as published by\n * the Free Software Foundation; either version 2.1 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License\n * along with this program; if not, write to the Free Software Foundation,\n * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.\n *****************************************************************************/\n\n/** \\file\n * This file contains dummy replacement API for disabled features\n */\n\n#ifdef HAVE_CONFIG_H\n# include \"config.h\"\n#endif\n\n#include <vlc_common.h>\n#include <assert.h>\n\n#ifndef ENABLE_HTTPD\n# include <vlc_httpd.h>\n\nchar *httpd_ClientIP (const httpd_client_t *cl, char *psz_ip, int *port)\n{\n    (void) cl; (void) psz_ip; (void) port;\n    vlc_assert_unreachable ();\n}\n\nhttpd_file_sys_t *httpd_FileDelete (httpd_file_t *file)\n{\n    (void) file;\n    vlc_assert_unreachable ();\n}\n\nhttpd_file_t *httpd_FileNew (httpd_host_t *host,\n                             const char *url, const char *content_type,\n                             const char *login, const char *password,\n                             httpd_file_callback_t cb, httpd_file_sys_t *data)\n{\n    (void) host;\n    (void) url; (void) content_type;\n    (void) login; (void) password;\n    (void) cb; (void) data;\n    vlc_assert_unreachable ();\n}\n\nhttpd_handler_sys_t *httpd_HandlerDelete (httpd_handler_t *handler)\n{\n    (void) handler;\n    vlc_assert_unreachable ();\n}\n\nhttpd_handler_t *httpd_HandlerNew (httpd_host_t *host, const char *url,\n                                   const char *login, const char *password,\n                                   httpd_handler_callback_t cb,\n                                   httpd_handler_sys_t *data)\n{\n    (void) host; (void) url;\n    (void) login; (void) password;\n    (void) cb; (void) data;\n    vlc_assert_unreachable ();\n}\n\nvoid httpd_HostDelete (httpd_host_t *h)\n{\n    (void) h;\n    vlc_assert_unreachable ();\n}\n\nhttpd_host_t *vlc_http_HostNew (vlc_object_t *obj)\n{\n    msg_Err (obj, \"HTTP server not compiled-in!\");\n    return NULL;\n}\n\nhttpd_host_t *vlc_https_HostNew (vlc_object_t *obj)\n{\n    msg_Err (obj, \"HTTPS server not compiled-in!\");\n    return NULL;\n}\n\nhttpd_host_t *vlc_rtsp_HostNew (vlc_object_t *obj)\n{\n    msg_Err (obj, \"RTSP server not compiled-in!\");\n    return NULL;\n}\n\nvoid httpd_MsgAdd (httpd_message_t *m, const char *name, const char *fmt, ...)\n{\n    (void) m; (void) name; (void) fmt;\n    vlc_assert_unreachable ();\n}\n\nconst char *httpd_MsgGet (const httpd_message_t *m, const char *name)\n{\n    (void) m; (void) name;\n    vlc_assert_unreachable ();\n}\n\nvoid httpd_RedirectDelete (httpd_redirect_t *r)\n{\n    (void) r;\n    vlc_assert_unreachable ();\n}\n\nhttpd_redirect_t *httpd_RedirectNew (httpd_host_t *host,\n                                     const char *dst, const char *src)\n{\n    (void) host; (void) dst; (void) src;\n    vlc_assert_unreachable ();\n}\n\nchar *httpd_ServerIP (const httpd_client_t *client, char *ip, int *port)\n{\n    (void) client; (void) ip; (void) port;\n    vlc_assert_unreachable ();\n}\n\nvoid httpd_StreamDelete (httpd_stream_t *stream)\n{\n    (void) stream;\n    vlc_assert_unreachable ();\n}\n\nint httpd_StreamHeader (httpd_stream_t *stream, uint8_t *data, int count)\n{\n    (void) stream; (void) data; (void) count;\n    vlc_assert_unreachable ();\n}\n\nhttpd_stream_t *httpd_StreamNew (httpd_host_t *host,\n                                 const char *url, const char *content_type,\n                                 const char *login, const char *password)\n{\n    (void) host; (void) url; (void) content_type;\n    (void) login; (void) password;\n    vlc_assert_unreachable ();\n}\n\nint httpd_StreamSend (httpd_stream_t *stream, const block_t *p_block)\n{\n    (void) stream; (void) p_block;\n    vlc_assert_unreachable ();\n}\n\nint httpd_StreamSetHTTPHeaders (httpd_stream_t * stream,\n                                httpd_header * headers,\n                                size_t i_headers)\n{\n    (void) stream; (void) headers; (void) i_headers;\n    vlc_assert_unreachable ();\n}\n\nint httpd_UrlCatch (httpd_url_t *url, int request, httpd_callback_t cb,\n                    httpd_callback_sys_t *data)\n{\n    (void) url; (void) request; (void) cb; (void) data;\n    vlc_assert_unreachable ();\n}\n\nvoid httpd_UrlDelete (httpd_url_t *url)\n{\n    (void) url;\n    vlc_assert_unreachable ();\n}\n\nhttpd_url_t *httpd_UrlNew (httpd_host_t *host, const char *url,\n                           const char *login, const char *password)\n{\n    (void) host; (void) url; (void) login; (void) password;\n    vlc_assert_unreachable ();\n}\n#endif /* !ENABLE_HTTPD */\n\n#ifndef ENABLE_SOUT\n# include <vlc_sout.h>\n\nchar *sdp_AddMedia (char **sdp, const char *type, const char *protocol,\n                    int dport, unsigned pt, bool bw_indep, unsigned bw,\n                    const char *ptname, unsigned clockrate, unsigned channels,\n                    const char *fmtp)\n{\n    VLC_UNUSED (sdp); VLC_UNUSED (type); VLC_UNUSED (protocol);\n    VLC_UNUSED (dport); VLC_UNUSED (pt); VLC_UNUSED (bw_indep);\n    VLC_UNUSED (bw); VLC_UNUSED (ptname); VLC_UNUSED (clockrate);\n    VLC_UNUSED (channels); VLC_UNUSED (fmtp);\n    assert (*sdp == NULL);\n}\n\nchar *sdp_AddAttribute (char **sdp, const char *name, const char *fmt, ...)\n{\n    VLC_UNUSED (sdp); VLC_UNUSED (name); VLC_UNUSED (fmt);\n    assert (*sdp == NULL);\n}\n\nint sout_AccessOutControl (sout_access_out_t *out, int query, ...)\n{\n    VLC_UNUSED (out); VLC_UNUSED (query);\n    vlc_assert_unreachable ();\n}\n\nvoid sout_AccessOutDelete (sout_access_out_t *out)\n{\n    VLC_UNUSED (out);\n    vlc_assert_unreachable ();\n}\n\n#undef sout_AccessOutNew\nsout_access_out_t *sout_AccessOutNew (vlc_object_t *obj,\n                                      const char *access, const char *name)\n{\n    VLC_UNUSED (access); VLC_UNUSED (name);\n    msg_Err (obj, \"Output support not compiled-in!\");\n    return NULL;\n}\n\nssize_t sout_AccessOutRead (sout_access_out_t *out, block_t *block)\n{\n    VLC_UNUSED (out); VLC_UNUSED (block);\n    vlc_assert_unreachable ();\n}\n\nint sout_AccessOutSeek (sout_access_out_t *out, off_t offset)\n{\n    VLC_UNUSED (out); VLC_UNUSED (offset);\n    vlc_assert_unreachable ();\n}\n\nssize_t sout_AccessOutWrite (sout_access_out_t *out, block_t *block)\n{\n    VLC_UNUSED (out); VLC_UNUSED (block);\n    vlc_assert_unreachable ();\n}\n\n#undef sout_AnnounceRegisterSDP\nsession_descriptor_t *sout_AnnounceRegisterSDP (vlc_object_t *obj,\n                                                const char *sdp,\n                                                const char *dst)\n{\n    VLC_UNUSED (sdp); VLC_UNUSED (dst);\n    msg_Err (obj, \"SDP export not compiled-in!\");\n    return NULL;\n}\n\n#undef sout_AnnounceUnRegister\nvoid sout_AnnounceUnRegister (vlc_object_t *obj, session_descriptor_t *d)\n{\n    VLC_UNUSED (obj); VLC_UNUSED (d);\n    vlc_assert_unreachable ();\n}\n\n#undef sout_EncoderCreate\nencoder_t *sout_EncoderCreate( vlc_object_t *p_this )\n{\n    msg_Err (p_this, \"Encoding support not compiled-in!\");\n    return NULL;\n}\n\nsout_input_t *sout_MuxAddStream( sout_mux_t *mux, const es_format_t *fmt )\n{\n    VLC_UNUSED (mux); VLC_UNUSED (fmt);\n    vlc_assert_unreachable ();\n}\n\nvoid sout_MuxDelete (sout_mux_t *mux)\n{\n    VLC_UNUSED (mux);\n    vlc_assert_unreachable ();\n}\n\nvoid sout_MuxDeleteStream (sout_mux_t *mux, sout_input_t *input)\n{\n    VLC_UNUSED (mux); VLC_UNUSED (input);\n    vlc_assert_unreachable ();\n}\n\nint sout_MuxGetStream (sout_mux_t *p_mux, unsigned int i_blocks, mtime_t *pi_dts)\n{\n    VLC_UNUSED (p_mux); VLC_UNUSED (i_blocks); VLC_UNUSED (pi_dts);\n    vlc_assert_unreachable ();\n}\n\nsout_mux_t *sout_MuxNew (sout_instance_t *instance, const char *mux,\n                         sout_access_out_t *out)\n{\n    VLC_UNUSED (instance); VLC_UNUSED (mux); VLC_UNUSED (out);\n    vlc_assert_unreachable ();\n}\n\nint sout_MuxSendBuffer (sout_mux_t *mux, sout_input_t *input, block_t *block)\n{\n    VLC_UNUSED (mux); VLC_UNUSED (input); VLC_UNUSED (block);\n    vlc_assert_unreachable ();\n}\n\nvoid sout_MuxFlush( sout_mux_t *mux, sout_input_t *input )\n{\n    VLC_UNUSED (mux); VLC_UNUSED (input);\n    vlc_assert_unreachable ();\n}\n\nvoid sout_StreamChainDelete (sout_stream_t *p_first, sout_stream_t *p_last)\n{\n    VLC_UNUSED (p_first); VLC_UNUSED (p_last);\n    vlc_assert_unreachable ();\n}\n\nsout_stream_t *sout_StreamChainNew (sout_instance_t *p_sout, const char *psz_chain,\n                                    sout_stream_t *p_next,\n                                    sout_stream_t **pp_last)\n{\n    VLC_UNUSED (p_sout); VLC_UNUSED (psz_chain); VLC_UNUSED (p_next);\n    VLC_UNUSED (pp_last);\n    vlc_assert_unreachable ();\n}\n\nchar *vlc_sdp_Start (vlc_object_t *obj, const char *cfg,\n                     const struct sockaddr *src, size_t srclen,\n                     const struct sockaddr *addr, size_t addrlen)\n{\n    VLC_UNUSED (obj); VLC_UNUSED (cfg); VLC_UNUSED (src); VLC_UNUSED (srclen);\n    VLC_UNUSED (addr); VLC_UNUSED (addrlen);\n    return NULL;\n}\n#endif /* !ENABLE_SOUT */\n\n#ifndef ENABLE_VLM\n# include <vlc_vlm.h>\n\nint vlm_Control (vlm_t *vlm, int query, ...)\n{\n    VLC_UNUSED (query);\n    VLC_UNUSED (vlm);\n    vlc_assert_unreachable ();\n}\n\nvoid vlm_Delete (vlm_t *vlm)\n{\n    VLC_UNUSED (vlm);\n    vlc_assert_unreachable ();\n}\n\nint vlm_ExecuteCommand (vlm_t *vlm, const char *cmd, vlm_message_t **pm)\n{\n    VLC_UNUSED (vlm);\n    VLC_UNUSED (cmd);\n    VLC_UNUSED (pm);\n    vlc_assert_unreachable ();\n}\n\nvlm_message_t *vlm_MessageAdd (vlm_message_t *a, vlm_message_t *b)\n{\n    VLC_UNUSED (a);\n    VLC_UNUSED (b);\n    vlc_assert_unreachable ();\n}\n\nvoid vlm_MessageDelete (vlm_message_t *m)\n{\n    VLC_UNUSED (m);\n    vlc_assert_unreachable ();\n}\n\nvlm_message_t *vlm_MessageSimpleNew (const char *a)\n{\n    VLC_UNUSED (a);\n    return NULL;\n}\n\nvlm_message_t *vlm_MessageNew (const char *a, const char *fmt, ...)\n{\n    VLC_UNUSED (a);\n    VLC_UNUSED (fmt);\n    return vlm_MessageSimpleNew (a);\n}\n\n#undef vlm_New\nvlm_t *vlm_New (vlc_object_t *obj)\n{\n     msg_Err (obj, \"VLM not compiled-in!\");\n     return NULL;\n}\n#endif /* !ENABLE_VLM */\n"
  },
  {
    "path": "deps/cpplint/setup.cfg",
    "content": "[aliases]\ntest = pytest\nstyle = flake8\nci = lint style test\n\n[tool:pytest]\npython_files = *test.py\ntestpaths = .\n# running with tox reports only 75%\naddopts = --cov-fail-under=75 --cov=cpplint\nfilterwarnings =\n    ignore:.*:DeprecationWarning\n"
  },
  {
    "path": "deps/cpplint/setup.py",
    "content": "#! /usr/bin/env python\n\nfrom setuptools import setup, Command\nfrom subprocess import check_call\nfrom distutils.spawn import find_executable\nimport cpplint as cpplint\n\nclass Cmd(Command):\n    '''\n    Superclass for other commands to run via setup.py, declared in setup.cfg.\n    These commands will auto-install setup_requires in a temporary folder.\n    '''\n    user_options = [\n      ('executable', 'e', 'The executable to use for the command')\n    ]\n\n    def initialize_options(self):\n        self.executable = find_executable(self.executable)\n\n    def finalize_options(self):\n        pass\n\n    def execute(self, *k):\n        check_call((self.executable,) + k)\n\n\nclass Lint(Cmd):\n    '''run with python setup.py lint'''\n    description = 'Run linting of the code'\n    user_options = Cmd.user_options + [\n      ('jobs', 'j', 'Use multiple processes to speed up the linting')\n    ]\n    executable = 'pylint'\n\n    def run(self):\n        self.execute('cpplint.py')\n\n# some pip versions bark on comments (e.g. on travis)\ndef read_without_comments(filename):\n    with open(filename) as f:\n        return [line for line in f.read().splitlines() if not len(line) == 0 and not line.startswith('#')]\n\ntest_required = read_without_comments('test-requirements')\n\nsetup(name='cpplint',\n      version=cpplint.__VERSION__,\n      py_modules=['cpplint'],\n      # generate platform specific start script\n      entry_points={\n          'console_scripts': [\n              'cpplint = cpplint:main'\n          ]\n      },\n      install_requires=[],\n      url='https://github.com/cpplint/cpplint',\n      download_url='https://github.com/cpplint/cpplint',\n      keywords=['lint', 'python', 'c++'],\n      maintainer='cpplint Developers',\n      maintainer_email='see_github@nospam.com',\n      classifiers=['Programming Language :: Python',\n                   'Programming Language :: Python :: 2',\n                   'Programming Language :: Python :: 2.7',\n                   'Programming Language :: Python :: 3',\n                   'Programming Language :: Python :: 3.6',\n                   'Programming Language :: Python :: 3.7',\n                   'Programming Language :: Python :: 3.8',\n                   'Programming Language :: C++',\n                   'Development Status :: 5 - Production/Stable',\n                   'Environment :: Console',\n                   'Topic :: Software Development :: Quality Assurance',\n                   'License :: Freely Distributable'],\n      description='Automated checker to ensure C++ files follow Google\\'s style guide',\n      long_description=open('README.rst').read(),\n      license='BSD-3-Clause',\n      setup_requires=[\n          \"pytest-runner\"\n      ],\n      tests_require=test_required,\n      # extras_require allow pip install .[dev]\n      extras_require={\n          'test': test_required,\n          'dev': read_without_comments('dev-requirements') + test_required\n      },\n      cmdclass={\n          'lint': Lint\n      })\n"
  },
  {
    "path": "deps/cpplint/test-requirements",
    "content": "# minimal requirements to run python setup.py test\n# 5.x requires python 3.5\npytest>=4.6,<5.0\npytest-cov\n# freeze versions breaking python 2.7 on travis\npyparsing<3\nzipp<=0.5.1\nconfigparser<=3.7.4\ntestfixtures\n"
  },
  {
    "path": "deps/cpplint/tox.ini",
    "content": "[tox]\nenvlist = py27, py36, py37, py38, pypy, pypy3\n\n[testenv]\ndeps =\n  py36: flake8>=3.7.8\n  py36: radon>=2.4.0\n  py36: pylint>=1.8.4\n\ncommands =\n  {envpython} setup.py test\n  py36: {envpython} setup.py lint\n  py36: {envpython} setup.py style\n"
  },
  {
    "path": "index.d.ts",
    "content": "import {\n  octree,\n  minDiff,\n  mixed,\n  octreeGet,\n  minDiffGet,\n  mixedGet,\n} from './lib/x';\n\nexport = {\n  octree,\n  minDiff,\n  mixed,\n  octreeGet,\n  minDiffGet,\n  mixedGet,\n  cpp: any,\n};\n"
  },
  {
    "path": "index.js",
    "content": "/**\n *\n *    ▄▄▄▄▀ ▄  █ █▀▄▀█ ▄█▄    █    █▄▄▄▄     ▄            ,ae,\n * ▀▀▀ █   █   █ █ █ █ █▀ ▀▄  █    █  ▄▀ ▀▄   █          ,88888e\n *     █   ██▀▀█ █ ▄ █ █   ▀  █    █▀▀▌    █ ▀    ,a888b.9888888i\n *    █    █   █ █   █ █▄  ▄▀ ███▄ █  █   ▄ █     888888888888888\n *   ▀        █     █  ▀███▀      ▀  █   █   ▀▄   88888888888888Y\n *           ▀     ▀                ▀     ▀       '8888888888888'\n *                                                  \"S888888888\"\n *                                                    \"7888888Y\n * ThmclrX - A theme color extractor module for Node.js. \"e88j\n *                                                         \"Y\n * Copyright (c) 2022 XadillaX <i@2333.moe>\n *\n * MIT LIcense <https://github.com/XadillaX/thmclrx/blob/master/LICENSE>\n */\n'use strict';\n\nmodule.exports = require('./lib/x');\nmodule.exports.cpp = require('./build/Release/thmclrx');\n"
  },
  {
    "path": "lib/default_palette.d.ts",
    "content": "type ColorVector = [ number, number, number ];\ndeclare const palette: ColorVector[];\n\nexport = palette;\n"
  },
  {
    "path": "lib/default_palette.js",
    "content": "/**\n *\n *    ▄▄▄▄▀ ▄  █ █▀▄▀█ ▄█▄    █    █▄▄▄▄     ▄            ,ae,\n * ▀▀▀ █   █   █ █ █ █ █▀ ▀▄  █    █  ▄▀ ▀▄   █          ,88888e\n *     █   ██▀▀█ █ ▄ █ █   ▀  █    █▀▀▌    █ ▀    ,a888b.9888888i\n *    █    █   █ █   █ █▄  ▄▀ ███▄ █  █   ▄ █     888888888888888\n *   ▀        █     █  ▀███▀      ▀  █   █   ▀▄   88888888888888Y\n *           ▀     ▀                ▀     ▀       '8888888888888'\n *                                                  \"S888888888\"\n *                                                    \"7888888Y\n * ThmclrX - A theme color extractor module for Node.js. \"e88j\n *                                                         \"Y\n * Copyright (c) 2022 XadillaX <i@2333.moe>\n *\n * MIT LIcense <https://github.com/XadillaX/thmclrx/blob/master/LICENSE>\n */\n'use strict';\n\nmodule.exports = [\n  [ 0x00, 0x00, 0x00 ],\n  [ 0x80, 0x00, 0x00 ],\n  [ 0x00, 0x80, 0x00 ],\n  [ 0x80, 0x80, 0x00 ],\n  [ 0x00, 0x00, 0x80 ],\n  [ 0x80, 0x00, 0x80 ],\n  [ 0x00, 0x80, 0x80 ],\n  [ 0xc0, 0xc0, 0xc0 ],\n  [ 0xc0, 0xdc, 0xc0 ],\n  [ 0xa6, 0xca, 0xf0 ],\n  [ 0x00, 0x00, 0x33 ],\n  [ 0x33, 0x00, 0x00 ],\n  [ 0x33, 0x00, 0x33 ],\n  [ 0x00, 0x33, 0x33 ],\n  [ 0x16, 0x16, 0x16 ],\n  [ 0x1c, 0x1c, 0x1c ],\n  [ 0x22, 0x22, 0x22 ],\n  [ 0x29, 0x29, 0x29 ],\n  [ 0x55, 0x55, 0x55 ],\n  [ 0x4d, 0x4d, 0x4d ],\n  [ 0x42, 0x42, 0x42 ],\n  [ 0x39, 0x39, 0x39 ],\n  [ 0xFF, 0x7C, 0x80 ],\n  [ 0xFF, 0x50, 0x50 ],\n  [ 0xD6, 0x00, 0x93 ],\n  [ 0xCC, 0xEC, 0xFF ],\n  [ 0xEF, 0xD6, 0xC6 ],\n  [ 0xE7, 0xE7, 0xD6 ],\n  [ 0xAD, 0xA9, 0x90 ],\n  [ 0x33, 0xff, 0x00 ],\n  [ 0x66, 0x00, 0x00 ],\n  [ 0x99, 0x00, 0x00 ],\n  [ 0xcc, 0x00, 0x00 ],\n  [ 0x00, 0x33, 0x00 ],\n  [ 0x33, 0x33, 0x00 ],\n  [ 0x66, 0x33, 0x00 ],\n  [ 0x99, 0x33, 0x00 ],\n  [ 0xcc, 0x33, 0x00 ],\n  [ 0xff, 0x33, 0x00 ],\n  [ 0x00, 0x66, 0x00 ],\n  [ 0x33, 0x66, 0x00 ],\n  [ 0x66, 0x66, 0x00 ],\n  [ 0x99, 0x66, 0x00 ],\n  [ 0xcc, 0x66, 0x00 ],\n  [ 0xff, 0x66, 0x00 ],\n  [ 0x00, 0x99, 0x00 ],\n  [ 0x33, 0x99, 0x00 ],\n  [ 0x66, 0x99, 0x00 ],\n  [ 0x99, 0x99, 0x00 ],\n  [ 0xcc, 0x99, 0x00 ],\n  [ 0xff, 0x99, 0x00 ],\n  [ 0x00, 0xcc, 0x00 ],\n  [ 0x33, 0xcc, 0x00 ],\n  [ 0x66, 0xcc, 0x00 ],\n  [ 0x99, 0xcc, 0x00 ],\n  [ 0xcc, 0xcc, 0x00 ],\n  [ 0xff, 0xcc, 0x00 ],\n  [ 0x66, 0xff, 0x00 ],\n  [ 0x99, 0xff, 0x00 ],\n  [ 0xcc, 0xff, 0x00 ],\n  [ 0x00, 0xff, 0x33 ],\n  [ 0x33, 0x00, 0xff ],\n  [ 0x66, 0x00, 0x33 ],\n  [ 0x99, 0x00, 0x33 ],\n  [ 0xcc, 0x00, 0x33 ],\n  [ 0xff, 0x00, 0x33 ],\n  [ 0x00, 0x33, 0xff ],\n  [ 0x33, 0x33, 0x33 ],\n  [ 0x66, 0x33, 0x33 ],\n  [ 0x99, 0x33, 0x33 ],\n  [ 0xcc, 0x33, 0x33 ],\n  [ 0xff, 0x33, 0x33 ],\n  [ 0x00, 0x66, 0x33 ],\n  [ 0x33, 0x66, 0x33 ],\n  [ 0x66, 0x66, 0x33 ],\n  [ 0x99, 0x66, 0x33 ],\n  [ 0xcc, 0x66, 0x33 ],\n  [ 0xff, 0x66, 0x33 ],\n  [ 0x00, 0x99, 0x33 ],\n  [ 0x33, 0x99, 0x33 ],\n  [ 0x66, 0x99, 0x33 ],\n  [ 0x99, 0x99, 0x33 ],\n  [ 0xcc, 0x99, 0x33 ],\n  [ 0xff, 0x99, 0x33 ],\n  [ 0x00, 0xcc, 0x33 ],\n  [ 0x33, 0xcc, 0x33 ],\n  [ 0x66, 0xcc, 0x33 ],\n  [ 0x99, 0xcc, 0x33 ],\n  [ 0xcc, 0xcc, 0x33 ],\n  [ 0xff, 0xcc, 0x33 ],\n  [ 0x33, 0xff, 0x33 ],\n  [ 0x66, 0xff, 0x33 ],\n  [ 0x99, 0xff, 0x33 ],\n  [ 0xcc, 0xff, 0x33 ],\n  [ 0xff, 0xff, 0x33 ],\n  [ 0x00, 0x00, 0x66 ],\n  [ 0x33, 0x00, 0x66 ],\n  [ 0x66, 0x00, 0x66 ],\n  [ 0x99, 0x00, 0x66 ],\n  [ 0xcc, 0x00, 0x66 ],\n  [ 0xff, 0x00, 0x66 ],\n  [ 0x00, 0x33, 0x66 ],\n  [ 0x33, 0x33, 0x66 ],\n  [ 0x66, 0x33, 0x66 ],\n  [ 0x99, 0x33, 0x66 ],\n  [ 0xcc, 0x33, 0x66 ],\n  [ 0xff, 0x33, 0x66 ],\n  [ 0x00, 0x66, 0x66 ],\n  [ 0x33, 0x66, 0x66 ],\n  [ 0x66, 0x66, 0x66 ],\n  [ 0x99, 0x66, 0x66 ],\n  [ 0xcc, 0x66, 0x66 ],\n  [ 0x00, 0x99, 0x66 ],\n  [ 0x33, 0x99, 0x66 ],\n  [ 0x66, 0x99, 0x66 ],\n  [ 0x99, 0x99, 0x66 ],\n  [ 0xcc, 0x99, 0x66 ],\n  [ 0xff, 0x99, 0x66 ],\n  [ 0x00, 0xcc, 0x66 ],\n  [ 0x33, 0xcc, 0x66 ],\n  [ 0x99, 0xcc, 0x66 ],\n  [ 0xcc, 0xcc, 0x66 ],\n  [ 0xff, 0xcc, 0x66 ],\n  [ 0x00, 0xff, 0x66 ],\n  [ 0x33, 0xff, 0x66 ],\n  [ 0x99, 0xff, 0x66 ],\n  [ 0xcc, 0xff, 0x66 ],\n  [ 0xff, 0x00, 0xcc ],\n  [ 0xcc, 0x00, 0xff ],\n  [ 0x00, 0x99, 0x99 ],\n  [ 0x99, 0x33, 0x99 ],\n  [ 0x99, 0x00, 0x99 ],\n  [ 0xcc, 0x00, 0x99 ],\n  [ 0x00, 0x00, 0x99 ],\n  [ 0x33, 0x33, 0x99 ],\n  [ 0x66, 0x00, 0x99 ],\n  [ 0xcc, 0x33, 0x99 ],\n  [ 0xff, 0x00, 0x99 ],\n  [ 0x00, 0x66, 0x99 ],\n  [ 0x33, 0x66, 0x99 ],\n  [ 0x66, 0x33, 0x99 ],\n  [ 0x99, 0x66, 0x99 ],\n  [ 0xcc, 0x66, 0x99 ],\n  [ 0xff, 0x33, 0x99 ],\n  [ 0x33, 0x99, 0x99 ],\n  [ 0x66, 0x99, 0x99 ],\n  [ 0x99, 0x99, 0x99 ],\n  [ 0xcc, 0x99, 0x99 ],\n  [ 0xff, 0x99, 0x99 ],\n  [ 0x00, 0xcc, 0x99 ],\n  [ 0x33, 0xcc, 0x99 ],\n  [ 0x66, 0xcc, 0x66 ],\n  [ 0x99, 0xcc, 0x99 ],\n  [ 0xcc, 0xcc, 0x99 ],\n  [ 0xff, 0xcc, 0x99 ],\n  [ 0x00, 0xff, 0x99 ],\n  [ 0x33, 0xff, 0x99 ],\n  [ 0x66, 0xcc, 0x99 ],\n  [ 0x99, 0xff, 0x99 ],\n  [ 0xcc, 0xff, 0x99 ],\n  [ 0xff, 0xff, 0x99 ],\n  [ 0x00, 0x00, 0xcc ],\n  [ 0x33, 0x00, 0x99 ],\n  [ 0x66, 0x00, 0xcc ],\n  [ 0x99, 0x00, 0xcc ],\n  [ 0xcc, 0x00, 0xcc ],\n  [ 0x00, 0x33, 0x99 ],\n  [ 0x33, 0x33, 0xcc ],\n  [ 0x66, 0x33, 0xcc ],\n  [ 0x99, 0x33, 0xcc ],\n  [ 0xcc, 0x33, 0xcc ],\n  [ 0xff, 0x33, 0xcc ],\n  [ 0x00, 0x66, 0xcc ],\n  [ 0x33, 0x66, 0xcc ],\n  [ 0x66, 0x66, 0x99 ],\n  [ 0x99, 0x66, 0xcc ],\n  [ 0xcc, 0x66, 0xcc ],\n  [ 0xff, 0x66, 0x99 ],\n  [ 0x00, 0x99, 0xcc ],\n  [ 0x33, 0x99, 0xcc ],\n  [ 0x66, 0x99, 0xcc ],\n  [ 0x99, 0x99, 0xcc ],\n  [ 0xcc, 0x99, 0xcc ],\n  [ 0xff, 0x99, 0xcc ],\n  [ 0x00, 0xcc, 0xcc ],\n  [ 0x33, 0xcc, 0xcc ],\n  [ 0x66, 0xcc, 0xcc ],\n  [ 0x99, 0xcc, 0xcc ],\n  [ 0xcc, 0xcc, 0xcc ],\n  [ 0xff, 0xcc, 0xcc ],\n  [ 0x00, 0xff, 0xcc ],\n  [ 0x33, 0xff, 0xcc ],\n  [ 0x66, 0xff, 0x99 ],\n  [ 0x99, 0xff, 0xcc ],\n  [ 0xcc, 0xff, 0xcc ],\n  [ 0xff, 0xff, 0xcc ],\n  [ 0x33, 0x00, 0xcc ],\n  [ 0x66, 0x00, 0xff ],\n  [ 0x99, 0x00, 0xff ],\n  [ 0x00, 0x33, 0xcc ],\n  [ 0x33, 0x33, 0xff ],\n  [ 0x66, 0x33, 0xff ],\n  [ 0x99, 0x33, 0xff ],\n  [ 0xcc, 0x33, 0xff ],\n  [ 0xff, 0x33, 0xff ],\n  [ 0x00, 0x66, 0xff ],\n  [ 0x33, 0x66, 0xff ],\n  [ 0x66, 0x66, 0xcc ],\n  [ 0x99, 0x66, 0xff ],\n  [ 0xcc, 0x66, 0xff ],\n  [ 0xff, 0x66, 0xcc ],\n  [ 0x00, 0x99, 0xff ],\n  [ 0x33, 0x99, 0xff ],\n  [ 0x66, 0x99, 0xff ],\n  [ 0x99, 0x99, 0xff ],\n  [ 0xcc, 0x99, 0xff ],\n  [ 0xff, 0x99, 0xff ],\n  [ 0x00, 0xcc, 0xff ],\n  [ 0x33, 0xcc, 0xff ],\n  [ 0x66, 0xcc, 0xff ],\n  [ 0x99, 0xcc, 0xff ],\n  [ 0xcc, 0xcc, 0xff ],\n  [ 0xff, 0xcc, 0xff ],\n  [ 0x33, 0xff, 0xff ],\n  [ 0x66, 0xff, 0xcc ],\n  [ 0x99, 0xff, 0xff ],\n  [ 0xcc, 0xff, 0xff ],\n  [ 0xff, 0x66, 0x66 ],\n  [ 0x66, 0xff, 0x66 ],\n  [ 0xff, 0xff, 0x66 ],\n  [ 0x66, 0x66, 0xff ],\n  [ 0xff, 0x66, 0xff ],\n  [ 0x66, 0xff, 0xff ],\n  [ 0xA5, 0x00, 0x21 ],\n  [ 0x5f, 0x5f, 0x5f ],\n  [ 0x77, 0x77, 0x77 ],\n  [ 0x86, 0x86, 0x86 ],\n  [ 0x96, 0x96, 0x96 ],\n  [ 0xcb, 0xcb, 0xcb ],\n  [ 0xb2, 0xb2, 0xb2 ],\n  [ 0xd7, 0xd7, 0xd7 ],\n  [ 0xdd, 0xdd, 0xdd ],\n  [ 0xe3, 0xe3, 0xe3 ],\n  [ 0xea, 0xea, 0xea ],\n  [ 0xf1, 0xf1, 0xf1 ],\n  [ 0xf8, 0xf8, 0xf8 ],\n  [ 0xff, 0xfb, 0xf0 ],\n  [ 0xa0, 0xa0, 0xa4 ],\n  [ 0x80, 0x80, 0x80 ],\n  [ 0xff, 0x00, 0x00 ],\n  [ 0x00, 0xff, 0x00 ],\n  [ 0xff, 0xff, 0x00 ],\n  [ 0x00, 0x00, 0xff ],\n  [ 0xff, 0x00, 0xff ],\n  [ 0x00, 0xff, 0xff ],\n  [ 0xff, 0xff, 0xff ],\n];\n"
  },
  {
    "path": "lib/x.d.ts",
    "content": "type Color = { r: number, g: number, b: number };\ntype Callback = (err: Error | undefined, colors: Color[]) => void;\n\ndeclare function octree(file: string, maxColors: number, callback?: Callback, frameNumber?: number): void;\ndeclare function octree(file: string, callback?: Callback, frameNumber?: number): void;\n\ndeclare function minDiff(file: string, palette: Color[], callback?: Callback, frameNumber?: number): void;\ndeclare function minDiff(file: string, callback?: Callback, frameNumber?: number): void;\n\ndeclare function mixed(file: string, firstStepMaxColors: number, palette: Color[], callback?: Callback, frameNumber?: number): void;\ndeclare function mixed(file: string, firstStepMaxColors: number, callback?: Callback, frameNumber?: number): void;\ndeclare function mixed(file: string, palette: Color[], callback?: Callback, frameNumber?: number): void;\ndeclare function mixed(file: string, callback?: Callback, frameNumber?: number): void;\n\nexport = {\n  octree,\n  minDiff,\n  mixed,\n\n  octreeGet: octree,\n  minDiffGet: mindiff,\n  mixedGet: mixed,\n};\n"
  },
  {
    "path": "lib/x.js",
    "content": "/**\n *\n *    ▄▄▄▄▀ ▄  █ █▀▄▀█ ▄█▄    █    █▄▄▄▄     ▄            ,ae,\n * ▀▀▀ █   █   █ █ █ █ █▀ ▀▄  █    █  ▄▀ ▀▄   █          ,88888e\n *     █   ██▀▀█ █ ▄ █ █   ▀  █    █▀▀▌    █ ▀    ,a888b.9888888i\n *    █    █   █ █   █ █▄  ▄▀ ███▄ █  █   ▄ █     888888888888888\n *   ▀        █     █  ▀███▀      ▀  █   █   ▀▄   88888888888888Y\n *           ▀     ▀                ▀     ▀       '8888888888888'\n *                                                  'S888888888'\n *                                                    '7888888Y\n * ThmclrX - A theme color extractor module for Node.js. 'e88j\n *                                                         'Y\n * Copyright (c) 2022 XadillaX <i@2333.moe>\n *\n * MIT LIcense <https://github.com/XadillaX/thmclrx/blob/master/LICENSE>\n */\n'use strict';\n\nconst pixel = require('pixel-getter');\n\nconst _defaultPalette = require('./default_palette');\nconst cpp = require('../build/Release/thmclrx.node');\n\nconst emptyCallback = () => {};\nconst defaultPalette = _defaultPalette.map(palette => ({\n  r: palette[0],\n  g: palette[1],\n  b: palette[2],\n}));\n\n/**\n * Get theme color by octree algorithm.\n * @param {string} file The uri of a file.\n * @param {number} [maxColors] The max color count of the result should return.\n * @param {(err: Error | undefined, colors?: { r: number, g: number, b: number }[]) => void} [callback] The callback function\n * @param {number} [frameNumber] The frame number if it's a GIF.\n */\nexports.octree = function(file, maxColors, callback, frameNumber) {\n  if (typeof callback === 'number') {\n    frameNumber = callback;\n    callback = undefined;\n  }\n\n  if (typeof maxColors === 'function') {\n    callback = maxColors;\n    maxColors = undefined;\n  }\n\n  if (undefined === frameNumber) frameNumber = 0;\n  if (undefined === callback) callback = emptyCallback;\n  if (undefined === maxColors) maxColors = 256;\n\n  pixel.get(file, (err, pixels) => {\n    if (err) {\n      return callback(err);\n    }\n\n    let result;\n    try {\n      result = cpp.getByOctree(pixels[frameNumber], maxColors);\n      pixels = undefined;\n    } catch (e) {\n      return callback(e);\n    }\n\n    callback(undefined, result);\n  });\n};\n\n/**\n * Get theme color by mindiff algorithm.\n * @param {string} file The uri of a file.\n * @param {{ r: number, g: number, b: number }[]} [palette] The palette array.\n * @param {(err: Error | undefined, colors?: { r: number, g: number, b: number }[]) => void} [callback] The callback function.\n * @param {number} [frameNumber] The frame number if it's a GIF.\n */\nexports.minDiff = function(file, palette, callback, frameNumber) {\n  if (typeof callback === 'number') {\n    frameNumber = callback;\n    callback = undefined;\n  }\n\n  if (typeof palette === 'function') {\n    callback = palette;\n    palette = undefined;\n  }\n\n  if (undefined === frameNumber) frameNumber = 0;\n  if (undefined === callback) callback = emptyCallback;\n  if (undefined === palette) palette = defaultPalette;\n\n  pixel.get(file, (err, pixels) => {\n    if (err) {\n      return callback(err);\n    }\n\n    let result;\n    try {\n      result = cpp.getByMinDiff(pixels[frameNumber], palette);\n      pixels = undefined;\n    } catch (e) {\n      return callback(e);\n    }\n\n    callback(undefined, result);\n  });\n};\n\n/**\n * Get theme color by mixed algorithm.\n * @param {string} file The uri of a file.\n * @param {number} [firstStepMaxColors] The max colors should return.\n * @param {{ r: number, g: number, b: number }[]} [palette] The palette array.\n * @param {(err: Error | undefined, colors?: { r: number, g: number, b: number }[]) => void} [callback] The callback function.\n * @param {number} [frameNumber] The frame number if it's a GIF.\n */\nexports.mixed = function(file, firstStepMaxColors, palette, callback, frameNumber) {\n  if (typeof callback === 'number') {\n    frameNumber = callback;\n    callback = undefined;\n  }\n\n  if (typeof palette === 'number') {\n    frameNumber = palette;\n    palette = undefined;\n  }\n\n  if (typeof palette === 'function') {\n    callback = palette;\n    palette = undefined;\n  }\n\n  if (typeof firstStepMaxColors === 'function') {\n    callback = firstStepMaxColors;\n    firstStepMaxColors = undefined;\n  }\n\n  if (typeof firstStepMaxColors === 'object') {\n    palette = firstStepMaxColors;\n    firstStepMaxColors = undefined;\n  }\n\n  if (undefined === firstStepMaxColors) firstStepMaxColors = 256;\n  if (undefined === palette) palette = defaultPalette;\n  if (undefined === callback) callback = emptyCallback;\n  if (undefined === frameNumber) frameNumber = 0;\n\n  pixel.get(file, (err, pixels) => {\n    if (err) {\n      return callback(err);\n    }\n\n    let result;\n    try {\n      result = cpp.getByMixed(pixels[frameNumber], firstStepMaxColors, palette);\n    } catch (e) {\n      return callback(e);\n    }\n\n    callback(undefined, result);\n  });\n};\n\n// adapt for 0.*\nexports.octreeGet = exports.octree;\nexports.mindiffGet = exports.minDiff;\nexports.mixGet = exports.mixed;\n"
  },
  {
    "path": "package.json",
    "content": "{\n  \"name\": \"thmclrx\",\n  \"version\": \"2.0.3\",\n  \"description\": \"A theme color extractor module for Node.js.\",\n  \"main\": \"index.js\",\n  \"typings\": \"index.d.ts\",\n  \"dependencies\": {\n    \"nan\": \"^2.15.0\",\n    \"pixel-getter\": \"^0.0.5\"\n  },\n  \"devDependencies\": {\n    \"@artus/tsconfig\": \"^0.0.1\",\n    \"@types/node\": \"^17.0.21\",\n    \"clang-format\": \"^1.6.0\",\n    \"eslint\": \"^8.11.0\",\n    \"eslint-config-egg\": \"^11.0.1\"\n  },\n  \"scripts\": {\n    \"clang-format\": \"./tools/clang_format.js --style=file -i ./src/*.cc ./src/*.h\",\n    \"cpplint\": \"./deps/cpplint/cpplint.py src/*.*\",\n    \"generate_compile_commands\": \"node-gyp -- configure -f=gyp.generator.compile_commands_json.py && mv Release/compile_commands.json compile_commands.json && rm -rf Release && rm -rf Debug\",\n    \"install\": \"node-gyp rebuild\",\n    \"postinstall\": \"rm -f package-lock.json\",\n    \"test\": \"node test/test.js\"\n  },\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/XadillaX/thmclrx.git\"\n  },\n  \"keywords\": [\n    \"theme color\",\n    \"color\",\n    \"image\",\n    \"jpg\",\n    \"png\",\n    \"gif\",\n    \"octree\",\n    \"extractor\",\n    \"color extractor\",\n    \"pixel\"\n  ],\n  \"files\": [\n    \"deps/byakuren\",\n    \"!deps/byakuren/third-party/xmempool/tools\",\n    \"!deps/byakuren/.git\",\n    \"lib\",\n    \"src\",\n    \"binding.gyp\",\n    \"index.d.ts\",\n    \"index.js\",\n    \"logo.svg\",\n    \"tsconfig.json\"\n  ],\n  \"author\": \"XadillaX <i@2333.moe>\",\n  \"license\": \"MIT\",\n  \"gypfile\": true,\n  \"bugs\": {\n    \"url\": \"https://github.com/XadillaX/thmclrx/issues\"\n  },\n  \"homepage\": \"https://github.com/XadillaX/thmclrx\"\n}\n"
  },
  {
    "path": "src/common.cc",
    "content": "/**\n *\n *    ▄▄▄▄▀ ▄  █ █▀▄▀█ ▄█▄    █    █▄▄▄▄     ▄            ,ae,\n * ▀▀▀ █   █   █ █ █ █ █▀ ▀▄  █    █  ▄▀ ▀▄   █          ,88888e\n *     █   ██▀▀█ █ ▄ █ █   ▀  █    █▀▀▌    █ ▀    ,a888b.9888888i\n *    █    █   █ █   █ █▄  ▄▀ ███▄ █  █   ▄ █     888888888888888\n *   ▀        █     █  ▀███▀      ▀  █   █   ▀▄   88888888888888Y\n *           ▀     ▀                ▀     ▀       '8888888888888'\n *                                                  \"S888888888\"\n *                                                    \"7888888Y\n * ThmclrX - A theme color extractor module for Node.js. \"e88j\n *                                                         \"Y\n * Copyright (c) 2022 XadillaX <i@2333.moe>\n *\n * MIT LIcense <https://github.com/XadillaX/thmclrx/blob/master/LICENSE>\n */\n#include \"common.h\"\n#include <nan.h>\n#include <stdlib.h>\n#include <string.h>\n\nnamespace __thmclrx__ {\n\nusing Nan::HandleScope;\nusing v8::Array;\nusing v8::Persistent;\nusing v8::Local;\nusing v8::Object;\nusing v8::String;\nusing v8::Uint32;\nusing v8::Value;\n\nconst size_t kColorStringLength = 6;\nconst Palette kDefaultPalette(256, _default_palette.colors);\n\nPersistent<String> kRedKey;\nPersistent<String> kGreenKey;\nPersistent<String> kBlueKey;\n\n#define COLOR_KEY(key, camel_key, value)                                       \\\n  inline Local<String> key##_key() {                                           \\\n    if (k##camel_key##Key.IsEmpty()) {                                         \\\n      Local<String> value = Nan::New<String>(#value).ToLocalChecked();         \\\n      k##camel_key##Key.Reset(Nan::GetCurrentContext()->GetIsolate(), value);  \\\n      return value;                                                            \\\n    }                                                                          \\\n                                                                               \\\n    return Local<String>::New(Nan::GetCurrentContext()->GetIsolate(),          \\\n                              k##camel_key##Key);                              \\\n  }\n\nCOLOR_KEY(red, Red, r);\nCOLOR_KEY(green, Green, g);\nCOLOR_KEY(blue, Blue, b);\n\nvoid RGB::ColorString(char* str) {\n  snprintf(str,\n           sizeof(char) * (kColorStringLength + 1),\n           \"%.2X%.2X%.2X\",\n           this->red,\n           this->green,\n           this->blue);\n}\n\nPalette::Palette(size_t count, bkr_rgb* colors) {\n  this->count = count;\n  this->colors = colors;\n}\n\nconst Palette* Palette::GetDefaultPalette() {\n  return &kDefaultPalette;\n}\n\nvoid Palette::CreateFromV8(Local<Value> value, Palette* palette) {\n  HandleScope scope;\n\n  if (!value->IsArray()) {\n    memcpy(palette, &kDefaultPalette, sizeof(Palette));\n    return;\n  }\n\n  Local<Array> array = value.As<Array>();\n  RGB* rgb_array = new RGB[array->Length()];\n\n  size_t array_length = array->Length();\n  for (size_t i = 0; i < array_length; i++) {\n    Local<Value> value = Nan::Get(array, i).ToLocalChecked();\n    if (!value->IsObject()) {\n      delete[] rgb_array;\n      memcpy(palette, &kDefaultPalette, sizeof(Palette));\n      return;\n    }\n\n    Local<Object> object = Nan::To<Object>(value).ToLocalChecked();\n    Local<Value> r = Nan::Get(object, red_key()).ToLocalChecked();\n    Local<Value> g = Nan::Get(object, green_key()).ToLocalChecked();\n    Local<Value> b = Nan::Get(object, blue_key()).ToLocalChecked();\n\n    if (!r->IsUint32() || !g->IsUint32() || !b->IsUint32()) {\n      delete[] rgb_array;\n      memcpy(palette, &kDefaultPalette, sizeof(Palette));\n      return;\n    }\n\n    rgb_array[i].red = static_cast<unsigned char>(\n        Nan::To<Uint32>(r).ToLocalChecked()->Value());\n    rgb_array[i].green = static_cast<unsigned char>(\n        Nan::To<Uint32>(g).ToLocalChecked()->Value());\n    rgb_array[i].blue = static_cast<unsigned char>(\n        Nan::To<Uint32>(b).ToLocalChecked()->Value());\n  }\n\n  palette->count = array->Length();\n  palette->colors = rgb_array;\n}\n\nvoid Palette::SafeDestroyInner(Palette* palette) {\n  if (palette->colors != nullptr && palette->colors != kDefaultPalette.colors) {\n    delete[] palette->colors;\n  }\n\n  palette->colors = nullptr;\n  palette->count = 0;\n}\n\nbool PicturePixels::CreateFromV8(Local<v8::Value> value,\n                                 PicturePixels* pixels) {\n  HandleScope scope;\n\n  if (!value->IsArray()) {\n    return false;\n  }\n\n  Local<Array> array = value.As<Array>();\n  RGB* rgb_array = new RGB[array->Length()];\n\n  size_t array_length = array->Length();\n  for (size_t i = 0; i < array_length; i++) {\n    Local<Value> value = Nan::Get(array, i).ToLocalChecked();\n    if (!value->IsObject()) {\n      delete[] rgb_array;\n      return false;\n    }\n\n    v8::Local<v8::Object> object = Nan::To<Object>(value).ToLocalChecked();\n    v8::Local<v8::Value> r = Nan::Get(object, red_key()).ToLocalChecked();\n    v8::Local<v8::Value> g = Nan::Get(object, green_key()).ToLocalChecked();\n    v8::Local<v8::Value> b = Nan::Get(object, blue_key()).ToLocalChecked();\n\n    if (!r->IsUint32() || !g->IsUint32() || !b->IsUint32()) {\n      delete[] rgb_array;\n      return false;\n    }\n\n    rgb_array[i].red = static_cast<unsigned char>(\n        Nan::To<Uint32>(r).ToLocalChecked()->Value());\n    rgb_array[i].green = static_cast<unsigned char>(\n        Nan::To<Uint32>(g).ToLocalChecked()->Value());\n    rgb_array[i].blue = static_cast<unsigned char>(\n        Nan::To<Uint32>(b).ToLocalChecked()->Value());\n  }\n\n  pixels->count = array->Length();\n  pixels->colors = rgb_array;\n\n  return true;\n}\n\nvoid PicturePixels::SafeDestroyInner(PicturePixels* pixels) {\n  if (pixels->colors != nullptr) {\n    delete[] pixels->colors;\n  }\n\n  pixels->colors = nullptr;\n  pixels->count = 0;\n}\n\nLocal<Array> StatsToV8(bkr_color_stats stats[], size_t count) {\n  HandleScope scope;\n\n  v8::Local<v8::Array> ret = Nan::New<Array>(count);\n  v8::Local<v8::String> color_key = Nan::New(\"color\").ToLocalChecked();\n  v8::Local<v8::String> count_key = Nan::New(\"count\").ToLocalChecked();\n\n  v8::Local<v8::Object> obj;\n  char exported_color[7];\n  for (size_t i = 0; i < count; i++) {\n    obj = Nan::New<v8::Object>();\n    (reinterpret_cast<RGB*>(&stats[i].color))->ColorString(exported_color);\n    Nan::Set(obj, color_key, Nan::New(exported_color).ToLocalChecked());\n    Nan::Set(obj, count_key, Nan::New(stats[i].count));\n    Nan::Set(ret, i, obj);\n  }\n\n  return ret;\n}\n\n}  // namespace __thmclrx__\n"
  },
  {
    "path": "src/common.h",
    "content": "/**\n *\n *    ▄▄▄▄▀ ▄  █ █▀▄▀█ ▄█▄    █    █▄▄▄▄     ▄            ,ae,\n * ▀▀▀ █   █   █ █ █ █ █▀ ▀▄  █    █  ▄▀ ▀▄   █          ,88888e\n *     █   ██▀▀█ █ ▄ █ █   ▀  █    █▀▀▌    █ ▀    ,a888b.9888888i\n *    █    █   █ █   █ █▄  ▄▀ ███▄ █  █   ▄ █     888888888888888\n *   ▀        █     █  ▀███▀      ▀  █   █   ▀▄   88888888888888Y\n *           ▀     ▀                ▀     ▀       '8888888888888'\n *                                                  \"S888888888\"\n *                                                    \"7888888Y\n * ThmclrX - A theme color extractor module for Node.js. \"e88j\n *                                                         \"Y\n * Copyright (c) 2022 XadillaX <i@2333.moe>\n *\n * MIT LIcense <https://github.com/XadillaX/thmclrx/blob/master/LICENSE>\n */\n#ifndef SRC_COMMON_H_\n#define SRC_COMMON_H_\n\n#include <byakuren/byakuren.h>\n#include <v8.h>\n#include <string>\n\nnamespace __thmclrx__ {\n\ntypedef struct RGB : bkr_rgb {\n  void ColorString(char* str);\n} RGB;\n\ntypedef struct Palette : bkr_palette_array {\n  Palette(size_t count, bkr_rgb* colors);\n\n  // for some functions of V8\n  static const Palette* GetDefaultPalette();\n  static void CreateFromV8(v8::Local<v8::Value> value, Palette* palette);\n  static void SafeDestroyInner(Palette* palette);\n} Palette;\n\ntypedef struct PicturePixels {\n  RGB* colors;\n  size_t count;\n\n  // for some functions of V8\n  static bool CreateFromV8(v8::Local<v8::Value> value, PicturePixels* pixels);\n  static void SafeDestroyInner(PicturePixels* pixels);\n} PicturePixels;\n\nv8::Local<v8::Array> StatsToV8(bkr_color_stats stats[], size_t count);\n\n}  // namespace __thmclrx__\n\n#endif  // SRC_COMMON_H_\n"
  },
  {
    "path": "src/thmclrx.cc",
    "content": "/**\n *\n *    ▄▄▄▄▀ ▄  █ █▀▄▀█ ▄█▄    █    █▄▄▄▄     ▄            ,ae,\n * ▀▀▀ █   █   █ █ █ █ █▀ ▀▄  █    █  ▄▀ ▀▄   █          ,88888e\n *     █   ██▀▀█ █ ▄ █ █   ▀  █    █▀▀▌    █ ▀    ,a888b.9888888i\n *    █    █   █ █   █ █▄  ▄▀ ███▄ █  █   ▄ █     888888888888888\n *   ▀        █     █  ▀███▀      ▀  █   █   ▀▄   88888888888888Y\n *           ▀     ▀                ▀     ▀       '8888888888888'\n *                                                  \"S888888888\"\n *                                                    \"7888888Y\n * ThmclrX - A theme color extractor module for Node.js. \"e88j\n *                                                         \"Y\n * Copyright (c) 2022 XadillaX <i@2333.moe>\n *\n * MIT LIcense <https://github.com/XadillaX/thmclrx/blob/master/LICENSE>\n */\n#include <byakuren/byakuren.h>\n#include <nan.h>\n#include \"common.h\"\n\nnamespace __thmclrx__ {\n\nusing v8::Array;\nusing v8::Context;\nusing v8::Local;\nusing v8::Uint32;\n\nNAN_METHOD(GetByOctree) {\n  if (info.Length() < 1) {\n    return Nan::ThrowError(\"Wrong number of arguments.\");\n  }\n\n  if (!info[0]->IsArray()) {\n    return Nan::ThrowTypeError(\"The argument should be an array.\");\n  }\n\n  Local<Array> rgb_array = info[0].As<Array>();\n  PicturePixels pixels;\n  if (!PicturePixels::CreateFromV8(rgb_array, &pixels)) {\n    return Nan::ThrowTypeError(\"Failed to recognize pixels.\");\n  }\n\n  size_t max_color = 256;\n  if (info.Length() > 1 && info[1]->IsUint32()) {\n    max_color = Nan::To<Uint32>(info[1]).ToLocalChecked()->Value();\n  }\n\n  bkr_octree_node* root =\n      bkr_build_octree(pixels.colors, pixels.count, max_color);\n  bkr_color_stats* stats = reinterpret_cast<bkr_color_stats*>(\n      malloc(sizeof(bkr_color_stats) * max_color));\n  size_t color_count = bkr_octree_calculate_color_stats(root, stats);\n\n  bkr_release_octree(root);\n  PicturePixels::SafeDestroyInner(&pixels);\n\n  info.GetReturnValue().Set(StatsToV8(stats, color_count));\n  free(stats);\n}\n\nNAN_METHOD(GetByMinDiff) {\n  if (info.Length() < 1) {\n    return Nan::ThrowError(\"Wrong number of arguments.\");\n  }\n\n  if (!info[0]->IsArray()) {\n    return Nan::ThrowTypeError(\"The argument should be an array.\");\n  }\n\n  Local<Array> rgb_array = info[0].As<Array>();\n  PicturePixels pixels;\n  if (!PicturePixels::CreateFromV8(rgb_array, &pixels)) {\n    return Nan::ThrowTypeError(\"Failed to recognize pixels.\");\n  }\n\n  Palette palette(0, nullptr);\n  if (info.Length() != 1) {\n    Palette::CreateFromV8(info[1], &palette);\n  } else {\n    palette = *Palette::GetDefaultPalette();\n  }\n\n  bkr_color_stats* stats = reinterpret_cast<bkr_color_stats*>(\n      malloc(sizeof(bkr_color_stats) * palette.count));\n  bkr_mindiff_parameter param;\n  param.gray_offset = 5;\n  param.palette = &palette;\n\n  size_t color_count = bkr_mindiff_calculate_color_stats(\n      pixels.colors, pixels.count, stats, &param);\n\n  PicturePixels::SafeDestroyInner(&pixels);\n  Palette::SafeDestroyInner(&palette);\n\n  info.GetReturnValue().Set(StatsToV8(stats, color_count));\n  free(stats);\n}\n\nNAN_METHOD(GetByMixed) {\n  if (info.Length() < 1) {\n    return Nan::ThrowError(\"Wrong number of arguments.\");\n  }\n\n  if (!info[0]->IsArray()) {\n    return Nan::ThrowTypeError(\"The argument should be an array.\");\n  }\n\n  Local<Array> rgb_array = info[0].As<Array>();\n  PicturePixels pixels;\n  if (!PicturePixels::CreateFromV8(rgb_array, &pixels)) {\n    return Nan::ThrowTypeError(\"Failed to recognize pixels.\");\n  }\n\n  size_t max_color = 256;\n  if (info.Length() > 1 && info[1]->IsUint32()) {\n    max_color = Nan::To<Uint32>(info[1]).ToLocalChecked()->Value();\n  }\n\n  Palette palette(0, nullptr);\n  if (info.Length() >= 3) {\n    Palette::CreateFromV8(info[2], &palette);\n  } else {\n    palette = *Palette::GetDefaultPalette();\n  }\n\n  bkr_color_stats* stats = reinterpret_cast<bkr_color_stats*>(\n      malloc(sizeof(bkr_color_stats) * palette.count));\n  bkr_mindiff_parameter param;\n  param.gray_offset = 5;\n  param.palette = &palette;\n\n  size_t color_count = bkr_mix_calculate_color_stats(\n      pixels.colors, pixels.count, max_color, &param, stats);\n\n  PicturePixels::SafeDestroyInner(&pixels);\n  Palette::SafeDestroyInner(&palette);\n\n  info.GetReturnValue().Set(StatsToV8(stats, color_count));\n  free(stats);\n}\n\nNAN_MODULE_INIT(Init) {\n  bkr_init();\n  Local<Context> context = target->GetIsolate()->GetCurrentContext();\n\n  // Set the function of\n  //   \"Getting by octree\"\n  Nan::Set(target,\n           Nan::New(\"getByOctree\").ToLocalChecked(),\n           Nan::New<v8::FunctionTemplate>(GetByOctree)\n               ->GetFunction(context)\n               .ToLocalChecked());\n\n  // Set the function of\n  //   \"Getting by mindiff\"\n  Nan::Set(target,\n           Nan::New(\"getByMinDiff\").ToLocalChecked(),\n           Nan::New<v8::FunctionTemplate>(GetByMinDiff)\n               ->GetFunction(context)\n               .ToLocalChecked());\n\n  // Set the function of\n  //   \"Getting by mixed\"\n  Nan::Set(target,\n           Nan::New(\"getByMixed\").ToLocalChecked(),\n           Nan::New<v8::FunctionTemplate>(GetByMixed)\n               ->GetFunction(context)\n               .ToLocalChecked());\n}\n\n}  // namespace __thmclrx__\n\nNODE_MODULE(thmclrx, __thmclrx__::Init);\n"
  },
  {
    "path": "test/test.js",
    "content": "/**\n *\n *    ▄▄▄▄▀ ▄  █ █▀▄▀█ ▄█▄    █    █▄▄▄▄     ▄            ,ae,\n * ▀▀▀ █   █   █ █ █ █ █▀ ▀▄  █    █  ▄▀ ▀▄   █          ,88888e\n *     █   ██▀▀█ █ ▄ █ █   ▀  █    █▀▀▌    █ ▀    ,a888b.9888888i\n *    █    █   █ █   █ █▄  ▄▀ ███▄ █  █   ▄ █     888888888888888\n *   ▀        █     █  ▀███▀      ▀  █   █   ▀▄   88888888888888Y\n *           ▀     ▀                ▀     ▀       '8888888888888'\n *                                                  \"S888888888\"\n *                                                    \"7888888Y\n * ThmclrX - A theme color extractor module for Node.js. \"e88j\n *                                                         \"Y\n * Copyright (c) 2022 XadillaX <i@2333.moe>\n *\n * MIT LIcense <https://github.com/XadillaX/thmclrx/blob/master/LICENSE>\n */\n'use strict';\n\nconst fs = require('fs');\nconst path = require('path');\n\nconst thmclrx = require('../');\n\nfunction genCallback(id) {\n  return (err, result) => {\n    if (err) {\n      return console.log(err.message);\n    }\n\n    let string = '';\n    for (let i = 0; i < result.length; i++) {\n      string +=\n        `<div\n           style=\"width: 50px; height: 21px; float: left; margin-right: 5px;\n                  margin-bottom: 5px; background: #${result[i].color};\n                  color: #fff; font-size: 12px; text-align: center;\n                  padding-top: 9px;\"\n         >\n           ${result[i].count}\n         </div>`;\n    }\n\n    fs.writeFileSync(`test${id}.html`, string, 'utf8');\n    console.log(`done ${id}.`);\n  };\n}\n\nthmclrx.octreeGet(path.join(__dirname, 'pic.jpg'), 32, genCallback(1));\nthmclrx.mindiffGet(path.join(__dirname, '/pic.jpg'), genCallback(2));\nthmclrx.mixGet(\n  'http://img.hb.aicdn.com/a4bdcf094ff649f7df75ec2bb7c3f3bba5ad53631e9f42-CHoVqn_fw658',\n  32,\n  genCallback(3));\n"
  },
  {
    "path": "tools/clang_format.js",
    "content": "#!/usr/bin/env node\n'use strict';\n\nconst cp = require('child_process');\n\nconst bin = require.resolve('clang-format/index');\nconst args = process.argv.slice(2);\n\ncp.execFileSync(bin, args);\n"
  },
  {
    "path": "tsconfig.json",
    "content": "{\n  \"extends\": \"@artus/tsconfig\",\n  \"exclude\": [\n    \"lib\",\n    \"test\"\n  ]\n}\n"
  }
]