llvm-project/clang-tools-extra/clang-doc
Diego Astiazaran 6a29ae4bde [clang-doc] Fix bitcode writer for access specifiers
Bitcode writer was not emitting the corresponding record for the Access attribute of a FunctionInfo. This has been added.
AS_none was being used as the default value for any AcesssSpecifier attribute
(in FunctionInfo and MemberTypeInfo), this has been changed to AS_public
because this is the enum value that evaluates to 0.
The bitcode writer doesn't write values that are 0 so if an attribute
was set to AS_public, this value is not written and after reading the
bitcode it would have the default value which is AS_none. This is why
the default value is now AS_public.

Differential Revision: https://reviews.llvm.org/D66151

llvm-svn: 369063
2019-08-15 23:04:27 +00:00
..
assets [clang-doc] Add index in each info html file 2019-08-06 18:31:46 +00:00
tool [clang-format] Add link to source code in file definitions 2019-08-09 17:49:41 +00:00
BitcodeReader.cpp [clang-tools-extra] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:52:23 +00:00
BitcodeReader.h [Bitcode] Move Bitstream to a separate library 2019-07-03 22:40:07 +00:00
BitcodeWriter.cpp [clang-doc] Fix bitcode writer for access specifiers 2019-08-15 23:04:27 +00:00
BitcodeWriter.h [clang-doc] Fix link generation 2019-08-06 00:11:34 +00:00
CMakeLists.txt [clang-doc] Add a structured HTML generator 2019-07-10 19:03:25 +00:00
ClangDoc.cpp [clang-tools-extra] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:52:23 +00:00
ClangDoc.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Generators.cpp [clang-doc] Add index in each info html file 2019-08-06 18:31:46 +00:00
Generators.h [clang-doc] Add index in each info html file 2019-08-06 18:31:46 +00:00
HTMLGenerator.cpp [clang-tools-extra] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:52:23 +00:00
MDGenerator.cpp [clang-doc] Add index in each info html file 2019-08-06 18:31:46 +00:00
Mapper.cpp [clang-format] Add link to source code in file definitions 2019-08-09 17:49:41 +00:00
Mapper.h [clang-format] Add link to source code in file definitions 2019-08-09 17:49:41 +00:00
Representation.cpp [clang-tools-extra] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:52:23 +00:00
Representation.h [clang-doc] Fix bitcode writer for access specifiers 2019-08-15 23:04:27 +00:00
Serialize.cpp [clang-doc] Fix bitcode writer for access specifiers 2019-08-15 23:04:27 +00:00
Serialize.h [clang-format] Add link to source code in file definitions 2019-08-09 17:49:41 +00:00
YAMLGenerator.cpp [clang-doc] Fix bitcode writer for access specifiers 2019-08-15 23:04:27 +00:00