[clang-tools-extra] r368602 - [clang-doc] Generate HTML links for children namespaces/records

2019-08-12 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Mon Aug 12 11:42:46 2019 New Revision: 368602 URL: http://llvm.org/viewvc/llvm-project?rev=368602&view=rev Log: [clang-doc] Generate HTML links for children namespaces/records Path is now stored in the references to the child while serializing, then this path is used

[clang-tools-extra] r368912 - [clang-doc] Add missing check in tests

2019-08-14 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Wed Aug 14 13:19:33 2019 New Revision: 368912 URL: http://llvm.org/viewvc/llvm-project?rev=368912&view=rev Log: [clang-doc] Add missing check in tests Path is now checked when comparing two Infos in the unit tests. Differential Revision: https://reviews.llvm.org/D66

[clang-tools-extra] r369063 - [clang-doc] Fix bitcode writer for access specifiers

2019-08-15 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Thu Aug 15 16:04:27 2019 New Revision: 369063 URL: http://llvm.org/viewvc/llvm-project?rev=369063&view=rev Log: [clang-doc] Fix bitcode writer for access specifiers Bitcode writer was not emitting the corresponding record for the Access attribute of a FunctionInfo.

[clang-tools-extra] r369065 - [clang-doc] Fix use of source-root flag

2019-08-15 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Thu Aug 15 16:20:42 2019 New Revision: 369065 URL: http://llvm.org/viewvc/llvm-project?rev=369065&view=rev Log: [clang-doc] Fix use of source-root flag The value, if any, of --source-root flag was not being used. This has been fixed and the logic was moved to the Cla

[clang-tools-extra] r369068 - [clang-doc] Sort index elements case insensitive

2019-08-15 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Thu Aug 15 16:32:12 2019 New Revision: 369068 URL: http://llvm.org/viewvc/llvm-project?rev=369068&view=rev Log: [clang-doc] Sort index elements case insensitive Implement logic to compare the references of the index case insensitive. Differential revision: https://r

[clang-tools-extra] r369075 - [clang-doc] Serialize inherited attributes and methods

2019-08-15 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Thu Aug 15 17:10:49 2019 New Revision: 369075 URL: http://llvm.org/viewvc/llvm-project?rev=369075&view=rev Log: [clang-doc] Serialize inherited attributes and methods clang-doc now serializes the inherited attributes and methods, not only the name of the base class.

[clang-tools-extra] r369123 - [clang-doc] Fix records in global namespace

2019-08-16 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Fri Aug 16 09:10:32 2019 New Revision: 369123 URL: http://llvm.org/viewvc/llvm-project?rev=369123&view=rev Log: [clang-doc] Fix records in global namespace When a Record is declared in the global namespace, clang-doc serializes it as a child of the global namespace,

[clang-tools-extra] r369139 - [clang-doc] Redesign of generated HTML files

2019-08-16 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Fri Aug 16 11:38:11 2019 New Revision: 369139 URL: http://llvm.org/viewvc/llvm-project?rev=369139&view=rev Log: [clang-doc] Redesign of generated HTML files The new design includes a header (contains the project name), a main section, and a footer. The main section

[clang-tools-extra] r369182 - [clang-doc] Fix casting not working in gcc 5.4.0

2019-08-16 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Fri Aug 16 18:45:03 2019 New Revision: 369182 URL: http://llvm.org/viewvc/llvm-project?rev=369182&view=rev Log: [clang-doc] Fix casting not working in gcc 5.4.0 An implicit cast of std::string to llvm::SmallString<> was breaking GCC 5.4.0 builder. A pair using llvm:

[clang-tools-extra] r367045 - [clang-doc] Fix html entities in rendered text

2019-07-25 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Thu Jul 25 13:14:45 2019 New Revision: 367045 URL: http://llvm.org/viewvc/llvm-project?rev=367045&view=rev Log: [clang-doc] Fix html entities in rendered text Replace &, <, >, ", and ' with their corresponding html entities in text rendered by HTML generator. Diffe

[clang-tools-extra] r367050 - [clang-doc] Fix output format of html

2019-07-25 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Thu Jul 25 13:49:00 2019 New Revision: 367050 URL: http://llvm.org/viewvc/llvm-project?rev=367050&view=rev Log: [clang-doc] Fix output format of html The children of a TagNode are rendered in the same line as the parent only if they are all TextNodes. When children

[clang-tools-extra] r367056 - [clang-doc] Add stylesheet to generated html docs

2019-07-25 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Thu Jul 25 14:27:50 2019 New Revision: 367056 URL: http://llvm.org/viewvc/llvm-project?rev=367056&view=rev Log: [clang-doc] Add stylesheet to generated html docs A default css stylesheet is included for docs generated in html format. Differential Revision: https://r

[clang-tools-extra] r367072 - [clang-doc] Add option for user provided stylesheets

2019-07-25 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Thu Jul 25 15:46:40 2019 New Revision: 367072 URL: http://llvm.org/viewvc/llvm-project?rev=367072&view=rev Log: [clang-doc] Add option for user provided stylesheets An option has been added to clang-doc to provide a list of css stylesheets that the user wants to use

[clang-tools-extra] r367074 - [clang-doc] Fix failing tests on Windows

2019-07-25 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Thu Jul 25 16:22:55 2019 New Revision: 367074 URL: http://llvm.org/viewvc/llvm-project?rev=367074&view=rev Log: [clang-doc] Fix failing tests on Windows Tests on Windows were failing due to path separator differences. '/' was being used as separator in the expected o

[clang-tools-extra] r367137 - [clang-format] Fix style of css file paths

2019-07-26 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Fri Jul 26 11:02:42 2019 New Revision: 367137 URL: http://llvm.org/viewvc/llvm-project?rev=367137&view=rev Log: [clang-format] Fix style of css file paths CSS files included in HTML should have a path in posix style, it should not be different for Windows. Different

[clang-tools-extra] r367264 - [clang-doc] Fix failing tests on Windows

2019-07-29 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Mon Jul 29 15:03:39 2019 New Revision: 367264 URL: http://llvm.org/viewvc/llvm-project?rev=367264&view=rev Log: [clang-doc] Fix failing tests on Windows Tests on Windows were failing due to path separator differences. Links in HTML should use posix-style paths. Diff

[clang-tools-extra] r367279 - [clang-doc] Fix expected output in tests

2019-07-29 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Mon Jul 29 17:07:34 2019 New Revision: 367279 URL: http://llvm.org/viewvc/llvm-project?rev=367279&view=rev Log: [clang-doc] Fix expected output in tests Removes conversion of html paths in output. These will always be in posix-style paths. Differential Revision: htt

[clang-tools-extra] r367729 - [clang-doc] Add flag to continue after mapping errors

2019-08-02 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Fri Aug 2 15:02:36 2019 New Revision: 367729 URL: http://llvm.org/viewvc/llvm-project?rev=367729&view=rev Log: [clang-doc] Add flag to continue after mapping errors The tool used to stop execution if there was an error in the mapping phase. It will now show the erro

[clang-tools-extra] r367743 - [clang-doc] Update documentation

2019-08-02 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Fri Aug 2 19:18:06 2019 New Revision: 367743 URL: http://llvm.org/viewvc/llvm-project?rev=367743&view=rev Log: [clang-doc] Update documentation HTML generator has been included in clang-tools-extra release notes. clang-doc documentation file has been updated. Diffe

[clang-tools-extra] r367958 - [clang-doc] Fix link generation

2019-08-05 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Mon Aug 5 17:11:34 2019 New Revision: 367958 URL: http://llvm.org/viewvc/llvm-project?rev=367958&view=rev Log: [clang-doc] Fix link generation Before making a link to a reference it is required to check that the reference has a path (eg. primitives won't have paths)

[clang-tools-extra] r368070 - [clang-doc] Add index in each info html file

2019-08-06 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Tue Aug 6 11:31:46 2019 New Revision: 368070 URL: http://llvm.org/viewvc/llvm-project?rev=368070&view=rev Log: [clang-doc] Add index in each info html file An index structure is created while generating the output file for each info. This structure is parsed to JSON

[clang-tools-extra] r368087 - [clang-doc] Fix paths of js in import tags

2019-08-06 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Tue Aug 6 13:59:14 2019 New Revision: 368087 URL: http://llvm.org/viewvc/llvm-project?rev=368087&view=rev Log: [clang-doc] Fix paths of js in import tags HTML requires posix-style paths. Differential Revision: https://reviews.llvm.org/D65827 Modified: clang-to

r368196 - [Tooling] Expose ExecutorConcurrency option.

2019-08-07 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Wed Aug 7 11:35:28 2019 New Revision: 368196 URL: http://llvm.org/viewvc/llvm-project?rev=368196&view=rev Log: [Tooling] Expose ExecutorConcurrency option. D65628 requires a flag to specify the number of threads for a clang-doc step. It would be good to use Executo

[clang-tools-extra] r368206 - [clang-doc] Parallelize reducing phase

2019-08-07 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Wed Aug 7 13:54:26 2019 New Revision: 368206 URL: http://llvm.org/viewvc/llvm-project?rev=368206&view=rev Log: [clang-doc] Parallelize reducing phase Reduce phase has been parallelized and a execution time was reduced by 60% with this. The reading of bitcode (bitcod

[clang-tools-extra] r368209 - [clang-doc] Add second index for sections within info's content

2019-08-07 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Wed Aug 7 14:04:52 2019 New Revision: 368209 URL: http://llvm.org/viewvc/llvm-project?rev=368209&view=rev Log: [clang-doc] Add second index for sections within info's content This new index contains links to the main section of infos: Namespaces, Records, Functions

[clang-tools-extra] r368313 - [clang-doc] Protect Index with mutex during reducing and generation stage

2019-08-08 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Thu Aug 8 10:14:17 2019 New Revision: 368313 URL: http://llvm.org/viewvc/llvm-project?rev=368313&view=rev Log: [clang-doc] Protect Index with mutex during reducing and generation stage Idx in ClangDocContext instance was being modified by multiple threads causing a

[clang-tools-extra] r368460 - [clang-format] Add link to source code in file definitions

2019-08-09 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Fri Aug 9 10:49:41 2019 New Revision: 368460 URL: http://llvm.org/viewvc/llvm-project?rev=368460&view=rev Log: [clang-format] Add link to source code in file definitions Two command line options have been added to clang-doc. --repository= - URL of repository

[clang-tools-extra] r368484 - [clang-doc] Generate an HTML index file

2019-08-09 Thread Diego Astiazaran via cfe-commits
Author: diegoastiazaran Date: Fri Aug 9 13:52:28 2019 New Revision: 368484 URL: http://llvm.org/viewvc/llvm-project?rev=368484&view=rev Log: [clang-doc] Generate an HTML index file clang-doc now generates a file that contains only an index to all the infos that can be used as the landing page fo