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)
Developer Infrastructure
Source Code Analysis
Tracking
(firefox48 fixed)
RESOLVED
FIXED
mozilla48
Tracking | Status | |
---|---|---|
firefox48 | --- | fixed |
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(1 file)
2.52 KB,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8728223 -
Flags: review?(jmuizelaar)
Updated•8 years ago
|
Attachment #8728223 -
Flags: review?(jmuizelaar) → review+
Comment 3•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5b218fdbc9dd
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox48:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
Updated•6 years ago
|
Product: Core → Firefox Build System
Updated•2 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•