Closed Bug 1254807 Opened 8 years ago Closed 8 years ago

clang plugin fails to build because of ambiguous ArrayType

Categories

(Developer Infrastructure :: Source Code Analysis, defect)

defect
Not set
normal

Tracking

(firefox48 fixed)

RESOLVED FIXED
mozilla48
Tracking Status
firefox48 --- fixed

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

Details

Attachments

(1 file)

18:55:37     INFO -  c:/builds/moz2_slave/try-w32-st-an-d-00000000000000/build/src/build/clang-plugin/clang-plugin.cpp(548,16) :  error: reference to 'ArrayType' is ambiguous
18:55:37     INFO -    while (const ArrayType *arrTy = T->getAsArrayTypeUnsafe())
18:55:37     INFO -                 ^
18:55:37     INFO -  c:/builds/moz2_slave/try-w32-st-an-d-00000000000000/build/src/clang/include\llvm/IR/DerivedTypes.h(338,7) :  note: candidate found by name lookup is 'llvm::ArrayType'
18:55:37     INFO -  class ArrayType : public SequentialType {
18:55:37     INFO -        ^
18:55:37     INFO -  c:/builds/moz2_slave/try-w32-st-an-d-00000000000000/build/src/clang/include\clang/Sema/Sema.h(72,9) :  note: candidate found by name lookup is 'clang::ArrayType'
18:55:37     INFO -    class ArrayType;
18:55:37     INFO -          ^
18:55:37     INFO -  c:/builds/moz2_slave/try-w32-st-an-d-00000000000000/build/src/build/clang-plugin/clang-plugin.cpp(593,16) :  error: reference to 'ArrayType' is ambiguous
18:55:37     INFO -    while (const ArrayType *arrTy = T->getAsArrayTypeUnsafe())
18:55:37     INFO -                 ^
18:55:37     INFO -  c:/builds/moz2_slave/try-w32-st-an-d-00000000000000/build/src/clang/include\llvm/IR/DerivedTypes.h(338,7) :  note: candidate found by name lookup is 'llvm::ArrayType'
18:55:37     INFO -  class ArrayType : public SequentialType {
18:55:37     INFO -        ^
18:55:37     INFO -  c:/builds/moz2_slave/try-w32-st-an-d-00000000000000/build/src/clang/include\clang/Sema/Sema.h(72,9) :  note: candidate found by name lookup is 'clang::ArrayType'
18:55:37     INFO -    class ArrayType;
18:55:37     INFO -          ^
18:55:37     INFO -  c:/builds/moz2_slave/try-w32-st-an-d-00000000000000/build/src/build/clang-plugin/clang-plugin.cpp(600,16) :  error: reference to 'ArrayType' is ambiguous
18:55:37     INFO -    while (const ArrayType *arrTy = T->getAsArrayTypeUnsafe())
18:55:37     INFO -                 ^
18:55:37     INFO -  c:/builds/moz2_slave/try-w32-st-an-d-00000000000000/build/src/clang/include\llvm/IR/DerivedTypes.h(338,7) :  note: candidate found by name lookup is 'llvm::ArrayType'
18:55:37     INFO -  class ArrayType : public SequentialType {
18:55:37     INFO -        ^
18:55:37     INFO -  c:/builds/moz2_slave/try-w32-st-an-d-00000000000000/build/src/clang/include\clang/Sema/Sema.h(72,9) :  note: candidate found by name lookup is 'clang::ArrayType'
18:55:37     INFO -    class ArrayType;
18:55:37     INFO -          ^
18:55:37     INFO -  c:/builds/moz2_slave/try-w32-st-an-d-00000000000000/build/src/build/clang-plugin/clang-plugin.cpp(833,13) :  error: reference to 'ArrayType' is ambiguous
18:55:37     INFO -    if (const ArrayType *Array = T->getAsArrayTypeUnsafe()) {
18:55:37     INFO -              ^
18:55:37     INFO -  c:/builds/moz2_slave/try-w32-st-an-d-00000000000000/build/src/clang/include\llvm/IR/DerivedTypes.h(338,7) :  note: candidate found by name lookup is 'llvm::ArrayType'
18:55:37     INFO -  class ArrayType : public SequentialType {
18:55:37     INFO -        ^
18:55:37     INFO -  c:/builds/moz2_slave/try-w32-st-an-d-00000000000000/build/src/clang/include\clang/Sema/Sema.h(72,9) :  note: candidate found by name lookup is 'clang::ArrayType'
18:55:37     INFO -    class ArrayType;
18:55:37     INFO -          ^
18:55:40     INFO -  4 errors generated.
Attachment #8728223 - Flags: review?(jmuizelaar) → review+
https://hg.mozilla.org/mozilla-central/rev/5b218fdbc9dd
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
Product: Core → Firefox Build System
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: