Sfoglia il codice sorgente

fcl-passrc: useanalyzer: no hint for attributes

git-svn-id: trunk@41433 -
Mattias Gaertner 6 anni fa
parent
commit
45eafbabca
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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);