<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - With forward-declared enums: Assertion failed: (!isAnnotation() && "getIdentifierInfo() on an annotation token!"), function getIdentifierInfo"
   href="https://llvm.org/bugs/show_bug.cgi?id=27822">27822</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>With forward-declared enums: Assertion failed: (!isAnnotation() && "getIdentifierInfo() on an annotation token!"), function getIdentifierInfo
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Frontend
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>tapted@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Assertion failed: (!isAnnotation() && "getIdentifierInfo() on an annotation
token!"), function getIdentifierInfo, file
/b/build/slave/mac_upload_clang/build/src/third_party/llvm/tools/clang/include/clang/Lex/Token.h,
line 180.
0  clang                    0x000000010843a5eb
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 43
1  clang                    0x00000001084397f6 llvm::sys::RunSignalHandlers() +
70
2  clang                    0x000000010843ae34 abort + 900
3  libsystem_platform.dylib 0x00007fff9763352a _sigtramp + 26
4  clang                    0x000000010abc1ed9 clang::Stmt::StatisticsEnabled +
101837
5  clang                    0x000000010843aabe abort + 14
6  clang                    0x000000010843aaa1 __assert_rtn + 81
7  clang                    0x00000001090486c2
clang::Parser::isConstructorDeclarator(bool) + 2290
8  clang                    0x0000000109097e93
clang::Parser::ParseObjCTypeName(clang::ObjCDeclSpec&,
clang::Declarator::TheContext, clang::ParsedAttributes*) + 419
9  clang                    0x0000000109095770
clang::Parser::ParseObjCMethodDecl(clang::SourceLocation,
clang::tok::TokenKind, clang::tok::ObjCKeywordKind, bool) + 1648
10 clang                    0x0000000109092d17
clang::Parser::ParseObjCInterfaceDeclList(clang::tok::ObjCKeywordKind,
clang::Decl*) + 375
11 clang                    0x000000010908ed13
clang::Parser::ParseObjCAtInterfaceDeclaration(clang::SourceLocation,
clang::ParsedAttributes&) + 3011
12 clang                    0x000000010908da50
clang::Parser::ParseObjCAtDirectives() + 464
13 clang                    0x00000001090d2288
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*) + 520
14 clang                    0x00000001090d1e96
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 374
15 clang                    0x000000010902cdd5 clang::ParseAST(clang::Sema&,
bool, bool) + 501
16 clang                    0x0000000108a1d7a9 clang::FrontendAction::Execute()
+ 73
17 clang                    0x00000001089dfaa1
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 1089
18 clang                    0x0000000108a77eb1
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 4449
19 clang                    0x0000000106fe5b27 cc1_main(llvm::ArrayRef<char
const*>, char const*, void*) + 1223
20 clang                    0x0000000106fe4159 main + 10473
21 clang                    0x0000000106fe1804 start + 52
Stack dump:
0.    Program arguments:
/Volumes/bdd/tapted/git/3chromium/src/third_party/llvm-build/Release+Asserts/bin/clang
-cc1 -triple x86_64-apple-macosx10.7.0 -Wdeprecated-objc-isa-usage
-Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all -disable-free
-main-file-name ax_platform_node_mac.mm -mrelocation-model pic -pic-level 2
-mthread-model posix -mdisable-fp-elim -relaxed-aliasing -masm-verbose
-munwind-tables -target-cpu core2 -target-linker-version 253.3
-dwarf-column-info -debugger-tuning=lldb -coverage-file
/Volumes/bdd/tapted/git/3chromium/src/out/Debug/obj/ui/accessibility/platform/accessibility.ax_platform_node_mac.o
-resource-dir
/Volumes/bdd/tapted/git/3chromium/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.9.0
-dependency-file
obj/ui/accessibility/platform/accessibility.ax_platform_node_mac.o.d -MT
obj/ui/accessibility/platform/accessibility.ax_platform_node_mac.o -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
-D V8_DEPRECATION_WARNINGS -D
__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE=0 -D CHROMIUM_BUILD -D
CR_CLANG_REVISION=268813-1 -D USE_LIBJPEG_TURBO=1 -D ENABLE_WEBRTC=1 -D
ENABLE_MEDIA_ROUTER=1 -D ENABLE_PEPPER_CDMS -D ENABLE_NOTIFICATIONS -D
ENABLE_TOPCHROME_MD=1 -D FIELDTRIAL_TESTING_ENABLED -D ENABLE_TASK_MANAGER=1 -D
ENABLE_EXTENSIONS=1 -D ENABLE_PDF=1 -D ENABLE_PLUGIN_INSTALLATION=1 -D
ENABLE_PLUGINS=1 -D ENABLE_SESSION_SERVICE=1 -D ENABLE_THEMES=1 -D
ENABLE_PRINTING=1 -D ENABLE_BASIC_PRINTING=1 -D ENABLE_PRINT_PREVIEW=1 -D
ENABLE_SPELLCHECK=1 -D USE_BROWSER_SPELLCHECKER=1 -D
ENABLE_CAPTIVE_PORTAL_DETECTION=1 -D ENABLE_SUPERVISED_USERS=1 -D
ENABLE_SERVICE_DISCOVERY=1 -D V8_USE_EXTERNAL_STARTUP_DATA -D
FULL_SAFE_BROWSING -D SAFE_BROWSING_CSD -D SAFE_BROWSING_DB_LOCAL -D
ACCESSIBILITY_IMPLEMENTATION -D U_USING_ICU_NAMESPACE=0 -D U_ENABLE_DYLOAD=0 -D
U_NOEXCEPT= -D U_STATIC_IMPLEMENTATION -D SK_SUPPORT_GPU=1 -D
SK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -D USE_LIBPCI=1 -D
__STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D DYNAMIC_ANNOTATIONS_ENABLED=1
-D WTF_USE_DYNAMIC_ANNOTATIONS=1 -I gen -I ../.. -I ../../skia/config -I
../../third_party/icu/source/common -I ../../third_party/icu/source/i18n -I
../../third_party/skia/include/core -I ../../third_party/skia/include/effects
-I ../../third_party/skia/include/pdf -I ../../third_party/skia/include/gpu -I
../../third_party/skia/include/lazy -I ../../third_party/skia/include/pathops
-I ../../third_party/skia/include/pipe -I ../../third_party/skia/include/ports
-I ../../third_party/skia/include/utils -I
../../third_party/skia/include/utils/mac -I ../../skia/ext -stdlib=libc++ -O0
-Werror -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers
-Wno-selector-type-mismatch -Wpartial-availability -Wheader-hygiene
-Wno-char-subscripts -Wno-unneeded-internal-declaration
-Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing
-Wno-deprecated-register -Wno-inconsistent-missing-override
-Wno-shift-negative-value -Wno-undefined-var-template
-Wobjc-missing-property-synthesis -std=c++11 -fdeprecated-macro
-fdebug-compilation-dir /Volumes/bdd/tapted/git/3chromium/src/out/Debug
-ferror-limit 19 -fmessage-length 0 -fvisibility hidden
-fvisibility-inlines-hidden -stack-protector 3 -fblocks -fno-rtti
-fno-threadsafe-statics -fobjc-runtime=macosx-10.7.0
-fencode-extended-block-signature -fobjc-exceptions -fexceptions
-fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics -load
/Volumes/bdd/tapted/git/3chromium/src/third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.dylib
-add-plugin find-bad-constructs -plugin-arg-find-bad-constructs check-templates
-plugin-arg-find-bad-constructs follow-macro-expansion
-plugin-arg-find-bad-constructs check-implicit-copy-ctors -o
obj/ui/accessibility/platform/accessibility.ax_platform_node_mac.o -x
objective-c++ ../../ui/accessibility/platform/ax_platform_node_mac.mm
1.    ../../ui/accessibility/platform/ax_platform_node_mac.h:47:36: at
annotation token
clang: error: unable to execute command: Illegal instruction: 4
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.9.0 (trunk 268813)
Target: x86_64-apple-darwin15.5.0
Thread model: posix
InstalledDir:
/Volumes/bdd/tapted/git/3chromium/src/out/Debug/../../third_party/llvm-build/Release+Asserts/bin
clang: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg:
/var/folders/00/1_wbr000h01000cxqpysvccm005bjg/T/ax_platform_node_mac-a2d619.mm
clang: note: diagnostic msg:
/var/folders/00/1_wbr000h01000cxqpysvccm005bjg/T/ax_platform_node_mac-a2d619.sh
clang: note: diagnostic msg:

********************</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>