commit | aa8b0d19244a6e7e8e5798fcc6aef003c274d3e0 | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Thu Aug 05 06:57:20 2010 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Thu Aug 05 06:57:20 2010 +0000 |
tree | 0e384e8e18332ce359ebd014a89294db615176fa | |
parent | c133e9ea17d61062bcfb3bd6009c300c9a78161f [diff] [blame] |
Implement #pragma GCC visibility. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110315 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Frontend/PCHReaderDecl.cpp b/lib/Frontend/PCHReaderDecl.cpp index 21beb42..7557950 100644 --- a/lib/Frontend/PCHReaderDecl.cpp +++ b/lib/Frontend/PCHReaderDecl.cpp
@@ -1292,7 +1292,8 @@ case attr::Visibility: New = ::new (*Context) VisibilityAttr( - (VisibilityAttr::VisibilityTypes)Record[Idx++]); + (VisibilityAttr::VisibilityTypes)Record[Idx++], + (bool)Record[Idx++]); break; SIMPLE_ATTR(WarnUnusedResult);