Explorar o código

fcl-passrc: useanalyzer: no hint for attributes

git-svn-id: trunk@41433 -
Mattias Gaertner %!s(int64=6) %!d(string=hai) anos
pai
achega
45eafbabca
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      packages/fcl-passrc/src/pasuseanalyzer.pas

+ 2 - 0
packages/fcl-passrc/src/pasuseanalyzer.pas

@@ -2470,6 +2470,8 @@ begin
       EmitTypeHints(TPasType(Decl))
     else if Decl is TPasProcedure then
       EmitProcedureHints(TPasProcedure(Decl))
+    else if Decl.ClassType=TPasAttributes then
+      // no hints
     else
       begin
       Usage:=FindElement(Decl);